Skip to content

Commit

Permalink
Deploying to gh-pages from @ 007cb32 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMDoerner committed Dec 12, 2024
1 parent f2486cd commit ff4cc99
Show file tree
Hide file tree
Showing 130 changed files with 535 additions and 335 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"key":"lastEvents","content":{"boot":{"body":{"eventType":"boot","eventId":"A8jXowjhrqlGngZdP7isn","sessionId":"8GK5Lso9_o9tHWOFOOWFE","payload":{"eventType":"build"},"context":{"inCI":true,"platform":"Linux","nodeVersion":"20.18.1","cliVersion":"8.4.4"}},"timestamp":1734003433433}}}
{"key":"lastEvents","content":{"boot":{"body":{"eventType":"boot","eventId":"_0nSNR75LcVFbbX9nrSVv","sessionId":"VZot8jf2ykKsvjrRI4vF7","payload":{"eventType":"build"},"context":{"inCI":true,"platform":"Linux","nodeVersion":"20.18.1","cliVersion":"8.4.4"}},"timestamp":1734009590506}}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"key":"session","content":{"id":"8GK5Lso9_o9tHWOFOOWFE","lastUsed":1734003433413}}
{"key":"session","content":{"id":"VZot8jf2ykKsvjrRI4vF7","lastUsed":1734009590490}}
1 change: 0 additions & 1 deletion 1917.dfa7eaa2.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions 1917.f1582b57.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion 3569.3fdaf318.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions 3569.533e5ce3.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 3881.12b9c2c5.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion 3881.944913c0.iframe.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion 5483.4c57dc23.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions 5483.c59eea1c.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 6663.4c0357e8.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion 6663.b9671fb7.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions 669.4fa1f6a4.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion 669.c02a5a32.iframe.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion 7262.29625605.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions 7262.aeed0cab.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 7857.61d51647.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion 7857.96884d62.iframe.bundle.js

This file was deleted.

41 changes: 21 additions & 20 deletions app/_models/formly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export interface FormlyPasswordInterface {
disabled?: boolean;
}

export interface FormlyInterface {
key: string;
export interface FormlyInterface<T> {
key: Exclude<keyof T, symbol>;
label?: string;
required?: boolean;
hide?: boolean;
Expand All @@ -23,13 +23,14 @@ export interface FormlyInterface {
showWrapperLabel?: boolean;
}

export interface FormlyOverviewSelectConfig<T> extends FormlyInterface {
labelProp: keyof T;
valueProp?: keyof T;
sortProp?: keyof T;
export interface FormlyOverviewSelectConfig<Model, Option>
extends FormlyInterface<Model> {
labelProp: keyof Option;
valueProp?: keyof Option;
sortProp?: keyof Option;
sortDirection?: 'asc' | 'desc';
campaign?: string;
options$: Observable<T[]>;
options$: Observable<Option[]>;
}

export type DisabledFunction<T> = (
Expand All @@ -39,16 +40,16 @@ export type DisabledFunction<T> = (
control: AbstractControl,
) => Observable<boolean[]>;

export interface FormlyOverviewDisabledSelectConfig<T>
extends FormlyOverviewSelectConfig<T> {
disabledExpression: DisabledFunction<T>;
export interface FormlyOverviewDisabledSelectConfig<Model, Option>
extends FormlyOverviewSelectConfig<Model, Option> {
disabledExpression: DisabledFunction<Option>;
tooltipMessage: string;
warningMessage: string;
}

export type InputKind = 'NUMBER' | 'STRING' | 'NAME';
export type InputKind = 'NUMBER' | 'STRING' | 'NAME' | 'NUMBER_FRACTION';

export interface FormlyInputConfig extends FormlyInterface {
export interface FormlyInputConfig<T> extends FormlyInterface<T> {
placeholder?: string;
maxLength?: number;
minLength?: number;
Expand All @@ -58,7 +59,7 @@ export interface FormlyInputConfig extends FormlyInterface {

export type FileFieldKind = 'IMAGE' | 'OTHER';

export interface FormlyFileConfig extends FormlyInterface {
export interface FormlyFileConfig<T> extends FormlyInterface<T> {
fileButtonType?: ElementKind;
fileFieldKind?: FileFieldKind;
}
Expand All @@ -68,21 +69,21 @@ export interface StaticOption {
value: String | Number;
}

export interface FormlyCustomStringSelectConfig extends FormlyInterface {
export interface FormlyCustomStringSelectConfig<T> extends FormlyInterface<T> {
options: string[];
}

export interface FormlyCustomSelectConfig extends FormlyInterface {
export interface FormlyCustomSelectConfig<T> extends FormlyInterface<T> {
options: StaticOption[];
}

export interface FormlyCheckboxConfig extends FormlyInterface {
export interface FormlyCheckboxConfig<T> extends FormlyInterface<T> {
defaultValue: boolean;
}

export interface FormlyDatepickerConfig extends FormlyInterface {}
export interface FormlyDatepickerConfig<T> extends FormlyInterface<T> {}

export interface FormlyCustomSessionSelect extends FormlyInterface {}
export interface FormlyCustomSessionSelect<T> extends FormlyInterface<T> {}

export type LoadAutocompleteOptions<T> = (
searchTerm: string,
Expand All @@ -97,5 +98,5 @@ export type CustomAutocompleteProps<T> = {
loadOptions: LoadAutocompleteOptions<T>;
initialValue$?: Observable<T>;
};
export type FormlyAutocompleteConfig<T> = FormlyInterface &
CustomAutocompleteProps<T>;
export type FormlyAutocompleteConfig<Model, Option> = FormlyInterface<Model> &
CustomAutocompleteProps<Option>;
4 changes: 4 additions & 0 deletions app/_modules/formly_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import {
integerValidator,
invalidTimeMessage,
notIntegerMessage,
notNumberMesage,
numberValidator,
requiredIconMessage,
requiredIconValidator,
requiredMessage,
Expand Down Expand Up @@ -53,6 +55,7 @@ export const FORMLY_CONFIG: ConfigOption = {
hasSpecialCharactersMessage,
fieldsDontMatchMessage,
sessionAlreadyHasAuthor,
notNumberMesage,
],
validators: [
timeValidator,
Expand All @@ -63,6 +66,7 @@ export const FORMLY_CONFIG: ConfigOption = {
integerValidator,
specialCharacterValidator,
fieldMatchValidator,
numberValidator,
],
};

Expand Down
Loading

0 comments on commit ff4cc99

Please sign in to comment.