@dereekb/dbx-form 8.15.2 → 9.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/form/action/form.action.directive.mjs +3 -3
- package/esm2020/lib/form/action/form.action.module.mjs +5 -5
- package/esm2020/lib/form/action/transition/form.action.transition.module.mjs +5 -5
- package/esm2020/lib/form/action/transition/form.action.transition.safety.directive.mjs +3 -3
- package/esm2020/lib/form/form.module.mjs +4 -4
- package/esm2020/lib/form/io/form.changes.directive.mjs +3 -3
- package/esm2020/lib/form/io/form.input.directive.mjs +3 -3
- package/esm2020/lib/form/io/form.io.module.mjs +5 -5
- package/esm2020/lib/form/io/form.loading.directive.mjs +3 -3
- package/esm2020/lib/form.module.mjs +4 -4
- package/esm2020/lib/formly/field/checklist/checklist.item.field.component.mjs +14 -14
- package/esm2020/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +4 -4
- package/esm2020/lib/formly/field/checklist/checklist.item.field.module.mjs +18 -20
- package/esm2020/lib/formly/field/component/component.field.component.mjs +4 -4
- package/esm2020/lib/formly/field/component/component.field.module.mjs +9 -11
- package/esm2020/lib/formly/field/form.field.module.mjs +5 -5
- package/esm2020/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +10 -10
- package/esm2020/lib/formly/field/selection/pickable/pickable.field.directive.mjs +3 -3
- package/esm2020/lib/formly/field/selection/pickable/pickable.field.module.mjs +27 -29
- package/esm2020/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +20 -20
- package/esm2020/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +9 -9
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +11 -11
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.directive.mjs +6 -6
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.module.mjs +26 -28
- package/esm2020/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +9 -9
- package/esm2020/lib/formly/field/selection/selection.module.mjs +5 -5
- package/esm2020/lib/formly/field/texteditor/texteditor.field.component.mjs +7 -7
- package/esm2020/lib/formly/field/texteditor/texteditor.field.module.mjs +14 -16
- package/esm2020/lib/formly/field/value/array/array.field.component.mjs +8 -8
- package/esm2020/lib/formly/field/value/array/array.field.module.mjs +17 -19
- package/esm2020/lib/formly/field/value/boolean/boolean.field.module.mjs +5 -5
- package/esm2020/lib/formly/field/value/date/date.field.module.mjs +21 -23
- package/esm2020/lib/formly/field/value/date/datetime.field.component.mjs +15 -15
- package/esm2020/lib/formly/field/value/index.mjs +1 -2
- package/esm2020/lib/formly/field/value/number/number.field.module.mjs +5 -5
- package/esm2020/lib/formly/field/value/phone/phone.field.component.mjs +5 -5
- package/esm2020/lib/formly/field/value/phone/phone.field.module.mjs +22 -25
- package/esm2020/lib/formly/field/value/text/text.field.module.mjs +5 -5
- package/esm2020/lib/formly/field/value/value.module.mjs +6 -7
- package/esm2020/lib/formly/field/wrapper/autotouch.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/expandable.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/expandable.wrapper.delegate.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/flex.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/form.wrapper.module.mjs +26 -28
- package/esm2020/lib/formly/field/wrapper/info.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/section.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/style.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/subsection.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/toggle.wrapper.component.mjs +6 -6
- package/esm2020/lib/formly/field/wrapper/working.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/formly.context.directive.mjs +3 -3
- package/esm2020/lib/formly/formly.directive.mjs +12 -12
- package/esm2020/lib/formly/formly.form.component.mjs +7 -7
- package/esm2020/lib/formly/formly.module.mjs +5 -5
- package/esm2020/lib/layout/form.layout.module.mjs +5 -5
- package/esm2020/lib/layout/form.spacer.component.mjs +3 -3
- package/esm2020/lib/validator/email.mjs +1 -6
- package/fesm2015/dereekb-dbx-form.mjs +400 -460
- package/fesm2015/dereekb-dbx-form.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-form.mjs +399 -459
- package/fesm2020/dereekb-dbx-form.mjs.map +1 -1
- package/lib/form/action/form.action.directive.d.ts +1 -1
- package/lib/form/action/transition/form.action.transition.safety.directive.d.ts +1 -1
- package/lib/form/io/form.changes.directive.d.ts +1 -1
- package/lib/form/io/form.input.directive.d.ts +1 -1
- package/lib/form/io/form.loading.directive.d.ts +1 -1
- package/lib/formly/field/checklist/checklist.item.field.component.d.ts +2 -2
- package/lib/formly/field/checklist/checklist.item.field.content.default.component.d.ts +1 -1
- package/lib/formly/field/component/component.field.component.d.ts +1 -1
- package/lib/formly/field/selection/pickable/pickable.chip.field.component.d.ts +1 -1
- package/lib/formly/field/selection/pickable/pickable.field.directive.d.ts +3 -3
- package/lib/formly/field/selection/pickable/pickable.list.field.component.d.ts +4 -4
- package/lib/formly/field/selection/searchable/searchable.chip.field.component.d.ts +1 -1
- package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts +3 -3
- package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +3 -3
- package/lib/formly/field/selection/searchable/searchable.text.field.component.d.ts +1 -1
- package/lib/formly/field/texteditor/texteditor.field.component.d.ts +1 -1
- package/lib/formly/field/value/_value.scss +0 -4
- package/lib/formly/field/value/array/array.field.component.d.ts +1 -1
- package/lib/formly/field/value/date/datetime.field.component.d.ts +6 -6
- package/lib/formly/field/value/index.d.ts +0 -1
- package/lib/formly/field/value/phone/phone.field.component.d.ts +1 -1
- package/lib/formly/field/value/phone/phone.field.module.d.ts +8 -8
- package/lib/formly/field/value/value.module.d.ts +4 -5
- package/lib/formly/field/wrapper/autotouch.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/expandable.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/expandable.wrapper.delegate.d.ts +3 -3
- package/lib/formly/field/wrapper/flex.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/info.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/section.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/style.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/subsection.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/toggle.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/working.wrapper.component.d.ts +1 -1
- package/lib/formly/formly.context.directive.d.ts +1 -1
- package/lib/formly/formly.directive.d.ts +4 -4
- package/lib/formly/formly.form.component.d.ts +2 -2
- package/lib/layout/form.spacer.component.d.ts +1 -1
- package/lib/validator/email.d.ts +0 -4
- package/package.json +12 -11
- package/dereekb-dbx-form.d.ts +0 -5
- package/esm2020/lib/formly/field/value/enum/enum.field.mjs +0 -21
- package/esm2020/lib/formly/field/value/enum/enum.field.module.mjs +0 -16
- package/esm2020/lib/formly/field/value/enum/enum.mjs +0 -2
- package/esm2020/lib/formly/field/value/enum/index.mjs +0 -5
- package/lib/formly/field/value/enum/_enum.scss +0 -28
- package/lib/formly/field/value/enum/enum.d.ts +0 -7
- package/lib/formly/field/value/enum/enum.field.d.ts +0 -20
- package/lib/formly/field/value/enum/enum.field.module.d.ts +0 -6
- package/lib/formly/field/value/enum/index.d.ts +0 -3
|
@@ -37,5 +37,5 @@ export declare class DbxActionFormDirective<T = object> implements OnInit, OnDes
|
|
|
37
37
|
protected preCheckReadyValue(value: T): Observable<boolean>;
|
|
38
38
|
protected readyValue(value: T): Observable<DbxActionValueOnTriggerResult>;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFormDirective<any>, [{ host: true; }, null]>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFormDirective<any>, "[dbxActionForm]", never, { "dbxActionFormValidator": "dbxActionFormValidator"; "dbxActionFormModified": "dbxActionFormModified"; "formDisabledOnWorking": "formDisabledOnWorking"; }, {}, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFormDirective<any>, "[dbxActionForm]", never, { "dbxActionFormValidator": "dbxActionFormValidator"; "dbxActionFormModified": "dbxActionFormModified"; "formDisabledOnWorking": "formDisabledOnWorking"; }, {}, never, never, false>;
|
|
41
41
|
}
|
|
@@ -16,5 +16,5 @@ export declare class DbxActionFormSafetyDirective<T, O> extends DbxActionTransit
|
|
|
16
16
|
constructor(dbxActionForm: DbxActionFormDirective<T>, source: DbxActionContextStoreSourceInstance<T, O>, transitionService: TransitionService, viewContainerRef: ViewContainerRef, dialog: MatDialog);
|
|
17
17
|
protected _handleOnBeforeTransition(transition: Transition): HookResult;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFormSafetyDirective<any, any>, [{ host: true; }, null, null, null, null]>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFormSafetyDirective<any, any>, "[dbxActionFormSafety]", never, { "inputSafetyType": "dbxActionFormSafety"; }, {}, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFormSafetyDirective<any, any>, "[dbxActionFormSafety]", never, { "inputSafetyType": "dbxActionFormSafety"; }, {}, never, never, false>;
|
|
20
20
|
}
|
|
@@ -15,5 +15,5 @@ export declare class DbxFormValueChangesDirective<T> extends AbstractSubscriptio
|
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormValueChangesDirective<any>, [{ host: true; }]>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormValueChangesDirective<any>, "[dbxFormValueChange]", never, {}, { "dbxFormValueChange": "dbxFormValueChange"; }, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormValueChangesDirective<any>, "[dbxFormValueChange]", never, {}, { "dbxFormValueChange": "dbxFormValueChange"; }, never, never, false>;
|
|
19
19
|
}
|
|
@@ -26,5 +26,5 @@ export declare class DbxFormSourceDirective<T> extends AbstractSubscriptionDirec
|
|
|
26
26
|
private setObs;
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSourceDirective<any>, [{ host: true; }]>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormSourceDirective<any>, "[dbxFormSource]", never, { "mode": "dbxFormSourceMode"; "obs": "dbxFormSource"; }, {}, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormSourceDirective<any>, "[dbxFormSource]", never, { "mode": "dbxFormSourceMode"; "obs": "dbxFormSource"; }, {}, never, never, false>;
|
|
30
30
|
}
|
|
@@ -21,5 +21,5 @@ export declare class DbxFormLoadingSourceDirective<T extends object = object> ex
|
|
|
21
21
|
private _setObs;
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormLoadingSourceDirective<any>, [{ host: true; }]>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormLoadingSourceDirective<any>, "[dbxFormLoadingSource]", never, { "mode": "dbxFormLoadingSourceMode"; "obs": "dbxFormLoadingSource"; }, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormLoadingSourceDirective<any>, "[dbxFormLoadingSource]", never, { "mode": "dbxFormLoadingSourceMode"; "obs": "dbxFormLoadingSource"; }, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -31,7 +31,7 @@ export declare class DbxChecklistItemFieldComponent<T = unknown> extends FieldTy
|
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
ngOnDestroy(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxChecklistItemFieldComponent<any>, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxChecklistItemFieldComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxChecklistItemFieldComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
35
35
|
}
|
|
36
36
|
export declare class DbxChecklistItemContentComponent<T = unknown> extends AbstractSubscriptionDirective implements OnInit {
|
|
37
37
|
readonly checklistItemFieldComponent: DbxChecklistItemFieldComponent<T>;
|
|
@@ -40,5 +40,5 @@ export declare class DbxChecklistItemContentComponent<T = unknown> extends Abstr
|
|
|
40
40
|
constructor(checklistItemFieldComponent: DbxChecklistItemFieldComponent<T>, cdRef: ChangeDetectorRef);
|
|
41
41
|
ngOnInit(): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxChecklistItemContentComponent<any>, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxChecklistItemContentComponent<any>, "dbx-checklist-item-content-component", never, {}, {}, never, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxChecklistItemContentComponent<any>, "dbx-checklist-item-content-component", never, {}, {}, never, never, false>;
|
|
44
44
|
}
|
|
@@ -6,5 +6,5 @@ export declare class DbxDefaultChecklistItemFieldDisplayComponent<T = unknown> i
|
|
|
6
6
|
get sublabel(): import("../../../../../../../dist/packages/util/src").Maybe<string>;
|
|
7
7
|
get description(): import("../../../../../../../dist/packages/util/src").Maybe<string>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDefaultChecklistItemFieldDisplayComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDefaultChecklistItemFieldDisplayComponent<any>, "ng-component", never, { "displayContent": "displayContent"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDefaultChecklistItemFieldDisplayComponent<any>, "ng-component", never, { "displayContent": "displayContent"; }, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -8,5 +8,5 @@ export interface DbxFormComponentFormlyFieldConfig<T = unknown> extends FormlyFi
|
|
|
8
8
|
export declare class DbxFormComponentFieldComponent<T = unknown> extends FieldType<DbxFormComponentFormlyFieldConfig<T>> {
|
|
9
9
|
get config(): DbxInjectionComponentConfig<T>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormComponentFieldComponent<any>, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormComponentFieldComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormComponentFieldComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -6,5 +6,5 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class DbxPickableChipListFieldComponent<T> extends AbstractDbxPickableItemFieldDirective<T> {
|
|
7
7
|
itemClicked(item: PickableItemFieldItem<T>): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPickableChipListFieldComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableChipListFieldComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableChipListFieldComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -90,9 +90,9 @@ export interface PickableValueFieldDisplayValueWithHash<T, M = unknown, H extend
|
|
|
90
90
|
*/
|
|
91
91
|
export declare class AbstractDbxPickableItemFieldDirective<T, M = unknown, H extends PrimativeKey = PrimativeKey> extends FieldType<FieldTypeConfig<PickableValueFieldsFieldProps<T, M, H>>> implements OnInit, OnDestroy {
|
|
92
92
|
filterMatInput: MatInput;
|
|
93
|
-
readonly inputCtrl: FormControl
|
|
93
|
+
readonly inputCtrl: FormControl<string | null>;
|
|
94
94
|
private _formControlObs;
|
|
95
|
-
readonly formControl$: Observable<AbstractControl
|
|
95
|
+
readonly formControl$: Observable<AbstractControl<any, any>>;
|
|
96
96
|
private _displayHashMap;
|
|
97
97
|
readonly filterInputValue$: Observable<Maybe<string>>;
|
|
98
98
|
readonly filterInputValueString$: Observable<Maybe<string>>;
|
|
@@ -156,5 +156,5 @@ export declare class AbstractDbxPickableItemFieldDirective<T, M = unknown, H ext
|
|
|
156
156
|
setValues(values: T[]): void;
|
|
157
157
|
protected _setValueOnFormControl(values: T[]): void;
|
|
158
158
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxPickableItemFieldDirective<any, any, any>, never>;
|
|
159
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxPickableItemFieldDirective<any, any, any>, never, never, {}, {}, never>;
|
|
159
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxPickableItemFieldDirective<any, any, any>, never, never, {}, {}, never, never, false>;
|
|
160
160
|
}
|
|
@@ -10,12 +10,12 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare class DbxPickableListFieldComponent<T> extends AbstractDbxPickableItemFieldDirective<T> {
|
|
11
11
|
onSelectionChange(event: unknown): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPickableListFieldComponent<any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
15
15
|
export declare class DbxPickableListFieldItemListComponent<T> extends AbstractDbxSelectionListWrapperDirective<PickableItemFieldItem<T>> {
|
|
16
16
|
constructor();
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPickableListFieldItemListComponent<any>, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListComponent<any>, "dbx-form-pickable-item-field-item-list", never, {}, {}, never, ["[top]", "[bottom]", "[empty]"]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListComponent<any>, "dbx-form-pickable-item-field-item-list", never, {}, {}, never, ["[top]", "[bottom]", "[empty]"], false>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* NOTE: Values input are PickableItemFieldItem<T>, but output values are PickableValueFieldDisplayValue<T>.
|
|
@@ -28,10 +28,10 @@ export declare class DbxPickableListFieldItemListViewComponent<T> extends Abstra
|
|
|
28
28
|
readonly items$: import("rxjs").Observable<any[]>;
|
|
29
29
|
constructor(dbxPickableListFieldComponent: DbxPickableListFieldComponent<T>);
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPickableListFieldItemListViewComponent<any>, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListViewComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListViewComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
32
32
|
}
|
|
33
33
|
export declare class DbxPickableListFieldItemListViewItemComponent<T> extends AbstractDbxValueListViewItemComponent<PickableValueFieldDisplayValue<T>> {
|
|
34
34
|
get label(): string;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPickableListFieldItemListViewItemComponent<any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListViewItemComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListViewItemComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
37
37
|
}
|
|
@@ -16,5 +16,5 @@ export declare class DbxSearchableChipFieldComponent<T, M = unknown, H extends P
|
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
onBlur(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSearchableChipFieldComponent<any, any, any>, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableChipFieldComponent<any, any, any>, "ng-component", never, {}, {}, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableChipFieldComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false>;
|
|
20
20
|
}
|
package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts
CHANGED
|
@@ -12,15 +12,15 @@ export declare class DbxSearchableFieldAutocompleteItemComponent<T> implements O
|
|
|
12
12
|
set displayValue(displayValue: ConfiguredSearchableValueFieldDisplayValue<T>);
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSearchableFieldAutocompleteItemComponent<any>, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableFieldAutocompleteItemComponent<any>, "dbx-searchable-field-autocomplete-item", never, { "displayValue": "displayValue"; }, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableFieldAutocompleteItemComponent<any>, "dbx-searchable-field-autocomplete-item", never, { "displayValue": "displayValue"; }, {}, never, never, false>;
|
|
16
16
|
}
|
|
17
17
|
export declare abstract class AbstractDbxSearchableFieldDisplayDirective<T> {
|
|
18
18
|
readonly displayValue: ConfiguredSearchableValueFieldDisplayValue<T>;
|
|
19
19
|
constructor(displayValue: ConfiguredSearchableValueFieldDisplayValue<T>);
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxSearchableFieldDisplayDirective<any>, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxSearchableFieldDisplayDirective<any>, never, never, {}, {}, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxSearchableFieldDisplayDirective<any>, never, never, {}, {}, never, never, false>;
|
|
22
22
|
}
|
|
23
23
|
export declare class DbxDefaultSearchableFieldDisplayComponent<T> extends AbstractDbxSearchableFieldDisplayDirective<T> {
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDefaultSearchableFieldDisplayComponent<any>, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDefaultSearchableFieldDisplayComponent<any>, "dbx-default-searchable-field-display", never, {}, {}, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDefaultSearchableFieldDisplayComponent<any>, "dbx-default-searchable-field-display", never, {}, {}, never, never, false>;
|
|
26
26
|
}
|
|
@@ -78,9 +78,9 @@ export declare abstract class AbstractDbxSearchableValueFieldDirective<T, M = un
|
|
|
78
78
|
*/
|
|
79
79
|
defaultDisplay?: DbxInjectionComponentConfig;
|
|
80
80
|
textInput: ElementRef<HTMLInputElement>;
|
|
81
|
-
readonly inputCtrl: FormControl
|
|
81
|
+
readonly inputCtrl: FormControl<string | null>;
|
|
82
82
|
private _formControlObs;
|
|
83
|
-
readonly formControl$: Observable<AbstractControl
|
|
83
|
+
readonly formControl$: Observable<AbstractControl<any, any>>;
|
|
84
84
|
private _displayHashMap;
|
|
85
85
|
readonly inputValue$: Observable<string>;
|
|
86
86
|
readonly inputValueString$: Observable<string>;
|
|
@@ -131,5 +131,5 @@ export declare abstract class AbstractDbxSearchableValueFieldDirective<T, M = un
|
|
|
131
131
|
protected _getValueOnFormControl(valueOnFormControl: ArrayOrValue<T>): T[];
|
|
132
132
|
protected _setValueOnFormControl(values: T[]): void;
|
|
133
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxSearchableValueFieldDirective<any, any, any, any>, never>;
|
|
134
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxSearchableValueFieldDirective<any, any, any, any>, never, never, {}, {}, never>;
|
|
134
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxSearchableValueFieldDirective<any, any, any, any>, never, never, {}, {}, never, never, false>;
|
|
135
135
|
}
|
|
@@ -21,5 +21,5 @@ export declare class DbxSearchableTextFieldComponent<T, M = unknown, H extends P
|
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
selected(event: MatAutocompleteSelectedEvent): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSearchableTextFieldComponent<any, any, any>, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableTextFieldComponent<any, any, any>, "ng-component", never, {}, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableTextFieldComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -21,5 +21,5 @@ export declare class DbxTextEditorFieldComponent<T extends TextEditorComponentFi
|
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextEditorFieldComponent<any>, [{ optional: true; }]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxTextEditorFieldComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxTextEditorFieldComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use './array/array';
|
|
2
2
|
@use './boolean/boolean';
|
|
3
3
|
@use './date/date';
|
|
4
|
-
@use './enum/enum';
|
|
5
4
|
@use './phone/phone';
|
|
6
5
|
@use './text/text';
|
|
7
6
|
|
|
@@ -9,7 +8,6 @@
|
|
|
9
8
|
@include array.core();
|
|
10
9
|
@include boolean.core();
|
|
11
10
|
@include date.core();
|
|
12
|
-
@include enum.core();
|
|
13
11
|
@include phone.core();
|
|
14
12
|
@include text.core();
|
|
15
13
|
}
|
|
@@ -18,7 +16,6 @@
|
|
|
18
16
|
@include array.typography($typography-config);
|
|
19
17
|
@include boolean.typography($typography-config);
|
|
20
18
|
@include date.typography($typography-config);
|
|
21
|
-
@include enum.typography($typography-config);
|
|
22
19
|
@include phone.typography($typography-config);
|
|
23
20
|
@include text.typography($typography-config);
|
|
24
21
|
}
|
|
@@ -27,7 +24,6 @@
|
|
|
27
24
|
@include array.theme($theme-config);
|
|
28
25
|
@include boolean.theme($theme-config);
|
|
29
26
|
@include date.theme($theme-config);
|
|
30
|
-
@include enum.theme($theme-config);
|
|
31
27
|
@include phone.theme($theme-config);
|
|
32
28
|
@include text.theme($theme-config);
|
|
33
29
|
}
|
|
@@ -26,5 +26,5 @@ export declare class DbxFormRepeatArrayTypeComponent extends FieldArrayType<Fiel
|
|
|
26
26
|
drop(event: CdkDragDrop<unknown>): void;
|
|
27
27
|
labelForItem(field: FormlyFieldConfig): string;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormRepeatArrayTypeComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormRepeatArrayTypeComponent, "ng-component", never, {}, {}, never, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormRepeatArrayTypeComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
30
30
|
}
|
|
@@ -56,10 +56,10 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
|
|
|
56
56
|
private _valueSub;
|
|
57
57
|
private _fullDayInputCtrl?;
|
|
58
58
|
private _fullDayControlObs;
|
|
59
|
-
readonly fullDayControl$: Observable<AbstractControl
|
|
59
|
+
readonly fullDayControl$: Observable<AbstractControl<any, any>>;
|
|
60
60
|
private _offset;
|
|
61
61
|
private _formControlObs;
|
|
62
|
-
readonly formControl$: Observable<AbstractControl
|
|
62
|
+
readonly formControl$: Observable<AbstractControl<any, any>>;
|
|
63
63
|
private _updateTime;
|
|
64
64
|
readonly value$: Observable<any>;
|
|
65
65
|
/**
|
|
@@ -67,8 +67,8 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
|
|
|
67
67
|
*/
|
|
68
68
|
readonly displayValue$: Observable<any>;
|
|
69
69
|
readonly timeString$: Observable<ReadableTimeString>;
|
|
70
|
-
readonly dateInputCtrl: FormControl
|
|
71
|
-
readonly timeInputCtrl: FormControl
|
|
70
|
+
readonly dateInputCtrl: FormControl<Date | null>;
|
|
71
|
+
readonly timeInputCtrl: FormControl<string | null>;
|
|
72
72
|
private _config;
|
|
73
73
|
get dateOnly(): boolean;
|
|
74
74
|
get dateTimeField(): DbxDateTimeFieldProps;
|
|
@@ -79,7 +79,7 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
|
|
|
79
79
|
readonly fullDay$: Observable<boolean>;
|
|
80
80
|
readonly showTimeInput$: Observable<boolean>;
|
|
81
81
|
readonly showAddTime$: Observable<boolean>;
|
|
82
|
-
readonly date$: Observable<
|
|
82
|
+
readonly date$: Observable<Date>;
|
|
83
83
|
readonly dateValue$: Observable<Date | import("@dereekb/util").MaybeNot>;
|
|
84
84
|
readonly timeInput$: Observable<ReadableTimeString>;
|
|
85
85
|
readonly config$: Observable<Maybe<DateTimePickerConfiguration>>;
|
|
@@ -98,5 +98,5 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
|
|
|
98
98
|
removeTime(): void;
|
|
99
99
|
setFullDay(fullDay: boolean): void;
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDateTimeFieldComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDateTimeFieldComponent, "ng-component", never, {}, {}, never, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDateTimeFieldComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
102
102
|
}
|
|
@@ -11,5 +11,5 @@ export declare class DbxPhoneFieldComponent extends FieldType<FieldTypeConfig<In
|
|
|
11
11
|
get preferredCountries(): string[];
|
|
12
12
|
get onlyCountries(): string[];
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPhoneFieldComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPhoneFieldComponent, "ng-component", never, {}, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPhoneFieldComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -4,15 +4,15 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/material/input";
|
|
5
5
|
import * as i4 from "@angular/material/form-field";
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@angular/material/
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@
|
|
12
|
-
import * as i11 from "@ngx-formly/
|
|
13
|
-
import * as i12 from "
|
|
7
|
+
import * as i6 from "@angular/material/autocomplete";
|
|
8
|
+
import * as i7 from "@angular/material/chips";
|
|
9
|
+
import * as i8 from "@angular/material/icon";
|
|
10
|
+
import * as i9 from "@angular/flex-layout";
|
|
11
|
+
import * as i10 from "@ngx-formly/material/form-field";
|
|
12
|
+
import * as i11 from "@ngx-formly/core";
|
|
13
|
+
import * as i12 from "ngx-mat-intl-tel-input";
|
|
14
14
|
export declare class DbxFormFormlyPhoneFieldModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyPhoneFieldModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyPhoneFieldModule, [typeof i1.DbxPhoneFieldComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.MatFormFieldModule, typeof i5.FormsModule, typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyPhoneFieldModule, [typeof i1.DbxPhoneFieldComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.MatFormFieldModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatAutocompleteModule, typeof i7.MatChipsModule, typeof i8.MatIconModule, typeof i9.FlexLayoutModule, typeof i10.FormlyMatFormFieldModule, typeof i11.FormlyModule, typeof i12.NgxMatIntlTelInputComponent], never>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyPhoneFieldModule>;
|
|
18
18
|
}
|
|
@@ -3,12 +3,11 @@ import * as i1 from "@angular/common";
|
|
|
3
3
|
import * as i2 from "./array/array.field.module";
|
|
4
4
|
import * as i3 from "./boolean/boolean.field.module";
|
|
5
5
|
import * as i4 from "./date/date.field.module";
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./text/text.field.module";
|
|
6
|
+
import * as i5 from "./phone/phone.field.module";
|
|
7
|
+
import * as i6 from "./number/number.field.module";
|
|
8
|
+
import * as i7 from "./text/text.field.module";
|
|
10
9
|
export declare class DbxFormFormlyValueModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyValueModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyValueModule, never, [typeof i1.CommonModule], [typeof i2.DbxFormFormlyArrayFieldModule, typeof i3.DbxFormFormlyBooleanFieldModule, typeof i4.DbxFormFormlyDateFieldModule, typeof i5.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyValueModule, never, [typeof i1.CommonModule], [typeof i2.DbxFormFormlyArrayFieldModule, typeof i3.DbxFormFormlyBooleanFieldModule, typeof i4.DbxFormFormlyDateFieldModule, typeof i5.DbxFormFormlyPhoneFieldModule, typeof i6.DbxFormFormlyNumberFieldModule, typeof i7.DbxFormFormlyTextFieldModule]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyValueModule>;
|
|
14
13
|
}
|
|
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class AutoTouchFieldWrapperComponent extends FieldWrapper<FieldTypeConfig> implements OnInit {
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoTouchFieldWrapperComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoTouchFieldWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoTouchFieldWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -10,5 +10,5 @@ export interface DbxFormExpandWrapperConfig<T extends object = object> extends A
|
|
|
10
10
|
export declare class DbxFormExpandWrapperComponent<T extends object = object> extends AbstractFormExpandableSectionWrapperDirective<T, DbxFormExpandWrapperConfig<T>> {
|
|
11
11
|
get buttonType(): DbxFormExpandWrapperButtonType;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormExpandWrapperComponent<any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormExpandWrapperComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormExpandWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
@@ -13,8 +13,8 @@ export interface AbstractFormExpandableSectionConfig<T extends object = object>
|
|
|
13
13
|
}
|
|
14
14
|
export declare const DEFAULT_HAS_VALUE_FN: (x: object) => boolean;
|
|
15
15
|
export declare class AbstractFormExpandableSectionWrapperDirective<T extends object = object, S extends AbstractFormExpandableSectionConfig<T> = AbstractFormExpandableSectionConfig<T>> extends FieldWrapper<FormlyFieldConfig<S>> implements OnInit, OnDestroy {
|
|
16
|
-
protected _formControlObs: BehaviorSubject<Maybe<AbstractControl
|
|
17
|
-
readonly formControl$: import("rxjs").Observable<AbstractControl
|
|
16
|
+
protected _formControlObs: BehaviorSubject<Maybe<AbstractControl<any, any>>>;
|
|
17
|
+
readonly formControl$: import("rxjs").Observable<AbstractControl<any, any>>;
|
|
18
18
|
protected _toggleOpen: BehaviorSubject<Maybe<boolean>>;
|
|
19
19
|
readonly show$: import("rxjs").Observable<boolean>;
|
|
20
20
|
readonly hasValue$: import("rxjs").Observable<boolean>;
|
|
@@ -25,5 +25,5 @@ export declare class AbstractFormExpandableSectionWrapperDirective<T extends obj
|
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
ngOnDestroy(): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never, never, {}, {}, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never, never, {}, {}, never, never, false>;
|
|
29
29
|
}
|
|
@@ -10,5 +10,5 @@ export declare class DbxFormFlexWrapperComponent extends FieldWrapper<FormlyFiel
|
|
|
10
10
|
get breakpoint(): ScreenMediaWidthType | undefined;
|
|
11
11
|
get relative(): boolean;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFlexWrapperComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormFlexWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormFlexWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
@@ -7,5 +7,5 @@ export declare class DbxFormInfoWrapperComponent extends FieldWrapper<FormlyFiel
|
|
|
7
7
|
get infoWrapper(): DbxFormInfoConfig;
|
|
8
8
|
onInfoClick(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormInfoWrapperComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormInfoWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormInfoWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -9,5 +9,5 @@ export declare class DbxFormSectionWrapperComponent extends FieldWrapper<FormlyF
|
|
|
9
9
|
get header(): Maybe<string>;
|
|
10
10
|
get hint(): Maybe<string>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSectionWrapperComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSectionWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSectionWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
13
13
|
}
|
|
@@ -14,5 +14,5 @@ export declare class DbxFormStyleWrapperComponent extends FieldWrapper<FormlyFie
|
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormStyleWrapperComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormStyleWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormStyleWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
18
18
|
}
|
|
@@ -9,5 +9,5 @@ export declare class DbxFormSubsectionWrapperComponent extends FieldWrapper<Fiel
|
|
|
9
9
|
get header(): Maybe<string>;
|
|
10
10
|
get hint(): Maybe<string>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSubsectionWrapperComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSubsectionWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSubsectionWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
13
13
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DbxFormToggleWrapperComponent<T extends object = object> ex
|
|
|
12
12
|
readonly slideLabel$: Observable<Maybe<string>>;
|
|
13
13
|
onToggleChange(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormToggleWrapperComponent<any>, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormToggleWrapperComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormToggleWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
16
16
|
}
|
|
@@ -17,5 +17,5 @@ export declare class DbxFormWorkingWrapperComponent extends FieldWrapper<FormlyF
|
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormWorkingWrapperComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormWorkingWrapperComponent, "ng-component", never, {}, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormWorkingWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
21
21
|
}
|
|
@@ -15,5 +15,5 @@ export declare class DbxFormlyFieldsContextDirective<T = unknown> extends Abstra
|
|
|
15
15
|
set fields(fields: Maybe<FormlyFieldConfig[]>);
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyFieldsContextDirective<any>, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormlyFieldsContextDirective<any>, "[dbxFormlyFields]", never, { "fields": "dbxFormlyFields"; }, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormlyFieldsContextDirective<any>, "[dbxFormlyFields]", never, { "fields": "dbxFormlyFields"; }, {}, never, never, false>;
|
|
19
19
|
}
|
|
@@ -20,7 +20,7 @@ export declare abstract class AbstractFormlyFormDirective<T> implements OnDestro
|
|
|
20
20
|
clearValue(): void;
|
|
21
21
|
setDisabled(key?: DbxFormDisabledKey, disabled?: boolean): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormlyFormDirective<any>, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormlyFormDirective<any>, never, never, { "disabled": "disabled"; }, {}, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormlyFormDirective<any>, never, never, { "disabled": "disabled"; }, {}, never, never, false>;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Abstract component for wrapping a form.
|
|
@@ -29,7 +29,7 @@ export declare abstract class AbstractSyncFormlyFormDirective<T> extends Abstrac
|
|
|
29
29
|
abstract fields: FormlyFieldConfig[];
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSyncFormlyFormDirective<any>, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSyncFormlyFormDirective<any>, never, never, {}, {}, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Abstract component for wrapping an asyncrhronously-configured form.
|
|
@@ -43,7 +43,7 @@ export declare abstract class AbstractAsyncFormlyFormDirective<T> extends Abstra
|
|
|
43
43
|
ngOnInit(): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractAsyncFormlyFormDirective<any>, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAsyncFormlyFormDirective<any>, never, never, {}, {}, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAsyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false>;
|
|
47
47
|
}
|
|
48
48
|
export declare abstract class AbstractConfigAsyncFormlyFormDirective<T, C> extends AbstractAsyncFormlyFormDirective<T> implements OnInit, OnDestroy {
|
|
49
49
|
private readonly _config;
|
|
@@ -52,5 +52,5 @@ export declare abstract class AbstractConfigAsyncFormlyFormDirective<T, C> exten
|
|
|
52
52
|
set config(config: Maybe<C>);
|
|
53
53
|
ngOnDestroy(): void;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never, never, { "config": "config"; }, {}, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never, never, { "config": "config"; }, {}, never, never, false>;
|
|
56
56
|
}
|
|
@@ -23,7 +23,7 @@ export declare class DbxFormlyFormComponent<T> extends AbstractSubscriptionDirec
|
|
|
23
23
|
private _reset;
|
|
24
24
|
private _forceUpdate;
|
|
25
25
|
private _disabledSub;
|
|
26
|
-
form: FormGroup
|
|
26
|
+
form: FormGroup<{}>;
|
|
27
27
|
model: T;
|
|
28
28
|
options: FormlyFormOptions;
|
|
29
29
|
readonly fields$: Observable<FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
|
|
@@ -43,5 +43,5 @@ export declare class DbxFormlyFormComponent<T> extends AbstractSubscriptionDirec
|
|
|
43
43
|
setDisabled(key?: DbxFormDisabledKey, disabled?: boolean): void;
|
|
44
44
|
forceFormUpdate(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyFormComponent<any>, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormlyFormComponent<any>, "dbx-formly", ["formly"], {}, {}, never, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormlyFormComponent<any>, "dbx-formly", ["formly"], {}, {}, never, never, false>;
|
|
47
47
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class DbxFormSpacerComponent {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSpacerComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSpacerComponent, "dbx-form-spacer", never, {}, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSpacerComponent, "dbx-form-spacer", never, {}, {}, never, never, false>;
|
|
8
8
|
}
|
package/lib/validator/email.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-form",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.1.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
10
|
-
"@
|
|
5
|
+
"@angular/common": "^14.0.0",
|
|
6
|
+
"@angular/core": "^14.0.0",
|
|
7
|
+
"lodash.clonedeep": "^4.5.0",
|
|
8
|
+
"@dereekb/dbx-core": "9.1.1",
|
|
9
|
+
"@angular/material": "^14.0.0",
|
|
10
|
+
"@dereekb/dbx-web": "9.1.1",
|
|
11
|
+
"@angular/forms": "^14.0.0",
|
|
11
12
|
"@ngx-formly/core": "6.0.0-rc.2",
|
|
12
13
|
"@ngx-formly/material": "6.0.0-rc.2",
|
|
13
14
|
"change-case": "^4.1.2",
|
|
14
|
-
"ngx-editor": "^
|
|
15
|
-
"ngx-mat-intl-tel-input": "
|
|
15
|
+
"ngx-editor": "^14.2.0",
|
|
16
|
+
"ngx-mat-intl-tel-input": "^5.0.0"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"tslib": "^2.3.0"
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
22
23
|
"sass": "./_index.scss",
|
|
23
|
-
"types": "./
|
|
24
|
+
"types": "./index.d.ts",
|
|
24
25
|
"esm2020": "./esm2020/dereekb-dbx-form.mjs",
|
|
25
26
|
"es2020": "./fesm2020/dereekb-dbx-form.mjs",
|
|
26
27
|
"es2015": "./fesm2015/dereekb-dbx-form.mjs",
|
|
@@ -36,6 +37,6 @@
|
|
|
36
37
|
"esm2020": "esm2020/dereekb-dbx-form.mjs",
|
|
37
38
|
"fesm2020": "fesm2020/dereekb-dbx-form.mjs",
|
|
38
39
|
"fesm2015": "fesm2015/dereekb-dbx-form.mjs",
|
|
39
|
-
"typings": "
|
|
40
|
+
"typings": "index.d.ts",
|
|
40
41
|
"sideEffects": false
|
|
41
42
|
}
|
package/dereekb-dbx-form.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { formlyField } from '../../field';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated use valueSelectionField instead.
|
|
4
|
-
*/
|
|
5
|
-
export function staticEnumField({ key, label = '', placeholder = '', description, multiple = false, required = false, options }) {
|
|
6
|
-
const fieldConfig = formlyField({
|
|
7
|
-
key,
|
|
8
|
-
type: 'select',
|
|
9
|
-
props: {
|
|
10
|
-
label,
|
|
11
|
-
description,
|
|
12
|
-
placeholder,
|
|
13
|
-
required,
|
|
14
|
-
multiple,
|
|
15
|
-
selectAllOption: 'Select All',
|
|
16
|
-
options
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
return fieldConfig;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bS5maWVsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2RieC1mb3JtL3NyYy9saWIvZm9ybWx5L2ZpZWxkL3ZhbHVlL2VudW0vZW51bS5maWVsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUE4QyxNQUFNLGFBQWEsQ0FBQztBQWtCdEY7O0dBRUc7QUFDSCxNQUFNLFVBQVUsZUFBZSxDQUFjLEVBQUUsR0FBRyxFQUFFLEtBQUssR0FBRyxFQUFFLEVBQUUsV0FBVyxHQUFHLEVBQUUsRUFBRSxXQUFXLEVBQUUsUUFBUSxHQUFHLEtBQUssRUFBRSxRQUFRLEdBQUcsS0FBSyxFQUFFLE9BQU8sRUFBNEI7SUFDcEssTUFBTSxXQUFXLEdBQXNCLFdBQVcsQ0FBQztRQUNqRCxHQUFHO1FBQ0gsSUFBSSxFQUFFLFFBQVE7UUFDZCxLQUFLLEVBQUU7WUFDTCxLQUFLO1lBQ0wsV0FBVztZQUNYLFdBQVc7WUFDWCxRQUFRO1lBQ1IsUUFBUTtZQUNSLGVBQWUsRUFBRSxZQUFZO1lBQzdCLE9BQU87U0FDUjtLQUNGLENBQUMsQ0FBQztJQUVILE9BQU8sV0FBVyxDQUFDO0FBQ3JCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBmb3JtbHlGaWVsZCwgRGVzY3JpcHRpb25GaWVsZENvbmZpZywgTGFiZWxlZEZpZWxkQ29uZmlnIH0gZnJvbSAnLi4vLi4vZmllbGQnO1xuaW1wb3J0IHsgRm9ybWx5RmllbGRDb25maWcgfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcbmltcG9ydCB7IEVudW1WYWx1ZUZpZWxkT3B0aW9uIH0gZnJvbSAnLi9lbnVtJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZFxuICovXG5leHBvcnQgaW50ZXJmYWNlIFN0YXRpY0VudW1GaWVsZENvbmZpZzxUPiBleHRlbmRzIExhYmVsZWRGaWVsZENvbmZpZywgRGVzY3JpcHRpb25GaWVsZENvbmZpZyB7XG4gIC8qKlxuICAgKiBXaGV0aGVyIG9yIG5vdCBtdWx0aXBsZSB2YWx1ZXMgY2FuIGJlIHNlbGVjdGVkLlxuICAgKi9cbiAgbXVsdGlwbGU/OiBib29sZWFuO1xuICAvKipcbiAgICogT3B0aW9uc1xuICAgKi9cbiAgb3B0aW9uczogRW51bVZhbHVlRmllbGRPcHRpb248VD5bXTtcbn1cblxuLyoqXG4gKiBAZGVwcmVjYXRlZCB1c2UgdmFsdWVTZWxlY3Rpb25GaWVsZCBpbnN0ZWFkLlxuICovXG5leHBvcnQgZnVuY3Rpb24gc3RhdGljRW51bUZpZWxkPFQgPSB1bmtub3duPih7IGtleSwgbGFiZWwgPSAnJywgcGxhY2Vob2xkZXIgPSAnJywgZGVzY3JpcHRpb24sIG11bHRpcGxlID0gZmFsc2UsIHJlcXVpcmVkID0gZmFsc2UsIG9wdGlvbnMgfTogU3RhdGljRW51bUZpZWxkQ29uZmlnPFQ+KTogRm9ybWx5RmllbGRDb25maWcge1xuICBjb25zdCBmaWVsZENvbmZpZzogRm9ybWx5RmllbGRDb25maWcgPSBmb3JtbHlGaWVsZCh7XG4gICAga2V5LFxuICAgIHR5cGU6ICdzZWxlY3QnLFxuICAgIHByb3BzOiB7XG4gICAgICBsYWJlbCxcbiAgICAgIGRlc2NyaXB0aW9uLFxuICAgICAgcGxhY2Vob2xkZXIsXG4gICAgICByZXF1aXJlZCxcbiAgICAgIG11bHRpcGxlLFxuICAgICAgc2VsZWN0QWxsT3B0aW9uOiAnU2VsZWN0IEFsbCcsXG4gICAgICBvcHRpb25zXG4gICAgfVxuICB9KTtcblxuICByZXR1cm4gZmllbGRDb25maWc7XG59XG4iXX0=
|