@dereekb/dbx-form 12.5.4 → 12.5.6
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/calendar/lib/calendar.schedule.selection.d.ts +3 -3
- package/calendar/lib/field/schedule/calendar.schedule.field.d.ts +3 -3
- package/esm2022/calendar/lib/calendar.schedule.selection.mjs +1 -1
- package/esm2022/calendar/lib/field/schedule/calendar.schedule.field.mjs +1 -1
- package/esm2022/lib/form/form.angular.util.mjs +1 -1
- package/esm2022/lib/form/form.mjs +1 -1
- package/esm2022/lib/form.providers.mjs +1 -1
- package/esm2022/lib/formly/config/validation.mjs +1 -1
- package/esm2022/lib/formly/field/checklist/checklist.field.mjs +1 -1
- package/esm2022/lib/formly/field/checklist/checklist.item.field.mjs +1 -1
- package/esm2022/lib/formly/field/checklist/checklist.item.mjs +1 -1
- package/esm2022/lib/formly/field/component/component.field.mjs +1 -1
- package/esm2022/lib/formly/field/field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/list/list.field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/pickable/pickable.field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/pickable/pickable.mjs +1 -1
- package/esm2022/lib/formly/field/selection/pickable/pickable.util.mjs +1 -1
- package/esm2022/lib/formly/field/selection/searchable/searchable.field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/searchable/searchable.mjs +1 -1
- package/esm2022/lib/formly/field/selection/searchable/text.chip.field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/selection.field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/selection.mjs +1 -1
- package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.mjs +1 -1
- package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.mjs +1 -1
- package/esm2022/lib/formly/field/texteditor/texteditor.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/array/array.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/boolean/boolean.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/date/date.value.mjs +1 -1
- package/esm2022/lib/formly/field/value/date/datetime.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/date/datetime.mjs +1 -1
- package/esm2022/lib/formly/field/value/date/datetime.preset.mjs +1 -1
- package/esm2022/lib/formly/field/value/hidden.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/number/number.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/phone/phone.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/text/text.additional.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/text/text.address.field.mjs +1 -1
- package/esm2022/lib/formly/field/value/text/text.field.mjs +1 -1
- package/esm2022/lib/formly/field/wrapper/wrapper.mjs +1 -1
- package/esm2022/lib/formly/form/form.form.mjs +1 -1
- package/esm2022/lib/formly/template/available.mjs +1 -1
- package/esm2022/lib/formly/template/login.mjs +1 -1
- package/esm2022/lib/formly/template/timezone.mjs +1 -1
- package/esm2022/lib/formly/template/website.mjs +1 -1
- package/esm2022/lib/validator/available.mjs +1 -1
- package/esm2022/lib/validator/boolean.mjs +1 -1
- package/esm2022/lib/validator/email.mjs +1 -1
- package/esm2022/lib/validator/field.mjs +1 -1
- package/esm2022/lib/validator/number.mjs +1 -1
- package/esm2022/lib/validator/phone.mjs +1 -1
- package/esm2022/lib/validator/website.mjs +1 -1
- package/esm2022/mapbox/lib/field/latlng/latlng.field.mjs +1 -1
- package/esm2022/mapbox/lib/field/zoom/zoom.field.mjs +1 -1
- package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/form/form.angular.util.d.ts +2 -2
- package/lib/form/form.d.ts +5 -5
- package/lib/form.providers.d.ts +3 -3
- package/lib/formly/config/validation.d.ts +2 -2
- package/lib/formly/field/checklist/checklist.field.d.ts +5 -5
- package/lib/formly/field/checklist/checklist.item.d.ts +1 -1
- package/lib/formly/field/checklist/checklist.item.field.d.ts +3 -3
- package/lib/formly/field/component/component.field.d.ts +1 -1
- package/lib/formly/field/field.d.ts +5 -5
- package/lib/formly/field/selection/list/list.field.d.ts +5 -5
- package/lib/formly/field/selection/pickable/pickable.d.ts +3 -3
- package/lib/formly/field/selection/pickable/pickable.field.d.ts +3 -3
- package/lib/formly/field/selection/pickable/pickable.util.d.ts +4 -4
- package/lib/formly/field/selection/searchable/searchable.d.ts +4 -4
- package/lib/formly/field/selection/searchable/searchable.field.d.ts +7 -7
- package/lib/formly/field/selection/searchable/text.chip.field.d.ts +2 -2
- package/lib/formly/field/selection/selection.d.ts +1 -1
- package/lib/formly/field/selection/selection.field.d.ts +4 -4
- package/lib/formly/field/selection/sourceselect/sourceselect.d.ts +5 -5
- package/lib/formly/field/selection/sourceselect/sourceselect.field.d.ts +4 -4
- package/lib/formly/field/texteditor/texteditor.field.d.ts +3 -3
- package/lib/formly/field/value/array/array.field.d.ts +4 -4
- package/lib/formly/field/value/boolean/boolean.field.d.ts +2 -2
- package/lib/formly/field/value/date/date.value.d.ts +2 -2
- package/lib/formly/field/value/date/datetime.d.ts +1 -1
- package/lib/formly/field/value/date/datetime.field.d.ts +5 -5
- package/lib/formly/field/value/date/datetime.preset.d.ts +1 -1
- package/lib/formly/field/value/hidden.field.d.ts +2 -2
- package/lib/formly/field/value/number/number.field.d.ts +3 -3
- package/lib/formly/field/value/phone/phone.field.d.ts +6 -6
- package/lib/formly/field/value/text/text.additional.field.d.ts +3 -3
- package/lib/formly/field/value/text/text.address.field.d.ts +5 -5
- package/lib/formly/field/value/text/text.field.d.ts +3 -3
- package/lib/formly/field/wrapper/wrapper.d.ts +10 -10
- package/lib/formly/form/form.form.d.ts +2 -2
- package/lib/formly/template/available.d.ts +3 -3
- package/lib/formly/template/login.d.ts +3 -3
- package/lib/formly/template/timezone.d.ts +4 -4
- package/lib/formly/template/website.d.ts +3 -3
- package/lib/validator/available.d.ts +2 -2
- package/lib/validator/boolean.d.ts +1 -1
- package/lib/validator/email.d.ts +1 -1
- package/lib/validator/field.d.ts +2 -2
- package/lib/validator/number.d.ts +1 -1
- package/lib/validator/phone.d.ts +1 -1
- package/lib/validator/website.d.ts +2 -2
- package/mapbox/lib/field/latlng/latlng.field.d.ts +3 -3
- package/mapbox/lib/field/zoom/zoom.field.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
1
|
+
import { type AbstractControl } from '@angular/forms';
|
|
2
2
|
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
3
|
+
import { type Observable } from 'rxjs';
|
|
4
4
|
/**
|
|
5
5
|
* A FormGroup/AbstractControl path to a specific control.
|
|
6
6
|
*/
|
package/lib/form/form.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Provider, Type } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LockSet } from '@dereekb/rxjs';
|
|
4
|
-
import { BooleanStringKeyArray, type Maybe } from '@dereekb/util';
|
|
5
|
-
import { AbstractControl, FormControlStatus } from '@angular/forms';
|
|
1
|
+
import { type Provider, type Type } from '@angular/core';
|
|
2
|
+
import { type Observable } from 'rxjs';
|
|
3
|
+
import { type LockSet } from '@dereekb/rxjs';
|
|
4
|
+
import { type BooleanStringKeyArray, type Maybe } from '@dereekb/util';
|
|
5
|
+
import { type AbstractControl, type FormControlStatus } from '@angular/forms';
|
|
6
6
|
/**
|
|
7
7
|
* Current state of a DbxForm
|
|
8
8
|
*/
|
package/lib/form.providers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import { DateTimePresetConfiguration } from './formly';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
1
|
+
import { type EnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { type DateTimePresetConfiguration } from './formly';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
export interface ProvideDbxFormConfigurationConfig {
|
|
5
5
|
readonly provideDateAdapter?: boolean;
|
|
6
6
|
readonly defaultDateTimePresets?: Maybe<DateTimePresetConfiguration[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
-
import { ValidationMessageOption } from '@ngx-formly/core/lib/models';
|
|
1
|
+
import { type FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type ValidationMessageOption } from '@ngx-formly/core/lib/models';
|
|
3
3
|
export declare function minLengthValidationMessage(err: unknown, field: FieldTypeConfig): string;
|
|
4
4
|
export declare function maxLengthValidationMessage(err: unknown, field: FieldTypeConfig): string;
|
|
5
5
|
export declare function minValidationMessage(err: unknown, field: FieldTypeConfig): string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { ChecklistItemDisplayContent } from './checklist.item';
|
|
4
|
-
import { KeyValueTransformMap, type Maybe } from '@dereekb/util';
|
|
5
|
-
import { ChecklistItemFieldBuilderInput } from './checklist.item.field';
|
|
1
|
+
import { type Observable } from 'rxjs';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type ChecklistItemDisplayContent } from './checklist.item';
|
|
4
|
+
import { type KeyValueTransformMap, type Maybe } from '@dereekb/util';
|
|
5
|
+
import { type ChecklistItemFieldBuilderInput } from './checklist.item.field';
|
|
6
6
|
export type ChecklistItemFieldDataSetFieldKey<D> = keyof D & string;
|
|
7
7
|
export type ChecklistItemFieldDataSetFieldValueForKey<D, K extends keyof D = keyof D> = D[K];
|
|
8
8
|
export type ChecklistType<D> = KeyValueTransformMap<D, boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { LabeledFieldConfig } from '../field';
|
|
3
|
-
import { DbxChecklistItemFieldProps } from './checklist.item.field.component';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type LabeledFieldConfig } from '../field';
|
|
3
|
+
import { type DbxChecklistItemFieldProps } from './checklist.item.field.component';
|
|
4
4
|
export interface ChecklistItemFieldConfig<T = unknown> extends LabeledFieldConfig, DbxChecklistItemFieldProps<T> {
|
|
5
5
|
}
|
|
6
6
|
export type ChecklistItemFieldBuilderInput<T = unknown> = Partial<ChecklistItemFieldConfig<T>> & Pick<ChecklistItemFieldConfig<T>, 'key' | 'displayContent'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DbxFormComponentFieldConfig, DbxFormComponentFormlyFieldConfig } from './component.field.component';
|
|
1
|
+
import { type DbxFormComponentFieldConfig, type DbxFormComponentFormlyFieldConfig } from './component.field.component';
|
|
2
2
|
export type ComponentFieldConfig<T = unknown> = DbxFormComponentFieldConfig<T>;
|
|
3
3
|
export declare function componentField<T = unknown>(config: ComponentFieldConfig<T>): DbxFormComponentFormlyFieldConfig<T>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { FilterKeyValueTuplesInput, GeneralFilterFromPOJOFunction, ArrayOrValue, Maybe, MapFunction } from '@dereekb/util';
|
|
3
|
-
import { FormlyFieldConfig, FormlyFieldProps } from '@ngx-formly/core';
|
|
4
|
-
import { ValidationMessageOption } from '@ngx-formly/core/lib/models';
|
|
5
|
-
import { FormlyFieldProps as MaterialFormlyFormFieldProps } from '@ngx-formly/material/form-field';
|
|
1
|
+
import { type AsyncValidatorFn, type ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { type FilterKeyValueTuplesInput, type GeneralFilterFromPOJOFunction, type ArrayOrValue, type Maybe, type MapFunction } from '@dereekb/util';
|
|
3
|
+
import { type FormlyFieldConfig, type FormlyFieldProps } from '@ngx-formly/core';
|
|
4
|
+
import { type ValidationMessageOption } from '@ngx-formly/core/lib/models';
|
|
5
|
+
import { type FormlyFieldProps as MaterialFormlyFormFieldProps } from '@ngx-formly/material/form-field';
|
|
6
6
|
export type FormlyValueParser<I = any, O = any> = MapFunction<I, O>;
|
|
7
7
|
export interface FieldConfigParsersRef {
|
|
8
8
|
parsers: FormlyValueParser[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { LabeledFieldConfig } from '../../field';
|
|
3
|
-
import { DbxItemListFieldProps } from './list.field.component';
|
|
4
|
-
import { AbstractDbxSelectionListWrapperDirective } from '@dereekb/dbx-web';
|
|
5
|
-
import { PrimativeKey } from '@dereekb/util';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type LabeledFieldConfig } from '../../field';
|
|
3
|
+
import { type DbxItemListFieldProps } from './list.field.component';
|
|
4
|
+
import { type AbstractDbxSelectionListWrapperDirective } from '@dereekb/dbx-web';
|
|
5
|
+
import { type PrimativeKey } from '@dereekb/util';
|
|
6
6
|
export interface DbxListFieldConfig<T = unknown, C extends AbstractDbxSelectionListWrapperDirective<T> = AbstractDbxSelectionListWrapperDirective<T>, K extends PrimativeKey = PrimativeKey> extends LabeledFieldConfig, DbxItemListFieldProps<T, C, K> {
|
|
7
7
|
}
|
|
8
8
|
export declare function dbxListField<T = unknown, C extends AbstractDbxSelectionListWrapperDirective<T> = AbstractDbxSelectionListWrapperDirective<T>, K extends PrimativeKey = PrimativeKey>(config: DbxListFieldConfig<T, C, K>): FormlyFieldConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Maybe, PrimativeKey } from '@dereekb/util';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { SelectionDisplayValue, SelectionValue, SelectionValueHashFunction } from '../selection';
|
|
1
|
+
import { type Maybe, type PrimativeKey } from '@dereekb/util';
|
|
2
|
+
import { type Observable } from 'rxjs';
|
|
3
|
+
import { type SelectionDisplayValue, type SelectionValue, type SelectionValueHashFunction } from '../selection';
|
|
4
4
|
export type PickableValueFieldValue<T, M = unknown> = SelectionValue<T, M>;
|
|
5
5
|
export type PickableValueFieldDisplayValue<T, M = unknown> = SelectionDisplayValue<T, M>;
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { LabeledFieldConfig, MaterialFormFieldConfig } from '../../field';
|
|
3
|
-
import { PickableItemFieldItem, PickableValueFieldsFieldProps } from './pickable.field.directive';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type LabeledFieldConfig, type MaterialFormFieldConfig } from '../../field';
|
|
3
|
+
import { PickableItemFieldItem, type PickableValueFieldsFieldProps } from './pickable.field.directive';
|
|
4
4
|
export { PickableItemFieldItem };
|
|
5
5
|
export interface PickableItemFieldConfig<T = unknown, M = unknown> extends LabeledFieldConfig, PickableValueFieldsFieldProps<T, M>, MaterialFormFieldConfig {
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LabeledValue, Maybe, SearchStringFilterFunction } from '@dereekb/util';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { PickableValueFieldDisplayValue } from './pickable';
|
|
4
|
-
import { PickableItemFieldItem, PickableValueFieldsFieldProps } from './pickable.field.directive';
|
|
1
|
+
import { type LabeledValue, type Maybe, type SearchStringFilterFunction } from '@dereekb/util';
|
|
2
|
+
import { type Observable } from 'rxjs';
|
|
3
|
+
import { type PickableValueFieldDisplayValue } from './pickable';
|
|
4
|
+
import { type PickableItemFieldItem, type PickableValueFieldsFieldProps } from './pickable.field.directive';
|
|
5
5
|
export declare const filterPickableItemFieldValuesByLabelFilterFunction: SearchStringFilterFunction<PickableValueFieldDisplayValue<any>>;
|
|
6
6
|
export declare function filterPickableItemFieldValuesByLabel<T>(filterText: Maybe<string>, values: PickableValueFieldDisplayValue<T>[]): Observable<T[]>;
|
|
7
7
|
export declare const sortPickableItemsByLabelStringFunction: import("@dereekb/util").SortByStringFunction<PickableItemFieldItem<any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MapFunction, PrimativeKey } from '@dereekb/util';
|
|
2
|
-
import { DbxInjectionComponentConfig, ClickableAnchor } from '@dereekb/dbx-core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { SelectionDisplayValue, SelectionValue, SelectionValueHashFunction } from '../selection';
|
|
1
|
+
import { type MapFunction, type PrimativeKey } from '@dereekb/util';
|
|
2
|
+
import { type DbxInjectionComponentConfig, type ClickableAnchor } from '@dereekb/dbx-core';
|
|
3
|
+
import { type Observable } from 'rxjs';
|
|
4
|
+
import { type SelectionDisplayValue, type SelectionValue, type SelectionValueHashFunction } from '../selection';
|
|
5
5
|
export interface SearchableValueFieldValue<T, M = unknown> extends SelectionValue<T, M> {
|
|
6
6
|
/**
|
|
7
7
|
* Optional anchor metadata on the field.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PrimativeKey } from '@dereekb/util';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { LabeledFieldConfig, DescriptionFieldConfig, MaterialFormFieldConfig } from '../../field';
|
|
5
|
-
import { SearchableValueFieldDisplayFn, SearchableValueFieldDisplayValue, SearchableValueFieldValue } from './searchable';
|
|
6
|
-
import { SearchableChipValueFieldsFieldProps } from './searchable.chip.field.component';
|
|
7
|
-
import { SearchableTextValueFieldsFieldProps } from './searchable.text.field.component';
|
|
1
|
+
import { type PrimativeKey } from '@dereekb/util';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type Observable } from 'rxjs';
|
|
4
|
+
import { type LabeledFieldConfig, type DescriptionFieldConfig, type MaterialFormFieldConfig } from '../../field';
|
|
5
|
+
import { type SearchableValueFieldDisplayFn, type SearchableValueFieldDisplayValue, type SearchableValueFieldValue } from './searchable';
|
|
6
|
+
import { type SearchableChipValueFieldsFieldProps } from './searchable.chip.field.component';
|
|
7
|
+
import { type SearchableTextValueFieldsFieldProps } from './searchable.text.field.component';
|
|
8
8
|
/**
|
|
9
9
|
* Used to create a SearchableValueFieldDisplayFn function that will retrieve the metadata for items that are missing their metadata so they can be displayed properly.
|
|
10
10
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LabeledFieldConfig } from '../../field';
|
|
2
|
-
import { StringValueFieldsFieldProps } from './searchable.field.directive';
|
|
1
|
+
import { type LabeledFieldConfig } from '../../field';
|
|
2
|
+
import { type StringValueFieldsFieldProps } from './searchable.field.directive';
|
|
3
3
|
export interface ChipTextFieldConfig extends LabeledFieldConfig, StringValueFieldsFieldProps {
|
|
4
4
|
caseSensitive?: boolean;
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ObservableOrValue } from '@dereekb/rxjs';
|
|
2
|
-
import { LabeledValue } from '@dereekb/util';
|
|
3
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
-
import { DescriptionFieldConfig, LabeledFieldConfig, MaterialFormFieldConfig } from '../field';
|
|
1
|
+
import { type ObservableOrValue } from '@dereekb/rxjs';
|
|
2
|
+
import { type LabeledValue } from '@dereekb/util';
|
|
3
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
+
import { type DescriptionFieldConfig, type LabeledFieldConfig, type MaterialFormFieldConfig } from '../field';
|
|
5
5
|
export interface ValueSelectionOptionWithValue<T> extends LabeledValue<T> {
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SelectionDisplayValue } from './../selection';
|
|
2
|
-
import { LoadingState } from '@dereekb/rxjs';
|
|
3
|
-
import { Factory, FactoryWithRequiredInput, MapFunction, Maybe, PrimativeKey } from '@dereekb/util';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { type SelectionDisplayValue } from './../selection';
|
|
2
|
+
import { type LoadingState } from '@dereekb/rxjs';
|
|
3
|
+
import { type Factory, type FactoryWithRequiredInput, type MapFunction, type Maybe, type PrimativeKey } from '@dereekb/util';
|
|
4
|
+
import { type Observable } from 'rxjs';
|
|
5
|
+
import { type ElementRef } from '@angular/core';
|
|
6
6
|
export interface SourceSelectValue<T extends PrimativeKey = PrimativeKey, M = unknown> {
|
|
7
7
|
value: T;
|
|
8
8
|
meta: M;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PrimativeKey } from '@dereekb/util';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { LabeledFieldConfig, DescriptionFieldConfig, MaterialFormFieldConfig } from '../../field';
|
|
4
|
-
import { SourceSelectFieldProps } from './sourceselect.field.component';
|
|
1
|
+
import { type PrimativeKey } from '@dereekb/util';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type LabeledFieldConfig, type DescriptionFieldConfig, type MaterialFormFieldConfig } from '../../field';
|
|
4
|
+
import { type SourceSelectFieldProps } from './sourceselect.field.component';
|
|
5
5
|
export interface SourceSelectFieldConfig<T extends PrimativeKey = PrimativeKey, M = unknown> extends LabeledFieldConfig, DescriptionFieldConfig, MaterialFormFieldConfig, SourceSelectFieldProps<T, M> {
|
|
6
6
|
}
|
|
7
7
|
export declare function sourceSelectField<T extends PrimativeKey = PrimativeKey, M = unknown>(config: SourceSelectFieldConfig<T, M>): FormlyFieldConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DescriptionFieldConfig, MaterialFormFieldConfig, LabeledFieldConfig } from './../field';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { TextFieldLengthConfig } from '../value/text/text.field';
|
|
1
|
+
import { type DescriptionFieldConfig, type MaterialFormFieldConfig, type LabeledFieldConfig } from './../field';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type TextFieldLengthConfig } from '../value/text/text.field';
|
|
4
4
|
export interface TextEditorFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, TextFieldLengthConfig, MaterialFormFieldConfig {
|
|
5
5
|
}
|
|
6
6
|
export declare function textEditorField(config: TextEditorFieldConfig): FormlyFieldConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ArrayOrValue } from '@dereekb/util';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { FieldConfig } from '../../field';
|
|
4
|
-
import { DbxFormRepeatArrayConfig } from './array.field.component';
|
|
1
|
+
import { type ArrayOrValue } from '@dereekb/util';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type FieldConfig } from '../../field';
|
|
4
|
+
import { type DbxFormRepeatArrayConfig } from './array.field.component';
|
|
5
5
|
export interface RepeatArrayFieldConfig<T = unknown> extends DbxFormRepeatArrayConfig<T>, FieldConfig {
|
|
6
6
|
repeatFieldGroup: ArrayOrValue<FormlyFieldConfig>;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { LabeledFieldConfig, DefaultValueFieldConfig, DescriptionFieldConfig, MaterialFormFieldConfig } from '../../field';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type LabeledFieldConfig, type DefaultValueFieldConfig, type DescriptionFieldConfig, type MaterialFormFieldConfig } from '../../field';
|
|
3
3
|
export interface ToggleFieldConfig extends Omit<LabeledFieldConfig, 'placeholder' | 'autocomplete'>, DefaultValueFieldConfig<boolean>, DescriptionFieldConfig, MaterialFormFieldConfig {
|
|
4
4
|
}
|
|
5
5
|
export declare function toggleField(config: ToggleFieldConfig): FormlyFieldConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DateTimezoneUtcNormalInstance, DateRangeWithDateOrStringValue } from '@dereekb/date';
|
|
2
|
-
import { ISO8601DayString, Maybe } from '@dereekb/util';
|
|
1
|
+
import { type DateTimezoneUtcNormalInstance, type DateRangeWithDateOrStringValue } from '@dereekb/date';
|
|
2
|
+
import { type ISO8601DayString, type Maybe } from '@dereekb/util';
|
|
3
3
|
export declare enum DbxDateTimeValueMode {
|
|
4
4
|
/**
|
|
5
5
|
* Value is returned/parsed as a Date.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Getter, GetterOrValue, LogicalDate, Maybe, ReadableTimeString } from '@dereekb/util';
|
|
1
|
+
import { type Getter, type GetterOrValue, type LogicalDate, type Maybe, type ReadableTimeString } from '@dereekb/util';
|
|
2
2
|
/**
|
|
3
3
|
* A pair of either a logical date or a time string.
|
|
4
4
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { LabeledFieldConfig, DescriptionFieldConfig, MaterialFormFieldConfig } from '../../field';
|
|
4
|
-
import { DbxDateTimeFieldProps, DbxDateTimePickerConfiguration } from './datetime.field.component';
|
|
5
|
-
import { DbxFixedDateRangeFieldProps } from './fixeddaterange.field.component';
|
|
1
|
+
import { type Observable } from 'rxjs';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type LabeledFieldConfig, type DescriptionFieldConfig, type MaterialFormFieldConfig } from '../../field';
|
|
4
|
+
import { type DbxDateTimeFieldProps, type DbxDateTimePickerConfiguration } from './datetime.field.component';
|
|
5
|
+
import { type DbxFixedDateRangeFieldProps } from './fixeddaterange.field.component';
|
|
6
6
|
export interface DateTimeFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, DbxDateTimeFieldProps, MaterialFormFieldConfig {
|
|
7
7
|
}
|
|
8
8
|
export type TimeFieldConfig = Omit<DateTimeFieldConfig, 'showDate' | 'timeOnly'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DateTimePresetConfiguration } from './datetime';
|
|
1
|
+
import { type DateTimePresetConfiguration } from './datetime';
|
|
2
2
|
export declare const DEFAULT_DATE_TIME_FIELD_MENU_PRESETS_PRESETS: DateTimePresetConfiguration[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { LabeledFieldConfig } from '../field';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type LabeledFieldConfig } from '../field';
|
|
3
3
|
export type HiddenFieldConfig = Pick<LabeledFieldConfig, 'key' | 'required'>;
|
|
4
4
|
export declare function hiddenField({ key, required }: HiddenFieldConfig): FormlyFieldConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TransformNumberFunctionConfigRef } from '@dereekb/util';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { AttributesFieldConfig, LabeledFieldConfig, DescriptionFieldConfig, FieldConfigParsersRef, FormlyValueParser, MaterialFormFieldConfig } from '../../field';
|
|
1
|
+
import { type TransformNumberFunctionConfigRef } from '@dereekb/util';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type AttributesFieldConfig, type LabeledFieldConfig, type DescriptionFieldConfig, type FieldConfigParsersRef, type FormlyValueParser, type MaterialFormFieldConfig } from '../../field';
|
|
4
4
|
export interface NumberFieldNumberConfig {
|
|
5
5
|
readonly min?: number;
|
|
6
6
|
readonly max?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DbxFormSectionConfig } from '../../wrapper/section.wrapper.component';
|
|
2
|
-
import { TextFieldConfig } from '../text/text.field';
|
|
3
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
-
import { LabeledFieldConfig } from '../../field';
|
|
5
|
-
import { InternationalPhoneFormlyFieldProps } from './phone.field.component';
|
|
6
|
-
import { RepeatArrayFieldConfig } from '../array/array.field';
|
|
1
|
+
import { type DbxFormSectionConfig } from '../../wrapper/section.wrapper.component';
|
|
2
|
+
import { type TextFieldConfig } from '../text/text.field';
|
|
3
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
+
import { type LabeledFieldConfig } from '../../field';
|
|
5
|
+
import { type InternationalPhoneFormlyFieldProps } from './phone.field.component';
|
|
6
|
+
import { type RepeatArrayFieldConfig } from '../array/array.field';
|
|
7
7
|
export interface InternationalPhoneFieldConfig extends LabeledFieldConfig, InternationalPhoneFormlyFieldProps {
|
|
8
8
|
}
|
|
9
9
|
export declare function phoneField(config?: Partial<InternationalPhoneFieldConfig>): FormlyFieldConfig<InternationalPhoneFormlyFieldProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { TextFieldConfig } from './text.field';
|
|
3
|
-
import { LabeledFieldConfig, DescriptionFieldConfig } from '../../field';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type TextFieldConfig } from './text.field';
|
|
3
|
+
import { type LabeledFieldConfig, type DescriptionFieldConfig } from '../../field';
|
|
4
4
|
export declare const PHONE_LABEL_MAX_LENGTH = 100;
|
|
5
5
|
export declare const LABEL_STRING_MAX_LENGTH = 100;
|
|
6
6
|
export declare const SEARCH_STRING_MAX_LENGTH = 100;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { TextFieldConfig } from './text.field';
|
|
3
|
-
import { CityFieldConfig, CountryFieldConfig, StateFieldConfig, ZipCodeFieldConfig } from './text.additional.field';
|
|
4
|
-
import { FieldConfig } from '../../field';
|
|
5
|
-
import { DbxFormSectionConfig } from '../../wrapper/section.wrapper.component';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type TextFieldConfig } from './text.field';
|
|
3
|
+
import { type CityFieldConfig, type CountryFieldConfig, type StateFieldConfig, type ZipCodeFieldConfig } from './text.additional.field';
|
|
4
|
+
import { type FieldConfig } from '../../field';
|
|
5
|
+
import { type DbxFormSectionConfig } from '../../wrapper/section.wrapper.component';
|
|
6
6
|
export interface AddressFormlyFieldsConfig {
|
|
7
7
|
readonly line1Field?: CityFieldConfig;
|
|
8
8
|
readonly line2Field?: CityFieldConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TransformStringFunctionConfig, TransformStringFunctionConfigRef } from '@dereekb/util';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { AttributesFieldConfig, LabeledFieldConfig, DescriptionFieldConfig, FormlyValueParser, FieldConfigParsersRef, MaterialFormFieldConfig } from '../../field';
|
|
1
|
+
import { type TransformStringFunctionConfig, type TransformStringFunctionConfigRef } from '@dereekb/util';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type AttributesFieldConfig, type LabeledFieldConfig, type DescriptionFieldConfig, type FormlyValueParser, type FieldConfigParsersRef, type MaterialFormFieldConfig } from '../../field';
|
|
4
4
|
export interface TextFieldLengthConfig {
|
|
5
5
|
minLength?: number;
|
|
6
6
|
maxLength?: number;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { DbxFormStyleWrapperConfig } from './style.wrapper.component';
|
|
2
|
-
import { DbxFlexWrapperConfig } from './flex.wrapper.component';
|
|
3
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
-
import { DbxFormToggleWrapperConfig } from './toggle.wrapper.component';
|
|
5
|
-
import { DbxFormSectionConfig } from './section.wrapper.component';
|
|
6
|
-
import { DbxFormSubsectionConfig } from './subsection.wrapper.component';
|
|
7
|
-
import { DbxFormInfoConfig } from './info.wrapper.component';
|
|
8
|
-
import { DbxFormExpandWrapperConfig } from './expand.wrapper.component';
|
|
9
|
-
import { DbxFlexSize } from '@dereekb/dbx-web';
|
|
10
|
-
import { DbxFormWorkingWrapperConfig } from './working.wrapper.component';
|
|
1
|
+
import { type DbxFormStyleWrapperConfig } from './style.wrapper.component';
|
|
2
|
+
import { type DbxFlexWrapperConfig } from './flex.wrapper.component';
|
|
3
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
+
import { type DbxFormToggleWrapperConfig } from './toggle.wrapper.component';
|
|
5
|
+
import { type DbxFormSectionConfig } from './section.wrapper.component';
|
|
6
|
+
import { type DbxFormSubsectionConfig } from './subsection.wrapper.component';
|
|
7
|
+
import { type DbxFormInfoConfig } from './info.wrapper.component';
|
|
8
|
+
import { type DbxFormExpandWrapperConfig } from './expand.wrapper.component';
|
|
9
|
+
import { type DbxFlexSize } from '@dereekb/dbx-web';
|
|
10
|
+
import { type DbxFormWorkingWrapperConfig } from './working.wrapper.component';
|
|
11
11
|
export type WrapperFormlyFieldConfig<P, C extends FormlyFieldConfig> = FormlyFieldConfig<P> & {
|
|
12
12
|
wrappers: string[];
|
|
13
13
|
props: P;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { MaterialFormFieldConfig } from '../field';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type MaterialFormFieldConfig } from '../field';
|
|
4
4
|
export interface DbxFormSearchFormFieldsValue {
|
|
5
5
|
readonly search: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { FieldValueIsAvailableValidatorConfig } from '../../validator/available';
|
|
3
|
-
import { TextFieldConfig } from '../field/value/text/text.field';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type FieldValueIsAvailableValidatorConfig } from '../../validator/available';
|
|
3
|
+
import { type TextFieldConfig } from '../field/value/text/text.field';
|
|
4
4
|
export interface TextAvailableFieldConfig extends TextFieldConfig, Omit<FieldValueIsAvailableValidatorConfig<string>, 'message'> {
|
|
5
5
|
readonly isNotAvailableErrorMessage?: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TextFieldConfig } from '../field/value/text/text.field';
|
|
2
|
-
import { EmailFieldConfig } from '../field/value/text/text.additional.field';
|
|
3
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
1
|
+
import { type TextFieldConfig } from '../field/value/text/text.field';
|
|
2
|
+
import { type EmailFieldConfig } from '../field/value/text/text.additional.field';
|
|
3
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
4
|
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
/**
|
|
6
6
|
* Convenience interface for the password parameters configuration for a TextPasswordField.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type TimezoneString } from '@dereekb/util';
|
|
2
|
-
import { TimezoneInfo } from '@dereekb/date';
|
|
3
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
-
import { SearchableValueFieldStringSearchFn, SearchableValueFieldDisplayFn } from '../field/selection/searchable';
|
|
5
|
-
import { SearchableTextFieldConfig } from '../field/selection/searchable/searchable.field';
|
|
2
|
+
import { type TimezoneInfo } from '@dereekb/date';
|
|
3
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
+
import { type SearchableValueFieldStringSearchFn, type SearchableValueFieldDisplayFn } from '../field/selection/searchable';
|
|
5
|
+
import { type SearchableTextFieldConfig } from '../field/selection/searchable/searchable.field';
|
|
6
6
|
export type TestStringSearchFunction = (text: string) => string[];
|
|
7
7
|
export declare function timezoneStringSearchFunction(): SearchableValueFieldStringSearchFn<string, TimezoneInfo>;
|
|
8
8
|
export declare const DISPLAY_FOR_TIMEZONE_STRING_VALUE: SearchableValueFieldDisplayFn<string, TimezoneInfo>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { TextFieldConfig } from '../field/value/text';
|
|
3
|
-
import { IsWebsiteUrlValidatorConfig } from '../../validator/website';
|
|
1
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { type TextFieldConfig } from '../field/value/text';
|
|
3
|
+
import { type IsWebsiteUrlValidatorConfig } from '../../validator/website';
|
|
4
4
|
/**
|
|
5
5
|
* websiteUrlField() configuration.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { AsyncValidatorFn } from '@angular/forms';
|
|
1
|
+
import { type Observable } from 'rxjs';
|
|
2
|
+
import { type AsyncValidatorFn } from '@angular/forms';
|
|
3
3
|
export declare const FIELD_VALUE_IS_AVAILABLE_VALIDATION_KEY = "fieldValueIsAvailable";
|
|
4
4
|
export declare const FIELD_VALUE_IS_AVAILABLE_ERROR_VALIDATION_KEY = "fieldValueIsAvailableError";
|
|
5
5
|
export type FieldValueIsAvailableValidatorFunction<T> = (value: T) => Observable<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
1
|
+
import { type ValidatorFn } from '@angular/forms';
|
|
2
2
|
export declare function isTruthy(): ValidatorFn;
|
package/lib/validator/email.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
1
|
+
import { type ValidatorFn } from '@angular/forms';
|
|
2
2
|
export declare function isDomain(): ValidatorFn;
|
package/lib/validator/field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { KeyValueTupleFilter, EqualityComparatorFunction } from '@dereekb/util';
|
|
1
|
+
import { type ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { type KeyValueTupleFilter, type EqualityComparatorFunction } from '@dereekb/util';
|
|
3
3
|
export declare const FIELD_VALUES_ARE_EQUAL_VALIDATION_KEY = "fieldValuesAreEqual";
|
|
4
4
|
export interface FieldValuesAreEqualValidatorConfig<T extends object = object> {
|
|
5
5
|
/**
|
package/lib/validator/phone.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { ArrayOrValue, Maybe, WebsiteDomain } from '@dereekb/util';
|
|
1
|
+
import { type ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { type ArrayOrValue, type Maybe, type WebsiteDomain } from '@dereekb/util';
|
|
3
3
|
export declare const IS_NOT_WEBSITE_URL_VALIDATION_KEY = "isNotWebsiteUrl";
|
|
4
4
|
export declare const IS_NOT_WEBSITE_URL_WITH_PREFIX_VALIDATION_KEY = "isNotWebsiteUrlWithPrefix";
|
|
5
5
|
export declare const IS_NOT_WEBSITE_URL_WITH_EXPECTED_DOMAIN_VALIDATION_KEY = "isNotWebsiteUrlWithExpectedDomain";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DescriptionFieldConfig, FieldConfig, LabeledFieldConfig } from '@dereekb/dbx-form';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { DbxFormMapboxLatLngComponentFieldProps } from './latlng.field.component';
|
|
1
|
+
import { type DescriptionFieldConfig, type FieldConfig, type LabeledFieldConfig } from '@dereekb/dbx-form';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type DbxFormMapboxLatLngComponentFieldProps } from './latlng.field.component';
|
|
4
4
|
export interface MapboxLatLngFieldConfig extends Omit<LabeledFieldConfig, 'key'>, DescriptionFieldConfig, Partial<FieldConfig>, Pick<DbxFormMapboxLatLngComponentFieldProps, 'showMap' | 'zoom' | 'latLngConfig' | 'recenterTime' | 'setCenterOnLocationSet' | 'showCenterButton' | 'selectLocationOnMapDrag' | 'selectLocationOnMapClick' | 'markerConfig'> {
|
|
5
5
|
}
|
|
6
6
|
export declare function mapboxLatLngField(config?: MapboxLatLngFieldConfig): FormlyFieldConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DescriptionFieldConfig, FieldConfig, LabeledFieldConfig } from '@dereekb/dbx-form';
|
|
2
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { DbxFormMapboxZoomComponentFieldProps } from './zoom.field.component';
|
|
1
|
+
import { type DescriptionFieldConfig, type FieldConfig, type LabeledFieldConfig } from '@dereekb/dbx-form';
|
|
2
|
+
import { type FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { type DbxFormMapboxZoomComponentFieldProps } from './zoom.field.component';
|
|
4
4
|
export interface MapboxZoomFieldConfig extends Omit<LabeledFieldConfig, 'key'>, DescriptionFieldConfig, Partial<FieldConfig>, Pick<DbxFormMapboxZoomComponentFieldProps, 'showMap' | 'center' | 'minZoom' | 'maxZoom' | 'zoomStep'> {
|
|
5
5
|
}
|
|
6
6
|
export declare function mapboxZoomField(config?: MapboxZoomFieldConfig): FormlyFieldConfig;
|