@dereekb/dbx-form 12.0.1 → 12.0.3
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/esm2022/calendar/lib/calendar.schedule.selection.dialog.component.mjs +2 -2
- package/esm2022/lib/form/io/form.change.directive.mjs +36 -0
- package/esm2022/lib/form/io/form.input.directive.mjs +3 -1
- package/esm2022/lib/form/io/form.io.module.mjs +5 -5
- package/esm2022/lib/form/io/index.mjs +2 -2
- package/esm2022/lib/formly/field/checklist/checklist.item.field.component.mjs +2 -3
- package/esm2022/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +2 -3
- package/esm2022/lib/formly/field/field.mjs +1 -1
- package/esm2022/lib/formly/field/form.field.module.mjs +6 -7
- package/esm2022/lib/formly/field/selection/selection.module.mjs +14 -7
- package/esm2022/lib/formly/field/value/boolean/boolean.field.module.mjs +9 -6
- package/esm2022/lib/formly/field/value/date/date.field.module.mjs +6 -62
- package/esm2022/lib/formly/field/value/date/datetime.field.component.mjs +46 -20
- package/esm2022/lib/formly/field/value/date/fixeddaterange.field.component.mjs +42 -51
- package/esm2022/lib/formly/field/value/date/index.mjs +3 -1
- package/esm2022/lib/formly/field/value/number/number.field.mjs +3 -3
- package/esm2022/lib/formly/field/value/number/number.field.module.mjs +6 -7
- package/esm2022/lib/formly/field/value/phone/phone.field.component.mjs +16 -9
- package/esm2022/lib/formly/field/value/phone/phone.field.module.mjs +8 -48
- package/esm2022/lib/formly/field/value/text/text.additional.field.mjs +3 -1
- package/esm2022/lib/formly/field/value/text/text.address.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/text/text.field.module.mjs +8 -6
- package/esm2022/lib/formly/field/value/value.module.mjs +15 -8
- package/esm2022/lib/formly/field/wrapper/wrapper.mjs +12 -1
- package/esm2022/lib/formly/form/form.form.mjs +1 -1
- package/esm2022/lib/formly/form/form.form.module.mjs +9 -10
- package/esm2022/lib/formly/form/search.form.component.mjs +14 -18
- package/esm2022/lib/formly/formly.context.directive.mjs +7 -20
- package/esm2022/lib/layout/form.layout.module.mjs +10 -8
- package/esm2022/lib/layout/form.spacer.directive.mjs +20 -0
- package/esm2022/lib/layout/index.mjs +2 -2
- package/esm2022/mapbox/lib/field/latlng/latlng.field.component.mjs +7 -7
- package/esm2022/mapbox/lib/field/zoom/zoom.field.component.mjs +2 -2
- package/esm2022/mapbox/lib/field/zoom/zoom.module.mjs +4 -7
- package/fesm2022/dereekb-dbx-form-calendar.mjs +1 -1
- package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form-mapbox.mjs +11 -13
- package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form.mjs +321 -366
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/form/io/{form.changes.directive.d.ts → form.change.directive.d.ts} +3 -3
- package/lib/form/io/form.io.module.d.ts +3 -3
- package/lib/form/io/index.d.ts +1 -1
- package/lib/formly/field/field.d.ts +1 -1
- package/lib/formly/field/form.field.module.d.ts +7 -8
- package/lib/formly/field/selection/selection.module.d.ts +13 -6
- package/lib/formly/field/value/boolean/boolean.field.module.d.ts +4 -1
- package/lib/formly/field/value/date/date.field.module.d.ts +3 -16
- package/lib/formly/field/value/date/datetime.field.component.d.ts +37 -20
- package/lib/formly/field/value/date/fixeddaterange.field.component.d.ts +27 -25
- package/lib/formly/field/value/date/index.d.ts +2 -0
- package/lib/formly/field/value/number/number.field.d.ts +10 -10
- package/lib/formly/field/value/number/number.field.module.d.ts +1 -2
- package/lib/formly/field/value/phone/phone.field.component.d.ts +4 -4
- package/lib/formly/field/value/phone/phone.field.module.d.ts +2 -12
- package/lib/formly/field/value/text/text.additional.field.d.ts +2 -2
- package/lib/formly/field/value/text/text.address.field.d.ts +11 -11
- package/lib/formly/field/value/text/text.field.module.d.ts +5 -3
- package/lib/formly/field/value/value.module.d.ts +15 -8
- package/lib/formly/form/form.form.d.ts +3 -3
- package/lib/formly/form/form.form.module.d.ts +4 -5
- package/lib/formly/form/search.form.component.d.ts +3 -4
- package/lib/formly/formly.context.directive.d.ts +4 -5
- package/lib/layout/form.layout.module.d.ts +5 -3
- package/lib/layout/form.spacer.directive.d.ts +8 -0
- package/lib/layout/index.d.ts +1 -1
- package/mapbox/lib/field/zoom/zoom.module.d.ts +1 -2
- package/package.json +1 -1
- package/esm2022/lib/form/io/form.changes.directive.mjs +0 -36
- package/esm2022/lib/layout/form.spacer.component.mjs +0 -21
- package/lib/layout/form.spacer.component.d.ts +0 -8
|
@@ -8,10 +8,10 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
*
|
|
9
9
|
* Emits undefined when the form is incomplete, and the value when the form is complete.
|
|
10
10
|
*/
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class DbxFormValueChangeDirective<T> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
12
12
|
readonly form: DbxForm<any>;
|
|
13
13
|
readonly dbxFormValueChange: import("@angular/core").OutputEmitterRef<Maybe<T>>;
|
|
14
14
|
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormValueChangeDirective<any>, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormValueChangeDirective<any>, "[dbxFormValueChange]", never, {}, { "dbxFormValueChange": "dbxFormValueChange"; }, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./form.input.directive";
|
|
3
|
-
import * as i2 from "./form.
|
|
3
|
+
import * as i2 from "./form.change.directive";
|
|
4
4
|
import * as i3 from "./form.loading.directive";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated import the directives directly instead.
|
|
7
7
|
*
|
|
8
8
|
* @see DbxFormSourceDirective
|
|
9
|
-
* @see
|
|
9
|
+
* @see DbxFormValueChangeDirective
|
|
10
10
|
* @see DbxFormLoadingSourceDirective
|
|
11
11
|
*/
|
|
12
12
|
export declare class DbxFormIoModule {
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormIoModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormIoModule, never, [typeof i1.DbxFormSourceDirective, typeof i2.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormIoModule, never, [typeof i1.DbxFormSourceDirective, typeof i2.DbxFormValueChangeDirective, typeof i3.DbxFormLoadingSourceDirective], [typeof i1.DbxFormSourceDirective, typeof i2.DbxFormValueChangeDirective, typeof i3.DbxFormLoadingSourceDirective]>;
|
|
15
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormIoModule>;
|
|
16
16
|
}
|
package/lib/form/io/index.d.ts
CHANGED
|
@@ -95,5 +95,5 @@ export type ValidatorsForFieldConfig = {
|
|
|
95
95
|
};
|
|
96
96
|
export declare function validatorsForFieldConfig(input: ValidatorsForFieldConfigInput): Maybe<ValidatorsForFieldConfig>;
|
|
97
97
|
export interface MaterialFormFieldConfig {
|
|
98
|
-
materialFormField?: Pick<MaterialFormlyFormFieldProps, 'prefix' | 'suffix' | 'hideLabel' | 'hideRequiredMarker' | 'hideFieldUnderline' | 'floatLabel' | 'appearance' | 'color' | 'hintStart' | 'hintEnd'>;
|
|
98
|
+
readonly materialFormField?: Pick<MaterialFormlyFormFieldProps, 'prefix' | 'suffix' | 'hideLabel' | 'hideRequiredMarker' | 'hideFieldUnderline' | 'floatLabel' | 'appearance' | 'color' | 'hintStart' | 'hintEnd'>;
|
|
99
99
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./wrapper/form.wrapper.module";
|
|
2
|
+
import * as i1 from "./checklist/checklist.item.field.module";
|
|
3
|
+
import * as i2 from "./component/component.field.module";
|
|
4
|
+
import * as i3 from "./selection/selection.module";
|
|
5
|
+
import * as i4 from "./texteditor/texteditor.field.module";
|
|
6
|
+
import * as i5 from "./value/value.module";
|
|
7
|
+
import * as i6 from "./wrapper/form.wrapper.module";
|
|
9
8
|
export declare class DbxFormFormlyFieldModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyFieldModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyFieldModule, never, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyFieldModule, never, [typeof i1.DbxFormFormlyChecklistItemFieldModule, typeof i2.DbxFormFormlyComponentFieldModule, typeof i3.DbxFormFormlySelectionModule, typeof i4.DbxFormFormlyTextEditorFieldModule, typeof i5.DbxFormFormlyValueModule, typeof i6.DbxFormFormlyWrapperModule], [typeof i1.DbxFormFormlyChecklistItemFieldModule, typeof i2.DbxFormFormlyComponentFieldModule, typeof i3.DbxFormFormlySelectionModule, typeof i4.DbxFormFormlyTextEditorFieldModule, typeof i5.DbxFormFormlyValueModule, typeof i6.DbxFormFormlyWrapperModule]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyFieldModule>;
|
|
13
12
|
}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
|
|
2
|
+
import * as i1 from "./list/list.field.module";
|
|
3
|
+
import * as i2 from "./pickable/pickable.field.module";
|
|
4
|
+
import * as i3 from "./searchable/searchable.field.module";
|
|
5
|
+
import * as i4 from "./sourceselect/sourceselect.field.module";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated import the modules directly instead
|
|
8
|
+
*
|
|
9
|
+
* @see DbxFormFormlyDbxListFieldModule
|
|
10
|
+
* @see DbxFormFormlyPickableFieldModule
|
|
11
|
+
* @see DbxFormFormlySearchableFieldModule
|
|
12
|
+
* @see DbxFormFormlySourceSelectModule
|
|
13
|
+
*/
|
|
7
14
|
export declare class DbxFormFormlySelectionModule {
|
|
8
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlySelectionModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlySelectionModule, never, [typeof i1.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlySelectionModule, never, [typeof i1.DbxFormFormlyDbxListFieldModule, typeof i2.DbxFormFormlyPickableFieldModule, typeof i3.DbxFormFormlySearchableFieldModule, typeof i4.DbxFormFormlySourceSelectModule], [typeof i1.DbxFormFormlyDbxListFieldModule, typeof i2.DbxFormFormlyPickableFieldModule, typeof i3.DbxFormFormlySearchableFieldModule, typeof i4.DbxFormFormlySourceSelectModule]>;
|
|
10
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlySelectionModule>;
|
|
11
18
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@ngx-formly/material";
|
|
3
|
+
import * as i2 from "@ngx-formly/material/checkbox";
|
|
4
|
+
import * as i3 from "@ngx-formly/material/toggle";
|
|
2
5
|
export declare class DbxFormFormlyBooleanFieldModule {
|
|
3
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyBooleanFieldModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyBooleanFieldModule, never,
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyBooleanFieldModule, never, [typeof i1.FormlyMaterialModule, typeof i2.FormlyMatCheckboxModule, typeof i3.FormlyMatToggleModule], [typeof i1.FormlyMaterialModule, typeof i2.FormlyMatCheckboxModule, typeof i3.FormlyMatToggleModule]>;
|
|
5
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyBooleanFieldModule>;
|
|
6
9
|
}
|
|
@@ -1,23 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./datetime.field.component";
|
|
3
3
|
import * as i2 from "./fixeddaterange.field.component";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "@angular/material/input";
|
|
7
|
-
import * as i6 from "@angular/material/divider";
|
|
8
|
-
import * as i7 from "@angular/material/form-field";
|
|
9
|
-
import * as i8 from "@dereekb/dbx-web";
|
|
10
|
-
import * as i9 from "@angular/material/button";
|
|
11
|
-
import * as i10 from "@angular/material/datepicker";
|
|
12
|
-
import * as i11 from "@angular/material/menu";
|
|
13
|
-
import * as i12 from "@dereekb/dbx-core";
|
|
14
|
-
import * as i13 from "@angular/material/chips";
|
|
15
|
-
import * as i14 from "@angular/material/icon";
|
|
16
|
-
import * as i15 from "@ngbracket/ngx-layout";
|
|
17
|
-
import * as i16 from "@ngx-formly/core";
|
|
18
|
-
import * as i17 from "../../wrapper/form.wrapper.module";
|
|
4
|
+
import * as i3 from "../../wrapper/form.wrapper.module";
|
|
5
|
+
import * as i4 from "@ngx-formly/core";
|
|
19
6
|
export declare class DbxFormFormlyDateFieldModule {
|
|
20
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyDateFieldModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyDateFieldModule, [typeof i1.DbxDateTimeFieldComponent, typeof i2.DbxFixedDateRangeFieldComponent
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyDateFieldModule, never, [typeof i1.DbxDateTimeFieldComponent, typeof i2.DbxFixedDateRangeFieldComponent, typeof i3.DbxFormFormlyWrapperModule, typeof i4.FormlyModule], [typeof i1.DbxDateTimeFieldComponent, typeof i2.DbxFixedDateRangeFieldComponent, typeof i3.DbxFormFormlyWrapperModule]>;
|
|
22
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyDateFieldModule>;
|
|
23
10
|
}
|
|
@@ -161,7 +161,7 @@ export interface DbxDateTimeFieldProps extends FormlyFieldProps {
|
|
|
161
161
|
readonly minuteStep?: Maybe<number>;
|
|
162
162
|
}
|
|
163
163
|
export interface DbxDateTimeFieldSyncParsedField extends Pick<DbxDateTimeFieldSyncField, 'syncType'> {
|
|
164
|
-
control: AbstractControl<Maybe<Date | ISO8601DateString>>;
|
|
164
|
+
readonly control: AbstractControl<Maybe<Date | ISO8601DateString>>;
|
|
165
165
|
}
|
|
166
166
|
export declare function syncConfigValueObs(parseConfigsObs: Observable<DbxDateTimeFieldSyncParsedField[]>, type: DbxDateTimeFieldSyncType): Observable<Date | null>;
|
|
167
167
|
/**
|
|
@@ -173,30 +173,32 @@ export declare const DBX_DATE_TIME_FIELD_DATE_NOT_IN_SCHEDULE_ERROR = "dateTimeF
|
|
|
173
173
|
*/
|
|
174
174
|
export declare const DBX_DATE_TIME_FIELD_TIME_NOT_IN_RANGE_ERROR = "dateTimeFieldTimeNotInRange";
|
|
175
175
|
export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig<DbxDateTimeFieldProps>> implements OnInit, OnDestroy {
|
|
176
|
-
private readonly cdRef;
|
|
177
176
|
private readonly dbxDateTimeFieldConfigService;
|
|
178
|
-
private _sub;
|
|
179
|
-
private _valueSub;
|
|
180
|
-
private _autoFillDateSync;
|
|
181
|
-
private _config;
|
|
177
|
+
private readonly _sub;
|
|
178
|
+
private readonly _valueSub;
|
|
179
|
+
private readonly _autoFillDateSync;
|
|
180
|
+
private readonly _config;
|
|
182
181
|
readonly latestConfig$: Observable<Maybe<DbxDateTimePickerConfiguration>>;
|
|
183
|
-
private _syncConfigObs;
|
|
184
|
-
private _defaultTimezone;
|
|
185
|
-
private _timeDate;
|
|
186
|
-
private _presets;
|
|
187
|
-
|
|
188
|
-
|
|
182
|
+
private readonly _syncConfigObs;
|
|
183
|
+
private readonly _defaultTimezone;
|
|
184
|
+
private readonly _timeDate;
|
|
185
|
+
private readonly _presets;
|
|
186
|
+
/**
|
|
187
|
+
* Alternative/backup full day control if not defined in the Formly form.
|
|
188
|
+
*/
|
|
189
|
+
private readonly _fullDayInputCtrl;
|
|
190
|
+
private readonly _fullDayControlObs;
|
|
189
191
|
readonly fullDayControl$: Observable<AbstractControl<boolean, boolean>>;
|
|
190
|
-
private _offset;
|
|
191
|
-
private _formControlObs;
|
|
192
|
+
private readonly _offset;
|
|
193
|
+
private readonly _formControlObs;
|
|
192
194
|
readonly formControl$: Observable<AbstractControl<Maybe<Date>, Maybe<Date>>>;
|
|
193
|
-
private _cleared;
|
|
194
|
-
private _updateTime;
|
|
195
|
-
private _resyncTimeInputSub;
|
|
196
|
-
private _resyncTimeInput;
|
|
195
|
+
private readonly _cleared;
|
|
196
|
+
private readonly _updateTime;
|
|
197
|
+
private readonly _resyncTimeInputSub;
|
|
198
|
+
private readonly _resyncTimeInput;
|
|
197
199
|
readonly timeErrorStateMatcher: ErrorStateMatcher;
|
|
198
200
|
readonly resyncTimeInput$: Observable<void>;
|
|
199
|
-
private _configUpdateTimeSync;
|
|
201
|
+
private readonly _configUpdateTimeSync;
|
|
200
202
|
readonly timezone$: Observable<Maybe<TimezoneString>>;
|
|
201
203
|
readonly timezoneInstance$: Observable<Maybe<DateTimezoneUtcNormalInstance>>;
|
|
202
204
|
readonly timeDate$: Observable<Maybe<Date>>;
|
|
@@ -265,6 +267,21 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
|
|
|
265
267
|
readonly showDateInput$: Observable<boolean>;
|
|
266
268
|
readonly currentErrorMessage$: Observable<string | undefined>;
|
|
267
269
|
readonly hasError$: Observable<boolean>;
|
|
270
|
+
readonly dateValueSignal: import("@angular/core").Signal<Maybe<Date>>;
|
|
271
|
+
readonly displayValueSignal: import("@angular/core").Signal<Maybe<Date>>;
|
|
272
|
+
readonly pickerFilterSignal: import("@angular/core").Signal<DecisionFunction<Date | null>>;
|
|
273
|
+
readonly dateInputMinSignal: import("@angular/core").Signal<Date | null>;
|
|
274
|
+
readonly dateInputMaxSignal: import("@angular/core").Signal<Date | null>;
|
|
275
|
+
readonly showDateInputSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
276
|
+
readonly showTimeInputSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
277
|
+
readonly showAddTimeSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
278
|
+
readonly fullDaySignal: import("@angular/core").Signal<boolean | undefined>;
|
|
279
|
+
readonly timezoneAbbreviationSignal: import("@angular/core").Signal<string | undefined>;
|
|
280
|
+
readonly hasEmptyDisplayValueSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
281
|
+
readonly currentErrorMessageSignal: import("@angular/core").Signal<string | undefined>;
|
|
282
|
+
readonly showClearButtonSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
283
|
+
readonly presetsSignal: import("@angular/core").Signal<DateTimePreset[] | undefined>;
|
|
284
|
+
readonly hasErrorSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
268
285
|
ngOnInit(): void;
|
|
269
286
|
ngOnDestroy(): void;
|
|
270
287
|
selectPreset(preset: DateTimePreset): void;
|
|
@@ -282,5 +299,5 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
|
|
|
282
299
|
setFullDay(fullDay: boolean): void;
|
|
283
300
|
clearValue(): void;
|
|
284
301
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDateTimeFieldComponent, never>;
|
|
285
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDateTimeFieldComponent, "ng-component", never, {}, {}, never, never,
|
|
302
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDateTimeFieldComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
286
303
|
}
|
|
@@ -78,32 +78,28 @@ export interface FixedDateRangeScan {
|
|
|
78
78
|
type SelectedDateEventType = 'calendar' | 'input';
|
|
79
79
|
export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldTypeConfig<DbxFixedDateRangeFieldProps>> implements OnInit, OnDestroy {
|
|
80
80
|
private readonly dbxDateTimeFieldMenuPresetsService;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
private
|
|
87
|
-
private
|
|
88
|
-
private
|
|
89
|
-
private
|
|
90
|
-
private
|
|
91
|
-
private
|
|
92
|
-
private
|
|
93
|
-
private
|
|
94
|
-
private
|
|
95
|
-
private
|
|
96
|
-
private
|
|
97
|
-
private
|
|
81
|
+
readonly calendar: import("@angular/core").Signal<MatCalendar<Date>>;
|
|
82
|
+
readonly startDateInputElement: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
83
|
+
readonly endDateInputElement: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
84
|
+
readonly currentDateRangeInputSignal: import("@angular/core").WritableSignal<Maybe<DbxFixedDateRangeDateRangeInput>>;
|
|
85
|
+
readonly currentSelectionModeSignal: import("@angular/core").WritableSignal<DbxFixedDateRangeSelectionMode>;
|
|
86
|
+
private readonly _sub;
|
|
87
|
+
private readonly _inputRangeFormSub;
|
|
88
|
+
private readonly _inputRangeFormValueSub;
|
|
89
|
+
private readonly _dateRangeInputSub;
|
|
90
|
+
private readonly _currentSelectionModeSub;
|
|
91
|
+
private readonly _latestBoundarySub;
|
|
92
|
+
private readonly _disableEndSub;
|
|
93
|
+
private readonly _activeDateSub;
|
|
94
|
+
private readonly _config;
|
|
95
|
+
private readonly _selectionMode;
|
|
96
|
+
private readonly _dateRangeInput;
|
|
97
|
+
private readonly _timezone;
|
|
98
|
+
private readonly _presets;
|
|
99
|
+
private readonly _selectionEvent;
|
|
98
100
|
readonly selectedDateRange$: Observable<Maybe<Partial<DateRange>>>;
|
|
99
|
-
private _formControlObs;
|
|
101
|
+
private readonly _formControlObs;
|
|
100
102
|
readonly formControl$: Observable<AbstractControl<Maybe<DateRange>, Maybe<DateRange>>>;
|
|
101
|
-
calendar: MatCalendar<Date>;
|
|
102
|
-
startDateInputElement: ElementRef;
|
|
103
|
-
endDateInputElement: ElementRef;
|
|
104
|
-
get currentDateRangeInput(): Maybe<DbxFixedDateRangeDateRangeInput>;
|
|
105
|
-
get currentSelectionMode(): DbxFixedDateRangeSelectionMode;
|
|
106
|
-
get latestBoundary(): Maybe<DateRange>;
|
|
107
103
|
readonly config$: Observable<DbxFixedDateRangePickerConfiguration>;
|
|
108
104
|
readonly limitDateTimeInstance$: Observable<import("@dereekb/date").LimitDateTimeInstance>;
|
|
109
105
|
readonly selectionMode$: Observable<DbxFixedDateRangeSelectionMode>;
|
|
@@ -138,13 +134,19 @@ export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldType
|
|
|
138
134
|
readonly max$: Observable<Date | null>;
|
|
139
135
|
readonly pickerFilter$: Observable<DecisionFunction<Date | null>>;
|
|
140
136
|
readonly defaultPickerFilter: DecisionFunction<Date | null>;
|
|
137
|
+
readonly minDateSignal: import("@angular/core").Signal<Date | null>;
|
|
138
|
+
readonly maxDateSignal: import("@angular/core").Signal<Date | null>;
|
|
139
|
+
readonly endDisabledSignal: import("@angular/core").Signal<boolean | undefined>;
|
|
140
|
+
readonly latestBoundarySignal: import("@angular/core").Signal<Maybe<DateRange>>;
|
|
141
|
+
readonly calendarSelectionSignal: import("@angular/core").Signal<DatePickerDateRange<Date> | null>;
|
|
142
|
+
readonly pickerFilterSignal: import("@angular/core").Signal<DecisionFunction<Date | null>>;
|
|
141
143
|
ngOnInit(): void;
|
|
142
144
|
ngOnDestroy(): void;
|
|
143
145
|
selectedChange(date: Maybe<Date>): void;
|
|
144
146
|
setDateRange(range: Maybe<Partial<DateRange>>, type: SelectedDateEventType): void;
|
|
145
147
|
_createDateRange(date: Maybe<Date>): Maybe<DateRange>;
|
|
146
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFixedDateRangeFieldComponent, never>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFixedDateRangeFieldComponent, "ng-component", never, {}, {}, never, never,
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFixedDateRangeFieldComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
148
150
|
}
|
|
149
151
|
export declare class DbxFixedDateRangeFieldSelectionStrategy<D> implements MatDateRangeSelectionStrategy<D> {
|
|
150
152
|
private readonly _dateAdapter;
|
|
@@ -2,14 +2,14 @@ import { TransformNumberFunctionConfigRef } from '@dereekb/util';
|
|
|
2
2
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
3
|
import { AttributesFieldConfig, LabeledFieldConfig, DescriptionFieldConfig, FieldConfigParsersRef, FormlyValueParser, MaterialFormFieldConfig } from '../../field';
|
|
4
4
|
export interface NumberFieldNumberConfig {
|
|
5
|
-
min?: number;
|
|
6
|
-
max?: number;
|
|
7
|
-
step?: number;
|
|
8
|
-
enforceStep?: boolean;
|
|
5
|
+
readonly min?: number;
|
|
6
|
+
readonly max?: number;
|
|
7
|
+
readonly step?: number;
|
|
8
|
+
readonly enforceStep?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export type NumberFieldInputType = 'number';
|
|
11
11
|
export interface NumberFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, NumberFieldNumberConfig, AttributesFieldConfig, Partial<TransformNumberFunctionConfigRef>, MaterialFormFieldConfig {
|
|
12
|
-
inputType?: NumberFieldInputType;
|
|
12
|
+
readonly inputType?: NumberFieldInputType;
|
|
13
13
|
}
|
|
14
14
|
export declare function numberFieldTransformParser(config: Partial<FieldConfigParsersRef> & Partial<TransformNumberFunctionConfigRef>): FormlyValueParser[] | undefined;
|
|
15
15
|
export declare function numberField(config: NumberFieldConfig): FormlyFieldConfig;
|
|
@@ -17,15 +17,15 @@ export interface NumberSliderFieldConfig extends NumberFieldConfig {
|
|
|
17
17
|
/**
|
|
18
18
|
* Max value. Required for the slider.
|
|
19
19
|
*/
|
|
20
|
-
max: number;
|
|
20
|
+
readonly max: number;
|
|
21
21
|
/**
|
|
22
22
|
* Whether or not to show the thumb label while sliding. Defaults to true.
|
|
23
23
|
*/
|
|
24
|
-
thumbLabel?: boolean;
|
|
24
|
+
readonly thumbLabel?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Whether or not to invert the selection line.
|
|
27
27
|
*/
|
|
28
|
-
invertSelectionColoring?: boolean;
|
|
28
|
+
readonly invertSelectionColoring?: boolean;
|
|
29
29
|
/**
|
|
30
30
|
* Tick interval. If not provided defaults to the step value, if provided. If false, the ticks are disabled.
|
|
31
31
|
*
|
|
@@ -33,11 +33,11 @@ export interface NumberSliderFieldConfig extends NumberFieldConfig {
|
|
|
33
33
|
*
|
|
34
34
|
* For example, a tick interval of 5 show a tick every 5 steps. If steps are 10, it will show a tick at every number divisible by 50 (5 * 10).
|
|
35
35
|
*/
|
|
36
|
-
tickInterval?: false | number;
|
|
36
|
+
readonly tickInterval?: false | number;
|
|
37
37
|
/**
|
|
38
38
|
* Custom display with function for the thumbLabel.
|
|
39
39
|
*/
|
|
40
|
-
displayWith?: (value: number) => string;
|
|
40
|
+
readonly displayWith?: (value: number) => string;
|
|
41
41
|
}
|
|
42
42
|
export declare function numberSliderField(config: NumberSliderFieldConfig): FormlyFieldConfig;
|
|
43
43
|
export type DollarAmountFieldConfig = Omit<NumberFieldConfig, 'roundToStep' | 'precision'>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@ngx-formly/material";
|
|
3
3
|
import * as i2 from "@ngx-formly/material/slider";
|
|
4
|
-
import * as i3 from "../../wrapper/form.wrapper.module";
|
|
5
4
|
export declare class DbxFormFormlyNumberFieldModule {
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyNumberFieldModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyNumberFieldModule, never, [typeof i1.FormlyMaterialModule, typeof i2.FormlyMatSliderModule], [typeof
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyNumberFieldModule, never, [typeof i1.FormlyMaterialModule, typeof i2.FormlyMatSliderModule], [typeof i1.FormlyMaterialModule, typeof i2.FormlyMatSliderModule]>;
|
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyNumberFieldModule>;
|
|
9
8
|
}
|
|
@@ -6,12 +6,12 @@ import { FormControl, FormGroup } from '@angular/forms';
|
|
|
6
6
|
import { SubscriptionObject } from '@dereekb/rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface InternationalPhoneFormlyFieldProps extends FormlyFieldProps {
|
|
9
|
-
preferredCountries?: Maybe<string[]>;
|
|
10
|
-
onlyCountries?: Maybe<string[]>;
|
|
9
|
+
readonly preferredCountries?: Maybe<string[]>;
|
|
10
|
+
readonly onlyCountries?: Maybe<string[]>;
|
|
11
11
|
/**
|
|
12
12
|
* Whether or not to allow adding an extension. False by default.
|
|
13
13
|
*/
|
|
14
|
-
allowExtension?: boolean;
|
|
14
|
+
readonly allowExtension?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export declare const DEFAULT_PREFERRED_COUNTRIES: string[];
|
|
17
17
|
export declare class DbxPhoneFieldComponent extends FieldType<FieldTypeConfig<InternationalPhoneFormlyFieldProps>> implements OnInit, OnDestroy {
|
|
@@ -31,5 +31,5 @@ export declare class DbxPhoneFieldComponent extends FieldType<FieldTypeConfig<In
|
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
ngOnDestroy(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPhoneFieldComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPhoneFieldComponent, "ng-component", never, {}, {}, never, never,
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPhoneFieldComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
35
35
|
}
|
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./phone.field.component";
|
|
3
|
-
import * as i2 from "@
|
|
4
|
-
import * as i3 from "@angular/material/input";
|
|
5
|
-
import * as i4 from "@angular/material/form-field";
|
|
6
|
-
import * as i5 from "@angular/forms";
|
|
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 "@ngbracket/ngx-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";
|
|
3
|
+
import * as i2 from "@ngx-formly/core";
|
|
14
4
|
export declare class DbxFormFormlyPhoneFieldModule {
|
|
15
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyPhoneFieldModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyPhoneFieldModule, [typeof i1.DbxPhoneFieldComponent
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyPhoneFieldModule, never, [typeof i1.DbxPhoneFieldComponent, typeof i2.FormlyModule], [typeof i1.DbxPhoneFieldComponent]>;
|
|
17
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyPhoneFieldModule>;
|
|
18
8
|
}
|
|
@@ -6,13 +6,13 @@ export declare const LABEL_STRING_MAX_LENGTH = 100;
|
|
|
6
6
|
export declare const SEARCH_STRING_MAX_LENGTH = 100;
|
|
7
7
|
export declare function nameField(config?: Partial<TextFieldConfig>): FormlyFieldConfig;
|
|
8
8
|
export interface EmailFieldConfig extends Partial<LabeledFieldConfig>, DescriptionFieldConfig {
|
|
9
|
-
rows?: number;
|
|
9
|
+
readonly rows?: number;
|
|
10
10
|
}
|
|
11
11
|
export declare function emailField(config?: EmailFieldConfig): FormlyFieldConfig;
|
|
12
12
|
export type CityFieldConfig = Partial<TextFieldConfig>;
|
|
13
13
|
export declare function cityField(config?: CityFieldConfig): FormlyFieldConfig;
|
|
14
14
|
export interface StateFieldConfig extends Partial<TextFieldConfig> {
|
|
15
|
-
asCode?: boolean;
|
|
15
|
+
readonly asCode?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare function stateField(config?: StateFieldConfig): FormlyFieldConfig;
|
|
18
18
|
export type CountryFieldConfig = Partial<TextFieldConfig>;
|
|
@@ -4,33 +4,33 @@ import { CityFieldConfig, CountryFieldConfig, StateFieldConfig, ZipCodeFieldConf
|
|
|
4
4
|
import { FieldConfig } from '../../field';
|
|
5
5
|
import { DbxFormSectionConfig } from '../../wrapper/section.wrapper.component';
|
|
6
6
|
export interface AddressFormlyFieldsConfig {
|
|
7
|
-
line1Field?: CityFieldConfig;
|
|
8
|
-
line2Field?: CityFieldConfig;
|
|
9
|
-
cityField?: CityFieldConfig;
|
|
10
|
-
stateField?: StateFieldConfig;
|
|
11
|
-
zipCodeField?: ZipCodeFieldConfig;
|
|
12
|
-
countryField?: CountryFieldConfig;
|
|
7
|
+
readonly line1Field?: CityFieldConfig;
|
|
8
|
+
readonly line2Field?: CityFieldConfig;
|
|
9
|
+
readonly cityField?: CityFieldConfig;
|
|
10
|
+
readonly stateField?: StateFieldConfig;
|
|
11
|
+
readonly zipCodeField?: ZipCodeFieldConfig;
|
|
12
|
+
readonly countryField?: CountryFieldConfig;
|
|
13
13
|
/**
|
|
14
14
|
* Whether or not to make required fields required.
|
|
15
15
|
*
|
|
16
16
|
* True by default.
|
|
17
17
|
*/
|
|
18
|
-
requiredFields?: boolean;
|
|
18
|
+
readonly requiredFields?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* Whether or not to include the second address line.
|
|
21
21
|
*
|
|
22
22
|
* True by default.
|
|
23
23
|
*/
|
|
24
|
-
includeLine2?: boolean;
|
|
24
|
+
readonly includeLine2?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Whether or not to include the country.
|
|
27
27
|
*
|
|
28
28
|
* True by default.
|
|
29
29
|
*/
|
|
30
|
-
includeCountry?: boolean;
|
|
30
|
+
readonly includeCountry?: boolean;
|
|
31
31
|
}
|
|
32
32
|
export interface AddressLineFieldConfig extends Partial<TextFieldConfig> {
|
|
33
|
-
line?: 0 | 1 | 2;
|
|
33
|
+
readonly line?: 0 | 1 | 2;
|
|
34
34
|
}
|
|
35
35
|
export declare function addressLineField(config?: AddressLineFieldConfig): FormlyFieldConfig;
|
|
36
36
|
export declare function addressFormlyFields(config?: AddressFormlyFieldsConfig): FormlyFieldConfig[];
|
|
@@ -38,6 +38,6 @@ export interface AddressFieldConfig extends FieldConfig, DbxFormSectionConfig, A
|
|
|
38
38
|
}
|
|
39
39
|
export declare function addressField(config?: Partial<AddressFieldConfig>): FormlyFieldConfig;
|
|
40
40
|
export interface AddressListFieldConfig extends FieldConfig, AddressFormlyFieldsConfig {
|
|
41
|
-
maxAddresses?: number;
|
|
41
|
+
readonly maxAddresses?: number;
|
|
42
42
|
}
|
|
43
43
|
export declare function addressListField(config?: Partial<AddressListFieldConfig>): FormlyFieldConfig;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
2
|
+
import * as i1 from "../array/array.field.module";
|
|
3
|
+
import * as i2 from "@ngx-formly/material";
|
|
4
|
+
import * as i3 from "@ngx-formly/material/input";
|
|
5
|
+
import * as i4 from "../../wrapper/form.wrapper.module";
|
|
4
6
|
export declare class DbxFormFormlyTextFieldModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyTextFieldModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyTextFieldModule, never, [typeof i1.FormlyMaterialModule], [typeof i2.DbxFormFormlyWrapperModule]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyTextFieldModule, never, [typeof i1.DbxFormFormlyArrayFieldModule, typeof i2.FormlyMaterialModule, typeof i3.FormlyMatInputModule, typeof i4.DbxFormFormlyWrapperModule], [typeof i1.DbxFormFormlyArrayFieldModule, typeof i2.FormlyMaterialModule, typeof i3.FormlyMatInputModule, typeof i4.DbxFormFormlyWrapperModule]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyTextFieldModule>;
|
|
8
10
|
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import * as i1 from "./array/array.field.module";
|
|
3
|
+
import * as i2 from "./date/date.field.module";
|
|
4
|
+
import * as i3 from "./phone/phone.field.module";
|
|
5
|
+
import * as i4 from "./number/number.field.module";
|
|
6
|
+
import * as i5 from "./text/text.field.module";
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated import the modules directly
|
|
9
|
+
*
|
|
10
|
+
* @see DbxFormFormlyArrayFieldModule
|
|
11
|
+
* @see DbxFormFormlyDateFieldModule
|
|
12
|
+
* @see DbxFormFormlyPhoneFieldModule
|
|
13
|
+
* @see DbxFormFormlyNumberFieldModule
|
|
14
|
+
* @see DbxFormFormlyTextFieldModule
|
|
15
|
+
*/
|
|
9
16
|
export declare class DbxFormFormlyValueModule {
|
|
10
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyValueModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyValueModule, never, [typeof i1.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyValueModule, never, [typeof i1.DbxFormFormlyArrayFieldModule, typeof i2.DbxFormFormlyDateFieldModule, typeof i3.DbxFormFormlyPhoneFieldModule, typeof i4.DbxFormFormlyNumberFieldModule, typeof i5.DbxFormFormlyTextFieldModule], [typeof i1.DbxFormFormlyArrayFieldModule, typeof i2.DbxFormFormlyDateFieldModule, typeof i3.DbxFormFormlyPhoneFieldModule, typeof i4.DbxFormFormlyNumberFieldModule, typeof i5.DbxFormFormlyTextFieldModule]>;
|
|
12
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyValueModule>;
|
|
13
20
|
}
|
|
@@ -2,10 +2,10 @@ import { type Maybe } from '@dereekb/util';
|
|
|
2
2
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
3
|
import { MaterialFormFieldConfig } from '../field';
|
|
4
4
|
export interface DbxFormSearchFormFieldsValue {
|
|
5
|
-
search: string;
|
|
5
|
+
readonly search: string;
|
|
6
6
|
}
|
|
7
7
|
export interface DbxFormSearchFormFieldsConfig extends MaterialFormFieldConfig {
|
|
8
|
-
label?: string;
|
|
9
|
-
placeholder?: string;
|
|
8
|
+
readonly label?: string;
|
|
9
|
+
readonly placeholder?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare function dbxFormSearchFormFields(config: Maybe<DbxFormSearchFormFieldsConfig>): FormlyFieldConfig[];
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./search.form.component";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as i5 from "../field/form.field.module";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated import DbxFormSearchFormComponent directly instead.
|
|
5
|
+
*/
|
|
7
6
|
export declare class DbxFormFormlyFormModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyFormModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyFormModule, [typeof i1.DbxFormSearchFormComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyFormModule, never, [typeof i1.DbxFormSearchFormComponent], [typeof i1.DbxFormSearchFormComponent]>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyFormModule>;
|
|
11
10
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { AbstractConfigAsyncFormlyFormDirective } from '../formly.directive';
|
|
5
5
|
import { DbxFormSearchFormFieldsConfig, DbxFormSearchFormFieldsValue } from './form.form';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DbxFormSearchFormComponent extends AbstractConfigAsyncFormlyFormDirective<DbxFormSearchFormFieldsValue, DbxFormSearchFormFieldsConfig> implements OnDestroy {
|
|
8
|
-
readonly search:
|
|
8
|
+
readonly search: import("@angular/core").OutputEmitterRef<string>;
|
|
9
9
|
readonly fields$: Observable<FormlyFieldConfig[]>;
|
|
10
10
|
searchChanged(value: DbxFormSearchFormFieldsValue): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSearchFormComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSearchFormComponent, "dbx-form-search-form", never, {}, { "search": "search"; }, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSearchFormComponent, "dbx-form-search-form", never, {}, { "search": "search"; }, never, never, true, never>;
|
|
14
13
|
}
|
|
@@ -7,13 +7,12 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* Provides an DbxFormlyContext and has an input for fields.
|
|
8
8
|
*/
|
|
9
9
|
export declare class DbxFormlyFieldsContextDirective<T = unknown> extends AbstractAsyncFormlyFormDirective<T> implements OnDestroy {
|
|
10
|
-
|
|
10
|
+
readonly fields: import("@angular/core").InputSignal<Maybe<FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
|
|
11
|
+
[additionalProperties: string]: any;
|
|
12
|
+
}>[]>>;
|
|
11
13
|
readonly fields$: import("rxjs").Observable<Maybe<FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
|
|
12
14
|
[additionalProperties: string]: any;
|
|
13
15
|
}>[]>>;
|
|
14
|
-
get fields(): Maybe<FormlyFieldConfig[]>;
|
|
15
|
-
set fields(fields: Maybe<FormlyFieldConfig[]>);
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyFieldsContextDirective<any>, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormlyFieldsContextDirective<any>, "[dbxFormlyFields]", never, { "fields": { "alias": "dbxFormlyFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormlyFieldsContextDirective<any>, "[dbxFormlyFields]", never, { "fields": { "alias": "dbxFormlyFields"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
18
|
}
|