@dereekb/dbx-form 13.11.13 → 13.11.15
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/fesm2022/dereekb-dbx-form-calendar.mjs +237 -201
- package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2022/{dereekb-dbx-form-info.wrapper.component-DxmZz3Dw.mjs → dereekb-dbx-form-info.wrapper.component-ChSBMxgm.mjs} +5 -5
- package/fesm2022/dereekb-dbx-form-info.wrapper.component-ChSBMxgm.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form-mapbox.mjs +48 -30
- package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form-quiz.mjs +34 -33
- package/fesm2022/dereekb-dbx-form-quiz.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form.mjs +847 -760
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/package.json +8 -8
- package/types/dereekb-dbx-form-calendar.d.ts +82 -79
- package/types/dereekb-dbx-form-mapbox.d.ts +22 -20
- package/types/dereekb-dbx-form-quiz.d.ts +11 -14
- package/types/dereekb-dbx-form.d.ts +726 -718
- package/fesm2022/dereekb-dbx-form-info.wrapper.component-DxmZz3Dw.mjs.map +0 -1
|
@@ -10,7 +10,7 @@ import { Observable, BehaviorSubject } from 'rxjs';
|
|
|
10
10
|
import * as _dereekb_rxjs from '@dereekb/rxjs';
|
|
11
11
|
import { LockSet, IsValidFunction, IsEqualFunction, IsModifiedFunction, ObservableOrValue, ObservableOrValueGetter, MaybeObservableOrValueGetter, WorkUsingContext, MaybeObservableOrValue, LoadingState, LoadingStateWithDefinedValue, ListLoadingState, SimpleLoadingContext } from '@dereekb/rxjs';
|
|
12
12
|
import * as _dereekb_util from '@dereekb/util';
|
|
13
|
-
import { BooleanStringKeyArray, Maybe, MapFunction, IsValid, IsModified, Destroyable, FilterFromPOJOFunction, Milliseconds, ArrayOrValue, Building, MaybeMap, TransformStringFunctionConfig, TransformStringFunctionConfigRef, TransformNumberFunctionConfigRef, TransformNumberFunctionConfig, GetterOrValue, LogicalDate, ReadableTimeString, Getter, ISO8601DayString, TimezoneString, DateOrDayString, ISO8601DateString, DecisionFunction, MaybeSo, LabeledValue,
|
|
13
|
+
import { BooleanStringKeyArray, Maybe, MapFunction, IsValid, IsModified, Destroyable, FilterFromPOJOFunction, Milliseconds, ArrayOrValue, Building, MaybeMap, TransformStringFunctionConfig, TransformStringFunctionConfigRef, TransformNumberFunctionConfigRef, TransformNumberFunctionConfig, GetterOrValue, LogicalDate, ReadableTimeString, Getter, ISO8601DayString, TimezoneString, DateOrDayString, ISO8601DateString, DecisionFunction, MaybeSo, LabeledValue, FilterKeyValueTuplesInput, GeneralFilterFromPOJOFunction, TimeUnit, IndexNumber, LabelRef, PrimativeKey, FactoryWithRequiredInput, Factory, ReadKeyFunction, WebsiteDomain, KeyValueTransformMap, SearchStringFilterFunction, IndexRef, KeyValueTupleFilter, EqualityComparatorFunction } from '@dereekb/util';
|
|
14
14
|
import { FormControlStatus, AbstractControl, FormControl, FormGroup, ValidatorFn, AsyncValidatorFn, ValidationErrors } from '@angular/forms';
|
|
15
15
|
import * as _angular_material_core from '@angular/material/core';
|
|
16
16
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
@@ -157,14 +157,14 @@ declare abstract class DbxMutableForm<T = unknown> extends DbxForm<T> {
|
|
|
157
157
|
* Provides the given type as a {@link DbxForm} in Angular's dependency injection system.
|
|
158
158
|
*
|
|
159
159
|
* @param sourceType - The concrete form type to register as a provider.
|
|
160
|
-
* @returns
|
|
160
|
+
* @returns Array of Angular providers.
|
|
161
161
|
*/
|
|
162
162
|
declare function provideDbxForm<S extends DbxForm>(sourceType: Type<S>): Provider[];
|
|
163
163
|
/**
|
|
164
164
|
* Provides the given type as both a {@link DbxForm} and {@link DbxMutableForm} in Angular's dependency injection system.
|
|
165
165
|
*
|
|
166
166
|
* @param sourceType - The concrete mutable form type to register as a provider.
|
|
167
|
-
* @returns
|
|
167
|
+
* @returns Array of Angular providers.
|
|
168
168
|
*/
|
|
169
169
|
declare function provideDbxMutableForm<S extends DbxMutableForm>(sourceType: Type<S>): Provider[];
|
|
170
170
|
/**
|
|
@@ -319,7 +319,7 @@ interface DbxFormlyContextDelegate<T = unknown> extends Omit<DbxMutableForm<T>,
|
|
|
319
319
|
/**
|
|
320
320
|
* Allows a directive to provide a formly context and form.
|
|
321
321
|
*
|
|
322
|
-
* @returns
|
|
322
|
+
* @returns Array of Angular providers that register DbxFormlyContext and its mutable form delegate.
|
|
323
323
|
*/
|
|
324
324
|
declare function provideFormlyContext(): Provider[];
|
|
325
325
|
/**
|
|
@@ -453,8 +453,8 @@ declare class DbxFormActionDialogComponent<O> extends AbstractDialogDirective<O,
|
|
|
453
453
|
* - Primitive values under `_` keys (e.g. toggle booleans) are dropped entirely.
|
|
454
454
|
* - Non-underscore keys are preserved, with recursive cleaning of nested objects.
|
|
455
455
|
*
|
|
456
|
-
* @param value - The form value object to clean
|
|
457
|
-
* @returns A new object with internal `_`-prefixed keys stripped and their object values unwrapped
|
|
456
|
+
* @param value - The form value object to clean.
|
|
457
|
+
* @returns A new object with internal `_`-prefixed keys stripped and their object values unwrapped.
|
|
458
458
|
*
|
|
459
459
|
* @example
|
|
460
460
|
* ```
|
|
@@ -476,6 +476,9 @@ declare function stripForgeInternalKeys<T>(value: T): T;
|
|
|
476
476
|
* This normalizes ng-forge output to match ngx-formly behavior, where the model
|
|
477
477
|
* only includes keys that have been explicitly set by the user.
|
|
478
478
|
*
|
|
479
|
+
* @param value - The form value object to clean.
|
|
480
|
+
* @returns A new object with empty-valued keys removed.
|
|
481
|
+
*
|
|
479
482
|
* @example
|
|
480
483
|
* ```
|
|
481
484
|
* stripEmptyForgeValues({ name: "", age: null, active: false, count: 0 })
|
|
@@ -487,9 +490,6 @@ declare function stripForgeInternalKeys<T>(value: T): T;
|
|
|
487
490
|
* stripEmptyForgeValues({ items: [{ amount: NaN, name: 'a' }, { amount: 5 }] })
|
|
488
491
|
* // → { items: [{ name: 'a' }, { amount: 5 }] }
|
|
489
492
|
* ```
|
|
490
|
-
*
|
|
491
|
-
* @param value - The form value object to clean
|
|
492
|
-
* @returns A new object with empty-valued keys removed
|
|
493
493
|
*/
|
|
494
494
|
declare function stripEmptyForgeValues<T>(value: T): T;
|
|
495
495
|
/**
|
|
@@ -624,7 +624,7 @@ declare class DbxForgeFormContext<T = unknown> implements DbxMutableForm<T>, OnD
|
|
|
624
624
|
/**
|
|
625
625
|
* Provides DbxForgeFormContext and registers it as both DbxForm and DbxMutableForm.
|
|
626
626
|
*
|
|
627
|
-
* @returns
|
|
627
|
+
* @returns The providers registering the forge form context for dependency injection.
|
|
628
628
|
*/
|
|
629
629
|
declare function provideDbxForgeFormContext(): Provider[];
|
|
630
630
|
|
|
@@ -1109,8 +1109,8 @@ interface DbxForgeFieldFormConfig extends Partial<Pick<FormConfig, 'schemas' | '
|
|
|
1109
1109
|
*
|
|
1110
1110
|
* Keys whose merged value is empty are dropped from the result (no empty `{}` or `[]` fields).
|
|
1111
1111
|
*
|
|
1112
|
-
* @param input -
|
|
1113
|
-
* @returns
|
|
1112
|
+
* @param input - Field form configs to merge, from lowest to highest priority.
|
|
1113
|
+
* @returns A merged config with only populated fields retained.
|
|
1114
1114
|
*/
|
|
1115
1115
|
declare function mergeDbxForgeFieldFormConfig(...input: DbxForgeFieldFormConfig[]): DbxForgeFieldFormConfig;
|
|
1116
1116
|
/**
|
|
@@ -1118,8 +1118,8 @@ declare function mergeDbxForgeFieldFormConfig(...input: DbxForgeFieldFormConfig[
|
|
|
1118
1118
|
* (validators, derivations, etc.) so downstream merges can mutate the result without
|
|
1119
1119
|
* leaking writes back to the original form config.
|
|
1120
1120
|
*
|
|
1121
|
-
* @param input -
|
|
1122
|
-
* @returns
|
|
1121
|
+
* @param input - The customFnConfig to copy, or undefined.
|
|
1122
|
+
* @returns A new customFnConfig containing only the known buckets, each one a fresh object.
|
|
1123
1123
|
*/
|
|
1124
1124
|
declare function copyFormConfigCustomFnConfig(input: FormConfig['customFnConfig']): FormConfig['customFnConfig'];
|
|
1125
1125
|
interface DbxForgeGlobalFormConfigDefaults extends Pick<FormConfig, 'defaultValidationMessages'> {
|
|
@@ -1153,9 +1153,9 @@ interface DbxForgeFinalizeFormConfigResult {
|
|
|
1153
1153
|
* then each field's `_formConfig` in pre-order traversal — so a later field can override an
|
|
1154
1154
|
* earlier field's default validation message.
|
|
1155
1155
|
*
|
|
1156
|
-
* @param input -
|
|
1157
|
-
* @param globalDefaults -
|
|
1158
|
-
* @returns
|
|
1156
|
+
* @param input - The FormConfig authored by the caller.
|
|
1157
|
+
* @param globalDefaults - Seed values for workspace-wide defaults (e.g. validation messages)
|
|
1158
|
+
* @returns The original input, the extracted field form configs, and the finalized config.
|
|
1159
1159
|
*/
|
|
1160
1160
|
declare function dbxForgeFinalizeFormConfig(input: FormConfig, globalDefaults?: DbxForgeGlobalFormConfigDefaults): DbxForgeFinalizeFormConfigResult;
|
|
1161
1161
|
|
|
@@ -1280,8 +1280,8 @@ interface DbxForgeFieldFunctionConfig<C extends DbxForgeFieldFunctionDef<any>> {
|
|
|
1280
1280
|
* The returned function accepts a field definition config and an optional configure callback,
|
|
1281
1281
|
* and produces a fully-typed {@link DbxForgeField} with the correct `type` set.
|
|
1282
1282
|
*
|
|
1283
|
-
* @param config -
|
|
1284
|
-
* @returns
|
|
1283
|
+
* @param config - Factory configuration containing the field type and optional builders for props and the field definition.
|
|
1284
|
+
* @returns A reusable field factory function.
|
|
1285
1285
|
*
|
|
1286
1286
|
* @example
|
|
1287
1287
|
* ```ts
|
|
@@ -1293,6 +1293,7 @@ interface DbxForgeFieldFunctionConfig<C extends DbxForgeFieldFunctionDef<any>> {
|
|
|
1293
1293
|
* })
|
|
1294
1294
|
* });
|
|
1295
1295
|
* ```
|
|
1296
|
+
*
|
|
1296
1297
|
* @__NO_SIDE_EFFECTS__
|
|
1297
1298
|
*/
|
|
1298
1299
|
declare function dbxForgeFieldFunction<C extends DbxForgeFieldFunctionDef<F>, F extends FieldDef<any> = ExtractDbxForgeFieldDef<C>>(config: DbxForgeFieldFunctionConfig<C>): DbxForgeFieldFunction<C, F>;
|
|
@@ -1599,12 +1600,31 @@ type DbxForgeBuildFieldDefFunction<C extends DbxForgeFieldFunctionDef<any>, FV =
|
|
|
1599
1600
|
*/
|
|
1600
1601
|
interface DbxForgeBuildFieldDefConfig<C extends DbxForgeFieldFunctionDef<any>> {
|
|
1601
1602
|
}
|
|
1603
|
+
/**
|
|
1604
|
+
* Creates a {@link DbxForgeFieldFunctionFieldDefBuilder} that provides a builder-instance pattern
|
|
1605
|
+
* for configuring field definitions.
|
|
1606
|
+
*
|
|
1607
|
+
* The returned builder runs the `configureFunction` first, then any per-call `inputConfigure` callback,
|
|
1608
|
+
* and finally finalizes logic entries (registering custom functions, expanding transforms).
|
|
1609
|
+
*
|
|
1610
|
+
* @param configureFunction - Primary configure callback applied to every field built by this builder.
|
|
1611
|
+
* @param _config - Reserved for future builder-level options.
|
|
1612
|
+
* @returns A reusable field definition builder.
|
|
1613
|
+
*
|
|
1614
|
+
* @example
|
|
1615
|
+
* ```ts
|
|
1616
|
+
* const buildMyField = dbxForgeBuildFieldDef<MyFieldDef>((instance) => {
|
|
1617
|
+
* instance.injectDefaultValidation();
|
|
1618
|
+
* instance.addLogic({ type: 'transform', transformType: 'idempotent', transform: trimString });
|
|
1619
|
+
* });
|
|
1620
|
+
* ```
|
|
1621
|
+
*/
|
|
1602
1622
|
declare function dbxForgeBuildFieldDef<C extends DbxForgeFieldFunctionDef<any>, FV = any>(configureFunction: DbxForgeBuildFieldDefFunction<C, FV>, _config?: Maybe<DbxForgeBuildFieldDefConfig<C>>): DbxForgeFieldFunctionFieldDefBuilder<C, FV>;
|
|
1603
1623
|
/**
|
|
1604
1624
|
* Creates a single {@link DbxForgeBuildFieldDefFunction} from all the input functions.
|
|
1605
1625
|
*
|
|
1606
|
-
* @param fns The functions to apply.
|
|
1607
|
-
* @returns
|
|
1626
|
+
* @param fns - The functions to apply.
|
|
1627
|
+
* @returns Applies all of the given functions.
|
|
1608
1628
|
*/
|
|
1609
1629
|
declare function dbxForgeFieldFunctionConfigure<C extends DbxForgeFieldFunctionDef<any>, FV = unknown>(...fns: DbxForgeBuildFieldDefFunction<C, FV>[]): DbxForgeBuildFieldDefFunction<C, FV>;
|
|
1610
1630
|
/**
|
|
@@ -1614,8 +1634,8 @@ declare function dbxForgeFieldFunctionConfigure<C extends DbxForgeFieldFunctionD
|
|
|
1614
1634
|
* Historically hint/description lived at the base config level. In `@ng-forge/dynamic-forms` hints are
|
|
1615
1635
|
* expected under `props`, so this builder bridges that gap.
|
|
1616
1636
|
*
|
|
1617
|
-
* @param makeProps -
|
|
1618
|
-
* @returns
|
|
1637
|
+
* @param makeProps - Optional delegate that produces additional props; its result is merged before the hint is applied.
|
|
1638
|
+
* @returns A props builder that includes the hint value.
|
|
1619
1639
|
*
|
|
1620
1640
|
* @example
|
|
1621
1641
|
* ```ts
|
|
@@ -1664,15 +1684,16 @@ interface FieldAutocompleteAttributes {
|
|
|
1664
1684
|
* (matching the Chrome autofill workaround). When a string, sets the `autocomplete` attribute
|
|
1665
1685
|
* to that value.
|
|
1666
1686
|
*
|
|
1667
|
-
* @param autocomplete -
|
|
1668
|
-
* @returns
|
|
1687
|
+
* @param autocomplete - The autocomplete option to convert into HTML attributes.
|
|
1688
|
+
* @returns The corresponding attributes, or undefined when no autocomplete option is provided.
|
|
1669
1689
|
*/
|
|
1670
1690
|
declare function fieldAutocompleteAttributeValue(autocomplete?: Maybe<FieldAutocompleteAttributeOption>): Maybe<FieldAutocompleteAttributes>;
|
|
1671
1691
|
/**
|
|
1672
1692
|
* Returns the attributes to disable autofill on an input element.
|
|
1673
1693
|
*
|
|
1694
|
+
* @returns Attributes that disable browser autofill when applied to an input element.
|
|
1695
|
+
*
|
|
1674
1696
|
* @see https://stackoverflow.com/questions/15738259/disabling-chrome-autofill
|
|
1675
|
-
* @returns attributes that disable browser autofill when applied to an input element
|
|
1676
1697
|
*/
|
|
1677
1698
|
declare function disableAutofillAttributes(): FieldAutocompleteAttributes;
|
|
1678
1699
|
|
|
@@ -1684,7 +1705,7 @@ declare function disableAutofillAttributes(): FieldAutocompleteAttributes;
|
|
|
1684
1705
|
* Intended to be used inside a field builder function to propagate autocomplete hints from
|
|
1685
1706
|
* config into the final rendered form control.
|
|
1686
1707
|
*
|
|
1687
|
-
* @param instance -
|
|
1708
|
+
* @param instance - The field builder instance whose field def is inspected and to which metadata is added.
|
|
1688
1709
|
*/
|
|
1689
1710
|
declare function configureForgeAutocompleteFieldMeta<C extends DbxForgeFieldFunctionDef<any> & FieldAutocompleteAttributeOptionRef>(instance: DbxForgeFieldFunctionFieldDefBuilderFunctionInstance<C>): void;
|
|
1690
1711
|
|
|
@@ -1698,7 +1719,7 @@ declare function configureForgeAutocompleteFieldMeta<C extends DbxForgeFieldFunc
|
|
|
1698
1719
|
*
|
|
1699
1720
|
* Must be called in an injection context (constructor, field initializer, or inject()-capable context).
|
|
1700
1721
|
*
|
|
1701
|
-
* @returns A computed signal that is `true` when the form is disabled
|
|
1722
|
+
* @returns A computed signal that is `true` when the form is disabled.
|
|
1702
1723
|
*
|
|
1703
1724
|
* @example
|
|
1704
1725
|
* ```typescript
|
|
@@ -1824,14 +1845,14 @@ type DbxForgeNameFieldConfig = Partial<DbxForgeTextFieldConfig>;
|
|
|
1824
1845
|
* Pre-configured text field for capturing a full name with sensible min/max length defaults.
|
|
1825
1846
|
*
|
|
1826
1847
|
* @param config - Optional overrides; defaults to key `'name'`, label `'Name'`
|
|
1827
|
-
* @returns A {@link MatInputField} for name input
|
|
1848
|
+
* @returns A {@link MatInputField} for name input.
|
|
1828
1849
|
*
|
|
1829
|
-
* @dbxFormField
|
|
1830
1850
|
* @dbxFormSlug name
|
|
1831
1851
|
* @dbxFormProduces string
|
|
1832
1852
|
* @dbxFormArrayOutput no
|
|
1833
1853
|
* @dbxFormFieldDerivative text
|
|
1834
1854
|
* @dbxFormConfigInterface DbxForgeNameFieldConfig
|
|
1855
|
+
*
|
|
1835
1856
|
* @example
|
|
1836
1857
|
* ```typescript
|
|
1837
1858
|
* dbxForgeNameField({ key: 'fullName', label: 'Full Name', required: true })
|
|
@@ -1859,14 +1880,14 @@ interface DbxForgeEmailFieldConfig {
|
|
|
1859
1880
|
* Uses the `'email'` input type for built-in browser validation.
|
|
1860
1881
|
*
|
|
1861
1882
|
* @param config - Optional overrides; defaults to key `'email'`, label `'Email Address'`
|
|
1862
|
-
* @returns A {@link MatInputField} with email input type
|
|
1883
|
+
* @returns A {@link MatInputField} with email input type.
|
|
1863
1884
|
*
|
|
1864
|
-
* @dbxFormField
|
|
1865
1885
|
* @dbxFormSlug email
|
|
1866
1886
|
* @dbxFormProduces string
|
|
1867
1887
|
* @dbxFormArrayOutput no
|
|
1868
1888
|
* @dbxFormFieldDerivative text
|
|
1869
1889
|
* @dbxFormConfigInterface DbxForgeEmailFieldConfig
|
|
1890
|
+
*
|
|
1870
1891
|
* @example
|
|
1871
1892
|
* ```typescript
|
|
1872
1893
|
* dbxForgeEmailField({ key: 'email', label: 'Email', required: true })
|
|
@@ -1881,14 +1902,14 @@ type DbxForgeCityFieldConfig = Partial<DbxForgeTextFieldConfig>;
|
|
|
1881
1902
|
* City name input enforcing `ADDRESS_CITY_MAX_LENGTH`. Typically used inside the address composite set.
|
|
1882
1903
|
*
|
|
1883
1904
|
* @param config - Optional overrides; defaults to key `'city'`, label `'City'`
|
|
1884
|
-
* @returns A {@link MatInputField} for city input
|
|
1905
|
+
* @returns A {@link MatInputField} for city input.
|
|
1885
1906
|
*
|
|
1886
|
-
* @dbxFormField
|
|
1887
1907
|
* @dbxFormSlug city
|
|
1888
1908
|
* @dbxFormProduces string
|
|
1889
1909
|
* @dbxFormArrayOutput no
|
|
1890
1910
|
* @dbxFormFieldDerivative text
|
|
1891
1911
|
* @dbxFormConfigInterface DbxForgeCityFieldConfig
|
|
1912
|
+
*
|
|
1892
1913
|
* @example
|
|
1893
1914
|
* ```typescript
|
|
1894
1915
|
* dbxForgeCityField({ required: true })
|
|
@@ -1908,14 +1929,14 @@ interface DbxForgeStateFieldConfig extends Partial<DbxForgeTextFieldConfig> {
|
|
|
1908
1929
|
* US state input. When `asCode: true`, validates two-letter codes and auto-uppercases input via an idempotent transform.
|
|
1909
1930
|
*
|
|
1910
1931
|
* @param config - Optional overrides; defaults to key `'state'`, label `'State'`
|
|
1911
|
-
* @returns A {@link MatInputField} for state input
|
|
1932
|
+
* @returns A {@link MatInputField} for state input.
|
|
1912
1933
|
*
|
|
1913
|
-
* @dbxFormField
|
|
1914
1934
|
* @dbxFormSlug state
|
|
1915
1935
|
* @dbxFormProduces string
|
|
1916
1936
|
* @dbxFormArrayOutput no
|
|
1917
1937
|
* @dbxFormFieldDerivative text
|
|
1918
1938
|
* @dbxFormConfigInterface DbxForgeStateFieldConfig
|
|
1939
|
+
*
|
|
1919
1940
|
* @example
|
|
1920
1941
|
* ```typescript
|
|
1921
1942
|
* dbxForgeStateField({ asCode: true, required: true })
|
|
@@ -1930,14 +1951,14 @@ type DbxForgeCountryFieldConfig = Partial<DbxForgeTextFieldConfig>;
|
|
|
1930
1951
|
* Country name input enforcing `ADDRESS_COUNTRY_MAX_LENGTH`. Typically used inside the address composite set.
|
|
1931
1952
|
*
|
|
1932
1953
|
* @param config - Optional overrides; defaults to key `'country'`, label `'Country'`
|
|
1933
|
-
* @returns A {@link MatInputField} for country input
|
|
1954
|
+
* @returns A {@link MatInputField} for country input.
|
|
1934
1955
|
*
|
|
1935
|
-
* @dbxFormField
|
|
1936
1956
|
* @dbxFormSlug country
|
|
1937
1957
|
* @dbxFormProduces string
|
|
1938
1958
|
* @dbxFormArrayOutput no
|
|
1939
1959
|
* @dbxFormFieldDerivative text
|
|
1940
1960
|
* @dbxFormConfigInterface DbxForgeCountryFieldConfig
|
|
1961
|
+
*
|
|
1941
1962
|
* @example
|
|
1942
1963
|
* ```typescript
|
|
1943
1964
|
* dbxForgeCountryField({ required: true })
|
|
@@ -1952,14 +1973,14 @@ type DbxForgeZipCodeFieldConfig = Partial<DbxForgeTextFieldConfig>;
|
|
|
1952
1973
|
* US zip code input with pattern validation and max-length enforcement.
|
|
1953
1974
|
*
|
|
1954
1975
|
* @param config - Optional overrides; defaults to key `'zip'`, label `'Zip Code'`
|
|
1955
|
-
* @returns A {@link MatInputField} for zip code input
|
|
1976
|
+
* @returns A {@link MatInputField} for zip code input.
|
|
1956
1977
|
*
|
|
1957
|
-
* @dbxFormField
|
|
1958
1978
|
* @dbxFormSlug zip-code
|
|
1959
1979
|
* @dbxFormProduces string
|
|
1960
1980
|
* @dbxFormArrayOutput no
|
|
1961
1981
|
* @dbxFormFieldDerivative text
|
|
1962
1982
|
* @dbxFormConfigInterface DbxForgeZipCodeFieldConfig
|
|
1983
|
+
*
|
|
1963
1984
|
* @example
|
|
1964
1985
|
* ```typescript
|
|
1965
1986
|
* dbxForgeZipCodeField({ required: true })
|
|
@@ -1978,14 +1999,14 @@ type DbxForgeLatLngTextFieldConfig = Partial<DbxForgeTextFieldConfig>;
|
|
|
1978
1999
|
* Latitude/longitude coordinate input with decimal-degree pattern validation.
|
|
1979
2000
|
*
|
|
1980
2001
|
* @param config - Optional overrides; defaults to key `'latLng'`
|
|
1981
|
-
* @returns A {@link MatInputField} for coordinate input
|
|
2002
|
+
* @returns A {@link MatInputField} for coordinate input.
|
|
1982
2003
|
*
|
|
1983
|
-
* @dbxFormField
|
|
1984
2004
|
* @dbxFormSlug lat-lng
|
|
1985
2005
|
* @dbxFormProduces string
|
|
1986
2006
|
* @dbxFormArrayOutput no
|
|
1987
2007
|
* @dbxFormFieldDerivative text
|
|
1988
2008
|
* @dbxFormConfigInterface DbxForgeLatLngTextFieldConfig
|
|
2009
|
+
*
|
|
1989
2010
|
* @example
|
|
1990
2011
|
* ```typescript
|
|
1991
2012
|
* dbxForgeLatLngTextField({ key: 'coords', label: 'Coordinates' })
|
|
@@ -2034,15 +2055,15 @@ interface DbxForgeAddressLineFieldConfig extends Partial<DbxForgeTextFieldConfig
|
|
|
2034
2055
|
/**
|
|
2035
2056
|
* Street address line input. The `line` prop controls which line (1 or 2) — it affects key and label generation.
|
|
2036
2057
|
*
|
|
2037
|
-
* @param config - Optional overrides; line number determines key and label
|
|
2038
|
-
* @returns A {@link MatInputField} for address line input
|
|
2058
|
+
* @param config - Optional overrides; line number determines key and label.
|
|
2059
|
+
* @returns A {@link MatInputField} for address line input.
|
|
2039
2060
|
*
|
|
2040
|
-
* @dbxFormField
|
|
2041
2061
|
* @dbxFormSlug address-line
|
|
2042
2062
|
* @dbxFormProduces string
|
|
2043
2063
|
* @dbxFormArrayOutput no
|
|
2044
2064
|
* @dbxFormFieldDerivative text
|
|
2045
2065
|
* @dbxFormConfigInterface DbxForgeAddressLineFieldConfig
|
|
2066
|
+
*
|
|
2046
2067
|
* @example
|
|
2047
2068
|
* ```typescript
|
|
2048
2069
|
* dbxForgeAddressLineField({ line: 2 })
|
|
@@ -2052,15 +2073,15 @@ declare function dbxForgeAddressLineField(config?: DbxForgeAddressLineFieldConfi
|
|
|
2052
2073
|
/**
|
|
2053
2074
|
* Flat array of address fields (line(s), city, state, zip, optional country) with a sensible flex layout. Drop directly into a parent `fields: []`.
|
|
2054
2075
|
*
|
|
2055
|
-
* @param config - Address fields configuration
|
|
2056
|
-
* @returns Array of forge field definitions for a complete address form section
|
|
2076
|
+
* @param config - Address fields configuration.
|
|
2077
|
+
* @returns Array of forge field definitions for a complete address form section.
|
|
2057
2078
|
*
|
|
2058
|
-
* @dbxFormField
|
|
2059
2079
|
* @dbxFormSlug address-fields
|
|
2060
2080
|
* @dbxFormProduces FieldDef[]
|
|
2061
2081
|
* @dbxFormArrayOutput no
|
|
2062
2082
|
* @dbxFormFieldTemplate address-line, city, state, zip-code, country
|
|
2063
2083
|
* @dbxFormConfigInterface DbxForgeAddressFieldsConfig
|
|
2084
|
+
*
|
|
2064
2085
|
* @example
|
|
2065
2086
|
* ```typescript
|
|
2066
2087
|
* dbxForgeAddressFields({ required: true, includeCountry: false })
|
|
@@ -2077,7 +2098,7 @@ interface DbxForgeAddressGroupConfig extends DbxForgeAddressFieldsConfig {
|
|
|
2077
2098
|
* Wraps `address-fields` in a `GroupField` so the address is stored as a nested object under one key. Prefer this when the rest of the form doesn't want address fields flattened.
|
|
2078
2099
|
*
|
|
2079
2100
|
* @param config - Optional overrides; defaults to key `'address'`
|
|
2080
|
-
* @returns A {@link GroupField} containing address fields
|
|
2101
|
+
* @returns A {@link GroupField} containing address fields.
|
|
2081
2102
|
*
|
|
2082
2103
|
* @dbxFormField
|
|
2083
2104
|
* @dbxFormSlug address-group
|
|
@@ -2087,6 +2108,7 @@ interface DbxForgeAddressGroupConfig extends DbxForgeAddressFieldsConfig {
|
|
|
2087
2108
|
* @dbxFormArrayOutput no
|
|
2088
2109
|
* @dbxFormConfigInterface DbxForgeAddressGroupConfig
|
|
2089
2110
|
* @dbxFormComposesFrom address-fields, group
|
|
2111
|
+
*
|
|
2090
2112
|
* @example
|
|
2091
2113
|
* ```typescript
|
|
2092
2114
|
* dbxForgeAddressGroup({ key: 'billingAddress' })
|
|
@@ -2106,8 +2128,8 @@ interface DbxForgeAddressListFieldConfig extends DbxForgeAddressFieldsConfig {
|
|
|
2106
2128
|
/**
|
|
2107
2129
|
* Repeatable array of addresses built on top of `array-field` + `address-group`. Keeps the `Field` suffix because it returns a single composite field whose value is an array of addresses.
|
|
2108
2130
|
*
|
|
2109
|
-
* @param config - Optional overrides; defaults to key `'addresses'`, max 6 entries
|
|
2110
|
-
* @returns A {@link DbxForgeArrayFieldDef} for multiple addresses
|
|
2131
|
+
* @param config - Optional overrides; defaults to key `'addresses'`, max 6 entries.
|
|
2132
|
+
* @returns A {@link DbxForgeArrayFieldDef} for multiple addresses.
|
|
2111
2133
|
*
|
|
2112
2134
|
* @dbxFormField
|
|
2113
2135
|
* @dbxFormSlug address-list
|
|
@@ -2117,6 +2139,7 @@ interface DbxForgeAddressListFieldConfig extends DbxForgeAddressFieldsConfig {
|
|
|
2117
2139
|
* @dbxFormArrayOutput yes
|
|
2118
2140
|
* @dbxFormConfigInterface DbxForgeAddressListFieldConfig
|
|
2119
2141
|
* @dbxFormComposesFrom address-group, array-field
|
|
2142
|
+
*
|
|
2120
2143
|
* @example
|
|
2121
2144
|
* ```typescript
|
|
2122
2145
|
* dbxForgeAddressListField({ maxAddresses: 3 })
|
|
@@ -2196,14 +2219,14 @@ type DbxForgeDollarAmountFieldConfig = Omit<DbxForgeNumberFieldConfig, 'roundToS
|
|
|
2196
2219
|
* Forge number field pre-configured for dollar amount input with cent-level precision. Pre-sets `transform.precision` to `DOLLAR_AMOUNT_PRECISION` so values round to whole cents.
|
|
2197
2220
|
*
|
|
2198
2221
|
* @param config - Number field configuration (precision is overridden to dollar amount precision)
|
|
2199
|
-
* @returns A {@link MatInputField} for dollar amount input
|
|
2222
|
+
* @returns A {@link MatInputField} for dollar amount input.
|
|
2200
2223
|
*
|
|
2201
|
-
* @
|
|
2224
|
+
* @dbxFormFieldDerivative number
|
|
2202
2225
|
* @dbxFormSlug dollar-amount
|
|
2203
2226
|
* @dbxFormProduces number
|
|
2204
2227
|
* @dbxFormArrayOutput no
|
|
2205
|
-
* @dbxFormFieldDerivative number
|
|
2206
2228
|
* @dbxFormConfigInterface DbxForgeDollarAmountFieldConfig
|
|
2229
|
+
*
|
|
2207
2230
|
* @example
|
|
2208
2231
|
* ```typescript
|
|
2209
2232
|
* const field = dbxForgeDollarAmountField({ key: 'price', label: 'Price', min: 0, required: true });
|
|
@@ -2250,16 +2273,8 @@ interface DbxForgeNumberSliderFieldConfig extends DbxForgeFieldFunctionDef<MatSl
|
|
|
2250
2273
|
* dbxForgeNumberSliderField({ key: 'rating', label: 'Rating', min: 0, max: 10, step: 1 })
|
|
2251
2274
|
* ```
|
|
2252
2275
|
*/
|
|
2253
|
-
declare const dbxForgeNumberSliderField: DbxForgeFieldFunction<DbxForgeNumberSliderFieldConfig, MatSliderField>;
|
|
2276
|
+
declare const dbxForgeNumberSliderField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeNumberSliderFieldConfig, MatSliderField>;
|
|
2254
2277
|
|
|
2255
|
-
/**
|
|
2256
|
-
* CSS class applied to forge fields when `styledBox` is enabled.
|
|
2257
|
-
*
|
|
2258
|
-
* @deprecated Boolean fields now use the Material-style form-field wrapper to render the
|
|
2259
|
-
* outlined chrome and standard label/hint/error subscript. Retained as an export for any
|
|
2260
|
-
* consumers still referencing the class name directly.
|
|
2261
|
-
*/
|
|
2262
|
-
declare const FORGE_STYLED_BOX_CLASS = "dbx-forge-styled-box";
|
|
2263
2278
|
/**
|
|
2264
2279
|
* Where the field's primary label is rendered when wrapped by the form-field wrapper.
|
|
2265
2280
|
*/
|
|
@@ -2308,7 +2323,7 @@ interface DbxForgeToggleFieldConfig extends DbxForgeFieldFunctionDef<MatToggleFi
|
|
|
2308
2323
|
* dbxForgeToggleField({ key: 'active', label: 'Active', value: true })
|
|
2309
2324
|
* ```
|
|
2310
2325
|
*/
|
|
2311
|
-
declare const dbxForgeToggleField: DbxForgeFieldFunction<DbxForgeToggleFieldConfig, MatToggleField>;
|
|
2326
|
+
declare const dbxForgeToggleField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeToggleFieldConfig, MatToggleField>;
|
|
2312
2327
|
/**
|
|
2313
2328
|
* Configuration for a forge Material checkbox field.
|
|
2314
2329
|
*/
|
|
@@ -2352,7 +2367,15 @@ interface DbxForgeCheckboxFieldConfig extends DbxForgeFieldFunctionDef<MatCheckb
|
|
|
2352
2367
|
* dbxForgeCheckboxField({ key: 'agree', label: 'I agree to the terms' })
|
|
2353
2368
|
* ```
|
|
2354
2369
|
*/
|
|
2355
|
-
declare const dbxForgeCheckboxField: DbxForgeFieldFunction<DbxForgeCheckboxFieldConfig, MatCheckboxField>;
|
|
2370
|
+
declare const dbxForgeCheckboxField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeCheckboxFieldConfig, MatCheckboxField>;
|
|
2371
|
+
/**
|
|
2372
|
+
* CSS class applied to forge fields when `styledBox` is enabled.
|
|
2373
|
+
*
|
|
2374
|
+
* @deprecated Boolean fields now use the Material-style form-field wrapper to render the
|
|
2375
|
+
* outlined chrome and standard label/hint/error subscript. Retained as an export for any
|
|
2376
|
+
* consumers still referencing the class name directly.
|
|
2377
|
+
*/
|
|
2378
|
+
declare const FORGE_STYLED_BOX_CLASS = "dbx-forge-styled-box";
|
|
2356
2379
|
|
|
2357
2380
|
/**
|
|
2358
2381
|
* A pair of either a logical date or a time string.
|
|
@@ -2404,10 +2427,10 @@ interface DateTimePreset {
|
|
|
2404
2427
|
value: Getter<DateTimePresetValue>;
|
|
2405
2428
|
}
|
|
2406
2429
|
/**
|
|
2407
|
-
* Creates a DateTimePreset from a DateTimePresetConfiguration
|
|
2430
|
+
* Creates a DateTimePreset from a DateTimePresetConfiguration.
|
|
2408
2431
|
*
|
|
2409
|
-
* @param config - The preset configuration with label and value getter
|
|
2410
|
-
* @returns A DateTimePreset with a lazy value getter
|
|
2432
|
+
* @param config - The preset configuration with label and value getter.
|
|
2433
|
+
* @returns A DateTimePreset with a lazy value getter.
|
|
2411
2434
|
*/
|
|
2412
2435
|
declare function dateTimePreset(config: DateTimePresetConfiguration): DateTimePreset;
|
|
2413
2436
|
|
|
@@ -2443,15 +2466,16 @@ declare enum DbxDateTimeValueMode {
|
|
|
2443
2466
|
*
|
|
2444
2467
|
* Handles timezone conversion when a timezone instance is provided and the mode requires it.
|
|
2445
2468
|
*
|
|
2446
|
-
* @param mode - Determines how the input value is interpreted
|
|
2447
|
-
* @param timezoneInstance - Optional timezone converter for UTC-normal date handling
|
|
2448
|
-
* @returns
|
|
2469
|
+
* @param mode - Determines how the input value is interpreted.
|
|
2470
|
+
* @param timezoneInstance - Optional timezone converter for UTC-normal date handling.
|
|
2471
|
+
* @returns Parses input values to Date objects.
|
|
2449
2472
|
*
|
|
2450
2473
|
* @example
|
|
2451
2474
|
* ```typescript
|
|
2452
2475
|
* const parser = dbxDateTimeInputValueParseFactory(DbxDateTimeValueMode.DATE_STRING, timezoneInstance);
|
|
2453
2476
|
* const date = parser('2024-01-15T10:00:00Z');
|
|
2454
2477
|
* ```
|
|
2478
|
+
*
|
|
2455
2479
|
* @__NO_SIDE_EFFECTS__
|
|
2456
2480
|
*/
|
|
2457
2481
|
declare function dbxDateTimeInputValueParseFactory(mode: DbxDateTimeValueMode, timezoneInstance: Maybe<DateTimezoneUtcNormalInstance>): (date: Maybe<Date | string | number>) => Maybe<Date>;
|
|
@@ -2461,15 +2485,16 @@ declare function dbxDateTimeInputValueParseFactory(mode: DbxDateTimeValueMode, t
|
|
|
2461
2485
|
*
|
|
2462
2486
|
* Handles timezone conversion when a timezone instance is provided and the mode requires it.
|
|
2463
2487
|
*
|
|
2464
|
-
* @param mode - Determines the output format
|
|
2465
|
-
* @param timezoneInstance - Optional timezone converter for UTC-normal date handling
|
|
2466
|
-
* @returns
|
|
2488
|
+
* @param mode - Determines the output format.
|
|
2489
|
+
* @param timezoneInstance - Optional timezone converter for UTC-normal date handling.
|
|
2490
|
+
* @returns Formats Date objects to the target output type.
|
|
2467
2491
|
*
|
|
2468
2492
|
* @example
|
|
2469
2493
|
* ```typescript
|
|
2470
2494
|
* const formatter = dbxDateTimeOutputValueFactory(DbxDateTimeValueMode.DAY_STRING, null);
|
|
2471
2495
|
* const dayString = formatter(new Date()); // e.g., '2024-01-15'
|
|
2472
2496
|
* ```
|
|
2497
|
+
*
|
|
2473
2498
|
* @__NO_SIDE_EFFECTS__
|
|
2474
2499
|
*/
|
|
2475
2500
|
declare function dbxDateTimeOutputValueFactory(mode: DbxDateTimeValueMode, timezoneInstance: Maybe<DateTimezoneUtcNormalInstance>): (date: Maybe<Date>) => Maybe<Date | string | number>;
|
|
@@ -2478,17 +2503,17 @@ declare function dbxDateTimeOutputValueFactory(mode: DbxDateTimeValueMode, timez
|
|
|
2478
2503
|
*
|
|
2479
2504
|
* For string and number types, performs strict equality. For Date objects, compares hours and minutes.
|
|
2480
2505
|
*
|
|
2481
|
-
* @param a - First date-time value
|
|
2482
|
-
* @param b - Second date-time value
|
|
2483
|
-
* @returns Whether the two values represent the same date-time
|
|
2506
|
+
* @param a - First date-time value.
|
|
2507
|
+
* @param b - Second date-time value.
|
|
2508
|
+
* @returns Whether the two values represent the same date-time.
|
|
2484
2509
|
*/
|
|
2485
2510
|
declare function dbxDateTimeIsSameDateTimeFieldValue(a: Maybe<Date | ISO8601DayString | number>, b: Maybe<Date | ISO8601DayString | number>): boolean;
|
|
2486
2511
|
/**
|
|
2487
2512
|
* Compares two date range field values for equality by comparing both start and end values.
|
|
2488
2513
|
*
|
|
2489
|
-
* @param a - First date range value
|
|
2490
|
-
* @param b - Second date range value
|
|
2491
|
-
* @returns Whether the two date ranges represent the same range
|
|
2514
|
+
* @param a - First date range value.
|
|
2515
|
+
* @param b - Second date range value.
|
|
2516
|
+
* @returns Whether the two date ranges represent the same range.
|
|
2492
2517
|
*/
|
|
2493
2518
|
declare function dbxDateRangeIsSameDateRangeFieldValue(a: Maybe<DateRangeWithDateOrStringValue>, b: Maybe<DateRangeWithDateOrStringValue>): boolean;
|
|
2494
2519
|
|
|
@@ -2537,10 +2562,9 @@ interface DbxDateTimeFieldTimeDateConfig<I = unknown> {
|
|
|
2537
2562
|
/**
|
|
2538
2563
|
* Type guard that checks whether the input is a {@link DbxDateTimeFieldTimeDateConfig}.
|
|
2539
2564
|
*
|
|
2540
|
-
* @param input - The value to check
|
|
2541
|
-
* @
|
|
2542
|
-
*
|
|
2543
|
-
* @param input - The value to check
|
|
2565
|
+
* @param input - The value to check.
|
|
2566
|
+
* @param input - The value to check.
|
|
2567
|
+
* @returns True if the input is a DbxDateTimeFieldTimeDateConfig with a string path property.
|
|
2544
2568
|
*/
|
|
2545
2569
|
declare function isDbxDateTimeFieldTimeDateConfig(input: unknown): input is DbxDateTimeFieldTimeDateConfig;
|
|
2546
2570
|
interface DbxDateTimeFieldProps extends FormlyFieldProps {
|
|
@@ -2667,11 +2691,11 @@ interface DbxDateTimeFieldSyncParsedField extends Pick<DbxDateTimeFieldSyncField
|
|
|
2667
2691
|
* Creates an observable that emits the current Date value from a synced field control
|
|
2668
2692
|
* matching the specified sync type ('before' or 'after').
|
|
2669
2693
|
*
|
|
2670
|
-
* @param parseConfigsObs - Observable of parsed sync field configurations
|
|
2671
|
-
* @param type - The sync direction to filter for
|
|
2672
|
-
* @returns Observable of the synced date value, or null if no matching sync config
|
|
2694
|
+
* @param parseConfigsObs - Observable of parsed sync field configurations.
|
|
2695
|
+
* @param type - The sync direction to filter for.
|
|
2696
|
+
* @returns Observable of the synced date value, or null if no matching sync config.
|
|
2673
2697
|
*/
|
|
2674
|
-
declare function syncConfigValueObs(parseConfigsObs: Observable<DbxDateTimeFieldSyncParsedField[]>, type: DbxDateTimeFieldSyncType): Observable<Date
|
|
2698
|
+
declare function syncConfigValueObs(parseConfigsObs: Observable<DbxDateTimeFieldSyncParsedField[]>, type: DbxDateTimeFieldSyncType): Observable<Maybe<Date>>;
|
|
2675
2699
|
/**
|
|
2676
2700
|
* Error code used when the selected date is not in the schedule.
|
|
2677
2701
|
*/
|
|
@@ -2761,27 +2785,27 @@ declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig<DbxDat
|
|
|
2761
2785
|
readonly timeInput$: Observable<ReadableTimeString>;
|
|
2762
2786
|
readonly syncConfigObs$: Observable<Maybe<DbxDateTimeFieldSyncField | DbxDateTimeFieldSyncField[]>>;
|
|
2763
2787
|
readonly parsedSyncConfigs$: Observable<DbxDateTimeFieldSyncParsedField[]>;
|
|
2764
|
-
readonly syncConfigBeforeValue$: Observable<Date
|
|
2765
|
-
readonly syncConfigAfterValue$: Observable<Date
|
|
2788
|
+
readonly syncConfigBeforeValue$: Observable<Maybe<Date>>;
|
|
2789
|
+
readonly syncConfigAfterValue$: Observable<Maybe<Date>>;
|
|
2766
2790
|
readonly isTimeCleared$: Observable<boolean>;
|
|
2767
2791
|
protected readonly _rawDateTimeDateValue$: Observable<Maybe<Date>>;
|
|
2768
2792
|
protected readonly _rawDateTimeTimeValue$: Observable<Maybe<ReadableTimeString>>;
|
|
2769
2793
|
readonly rawDateTime$: Observable<Maybe<Date>>;
|
|
2770
2794
|
readonly dateTimePickerConfig$: Observable<Maybe<DbxDateTimePickerConfiguration>>;
|
|
2771
|
-
readonly dateInputMin$: Observable<Date
|
|
2772
|
-
readonly dateInputMax$: Observable<Date
|
|
2795
|
+
readonly dateInputMin$: Observable<Maybe<Date>>;
|
|
2796
|
+
readonly dateInputMax$: Observable<Maybe<Date>>;
|
|
2773
2797
|
/**
|
|
2774
2798
|
* Whether or not there is a limited min/max date range applied/available.
|
|
2775
2799
|
*/
|
|
2776
2800
|
readonly hasRestrictedDateRange$: Observable<boolean>;
|
|
2777
2801
|
readonly dateMinAndMaxIsSameDay$: Observable<boolean>;
|
|
2778
|
-
readonly pickerFilter$: Observable<DecisionFunction<Date
|
|
2779
|
-
readonly defaultPickerFilter: DecisionFunction<Date
|
|
2802
|
+
readonly pickerFilter$: Observable<DecisionFunction<Maybe<Date>>>;
|
|
2803
|
+
readonly defaultPickerFilter: DecisionFunction<Maybe<Date>>;
|
|
2780
2804
|
readonly timeOutput$: Observable<Maybe<Date>>;
|
|
2781
2805
|
readonly dateTimePickerInstance$: Observable<DateTimeMinuteInstance>;
|
|
2782
2806
|
readonly hasEmptyDisplayValue$: Observable<boolean>;
|
|
2783
2807
|
readonly allPresets$: Observable<DateTimePreset[]>;
|
|
2784
|
-
readonly _presetsPickerFilter$: Observable<(x: Date
|
|
2808
|
+
readonly _presetsPickerFilter$: Observable<(x: Maybe<Date>) => boolean>;
|
|
2785
2809
|
readonly presets$: Observable<DateTimePreset[]>;
|
|
2786
2810
|
readonly showClearButton$: Observable<boolean>;
|
|
2787
2811
|
readonly canAutofillDateWithOnlyAvailableDate$: Observable<boolean>;
|
|
@@ -2790,9 +2814,9 @@ declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig<DbxDat
|
|
|
2790
2814
|
readonly hasError$: Observable<boolean>;
|
|
2791
2815
|
readonly dateValueSignal: _angular_core.Signal<Maybe<Date>>;
|
|
2792
2816
|
readonly displayValueSignal: _angular_core.Signal<Maybe<Date>>;
|
|
2793
|
-
readonly pickerFilterSignal: _angular_core.Signal<DecisionFunction<Date
|
|
2794
|
-
readonly dateInputMinSignal: _angular_core.Signal<Date
|
|
2795
|
-
readonly dateInputMaxSignal: _angular_core.Signal<Date
|
|
2817
|
+
readonly pickerFilterSignal: _angular_core.Signal<DecisionFunction<Maybe<Date>>>;
|
|
2818
|
+
readonly dateInputMinSignal: _angular_core.Signal<Maybe<Date>>;
|
|
2819
|
+
readonly dateInputMaxSignal: _angular_core.Signal<Maybe<Date>>;
|
|
2796
2820
|
readonly showDateInputSignal: _angular_core.Signal<boolean | undefined>;
|
|
2797
2821
|
readonly showTimeInputSignal: _angular_core.Signal<boolean | undefined>;
|
|
2798
2822
|
readonly showAddTimeSignal: _angular_core.Signal<boolean | undefined>;
|
|
@@ -2806,7 +2830,7 @@ declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig<DbxDat
|
|
|
2806
2830
|
ngOnInit(): void;
|
|
2807
2831
|
ngOnDestroy(): void;
|
|
2808
2832
|
selectPreset(preset: DateTimePreset): void;
|
|
2809
|
-
datePicked(event: MatDatepickerInputEvent<Date>): void;
|
|
2833
|
+
datePicked(event: MatDatepickerInputEvent<Date | undefined>): void;
|
|
2810
2834
|
setLogicalTime(time: LogicalDate): void;
|
|
2811
2835
|
setDateInputValue(date: Date): void;
|
|
2812
2836
|
setTimeFromDate(timeDate: Date): void;
|
|
@@ -2869,7 +2893,7 @@ interface DateTimeFieldCalc {
|
|
|
2869
2893
|
* Sync "before" values contribute a minimum date (this field must be after that value).
|
|
2870
2894
|
* Sync "after" values contribute a maximum date (this field must be before that value).
|
|
2871
2895
|
*/
|
|
2872
|
-
mergePickerConfig(config: Maybe<DbxDateTimePickerConfiguration>, syncBeforeValue: Date
|
|
2896
|
+
mergePickerConfig(config: Maybe<DbxDateTimePickerConfiguration>, syncBeforeValue: Maybe<Date>, syncAfterValue: Maybe<Date>): Maybe<DbxDateTimePickerConfiguration>;
|
|
2873
2897
|
/**
|
|
2874
2898
|
* Filters presets based on selected date, fullDay/timeOnly state, and config limits.
|
|
2875
2899
|
*
|
|
@@ -2888,7 +2912,7 @@ interface DateTimeFieldCalc {
|
|
|
2888
2912
|
/**
|
|
2889
2913
|
* Creates a {@link DateTimeFieldCalc} instance with all datetime calculation functions.
|
|
2890
2914
|
*
|
|
2891
|
-
* @returns A DateTimeFieldCalc instance bundling all pure datetime calculation functions
|
|
2915
|
+
* @returns A DateTimeFieldCalc instance bundling all pure datetime calculation functions.
|
|
2892
2916
|
*/
|
|
2893
2917
|
declare function dateTimeFieldCalc(): DateTimeFieldCalc;
|
|
2894
2918
|
/**
|
|
@@ -2897,8 +2921,9 @@ declare function dateTimeFieldCalc(): DateTimeFieldCalc;
|
|
|
2897
2921
|
* Handles fullDay, timeOnly, cleared states, and timeDate fallbacks to produce
|
|
2898
2922
|
* a unified datetime value from the separate date and time form controls.
|
|
2899
2923
|
*
|
|
2900
|
-
* @param input - The datetime calculation input containing date, time, and mode information
|
|
2901
|
-
* @returns The combined Date value, or undefined if the input is cleared or incomplete
|
|
2924
|
+
* @param input - The datetime calculation input containing date, time, and mode information.
|
|
2925
|
+
* @returns The combined Date value, or undefined if the input is cleared or incomplete.
|
|
2926
|
+
*
|
|
2902
2927
|
* @__NO_SIDE_EFFECTS__
|
|
2903
2928
|
*/
|
|
2904
2929
|
declare function buildCombinedDateTime(input: DateTimeCalcInput): Maybe<Date>;
|
|
@@ -2914,8 +2939,8 @@ interface ApplyTimeOffsetInput {
|
|
|
2914
2939
|
/**
|
|
2915
2940
|
* Applies a keyboard time offset (in step increments) and clamps to picker config limits.
|
|
2916
2941
|
*
|
|
2917
|
-
* @param input - The time offset input containing date, step offset, minute step, and optional config
|
|
2918
|
-
* @returns The offset date, clamped to the picker config limits
|
|
2942
|
+
* @param input - The time offset input containing date, step offset, minute step, and optional config.
|
|
2943
|
+
* @returns The offset date, clamped to the picker config limits.
|
|
2919
2944
|
*/
|
|
2920
2945
|
declare function applyTimeOffset(input: ApplyTimeOffsetInput): Date;
|
|
2921
2946
|
/**
|
|
@@ -2924,12 +2949,12 @@ declare function applyTimeOffset(input: ApplyTimeOffsetInput): Date;
|
|
|
2924
2949
|
* Sync "before" values contribute a minimum date (this field must be after that value).
|
|
2925
2950
|
* Sync "after" values contribute a maximum date (this field must be before that value).
|
|
2926
2951
|
*
|
|
2927
|
-
* @param config - The base picker configuration to merge into
|
|
2928
|
-
* @param syncBeforeValue - Minimum date constraint from a synced "before" field, or null
|
|
2929
|
-
* @param syncAfterValue - Maximum date constraint from a synced "after" field, or null
|
|
2930
|
-
* @returns The merged picker configuration with updated limits, or the original config if no sync values
|
|
2952
|
+
* @param config - The base picker configuration to merge into.
|
|
2953
|
+
* @param syncBeforeValue - Minimum date constraint from a synced "before" field, or null.
|
|
2954
|
+
* @param syncAfterValue - Maximum date constraint from a synced "after" field, or null.
|
|
2955
|
+
* @returns The merged picker configuration with updated limits, or the original config if no sync values.
|
|
2931
2956
|
*/
|
|
2932
|
-
declare function mergePickerConfig(config: Maybe<DbxDateTimePickerConfiguration>, syncBeforeValue: Date
|
|
2957
|
+
declare function mergePickerConfig(config: Maybe<DbxDateTimePickerConfiguration>, syncBeforeValue: Maybe<Date>, syncAfterValue: Maybe<Date>): Maybe<DbxDateTimePickerConfiguration>;
|
|
2933
2958
|
/**
|
|
2934
2959
|
* Input for {@link filterPresets}.
|
|
2935
2960
|
*/
|
|
@@ -2947,8 +2972,8 @@ interface FilterPresetsInput {
|
|
|
2947
2972
|
* Returns all presets unfiltered when timeOnly (no date-based filtering needed).
|
|
2948
2973
|
* Otherwise evaluates each preset against the selected date and config limits.
|
|
2949
2974
|
*
|
|
2950
|
-
* @param input - The filter presets input containing presets, selected date, mode flags, and optional config
|
|
2951
|
-
* @returns The filtered array of applicable presets
|
|
2975
|
+
* @param input - The filter presets input containing presets, selected date, mode flags, and optional config.
|
|
2976
|
+
* @returns The filtered array of applicable presets.
|
|
2952
2977
|
*/
|
|
2953
2978
|
declare function filterPresets(input: FilterPresetsInput): DateTimePreset[];
|
|
2954
2979
|
/**
|
|
@@ -2956,9 +2981,9 @@ declare function filterPresets(input: FilterPresetsInput): DateTimePreset[];
|
|
|
2956
2981
|
*
|
|
2957
2982
|
* Checks for required, schedule, time range, and pattern errors in priority order.
|
|
2958
2983
|
*
|
|
2959
|
-
* @param errors - The validation error record from the form field, or null/undefined
|
|
2984
|
+
* @param errors - The validation error record from the form field, or null/undefined.
|
|
2960
2985
|
* @param isRequired - Whether the field is required (affects the "required" error message)
|
|
2961
|
-
* @returns A human-readable error message string, or undefined if no errors exist
|
|
2986
|
+
* @returns A human-readable error message string, or undefined if no errors exist.
|
|
2962
2987
|
*/
|
|
2963
2988
|
declare function computeErrorMessage(errors: Maybe<Record<string, unknown>>, isRequired: boolean): string | undefined;
|
|
2964
2989
|
/**
|
|
@@ -2971,10 +2996,10 @@ declare function computeErrorMessage(errors: Maybe<Record<string, unknown>>, isR
|
|
|
2971
2996
|
*
|
|
2972
2997
|
* Returns null if the event is not a recognized arrow key.
|
|
2973
2998
|
*
|
|
2974
|
-
* @param event - The keyboard event to evaluate
|
|
2975
|
-
* @returns A KeyboardStepResult with direction and offset, or null if the key is not an arrow key
|
|
2999
|
+
* @param event - The keyboard event to evaluate.
|
|
3000
|
+
* @returns A KeyboardStepResult with direction and offset, or null if the key is not an arrow key.
|
|
2976
3001
|
*/
|
|
2977
|
-
declare function computeDateKeyboardStep(event: KeyboardEvent): KeyboardStepResult
|
|
3002
|
+
declare function computeDateKeyboardStep(event: KeyboardEvent): Maybe<KeyboardStepResult>;
|
|
2978
3003
|
/**
|
|
2979
3004
|
* Computes the time keyboard navigation step from a KeyboardEvent.
|
|
2980
3005
|
*
|
|
@@ -2985,17 +3010,17 @@ declare function computeDateKeyboardStep(event: KeyboardEvent): KeyboardStepResu
|
|
|
2985
3010
|
*
|
|
2986
3011
|
* Returns null if the event is not a recognized arrow key.
|
|
2987
3012
|
*
|
|
2988
|
-
* @param event - The keyboard event to evaluate
|
|
2989
|
-
* @returns A KeyboardStepResult with direction and offset, or null if the key is not an arrow key
|
|
3013
|
+
* @param event - The keyboard event to evaluate.
|
|
3014
|
+
* @returns A KeyboardStepResult with direction and offset, or null if the key is not an arrow key.
|
|
2990
3015
|
*/
|
|
2991
|
-
declare function computeTimeKeyboardStep(event: KeyboardEvent): KeyboardStepResult
|
|
3016
|
+
declare function computeTimeKeyboardStep(event: KeyboardEvent): Maybe<KeyboardStepResult>;
|
|
2992
3017
|
/**
|
|
2993
3018
|
* Navigates to a new date by applying a keyboard step, validating against the schedule, and clamping to limits.
|
|
2994
3019
|
*
|
|
2995
|
-
* @param currentDate - The current date to navigate from
|
|
3020
|
+
* @param currentDate - The current date to navigate from.
|
|
2996
3021
|
* @param step - The keyboard step result (direction + offset in days)
|
|
2997
|
-
* @param config - Optional picker config for schedule/limit validation
|
|
2998
|
-
* @returns The new date, or null if no valid date is available in the requested direction
|
|
3022
|
+
* @param config - Optional picker config for schedule/limit validation.
|
|
3023
|
+
* @returns The new date, or null if no valid date is available in the requested direction.
|
|
2999
3024
|
*/
|
|
3000
3025
|
declare function navigateDate(currentDate: Date, step: KeyboardStepResult, config: Maybe<DbxDateTimePickerConfiguration>): Maybe<Date>;
|
|
3001
3026
|
|
|
@@ -3026,7 +3051,7 @@ interface DbxForgeDateFieldConfig extends DbxForgeFieldFunctionDef<MatDatepicker
|
|
|
3026
3051
|
* dbxForgeDateField({ key: 'startDate', label: 'Start Date', required: true })
|
|
3027
3052
|
* ```
|
|
3028
3053
|
*/
|
|
3029
|
-
declare const dbxForgeDateField: DbxForgeFieldFunction<DbxForgeDateFieldConfig, MatDatepickerField>;
|
|
3054
|
+
declare const dbxForgeDateField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeDateFieldConfig, MatDatepickerField>;
|
|
3030
3055
|
|
|
3031
3056
|
/**
|
|
3032
3057
|
* Custom props for the forge date-time field.
|
|
@@ -3115,35 +3140,35 @@ declare class DbxForgeDateTimeFieldComponent {
|
|
|
3115
3140
|
private readonly _resyncTimeInput;
|
|
3116
3141
|
private readonly _syncConfigObs;
|
|
3117
3142
|
readonly timeErrorStateMatcher: ErrorStateMatcher;
|
|
3118
|
-
readonly
|
|
3119
|
-
readonly
|
|
3120
|
-
readonly
|
|
3121
|
-
readonly
|
|
3122
|
-
readonly
|
|
3123
|
-
readonly
|
|
3124
|
-
readonly
|
|
3125
|
-
readonly
|
|
3126
|
-
readonly
|
|
3127
|
-
readonly
|
|
3128
|
-
readonly
|
|
3129
|
-
readonly
|
|
3130
|
-
readonly
|
|
3131
|
-
readonly
|
|
3132
|
-
readonly
|
|
3133
|
-
readonly
|
|
3134
|
-
readonly
|
|
3135
|
-
readonly
|
|
3136
|
-
readonly
|
|
3137
|
-
readonly
|
|
3138
|
-
readonly
|
|
3139
|
-
readonly
|
|
3140
|
-
readonly
|
|
3141
|
-
readonly
|
|
3142
|
-
readonly
|
|
3143
|
-
readonly
|
|
3144
|
-
readonly
|
|
3145
|
-
readonly
|
|
3146
|
-
readonly
|
|
3143
|
+
readonly fieldLabelSignal: Signal<string | undefined>;
|
|
3144
|
+
readonly isRequiredSignal: Signal<boolean>;
|
|
3145
|
+
readonly isDateRequiredSignal: Signal<boolean>;
|
|
3146
|
+
readonly isTimeRequiredSignal: Signal<boolean>;
|
|
3147
|
+
readonly descriptionSignal: Signal<string | undefined>;
|
|
3148
|
+
readonly appearanceSignal: Signal<_angular_material_form_field.MatFormFieldAppearance>;
|
|
3149
|
+
readonly valueModeSignal: Signal<DbxDateTimeValueMode>;
|
|
3150
|
+
readonly timeModeSignal: Signal<DbxDateTimeFieldTimeMode>;
|
|
3151
|
+
readonly isTimeOnlySignal: Signal<boolean>;
|
|
3152
|
+
readonly isDateOnlySignal: Signal<boolean>;
|
|
3153
|
+
readonly isFullDaySignal: Signal<boolean>;
|
|
3154
|
+
readonly showDateInputSignal: Signal<boolean>;
|
|
3155
|
+
readonly showTimeInputSignal: Signal<boolean>;
|
|
3156
|
+
readonly showAddTimeButtonSignal: Signal<boolean>;
|
|
3157
|
+
readonly dateLabelSignal: Signal<string>;
|
|
3158
|
+
readonly timeLabelSignal: Signal<string>;
|
|
3159
|
+
readonly allDayLabelSignal: Signal<string>;
|
|
3160
|
+
readonly atTimeLabelSignal: Signal<string>;
|
|
3161
|
+
readonly hideDateHintSignal: Signal<boolean>;
|
|
3162
|
+
readonly hideDatePickerSignal: Signal<boolean>;
|
|
3163
|
+
readonly showTimezoneSignal: Signal<boolean>;
|
|
3164
|
+
readonly showClearButtonSignal: Signal<boolean>;
|
|
3165
|
+
readonly minuteStepSignal: Signal<number>;
|
|
3166
|
+
readonly alwaysShowDateInputSignal: Signal<boolean>;
|
|
3167
|
+
readonly autofillDateWhenTimeIsPickedSignal: Signal<boolean>;
|
|
3168
|
+
readonly openOnInputClickSignal: Signal<"input" | "picker">;
|
|
3169
|
+
readonly resolvedTimezoneSignal: Signal<string | undefined>;
|
|
3170
|
+
readonly timezoneInstanceSignal: Signal<Maybe<DateTimezoneUtcNormalInstance>>;
|
|
3171
|
+
readonly fieldValueSignal: Signal<unknown>;
|
|
3147
3172
|
readonly isDisabled: Signal<boolean>;
|
|
3148
3173
|
readonly fieldValue$: Observable<unknown>;
|
|
3149
3174
|
readonly timezoneInstance$: Observable<Maybe<DateTimezoneUtcNormalInstance>>;
|
|
@@ -3166,14 +3191,14 @@ declare class DbxForgeDateTimeFieldComponent {
|
|
|
3166
3191
|
fieldState: any;
|
|
3167
3192
|
}[]>;
|
|
3168
3193
|
private _syncConfigValueObs;
|
|
3169
|
-
readonly syncConfigBeforeValue$: Observable<Date
|
|
3170
|
-
readonly syncConfigAfterValue$: Observable<Date
|
|
3194
|
+
readonly syncConfigBeforeValue$: Observable<Maybe<Date>>;
|
|
3195
|
+
readonly syncConfigAfterValue$: Observable<Maybe<Date>>;
|
|
3171
3196
|
readonly pickerConfig$: Observable<Maybe<DbxDateTimePickerConfiguration>>;
|
|
3172
3197
|
readonly dateTimePickerConfig$: Observable<Maybe<DbxDateTimePickerConfiguration>>;
|
|
3173
|
-
readonly dateInputMin$: Observable<Date
|
|
3174
|
-
readonly dateInputMax$: Observable<Date
|
|
3198
|
+
readonly dateInputMin$: Observable<Maybe<Date>>;
|
|
3199
|
+
readonly dateInputMax$: Observable<Maybe<Date>>;
|
|
3175
3200
|
readonly dateMinAndMaxIsSameDay$: Observable<boolean>;
|
|
3176
|
-
readonly pickerFilter$: Observable<(d: Date
|
|
3201
|
+
readonly pickerFilter$: Observable<(d: Maybe<Date>) => boolean>;
|
|
3177
3202
|
readonly showDateInput$: Observable<boolean>;
|
|
3178
3203
|
private readonly _rawDateTimeDate$;
|
|
3179
3204
|
readonly rawDateTime$: Observable<Maybe<Date>>;
|
|
@@ -3193,31 +3218,29 @@ declare class DbxForgeDateTimeFieldComponent {
|
|
|
3193
3218
|
*/
|
|
3194
3219
|
readonly dateValueSignal: Signal<Date | null>;
|
|
3195
3220
|
readonly displayValueSignal: Signal<Maybe<Date>>;
|
|
3196
|
-
readonly pickerFilterSignal: Signal<((d: Date
|
|
3197
|
-
readonly dateInputMinSignal: Signal<Date
|
|
3198
|
-
readonly dateInputMaxSignal: Signal<Date
|
|
3199
|
-
readonly
|
|
3200
|
-
readonly showTimeInputSignal: Signal<boolean>;
|
|
3201
|
-
readonly showAddTimeButtonSignal: Signal<boolean>;
|
|
3221
|
+
readonly pickerFilterSignal: Signal<((d: Maybe<Date>) => boolean) | (() => boolean)>;
|
|
3222
|
+
readonly dateInputMinSignal: Signal<Maybe<Date>>;
|
|
3223
|
+
readonly dateInputMaxSignal: Signal<Maybe<Date>>;
|
|
3224
|
+
readonly resolvedShowDateInputSignal: Signal<boolean | undefined>;
|
|
3202
3225
|
readonly fullDaySignal: Signal<boolean>;
|
|
3203
3226
|
readonly tzAbbreviationSignal: Signal<string | undefined>;
|
|
3204
3227
|
readonly hasValueSignal: Signal<boolean | undefined>;
|
|
3205
3228
|
readonly currentErrorMessageSignal: Signal<string | undefined>;
|
|
3206
3229
|
readonly hasErrorSignal: Signal<boolean | undefined>;
|
|
3207
|
-
readonly
|
|
3230
|
+
readonly resolvedShowClearButtonSignal: Signal<boolean | undefined>;
|
|
3208
3231
|
readonly presetsSignal: Signal<DateTimePreset[] | undefined>;
|
|
3209
3232
|
readonly isDisabledSignal: Signal<boolean>;
|
|
3210
3233
|
readonly isTimeMenuDisabledSignal: Signal<boolean>;
|
|
3211
|
-
protected readonly
|
|
3212
|
-
protected readonly
|
|
3213
|
-
protected readonly
|
|
3214
|
-
protected readonly
|
|
3215
|
-
protected readonly
|
|
3234
|
+
protected readonly hintIdSignal: Signal<string>;
|
|
3235
|
+
protected readonly errorIdSignal: Signal<string>;
|
|
3236
|
+
protected readonly ariaInvalidSignal: Signal<"true" | null>;
|
|
3237
|
+
protected readonly ariaRequiredSignal: Signal<"true" | null>;
|
|
3238
|
+
protected readonly ariaDescribedBySignal: Signal<string | null>;
|
|
3216
3239
|
constructor();
|
|
3217
3240
|
onDateInputClick(picker: {
|
|
3218
3241
|
open(): void;
|
|
3219
3242
|
}): void;
|
|
3220
|
-
onDatePicked(event: MatDatepickerInputEvent<Date>): void;
|
|
3243
|
+
onDatePicked(event: MatDatepickerInputEvent<Date | undefined>): void;
|
|
3221
3244
|
onDateKeydown(event: KeyboardEvent): void;
|
|
3222
3245
|
onTimeKeydown(event: KeyboardEvent): void;
|
|
3223
3246
|
onTimeFocus(): void;
|
|
@@ -3236,9 +3259,9 @@ declare class DbxForgeDateTimeFieldComponent {
|
|
|
3236
3259
|
* Custom mapper for the datetime field type.
|
|
3237
3260
|
* Called by ng-forge's DynamicForm to create the inputs for the component.
|
|
3238
3261
|
*
|
|
3239
|
-
* @param fieldDef - Field definition configuration
|
|
3240
|
-
* @param fieldDef.key - Form model key for the field
|
|
3241
|
-
* @returns Signal containing a Record of input names to values for ngComponentOutlet
|
|
3262
|
+
* @param fieldDef - Field definition configuration.
|
|
3263
|
+
* @param fieldDef.key - Form model key for the field.
|
|
3264
|
+
* @returns Signal containing a Record of input names to values for ngComponentOutlet.
|
|
3242
3265
|
*/
|
|
3243
3266
|
declare function dateTimeFieldMapper(fieldDef: {
|
|
3244
3267
|
key: string;
|
|
@@ -3305,7 +3328,7 @@ interface DbxForgeDateTimeFieldConfig extends DbxForgeFieldFunctionDef<DbxForgeD
|
|
|
3305
3328
|
* dbxForgeDateTimeField({ key: 'when', label: 'When', timezone: 'America/New_York' })
|
|
3306
3329
|
* ```
|
|
3307
3330
|
*/
|
|
3308
|
-
declare const dbxForgeDateTimeField: DbxForgeFieldFunction<DbxForgeDateTimeFieldConfig, DbxForgeDateTimeFieldDef>;
|
|
3331
|
+
declare const dbxForgeDateTimeField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeDateTimeFieldConfig, DbxForgeDateTimeFieldDef>;
|
|
3309
3332
|
|
|
3310
3333
|
/**
|
|
3311
3334
|
* Per-field overrides for a forge date range start/end picker.
|
|
@@ -3338,8 +3361,8 @@ interface DbxForgeDateRangeRowConfig {
|
|
|
3338
3361
|
*
|
|
3339
3362
|
* This is the forge equivalent of formly's `formlyDateRangeField()`.
|
|
3340
3363
|
*
|
|
3341
|
-
* @param config - Date range configuration with optional shared props and start/end overrides
|
|
3342
|
-
* @returns A {@link RowField} containing the start and end date field pair
|
|
3364
|
+
* @param config - Date range configuration with optional shared props and start/end overrides.
|
|
3365
|
+
* @returns A {@link RowField} containing the start and end date field pair.
|
|
3343
3366
|
*
|
|
3344
3367
|
* @dbxFormField
|
|
3345
3368
|
* @dbxFormSlug date-range-row
|
|
@@ -3383,8 +3406,8 @@ interface DbxForgeDateTimeRangeRowConfig {
|
|
|
3383
3406
|
*
|
|
3384
3407
|
* This is the forge equivalent of formly's `formlyDateTimeRangeField()`.
|
|
3385
3408
|
*
|
|
3386
|
-
* @param inputConfig - Time range configuration with optional shared props and start/end overrides
|
|
3387
|
-
* @returns A {@link RowField} containing the start and end time field pair
|
|
3409
|
+
* @param inputConfig - Time range configuration with optional shared props and start/end overrides.
|
|
3410
|
+
* @returns A {@link RowField} containing the start and end time field pair.
|
|
3388
3411
|
*
|
|
3389
3412
|
* @dbxFormField
|
|
3390
3413
|
* @dbxFormSlug date-time-range-row
|
|
@@ -3539,7 +3562,7 @@ declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldTypeConfig<
|
|
|
3539
3562
|
*/
|
|
3540
3563
|
readonly calendarFocusDate$: Observable<Date>;
|
|
3541
3564
|
readonly dateRangeSelection$: Observable<Maybe<DateRange>>;
|
|
3542
|
-
readonly calendarSelection$: Observable<DateRange$1<Date
|
|
3565
|
+
readonly calendarSelection$: Observable<Maybe<DateRange$1<Date>>>;
|
|
3543
3566
|
readonly endDisabled$: Observable<boolean>;
|
|
3544
3567
|
readonly inputRangeForm: FormGroup<{
|
|
3545
3568
|
start: FormControl<Maybe<Date>>;
|
|
@@ -3556,14 +3579,14 @@ declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldTypeConfig<
|
|
|
3556
3579
|
readonly minMaxRange$: Observable<Maybe<Partial<DateRange>>>;
|
|
3557
3580
|
readonly min$: Observable<Date | null>;
|
|
3558
3581
|
readonly max$: Observable<Date | null>;
|
|
3559
|
-
readonly pickerFilter$: Observable<DecisionFunction<Date
|
|
3560
|
-
readonly defaultPickerFilter: DecisionFunction<Date
|
|
3582
|
+
readonly pickerFilter$: Observable<DecisionFunction<Maybe<Date>>>;
|
|
3583
|
+
readonly defaultPickerFilter: DecisionFunction<Maybe<Date>>;
|
|
3561
3584
|
readonly minDateSignal: _angular_core.Signal<Date | null>;
|
|
3562
3585
|
readonly maxDateSignal: _angular_core.Signal<Date | null>;
|
|
3563
3586
|
readonly endDisabledSignal: _angular_core.Signal<boolean | undefined>;
|
|
3564
3587
|
readonly latestBoundarySignal: _angular_core.Signal<Maybe<DateRange>>;
|
|
3565
|
-
readonly calendarSelectionSignal: _angular_core.Signal<DateRange$1<Date
|
|
3566
|
-
readonly pickerFilterSignal: _angular_core.Signal<DecisionFunction<Date
|
|
3588
|
+
readonly calendarSelectionSignal: _angular_core.Signal<Maybe<DateRange$1<Date>>>;
|
|
3589
|
+
readonly pickerFilterSignal: _angular_core.Signal<DecisionFunction<Maybe<Date>>>;
|
|
3567
3590
|
ngOnInit(): void;
|
|
3568
3591
|
ngOnDestroy(): void;
|
|
3569
3592
|
selectedChange(date: Maybe<Date>): void;
|
|
@@ -3581,8 +3604,8 @@ declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldTypeConfig<
|
|
|
3581
3604
|
declare class DbxFixedDateRangeFieldSelectionStrategy<D> implements MatDateRangeSelectionStrategy<D> {
|
|
3582
3605
|
private readonly _dateAdapter;
|
|
3583
3606
|
readonly dbxFixedDateRangeFieldComponent: DbxFixedDateRangeFieldComponent;
|
|
3584
|
-
selectionFinished(date: D
|
|
3585
|
-
createPreview(activeDate: D
|
|
3607
|
+
selectionFinished(date: Maybe<D>, currentRange: DateRange$1<D>, _event: Event): DateRange$1<D>;
|
|
3608
|
+
createPreview(activeDate: Maybe<D>, _currentRange: DateRange$1<D>, _event: Event): DateRange$1<D>;
|
|
3586
3609
|
private _createDateRangeWithDate;
|
|
3587
3610
|
private _createDateRange;
|
|
3588
3611
|
dateFromAdapterDate(input: D): Date;
|
|
@@ -3708,21 +3731,21 @@ declare class DbxForgeFixedDateRangeFieldComponent {
|
|
|
3708
3731
|
start: FormControl<Maybe<Date>>;
|
|
3709
3732
|
end: FormControl<Maybe<Date>>;
|
|
3710
3733
|
}>;
|
|
3711
|
-
readonly
|
|
3734
|
+
readonly isRequiredSignal: Signal<boolean>;
|
|
3712
3735
|
readonly isDisabled: Signal<boolean>;
|
|
3713
|
-
readonly
|
|
3714
|
-
readonly
|
|
3715
|
-
readonly
|
|
3736
|
+
readonly valueModeSignal: Signal<DbxDateTimeValueMode>;
|
|
3737
|
+
readonly showRangeInputSignal: Signal<boolean>;
|
|
3738
|
+
readonly showTimezoneSignal: Signal<boolean>;
|
|
3716
3739
|
readonly resolvedErrors: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
3717
3740
|
readonly showErrors: Signal<boolean>;
|
|
3718
|
-
readonly
|
|
3719
|
-
protected readonly
|
|
3720
|
-
protected readonly
|
|
3721
|
-
protected readonly
|
|
3722
|
-
protected readonly
|
|
3723
|
-
protected readonly
|
|
3724
|
-
readonly
|
|
3725
|
-
readonly
|
|
3741
|
+
readonly errorsToDisplaySignal: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
3742
|
+
protected readonly hintIdSignal: Signal<string>;
|
|
3743
|
+
protected readonly errorIdSignal: Signal<string>;
|
|
3744
|
+
protected readonly ariaInvalidSignal: Signal<"true" | null>;
|
|
3745
|
+
protected readonly ariaRequiredSignal: Signal<"true" | null>;
|
|
3746
|
+
protected readonly ariaDescribedBySignal: Signal<string | null>;
|
|
3747
|
+
readonly hasRequiredErrorSignal: Signal<boolean>;
|
|
3748
|
+
readonly fieldValueSignal: Signal<unknown>;
|
|
3726
3749
|
readonly fieldValue$: Observable<unknown>;
|
|
3727
3750
|
readonly config$: Observable<DbxFixedDateRangePickerConfiguration>;
|
|
3728
3751
|
readonly limitDateTimeInstance$: Observable<_dereekb_date.LimitDateTimeInstance>;
|
|
@@ -3734,21 +3757,21 @@ declare class DbxForgeFixedDateRangeFieldComponent {
|
|
|
3734
3757
|
readonly minMaxRange$: Observable<Maybe<Partial<DateRange>>>;
|
|
3735
3758
|
readonly min$: Observable<Date | null>;
|
|
3736
3759
|
readonly max$: Observable<Date | null>;
|
|
3737
|
-
readonly pickerFilter$: Observable<DecisionFunction<Date
|
|
3738
|
-
readonly defaultPickerFilter: DecisionFunction<Date
|
|
3760
|
+
readonly pickerFilter$: Observable<DecisionFunction<Maybe<Date>>>;
|
|
3761
|
+
readonly defaultPickerFilter: DecisionFunction<Maybe<Date>>;
|
|
3739
3762
|
dateRangeSelectionForMode(mode: DbxFixedDateRangeSelectionMode): Observable<Maybe<DateRange>>;
|
|
3740
3763
|
readonly fullBoundary$: Observable<Maybe<DateRange>>;
|
|
3741
3764
|
readonly latestBoundary$: Observable<Maybe<DateRange>>;
|
|
3742
3765
|
readonly calendarFocusDate$: Observable<Date>;
|
|
3743
3766
|
readonly dateRangeSelection$: Observable<Maybe<DateRange>>;
|
|
3744
|
-
readonly calendarSelection$: Observable<DateRange$1<Date
|
|
3767
|
+
readonly calendarSelection$: Observable<Maybe<DateRange$1<Date>>>;
|
|
3745
3768
|
readonly endDisabled$: Observable<boolean>;
|
|
3746
3769
|
readonly minDateSignal: Signal<Date | null>;
|
|
3747
3770
|
readonly maxDateSignal: Signal<Date | null>;
|
|
3748
3771
|
readonly endDisabledSignal: Signal<boolean | undefined>;
|
|
3749
3772
|
readonly latestBoundarySignal: Signal<Maybe<DateRange>>;
|
|
3750
|
-
readonly calendarSelectionSignal: Signal<DateRange$1<Date
|
|
3751
|
-
readonly pickerFilterSignal: Signal<DecisionFunction<Date
|
|
3773
|
+
readonly calendarSelectionSignal: Signal<Maybe<DateRange$1<Date>>>;
|
|
3774
|
+
readonly pickerFilterSignal: Signal<DecisionFunction<Maybe<Date>>>;
|
|
3752
3775
|
constructor();
|
|
3753
3776
|
selectedChange(date: Maybe<Date>): void;
|
|
3754
3777
|
setDateRange(range: Maybe<Partial<DateRange>>, type: SelectedDateEventType): void;
|
|
@@ -3766,8 +3789,8 @@ declare class DbxForgeFixedDateRangeFieldComponent {
|
|
|
3766
3789
|
declare class DbxForgeFixedDateRangeFieldSelectionStrategy<D> implements MatDateRangeSelectionStrategy<D> {
|
|
3767
3790
|
private readonly _dateAdapter;
|
|
3768
3791
|
readonly component: DbxForgeFixedDateRangeFieldComponent;
|
|
3769
|
-
selectionFinished(date: D
|
|
3770
|
-
createPreview(activeDate: D
|
|
3792
|
+
selectionFinished(date: Maybe<D>, currentRange: DateRange$1<D>, _event: Event): DateRange$1<D>;
|
|
3793
|
+
createPreview(activeDate: Maybe<D>, _currentRange: DateRange$1<D>, _event: Event): DateRange$1<D>;
|
|
3771
3794
|
private _createDateRangeWithDate;
|
|
3772
3795
|
private _createDateRange;
|
|
3773
3796
|
dateFromAdapterDate(input: D): Date;
|
|
@@ -3780,9 +3803,9 @@ declare class DbxForgeFixedDateRangeFieldSelectionStrategy<D> implements MatDate
|
|
|
3780
3803
|
*
|
|
3781
3804
|
* Uses the standard valueFieldMapper pattern from ng-forge/integration.
|
|
3782
3805
|
*
|
|
3783
|
-
* @param fieldDef - Field definition configuration
|
|
3784
|
-
* @param fieldDef.key - Form model key for the field
|
|
3785
|
-
* @returns Signal containing a Record of input names to values for ngComponentOutlet
|
|
3806
|
+
* @param fieldDef - Field definition configuration.
|
|
3807
|
+
* @param fieldDef.key - Form model key for the field.
|
|
3808
|
+
* @returns Signal containing a Record of input names to values for ngComponentOutlet.
|
|
3786
3809
|
*/
|
|
3787
3810
|
declare function fixedDateRangeFieldMapper(fieldDef: {
|
|
3788
3811
|
key: string;
|
|
@@ -3830,7 +3853,7 @@ interface DbxForgeFixedDateRangeFieldConfig extends DbxForgeFieldFunctionDef<Dbx
|
|
|
3830
3853
|
* dbxForgeFixedDateRangeField({ key: 'range', label: 'Date Range' })
|
|
3831
3854
|
* ```
|
|
3832
3855
|
*/
|
|
3833
|
-
declare const dbxForgeFixedDateRangeField: DbxForgeFieldFunction<DbxForgeFixedDateRangeFieldConfig, DbxForgeFixedDateRangeFieldDef>;
|
|
3856
|
+
declare const dbxForgeFixedDateRangeField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeFixedDateRangeFieldConfig, DbxForgeFixedDateRangeFieldDef>;
|
|
3834
3857
|
|
|
3835
3858
|
/**
|
|
3836
3859
|
* The custom forge field type name for the date range field.
|
|
@@ -3916,17 +3939,17 @@ declare class DbxForgeDateRangeFieldComponent {
|
|
|
3916
3939
|
readonly startLabelSignal: Signal<string>;
|
|
3917
3940
|
readonly endLabelSignal: Signal<string>;
|
|
3918
3941
|
readonly showTimeSignal: Signal<boolean>;
|
|
3919
|
-
readonly
|
|
3942
|
+
readonly effectiveAppearanceSignal: Signal<_angular_material_form_field.MatFormFieldAppearance>;
|
|
3920
3943
|
readonly minDateSignal: Signal<Maybe<Date>>;
|
|
3921
3944
|
readonly maxDateSignal: Signal<Maybe<Date>>;
|
|
3922
3945
|
readonly resolvedErrors: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
3923
3946
|
readonly showErrors: Signal<boolean>;
|
|
3924
|
-
readonly
|
|
3925
|
-
protected readonly
|
|
3926
|
-
protected readonly
|
|
3927
|
-
protected readonly
|
|
3928
|
-
protected readonly
|
|
3929
|
-
protected readonly
|
|
3947
|
+
readonly errorsToDisplaySignal: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
3948
|
+
protected readonly hintIdSignal: Signal<string>;
|
|
3949
|
+
protected readonly errorIdSignal: Signal<string>;
|
|
3950
|
+
protected readonly ariaInvalidSignal: Signal<"true" | null>;
|
|
3951
|
+
protected readonly ariaRequiredSignal: Signal<"true" | null>;
|
|
3952
|
+
protected readonly ariaDescribedBySignal: Signal<string | null>;
|
|
3930
3953
|
/**
|
|
3931
3954
|
* Flag to prevent feedback loops during sync.
|
|
3932
3955
|
*/
|
|
@@ -3935,9 +3958,9 @@ declare class DbxForgeDateRangeFieldComponent {
|
|
|
3935
3958
|
/**
|
|
3936
3959
|
* Sets the date and time FormControls from a source Date value without emitting events.
|
|
3937
3960
|
*
|
|
3938
|
-
* @param dateCtrl - The date FormControl to update
|
|
3939
|
-
* @param timeCtrl - The time string FormControl to update
|
|
3940
|
-
* @param value - The source Date value to extract date and time from
|
|
3961
|
+
* @param dateCtrl - The date FormControl to update.
|
|
3962
|
+
* @param timeCtrl - The time string FormControl to update.
|
|
3963
|
+
* @param value - The source Date value to extract date and time from.
|
|
3941
3964
|
*/
|
|
3942
3965
|
private _setDateCtrlFromValue;
|
|
3943
3966
|
/**
|
|
@@ -3948,9 +3971,9 @@ declare class DbxForgeDateRangeFieldComponent {
|
|
|
3948
3971
|
/**
|
|
3949
3972
|
* Combines a date and optional time string into a single Date.
|
|
3950
3973
|
*
|
|
3951
|
-
* @param dateValue - The base date value
|
|
3952
|
-
* @param timeValue - Optional time string in "HH:mm" format to apply to the date
|
|
3953
|
-
* @returns A new Date with the combined date and time, or undefined if no date is provided
|
|
3974
|
+
* @param dateValue - The base date value.
|
|
3975
|
+
* @param timeValue - Optional time string in "HH:mm" format to apply to the date.
|
|
3976
|
+
* @returns A new Date with the combined date and time, or undefined if no date is provided.
|
|
3954
3977
|
*/
|
|
3955
3978
|
private _combineDateAndTime;
|
|
3956
3979
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeDateRangeFieldComponent, never>;
|
|
@@ -3962,9 +3985,9 @@ declare class DbxForgeDateRangeFieldComponent {
|
|
|
3962
3985
|
* Uses the standard valueFieldMapper pattern from ng-forge/integration to resolve
|
|
3963
3986
|
* the field tree and build the standard inputs for the component.
|
|
3964
3987
|
*
|
|
3965
|
-
* @param fieldDef - The date range field definition
|
|
3966
|
-
* @param fieldDef.key - Form model key for the field
|
|
3967
|
-
* @returns Signal containing Record of input names to values for ngComponentOutlet
|
|
3988
|
+
* @param fieldDef - The date range field definition.
|
|
3989
|
+
* @param fieldDef.key - Form model key for the field.
|
|
3990
|
+
* @returns Signal containing Record of input names to values for ngComponentOutlet.
|
|
3968
3991
|
*/
|
|
3969
3992
|
declare function dateRangeFieldMapper(fieldDef: {
|
|
3970
3993
|
key: string;
|
|
@@ -3990,44 +4013,6 @@ interface ValueSelectionOptionClear {
|
|
|
3990
4013
|
*/
|
|
3991
4014
|
type ValueSelectionOption<T> = ValueSelectionOptionWithValue<T> | ValueSelectionOptionClear;
|
|
3992
4015
|
|
|
3993
|
-
/**
|
|
3994
|
-
* Configuration for a labeled form field with label, placeholder, and autocomplete support.
|
|
3995
|
-
*
|
|
3996
|
-
* @deprecated
|
|
3997
|
-
*/
|
|
3998
|
-
interface LabeledBaseFieldConfig extends BaseFieldConfig {
|
|
3999
|
-
label?: string;
|
|
4000
|
-
placeholder?: string;
|
|
4001
|
-
/**
|
|
4002
|
-
* Sets the autocomplete values. Pass `false` to disable autocomplete.
|
|
4003
|
-
*/
|
|
4004
|
-
autocomplete?: string | DisableAutocompleteForField;
|
|
4005
|
-
}
|
|
4006
|
-
/**
|
|
4007
|
-
* Configuration mixin that provides a default value for a form field.
|
|
4008
|
-
*
|
|
4009
|
-
* @deprecated
|
|
4010
|
-
*/
|
|
4011
|
-
interface DefaultValueFieldConfig<T = unknown> {
|
|
4012
|
-
defaultValue?: T;
|
|
4013
|
-
}
|
|
4014
|
-
/**
|
|
4015
|
-
* Configuration mixin for a field hint/help text.
|
|
4016
|
-
*
|
|
4017
|
-
* @deprecated
|
|
4018
|
-
*/
|
|
4019
|
-
interface HintFieldConfig extends Partial<DescriptionFieldConfig> {
|
|
4020
|
-
/**
|
|
4021
|
-
* Description text. Alias for hint.
|
|
4022
|
-
*
|
|
4023
|
-
* @deprecated use hint instead.
|
|
4024
|
-
*/
|
|
4025
|
-
description?: string;
|
|
4026
|
-
/**
|
|
4027
|
-
* Hint text.
|
|
4028
|
-
*/
|
|
4029
|
-
hint?: string;
|
|
4030
|
-
}
|
|
4031
4016
|
/**
|
|
4032
4017
|
* Union of all partial shared field config types.
|
|
4033
4018
|
*
|
|
@@ -4040,59 +4025,14 @@ type BasePartialPotentialFieldConfig = Partial<BaseFieldConfig> & Partial<Labele
|
|
|
4040
4025
|
*
|
|
4041
4026
|
* This is the engine-agnostic base. Formly and forge extend this with their own
|
|
4042
4027
|
* engine-specific properties.
|
|
4028
|
+
*
|
|
4029
|
+
* @dbxMutable shape merged with the mutable third-party `FormlyFieldProps` (via interface extension); `readonly` modifiers here would diverge from that base and trip TS2320.
|
|
4043
4030
|
*/
|
|
4044
4031
|
interface BaseFieldConfig {
|
|
4045
|
-
key: string;
|
|
4032
|
+
readonly key: string;
|
|
4046
4033
|
required?: boolean;
|
|
4047
4034
|
readonly?: boolean;
|
|
4048
4035
|
}
|
|
4049
|
-
/**
|
|
4050
|
-
* Reference to an array of value parsers applied to a field's value.
|
|
4051
|
-
*
|
|
4052
|
-
* @deprecated
|
|
4053
|
-
*/
|
|
4054
|
-
interface FieldConfigParsersRef {
|
|
4055
|
-
parsers: FieldValueParser[];
|
|
4056
|
-
}
|
|
4057
|
-
/**
|
|
4058
|
-
* Optional reference to value parsers for a field.
|
|
4059
|
-
*
|
|
4060
|
-
* @deprecated
|
|
4061
|
-
*/
|
|
4062
|
-
interface FieldConfigWithParsers {
|
|
4063
|
-
parsers?: FieldValueParser[];
|
|
4064
|
-
}
|
|
4065
|
-
/**
|
|
4066
|
-
* @deprecated Use FieldValueParser instead.
|
|
4067
|
-
*/
|
|
4068
|
-
type FormlyValueParser<I = any, O = any> = FieldValueParser<I, O>;
|
|
4069
|
-
/**
|
|
4070
|
-
* A value parser function that transforms a form field's value from one type to another.
|
|
4071
|
-
*
|
|
4072
|
-
* @deprecated Use MapFunction instead.
|
|
4073
|
-
*/
|
|
4074
|
-
type FieldValueParser<I = any, O = any> = MapFunction<I, O>;
|
|
4075
|
-
/**
|
|
4076
|
-
* Configuration mixin for arbitrary HTML attributes on a form field element.
|
|
4077
|
-
*
|
|
4078
|
-
* @deprecated
|
|
4079
|
-
*/
|
|
4080
|
-
interface AttributesFieldConfig {
|
|
4081
|
-
attributes?: {
|
|
4082
|
-
[key: string]: string | number;
|
|
4083
|
-
};
|
|
4084
|
-
}
|
|
4085
|
-
/**
|
|
4086
|
-
* Configuration mixin for a field hint/description/help text.
|
|
4087
|
-
*
|
|
4088
|
-
* @deprecated
|
|
4089
|
-
*/
|
|
4090
|
-
interface DescriptionFieldConfig {
|
|
4091
|
-
/**
|
|
4092
|
-
* Description text.
|
|
4093
|
-
*/
|
|
4094
|
-
description?: string;
|
|
4095
|
-
}
|
|
4096
4036
|
/**
|
|
4097
4037
|
* Configuration for a Formly field, extending the shared {@link BaseFieldConfig} with
|
|
4098
4038
|
* Formly-specific expressions and value parsers.
|
|
@@ -4103,6 +4043,8 @@ interface FieldConfig extends BaseFieldConfig, Pick<FormlyFieldConfig, 'expressi
|
|
|
4103
4043
|
* Labeled Formly field configuration with label, placeholder, and autocomplete support.
|
|
4104
4044
|
*
|
|
4105
4045
|
* Extends the Formly-specific {@link FieldConfig} to include expressions and parsers.
|
|
4046
|
+
*
|
|
4047
|
+
* @dbxMutable label/placeholder mirror the mutable third-party `FormlyFieldProps`; readonly here would trip TS2320 on interfaces that mix this with `FormlyFieldProps`-extending props.
|
|
4106
4048
|
*/
|
|
4107
4049
|
interface LabeledFieldConfig extends FieldConfig {
|
|
4108
4050
|
label?: string;
|
|
@@ -4122,10 +4064,9 @@ type PartialPotentialFieldConfig = Partial<FieldConfig> & Partial<LabeledFieldCo
|
|
|
4122
4064
|
/**
|
|
4123
4065
|
* Validates the configuration on the input field.
|
|
4124
4066
|
*
|
|
4125
|
-
* @param fieldConfig - The Formly field configuration to validate
|
|
4126
|
-
* @returns The validated field configuration
|
|
4127
|
-
*
|
|
4128
|
-
* @param fieldConfig - The Formly field configuration to validate
|
|
4067
|
+
* @param fieldConfig - The Formly field configuration to validate.
|
|
4068
|
+
* @returns The validated field configuration.
|
|
4069
|
+
* @throws {Error} When `fieldConfig.key` is missing.
|
|
4129
4070
|
*/
|
|
4130
4071
|
declare function formlyField<T extends FormlyFieldConfig = FormlyFieldConfig>(fieldConfig: T): T;
|
|
4131
4072
|
/**
|
|
@@ -4150,11 +4091,11 @@ declare function propsAndConfigForFieldConfig<O extends object = object>(fieldCo
|
|
|
4150
4091
|
/**
|
|
4151
4092
|
* Keys from {@link PartialPotentialFieldConfig} that are merged into Formly props.
|
|
4152
4093
|
*/
|
|
4153
|
-
declare const
|
|
4094
|
+
declare const PARTIAL_POTENTIAL_FIELD_CONFIG_KEYS: (keyof PartialPotentialFieldConfig)[];
|
|
4154
4095
|
/**
|
|
4155
4096
|
* Filter configuration for extracting field config keys from objects.
|
|
4156
4097
|
*/
|
|
4157
|
-
declare const
|
|
4098
|
+
declare const PARTIAL_POTENTIAL_FIELD_CONFIG_KEYS_FILTER: FilterKeyValueTuplesInput<PartialPotentialFieldConfig>;
|
|
4158
4099
|
/**
|
|
4159
4100
|
* Merge function that combines multiple partial field configs, picking only the recognized keys.
|
|
4160
4101
|
*/
|
|
@@ -4169,8 +4110,8 @@ declare const filterPartialPotentialFieldConfigValuesFromObject: GeneralFilterFr
|
|
|
4169
4110
|
* Merges label, placeholder, required, readonly, description, attributes, and autocomplete
|
|
4170
4111
|
* settings. When autocomplete is `false`, disables browser autofill via special attributes.
|
|
4171
4112
|
*
|
|
4172
|
-
* @param fieldConfig - Base field configuration
|
|
4173
|
-
* @param override - Optional property overrides
|
|
4113
|
+
* @param fieldConfig - Base field configuration.
|
|
4114
|
+
* @param override - Optional property overrides.
|
|
4174
4115
|
* @returns Merged props object suitable for use in a {@link FormlyFieldConfig}
|
|
4175
4116
|
*/
|
|
4176
4117
|
declare function propsValueForFieldConfig<T extends FormlyFieldProps, O extends object = object>(fieldConfig: PartialPotentialFieldConfig, override?: PartialPotentialFieldConfig & O): Partial<T> & O;
|
|
@@ -4209,8 +4150,8 @@ type ValidatorsForFieldConfig = {
|
|
|
4209
4150
|
* Converts Angular validators, async validators, and validation messages into the
|
|
4210
4151
|
* Formly-compatible validator configuration format.
|
|
4211
4152
|
*
|
|
4212
|
-
* @param input - Validators, async validators, and messages to convert
|
|
4213
|
-
* @returns A Formly-compatible validator config, or undefined if no validators provided
|
|
4153
|
+
* @param input - Validators, async validators, and messages to convert.
|
|
4154
|
+
* @returns A Formly-compatible validator config, or undefined if no validators provided.
|
|
4214
4155
|
*
|
|
4215
4156
|
* @example
|
|
4216
4157
|
* ```typescript
|
|
@@ -4227,6 +4168,95 @@ declare function validatorsForFieldConfig(input: ValidatorsForFieldConfigInput):
|
|
|
4227
4168
|
interface MaterialFormFieldConfig {
|
|
4228
4169
|
readonly materialFormField?: Partial<Pick<FormlyFieldProps$1, 'prefix' | 'suffix' | 'hideLabel' | 'hideRequiredMarker' | 'hideFieldUnderline' | 'floatLabel' | 'appearance' | 'color' | 'hintStart' | 'hintEnd'>>;
|
|
4229
4170
|
}
|
|
4171
|
+
/**
|
|
4172
|
+
* Configuration for a labeled form field with label, placeholder, and autocomplete support.
|
|
4173
|
+
*
|
|
4174
|
+
* @deprecated
|
|
4175
|
+
* @dbxMutable kept mutable to match `FormlyFieldProps` for backwards-compatible mixing.
|
|
4176
|
+
*/
|
|
4177
|
+
interface LabeledBaseFieldConfig extends BaseFieldConfig {
|
|
4178
|
+
label?: string;
|
|
4179
|
+
placeholder?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
* Sets the autocomplete values. Pass `false` to disable autocomplete.
|
|
4182
|
+
*/
|
|
4183
|
+
autocomplete?: string | DisableAutocompleteForField;
|
|
4184
|
+
}
|
|
4185
|
+
/**
|
|
4186
|
+
* Configuration mixin that provides a default value for a form field.
|
|
4187
|
+
*
|
|
4188
|
+
* @deprecated
|
|
4189
|
+
*/
|
|
4190
|
+
interface DefaultValueFieldConfig<T = unknown> {
|
|
4191
|
+
readonly defaultValue?: T;
|
|
4192
|
+
}
|
|
4193
|
+
/**
|
|
4194
|
+
* Configuration mixin for a field hint/help text.
|
|
4195
|
+
*
|
|
4196
|
+
* @deprecated
|
|
4197
|
+
* @dbxMutable `description` mirrors mutable `FormlyFieldProps.description`.
|
|
4198
|
+
*/
|
|
4199
|
+
interface HintFieldConfig extends Partial<DescriptionFieldConfig> {
|
|
4200
|
+
/**
|
|
4201
|
+
* Description text. Alias for hint.
|
|
4202
|
+
*
|
|
4203
|
+
* @deprecated use hint instead.
|
|
4204
|
+
*/
|
|
4205
|
+
description?: string;
|
|
4206
|
+
/**
|
|
4207
|
+
* Hint text.
|
|
4208
|
+
*/
|
|
4209
|
+
hint?: string;
|
|
4210
|
+
}
|
|
4211
|
+
/**
|
|
4212
|
+
* Reference to an array of value parsers applied to a field's value.
|
|
4213
|
+
*
|
|
4214
|
+
* @deprecated
|
|
4215
|
+
*/
|
|
4216
|
+
interface FieldConfigParsersRef {
|
|
4217
|
+
parsers: FieldValueParser[];
|
|
4218
|
+
}
|
|
4219
|
+
/**
|
|
4220
|
+
* Optional reference to value parsers for a field.
|
|
4221
|
+
*
|
|
4222
|
+
* @deprecated
|
|
4223
|
+
*/
|
|
4224
|
+
interface FieldConfigWithParsers {
|
|
4225
|
+
parsers?: FieldValueParser[];
|
|
4226
|
+
}
|
|
4227
|
+
/**
|
|
4228
|
+
* @deprecated Use FieldValueParser instead.
|
|
4229
|
+
*/
|
|
4230
|
+
type FormlyValueParser<I = any, O = any> = FieldValueParser<I, O>;
|
|
4231
|
+
/**
|
|
4232
|
+
* A value parser function that transforms a form field's value from one type to another.
|
|
4233
|
+
*
|
|
4234
|
+
* @deprecated Use MapFunction instead.
|
|
4235
|
+
*/
|
|
4236
|
+
type FieldValueParser<I = any, O = any> = MapFunction<I, O>;
|
|
4237
|
+
/**
|
|
4238
|
+
* Configuration mixin for arbitrary HTML attributes on a form field element.
|
|
4239
|
+
*
|
|
4240
|
+
* @deprecated
|
|
4241
|
+
* @dbxMutable mirrors mutable `FormlyFieldProps.attributes`.
|
|
4242
|
+
*/
|
|
4243
|
+
interface AttributesFieldConfig {
|
|
4244
|
+
attributes?: {
|
|
4245
|
+
[key: string]: string | number;
|
|
4246
|
+
};
|
|
4247
|
+
}
|
|
4248
|
+
/**
|
|
4249
|
+
* Configuration mixin for a field hint/description/help text.
|
|
4250
|
+
*
|
|
4251
|
+
* @deprecated
|
|
4252
|
+
* @dbxMutable mirrors mutable `FormlyFieldProps.description`.
|
|
4253
|
+
*/
|
|
4254
|
+
interface DescriptionFieldConfig {
|
|
4255
|
+
/**
|
|
4256
|
+
* Description text.
|
|
4257
|
+
*/
|
|
4258
|
+
description?: string;
|
|
4259
|
+
}
|
|
4230
4260
|
|
|
4231
4261
|
/**
|
|
4232
4262
|
* Determines the shape of the output value from a time duration field.
|
|
@@ -4289,7 +4319,7 @@ interface TimeDurationFieldConfig extends LabeledFieldConfig, DescriptionFieldCo
|
|
|
4289
4319
|
* The field uses a text input that parses duration strings (e.g., "3d10h5m8s",
|
|
4290
4320
|
* "2 hours 30 minutes") and a popover picker button with +/- columns for each unit.
|
|
4291
4321
|
*
|
|
4292
|
-
* @param config - Time duration field configuration
|
|
4322
|
+
* @param config - Time duration field configuration.
|
|
4293
4323
|
* @returns A validated {@link FormlyFieldConfig} with type `'timeduration'`
|
|
4294
4324
|
*
|
|
4295
4325
|
* @example
|
|
@@ -4409,7 +4439,7 @@ declare class DbxForgeTimeDurationFieldComponent {
|
|
|
4409
4439
|
* Tracks the last parsed duration data for the picker popover.
|
|
4410
4440
|
*/
|
|
4411
4441
|
private _currentDurationData;
|
|
4412
|
-
readonly
|
|
4442
|
+
readonly effectiveAppearanceSignal: Signal<_angular_material_form_field.MatFormFieldAppearance>;
|
|
4413
4443
|
readonly outputUnitSignal: Signal<TimeUnit>;
|
|
4414
4444
|
readonly valueModeSignal: Signal<TimeDurationFieldValueMode>;
|
|
4415
4445
|
readonly allowedUnitsSignal: Signal<TimeUnit[]>;
|
|
@@ -4421,12 +4451,12 @@ declare class DbxForgeTimeDurationFieldComponent {
|
|
|
4421
4451
|
readonly isDisabled: Signal<boolean>;
|
|
4422
4452
|
readonly resolvedErrors: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
4423
4453
|
readonly showErrors: Signal<boolean>;
|
|
4424
|
-
readonly
|
|
4425
|
-
protected readonly
|
|
4426
|
-
protected readonly
|
|
4427
|
-
protected readonly
|
|
4428
|
-
protected readonly
|
|
4429
|
-
protected readonly
|
|
4454
|
+
readonly errorsToDisplaySignal: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
4455
|
+
protected readonly hintIdSignal: Signal<string>;
|
|
4456
|
+
protected readonly errorIdSignal: Signal<string>;
|
|
4457
|
+
protected readonly ariaInvalidSignal: Signal<"true" | null>;
|
|
4458
|
+
protected readonly ariaRequiredSignal: Signal<"true" | null>;
|
|
4459
|
+
protected readonly ariaDescribedBySignal: Signal<string | null>;
|
|
4430
4460
|
/**
|
|
4431
4461
|
* Flag to prevent feedback loops during sync.
|
|
4432
4462
|
*/
|
|
@@ -4439,7 +4469,7 @@ declare class DbxForgeTimeDurationFieldComponent {
|
|
|
4439
4469
|
/**
|
|
4440
4470
|
* Called when Enter is pressed in the text input.
|
|
4441
4471
|
*
|
|
4442
|
-
* @param event - The keyboard event triggered by pressing Enter
|
|
4472
|
+
* @param event - The keyboard event triggered by pressing Enter.
|
|
4443
4473
|
*/
|
|
4444
4474
|
onTextEnter(event: Event): void;
|
|
4445
4475
|
/**
|
|
@@ -4453,13 +4483,13 @@ declare class DbxForgeTimeDurationFieldComponent {
|
|
|
4453
4483
|
/**
|
|
4454
4484
|
* Converts duration data to the output value and sets it on the field.
|
|
4455
4485
|
*
|
|
4456
|
-
* @param data - The parsed duration data containing time unit values
|
|
4486
|
+
* @param data - The parsed duration data containing time unit values.
|
|
4457
4487
|
*/
|
|
4458
4488
|
private _syncOutputFromDurationData;
|
|
4459
4489
|
/**
|
|
4460
4490
|
* Writes a value to the Signal Forms field tree.
|
|
4461
4491
|
*
|
|
4462
|
-
* @param value - The value to set on the field, or undefined to clear it
|
|
4492
|
+
* @param value - The value to set on the field, or undefined to clear it.
|
|
4463
4493
|
*/
|
|
4464
4494
|
private _setFieldValue;
|
|
4465
4495
|
/**
|
|
@@ -4467,8 +4497,8 @@ declare class DbxForgeTimeDurationFieldComponent {
|
|
|
4467
4497
|
*
|
|
4468
4498
|
* @param value - The output value to convert (number, HoursAndMinutes, or TimeDurationData depending on valueMode)
|
|
4469
4499
|
* @param outputUnit - The time unit of the numeric output value (used when valueMode is 'number')
|
|
4470
|
-
* @param valueMode - The current value mode determining how to interpret the value
|
|
4471
|
-
* @returns The equivalent duration in milliseconds
|
|
4500
|
+
* @param valueMode - The current value mode determining how to interpret the value.
|
|
4501
|
+
* @returns The equivalent duration in milliseconds.
|
|
4472
4502
|
*/
|
|
4473
4503
|
private _outputValueToMilliseconds;
|
|
4474
4504
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeTimeDurationFieldComponent, never>;
|
|
@@ -4480,9 +4510,9 @@ declare class DbxForgeTimeDurationFieldComponent {
|
|
|
4480
4510
|
* Uses the standard valueFieldMapper pattern from ng-forge/integration to resolve
|
|
4481
4511
|
* the field tree and build the standard inputs for the component.
|
|
4482
4512
|
*
|
|
4483
|
-
* @param fieldDef - The time duration field definition
|
|
4484
|
-
* @param fieldDef.key - Form model key for the field
|
|
4485
|
-
* @returns Signal containing Record of input names to values for ngComponentOutlet
|
|
4513
|
+
* @param fieldDef - The time duration field definition.
|
|
4514
|
+
* @param fieldDef.key - Form model key for the field.
|
|
4515
|
+
* @returns Signal containing Record of input names to values for ngComponentOutlet.
|
|
4486
4516
|
*/
|
|
4487
4517
|
declare function timeDurationFieldMapper(fieldDef: {
|
|
4488
4518
|
key: string;
|
|
@@ -4552,7 +4582,7 @@ interface DbxForgeTimeDurationFieldConfig extends DbxForgeFieldFunctionDef<DbxFo
|
|
|
4552
4582
|
* dbxForgeTimeDurationField({ key: 'duration', label: 'Duration', outputUnit: 'm' })
|
|
4553
4583
|
* ```
|
|
4554
4584
|
*/
|
|
4555
|
-
declare const dbxForgeTimeDurationField: DbxForgeFieldFunction<DbxForgeTimeDurationFieldConfig, DbxForgeTimeDurationFieldDef>;
|
|
4585
|
+
declare const dbxForgeTimeDurationField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeTimeDurationFieldConfig, DbxForgeTimeDurationFieldDef>;
|
|
4556
4586
|
|
|
4557
4587
|
/**
|
|
4558
4588
|
* Custom props for the forge phone field.
|
|
@@ -4617,21 +4647,21 @@ declare class DbxForgePhoneFieldComponent {
|
|
|
4617
4647
|
*/
|
|
4618
4648
|
readonly phoneCtrl: FormControl<string | null>;
|
|
4619
4649
|
readonly extensionCtrl: FormControl<string | null>;
|
|
4620
|
-
readonly
|
|
4621
|
-
readonly
|
|
4622
|
-
readonly
|
|
4623
|
-
readonly
|
|
4624
|
-
readonly
|
|
4625
|
-
readonly
|
|
4650
|
+
readonly preferredCountriesSignal: Signal<string[]>;
|
|
4651
|
+
readonly onlyCountriesSignal: Signal<string[]>;
|
|
4652
|
+
readonly enableSearchSignal: Signal<boolean>;
|
|
4653
|
+
readonly allowExtensionSignal: Signal<boolean>;
|
|
4654
|
+
readonly effectiveAppearanceSignal: Signal<_angular_material_form_field.MatFormFieldAppearance>;
|
|
4655
|
+
readonly effectiveAutocompleteSignal: Signal<"tel" | "off">;
|
|
4626
4656
|
readonly isDisabled: Signal<boolean>;
|
|
4627
4657
|
readonly resolvedErrors: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
4628
4658
|
readonly showErrors: Signal<boolean>;
|
|
4629
|
-
readonly
|
|
4630
|
-
protected readonly
|
|
4631
|
-
protected readonly
|
|
4632
|
-
protected readonly
|
|
4633
|
-
protected readonly
|
|
4634
|
-
protected readonly
|
|
4659
|
+
readonly errorsToDisplaySignal: Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
4660
|
+
protected readonly hintIdSignal: Signal<string>;
|
|
4661
|
+
protected readonly errorIdSignal: Signal<string>;
|
|
4662
|
+
protected readonly ariaInvalidSignal: Signal<"true" | null>;
|
|
4663
|
+
protected readonly ariaRequiredSignal: Signal<"true" | null>;
|
|
4664
|
+
protected readonly ariaDescribedBySignal: Signal<string | null>;
|
|
4635
4665
|
/**
|
|
4636
4666
|
* Flag to prevent feedback loops during sync.
|
|
4637
4667
|
*/
|
|
@@ -4647,9 +4677,9 @@ declare class DbxForgePhoneFieldComponent {
|
|
|
4647
4677
|
* Uses the standard valueFieldMapper pattern from ng-forge/integration to resolve
|
|
4648
4678
|
* the field tree and build the standard inputs for the component.
|
|
4649
4679
|
*
|
|
4650
|
-
* @param fieldDef - The phone field definition with a key property
|
|
4651
|
-
* @param fieldDef.key - The field key used to resolve the FieldTree from the form context
|
|
4652
|
-
* @returns Signal containing Record of input names to values for ngComponentOutlet
|
|
4680
|
+
* @param fieldDef - The phone field definition with a key property.
|
|
4681
|
+
* @param fieldDef.key - The field key used to resolve the FieldTree from the form context.
|
|
4682
|
+
* @returns Signal containing Record of input names to values for ngComponentOutlet.
|
|
4653
4683
|
*/
|
|
4654
4684
|
declare function phoneFieldMapper(fieldDef: {
|
|
4655
4685
|
key: string;
|
|
@@ -4722,7 +4752,7 @@ interface DbxForgePhoneFieldConfig extends DbxForgeFieldFunctionDef<DbxForgePhon
|
|
|
4722
4752
|
* dbxForgePhoneField({ key: 'phone', label: 'Phone', preferredCountries: ['US', 'CA'] })
|
|
4723
4753
|
* ```
|
|
4724
4754
|
*/
|
|
4725
|
-
declare const dbxForgePhoneField: DbxForgeFieldFunction<DbxForgePhoneFieldConfig, DbxForgePhoneFieldDef>;
|
|
4755
|
+
declare const dbxForgePhoneField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgePhoneFieldConfig, DbxForgePhoneFieldDef>;
|
|
4726
4756
|
|
|
4727
4757
|
declare const DBX_FORGE_ARRAY_FIELD_WRAPPER_NAME: "dbx-forge-array-field-wrapper";
|
|
4728
4758
|
interface DbxForgeArrayFieldWrapperProps extends DbxForgeFieldHintValueRef<DynamicText> {
|
|
@@ -4910,7 +4940,7 @@ declare const dbxForgeArrayField: DbxForgeArrayFieldFunction;
|
|
|
4910
4940
|
*/
|
|
4911
4941
|
interface DbxForgeResolvedSelectionOption<T> {
|
|
4912
4942
|
readonly label: string;
|
|
4913
|
-
readonly value: T
|
|
4943
|
+
readonly value: Maybe<T>;
|
|
4914
4944
|
readonly disabled?: boolean;
|
|
4915
4945
|
}
|
|
4916
4946
|
/**
|
|
@@ -4951,9 +4981,9 @@ interface DbxForgeValueSelectionFieldDef<T = unknown> extends BaseValueField<Dbx
|
|
|
4951
4981
|
* Maps `ValueSelectionOptionClear` (`{ clear: true }`) to `{ label, value: null }`.
|
|
4952
4982
|
* Optionally prepends a clear option if `addClearOption` is configured and no clear option exists.
|
|
4953
4983
|
*
|
|
4954
|
-
* @param options - Source selection options
|
|
4955
|
-
* @param addClearOption - Whether to prepend a clear option
|
|
4956
|
-
* @returns Resolved options ready for rendering
|
|
4984
|
+
* @param options - Source selection options.
|
|
4985
|
+
* @param addClearOption - Whether to prepend a clear option.
|
|
4986
|
+
* @returns Resolved options ready for rendering.
|
|
4957
4987
|
*/
|
|
4958
4988
|
declare function resolveForgeSelectionOptions<T>(options: ValueSelectionOption<T>[], addClearOption: boolean | string): DbxForgeResolvedSelectionOption<T>[];
|
|
4959
4989
|
|
|
@@ -4970,10 +5000,6 @@ interface DbxForgeValueSelectionFieldConfig<T = unknown> extends Omit<DbxForgeFi
|
|
|
4970
5000
|
* Generic function type for dbxForgeValueSelectionField to preserve caller generics.
|
|
4971
5001
|
*/
|
|
4972
5002
|
type DbxForgeValueSelectionFieldFunction = <T = unknown>(config: DbxForgeValueSelectionFieldConfig<T>) => DbxForgeField<DbxForgeValueSelectionFieldDef<T>>;
|
|
4973
|
-
/**
|
|
4974
|
-
* @deprecated Use {@link DbxForgeValueSelectionFieldFunction} instead.
|
|
4975
|
-
*/
|
|
4976
|
-
type ForgeValueSelectionFieldFunction = DbxForgeValueSelectionFieldFunction;
|
|
4977
5003
|
/**
|
|
4978
5004
|
* Single-select dropdown over a static or async value list. Simpler than `source-select` when metadata lookup is unnecessary.
|
|
4979
5005
|
*
|
|
@@ -5001,6 +5027,10 @@ type ForgeValueSelectionFieldFunction = DbxForgeValueSelectionFieldFunction;
|
|
|
5001
5027
|
* ```
|
|
5002
5028
|
*/
|
|
5003
5029
|
declare const dbxForgeValueSelectionField: DbxForgeValueSelectionFieldFunction;
|
|
5030
|
+
/**
|
|
5031
|
+
* @deprecated Use {@link DbxForgeValueSelectionFieldFunction} instead.
|
|
5032
|
+
*/
|
|
5033
|
+
type ForgeValueSelectionFieldFunction = DbxForgeValueSelectionFieldFunction;
|
|
5004
5034
|
|
|
5005
5035
|
/**
|
|
5006
5036
|
* A selectable value paired with optional metadata.
|
|
@@ -5163,9 +5193,9 @@ declare abstract class AbstractForgeSearchableFieldDirective<T = unknown, M = un
|
|
|
5163
5193
|
readonly inputValueString$: Observable<string>;
|
|
5164
5194
|
readonly labelSignal: _angular_core.Signal<string | undefined>;
|
|
5165
5195
|
readonly hintSignal: _angular_core.Signal<string | undefined>;
|
|
5166
|
-
protected readonly
|
|
5167
|
-
protected readonly
|
|
5168
|
-
readonly
|
|
5196
|
+
protected readonly hintIdSignal: _angular_core.Signal<string>;
|
|
5197
|
+
protected readonly errorIdSignal: _angular_core.Signal<string>;
|
|
5198
|
+
readonly searchInputPlaceholderSignal: _angular_core.Signal<string>;
|
|
5169
5199
|
readonly searchResultsState$: Observable<LoadingState<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>>;
|
|
5170
5200
|
readonly searchResults$: Observable<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>;
|
|
5171
5201
|
readonly searchResultsSignal: _angular_core.Signal<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>;
|
|
@@ -5249,7 +5279,7 @@ type DbxForgeSearchableStringChipFieldConfig<M = unknown> = Omit<DbxForgeSearcha
|
|
|
5249
5279
|
* (or typing a separator key) commits the typed value as a chip.
|
|
5250
5280
|
*
|
|
5251
5281
|
* @param config - String-specific searchable chip field configuration (omits allowStringValues)
|
|
5252
|
-
* @returns A {@link DbxForgeFormFieldWrapperFieldDef} wrapping a searchable chip field
|
|
5282
|
+
* @returns A {@link DbxForgeFormFieldWrapperFieldDef} wrapping a searchable chip field.
|
|
5253
5283
|
*
|
|
5254
5284
|
* @dbxFormField
|
|
5255
5285
|
* @dbxFormSlug searchable-string-chip
|
|
@@ -5282,9 +5312,9 @@ declare class DbxForgeSearchableTextFieldComponent<T = unknown, M = unknown, H e
|
|
|
5282
5312
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
5283
5313
|
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
5284
5314
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
5285
|
-
readonly
|
|
5286
|
-
protected readonly
|
|
5287
|
-
protected readonly
|
|
5315
|
+
readonly errorsToDisplaySignal: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
5316
|
+
protected readonly ariaInvalidSignal: _angular_core.Signal<"true" | null>;
|
|
5317
|
+
protected readonly ariaDescribedBySignal: _angular_core.Signal<string | null>;
|
|
5288
5318
|
readonly showClearValueSignal: _angular_core.Signal<boolean>;
|
|
5289
5319
|
readonly searchLabelSignal: _angular_core.Signal<string>;
|
|
5290
5320
|
readonly fieldValueSignal: _angular_core.Signal<Maybe<T>>;
|
|
@@ -5318,9 +5348,9 @@ declare class DbxForgeSearchableChipFieldComponent<T = unknown, M = unknown, H e
|
|
|
5318
5348
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
5319
5349
|
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
5320
5350
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
5321
|
-
readonly
|
|
5322
|
-
protected readonly
|
|
5323
|
-
protected readonly
|
|
5351
|
+
readonly errorsToDisplaySignal: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
5352
|
+
protected readonly ariaInvalidSignal: _angular_core.Signal<"true" | null>;
|
|
5353
|
+
protected readonly ariaDescribedBySignal: _angular_core.Signal<string | null>;
|
|
5324
5354
|
private readonly _blur;
|
|
5325
5355
|
private readonly _blurSub;
|
|
5326
5356
|
private readonly _valuesSubject;
|
|
@@ -5651,19 +5681,19 @@ declare abstract class AbstractForgePickableItemFieldDirective<T = unknown, M =
|
|
|
5651
5681
|
readonly multiSelectSignal: _angular_core.Signal<boolean>;
|
|
5652
5682
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
5653
5683
|
readonly readonlySignal: _angular_core.Signal<any>;
|
|
5654
|
-
readonly
|
|
5684
|
+
readonly isDisabledOrReadonlySignal: _angular_core.Signal<any>;
|
|
5655
5685
|
readonly showSelectAllButtonSignal: _angular_core.Signal<boolean>;
|
|
5656
5686
|
readonly showTextFilterSignal: _angular_core.Signal<boolean>;
|
|
5657
5687
|
readonly filterLabelSignal: _angular_core.Signal<string | undefined>;
|
|
5658
5688
|
readonly footerConfigSignal: _angular_core.Signal<_dereekb_dbx_core.DbxInjectionComponentConfig<unknown> | undefined>;
|
|
5659
5689
|
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
5660
5690
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
5661
|
-
readonly
|
|
5662
|
-
protected readonly
|
|
5663
|
-
protected readonly
|
|
5664
|
-
protected readonly
|
|
5665
|
-
protected readonly
|
|
5666
|
-
protected readonly
|
|
5691
|
+
readonly errorsToDisplaySignal: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
5692
|
+
protected readonly hintIdSignal: _angular_core.Signal<string>;
|
|
5693
|
+
protected readonly errorIdSignal: _angular_core.Signal<string>;
|
|
5694
|
+
protected readonly ariaInvalidSignal: _angular_core.Signal<"true" | null>;
|
|
5695
|
+
protected readonly ariaRequiredSignal: _angular_core.Signal<"true" | null>;
|
|
5696
|
+
protected readonly ariaDescribedBySignal: _angular_core.Signal<string | null>;
|
|
5667
5697
|
private get _pickOnlyOne();
|
|
5668
5698
|
private _hashForValue;
|
|
5669
5699
|
readonly filterInputValueString$: Observable<Maybe<string>>;
|
|
@@ -5995,16 +6025,16 @@ declare class DbxForgeSourceSelectFieldComponent<T extends PrimativeKey = Primat
|
|
|
5995
6025
|
readonly buttonElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
5996
6026
|
readonly filterInputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
5997
6027
|
readonly hintSignal: _angular_core.Signal<Maybe<string>>;
|
|
5998
|
-
readonly
|
|
5999
|
-
readonly
|
|
6028
|
+
readonly effectiveAppearanceSignal: _angular_core.Signal<_angular_material_form_field.MatFormFieldAppearance>;
|
|
6029
|
+
readonly effectiveSubscriptSizingSignal: _angular_core.Signal<_angular_material_form_field.SubscriptSizing>;
|
|
6000
6030
|
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
6001
6031
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
6002
|
-
readonly
|
|
6003
|
-
protected readonly
|
|
6004
|
-
protected readonly
|
|
6005
|
-
protected readonly
|
|
6006
|
-
protected readonly
|
|
6007
|
-
protected readonly
|
|
6032
|
+
readonly errorsToDisplaySignal: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
6033
|
+
protected readonly hintIdSignal: _angular_core.Signal<string>;
|
|
6034
|
+
protected readonly errorIdSignal: _angular_core.Signal<string>;
|
|
6035
|
+
protected readonly ariaInvalidSignal: _angular_core.Signal<"true" | null>;
|
|
6036
|
+
protected readonly ariaRequiredSignal: _angular_core.Signal<"true" | null>;
|
|
6037
|
+
protected readonly ariaDescribedBySignal: _angular_core.Signal<string | null>;
|
|
6008
6038
|
readonly multipleSignal: _angular_core.Signal<boolean>;
|
|
6009
6039
|
readonly showOpenSourceButtonSignal: _angular_core.Signal<boolean>;
|
|
6010
6040
|
readonly selectButtonIconSignal: _angular_core.Signal<string>;
|
|
@@ -6163,14 +6193,14 @@ declare class DbxForgeListSelectionFieldComponent<T = unknown, C extends Abstrac
|
|
|
6163
6193
|
* `--dbx-forge-list-item-field-height` custom property. Returns `null` when
|
|
6164
6194
|
* the prop is absent so the existing 300px default in `_list.scss` wins.
|
|
6165
6195
|
*/
|
|
6166
|
-
readonly maxHeightCssVarSignal: _angular_core.Signal<string
|
|
6196
|
+
readonly maxHeightCssVarSignal: _angular_core.Signal<Maybe<string>>;
|
|
6167
6197
|
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
6168
6198
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
6169
|
-
readonly
|
|
6170
|
-
protected readonly
|
|
6171
|
-
protected readonly
|
|
6172
|
-
protected readonly
|
|
6173
|
-
protected readonly
|
|
6199
|
+
readonly errorsToDisplaySignal: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
6200
|
+
protected readonly hintIdSignal: _angular_core.Signal<string>;
|
|
6201
|
+
protected readonly errorIdSignal: _angular_core.Signal<string>;
|
|
6202
|
+
protected readonly ariaInvalidSignal: _angular_core.Signal<"true" | null>;
|
|
6203
|
+
protected readonly ariaDescribedBySignal: _angular_core.Signal<string | null>;
|
|
6174
6204
|
readonly listComponentClass$: Observable<Type<C>>;
|
|
6175
6205
|
readonly config$: Observable<DbxInjectionComponentConfig<C>>;
|
|
6176
6206
|
readonly values$: Observable<K[]>;
|
|
@@ -6195,10 +6225,6 @@ interface DbxForgeChecklistFieldConfig<T = unknown> extends DbxForgeFieldFunctio
|
|
|
6195
6225
|
* Generic function type for dbxForgeChecklistField to preserve caller generics.
|
|
6196
6226
|
*/
|
|
6197
6227
|
type DbxForgeChecklistFieldFunction = <T = unknown>(config: DbxForgeChecklistFieldConfig<T>) => DbxForgeField<MatMultiCheckboxField<T>>;
|
|
6198
|
-
/**
|
|
6199
|
-
* @deprecated Use {@link DbxForgeChecklistFieldFunction} instead.
|
|
6200
|
-
*/
|
|
6201
|
-
type ForgeChecklistFieldFunction = DbxForgeChecklistFieldFunction;
|
|
6202
6228
|
/**
|
|
6203
6229
|
* Multi-checkbox group. Use for small static option sets where every option is visible at once.
|
|
6204
6230
|
*
|
|
@@ -6221,6 +6247,10 @@ type ForgeChecklistFieldFunction = DbxForgeChecklistFieldFunction;
|
|
|
6221
6247
|
* ```
|
|
6222
6248
|
*/
|
|
6223
6249
|
declare const dbxForgeChecklistField: DbxForgeChecklistFieldFunction;
|
|
6250
|
+
/**
|
|
6251
|
+
* @deprecated Use {@link DbxForgeChecklistFieldFunction} instead.
|
|
6252
|
+
*/
|
|
6253
|
+
type ForgeChecklistFieldFunction = DbxForgeChecklistFieldFunction;
|
|
6224
6254
|
|
|
6225
6255
|
/**
|
|
6226
6256
|
* The custom forge field type name for the component field.
|
|
@@ -6271,7 +6301,7 @@ declare class DbxForgeComponentFieldComponent<T = unknown> {
|
|
|
6271
6301
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
6272
6302
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
6273
6303
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
6274
|
-
readonly
|
|
6304
|
+
readonly showDisabledStateSignal: _angular_core.Signal<boolean>;
|
|
6275
6305
|
constructor();
|
|
6276
6306
|
readonly configSignal: _angular_core.Signal<Maybe<DbxInjectionComponentConfig<T>>>;
|
|
6277
6307
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeComponentFieldComponent<any>, never>;
|
|
@@ -6297,10 +6327,6 @@ type DbxForgeComponentFieldConfig<T = unknown> = Omit<_DbxForgeComponentFieldCon
|
|
|
6297
6327
|
* Generic function type for dbxForgeComponentField to preserve caller generics.
|
|
6298
6328
|
*/
|
|
6299
6329
|
type DbxForgeComponentFieldFunction = <T = unknown>(config: DbxForgeComponentFieldConfig<T>) => DbxForgeField<DbxForgeComponentFieldDef<T>>;
|
|
6300
|
-
/**
|
|
6301
|
-
* @deprecated Use {@link DbxForgeComponentFieldFunction} instead.
|
|
6302
|
-
*/
|
|
6303
|
-
type ForgeComponentFieldFunction = DbxForgeComponentFieldFunction;
|
|
6304
6330
|
/**
|
|
6305
6331
|
* Escape hatch — injects any Angular component as the field renderer via DbxInjection. Use when no existing form field fits.
|
|
6306
6332
|
*
|
|
@@ -6308,7 +6334,7 @@ type ForgeComponentFieldFunction = DbxForgeComponentFieldFunction;
|
|
|
6308
6334
|
* into the form. Generates a unique key when none is provided so that ng-forge's
|
|
6309
6335
|
* field reconciliation treats each config change as a new field instance.
|
|
6310
6336
|
*
|
|
6311
|
-
* @param config - Component field configuration
|
|
6337
|
+
* @param config - Component field configuration.
|
|
6312
6338
|
* @returns A validated {@link DbxForgeComponentFieldDef}
|
|
6313
6339
|
*
|
|
6314
6340
|
* @dbxFormField
|
|
@@ -6327,6 +6353,10 @@ type ForgeComponentFieldFunction = DbxForgeComponentFieldFunction;
|
|
|
6327
6353
|
* ```
|
|
6328
6354
|
*/
|
|
6329
6355
|
declare const dbxForgeComponentField: DbxForgeComponentFieldFunction;
|
|
6356
|
+
/**
|
|
6357
|
+
* @deprecated Use {@link DbxForgeComponentFieldFunction} instead.
|
|
6358
|
+
*/
|
|
6359
|
+
type ForgeComponentFieldFunction = DbxForgeComponentFieldFunction;
|
|
6330
6360
|
|
|
6331
6361
|
/**
|
|
6332
6362
|
* Props interface for the forge text editor field.
|
|
@@ -6389,11 +6419,11 @@ declare class DbxForgeTextEditorFieldComponent implements OnInit, OnDestroy {
|
|
|
6389
6419
|
readonly descriptionSignal: _angular_core.Signal<string | undefined>;
|
|
6390
6420
|
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
6391
6421
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
6392
|
-
readonly
|
|
6393
|
-
protected readonly
|
|
6394
|
-
protected readonly
|
|
6395
|
-
protected readonly
|
|
6396
|
-
protected readonly
|
|
6422
|
+
readonly errorsToDisplaySignal: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
6423
|
+
protected readonly hintIdSignal: _angular_core.Signal<string>;
|
|
6424
|
+
protected readonly errorIdSignal: _angular_core.Signal<string>;
|
|
6425
|
+
protected readonly ariaInvalidSignal: _angular_core.Signal<"true" | null>;
|
|
6426
|
+
protected readonly ariaDescribedBySignal: _angular_core.Signal<string | null>;
|
|
6397
6427
|
constructor();
|
|
6398
6428
|
get editor(): Editor;
|
|
6399
6429
|
private readonly _disabledEffect;
|
|
@@ -6433,7 +6463,7 @@ interface DbxForgeTextEditorFieldConfig extends DbxForgeFieldFunctionDef<DbxForg
|
|
|
6433
6463
|
* dbxForgeTextEditorField({ key: 'content', label: 'Body', maxLength: 10000 })
|
|
6434
6464
|
* ```
|
|
6435
6465
|
*/
|
|
6436
|
-
declare const dbxForgeTextEditorField: DbxForgeFieldFunction<DbxForgeTextEditorFieldConfig, DbxForgeTextEditorFieldDef>;
|
|
6466
|
+
declare const dbxForgeTextEditorField: _dereekb_dbx_form.DbxForgeFieldFunction<DbxForgeTextEditorFieldConfig, DbxForgeTextEditorFieldDef>;
|
|
6437
6467
|
|
|
6438
6468
|
declare const FORGE_EXPAND_FIELD_TYPE_NAME: "dbx-forge-expand";
|
|
6439
6469
|
/**
|
|
@@ -6494,7 +6524,7 @@ interface DbxForgeRowConfig extends Omit<RowField, 'type' | 'key'> {
|
|
|
6494
6524
|
* Uses the `@ng-forge/dynamic-forms` `RowField` type with a 12-column grid system.
|
|
6495
6525
|
* Each child field can specify a `col` value (1-12) for responsive sizing.
|
|
6496
6526
|
*
|
|
6497
|
-
* @param config - Row layout configuration with fields and optional className
|
|
6527
|
+
* @param config - Row layout configuration with fields and optional className.
|
|
6498
6528
|
* @returns A {@link RowField} with type `'row'`
|
|
6499
6529
|
*
|
|
6500
6530
|
* @dbxFormField
|
|
@@ -6532,7 +6562,7 @@ interface DbxForgeGroupConfig extends Omit<GroupField, 'type'> {
|
|
|
6532
6562
|
*
|
|
6533
6563
|
* For sections with headers, use the section wrapper type instead.
|
|
6534
6564
|
*
|
|
6535
|
-
* @param config - Group configuration with fields and required key
|
|
6565
|
+
* @param config - Group configuration with fields and required key.
|
|
6536
6566
|
* @returns A {@link GroupField} with type `'group'`
|
|
6537
6567
|
*
|
|
6538
6568
|
* @dbxFormField
|
|
@@ -6557,7 +6587,6 @@ interface DbxForgeGroupConfig extends Omit<GroupField, 'type'> {
|
|
|
6557
6587
|
* // Resulting form value shape:
|
|
6558
6588
|
* // { address: { city: '...', state: '...' } }
|
|
6559
6589
|
* ```
|
|
6560
|
-
*
|
|
6561
6590
|
* @example
|
|
6562
6591
|
* ```typescript
|
|
6563
6592
|
* // Wrong: if the intent is purely visual (e.g. conditional visibility) and
|
|
@@ -6599,7 +6628,7 @@ interface DbxForgeContainerConfig extends Omit<ContainerField, 'type' | 'key' |
|
|
|
6599
6628
|
* or structural. Use {@link dbxForgeGroup} when the intent is to nest the
|
|
6600
6629
|
* child values under a named key in the form value.
|
|
6601
6630
|
*
|
|
6602
|
-
* @param config - Container configuration with fields and optional key/wrappers
|
|
6631
|
+
* @param config - Container configuration with fields and optional key/wrappers.
|
|
6603
6632
|
* @returns A {@link ContainerField} with type `'container'`
|
|
6604
6633
|
*
|
|
6605
6634
|
* @example
|
|
@@ -6618,7 +6647,6 @@ interface DbxForgeContainerConfig extends Omit<ContainerField, 'type' | 'key' |
|
|
|
6618
6647
|
* // Resulting form value shape (flat):
|
|
6619
6648
|
* // { city: '...', state: '...' }
|
|
6620
6649
|
* ```
|
|
6621
|
-
*
|
|
6622
6650
|
* @example
|
|
6623
6651
|
* ```typescript
|
|
6624
6652
|
* // Conditional visibility without altering the value shape — a common use
|
|
@@ -6686,8 +6714,8 @@ interface DbxForgeToggleWrapperConfig {
|
|
|
6686
6714
|
*
|
|
6687
6715
|
* This is the forge equivalent of the formly `formlyToggleWrapper`.
|
|
6688
6716
|
*
|
|
6689
|
-
* @param config - Toggle wrapper configuration
|
|
6690
|
-
* @returns A {@link ContainerField} containing the toggle and content container
|
|
6717
|
+
* @param config - Toggle wrapper configuration.
|
|
6718
|
+
* @returns A {@link ContainerField} containing the toggle and content container.
|
|
6691
6719
|
*
|
|
6692
6720
|
* @dbxFormField
|
|
6693
6721
|
* @dbxFormSlug toggle-wrapper
|
|
@@ -6769,8 +6797,8 @@ interface DbxForgeExpandWrapperConfig {
|
|
|
6769
6797
|
*
|
|
6770
6798
|
* This is the forge equivalent of the formly `formlyExpandWrapper`.
|
|
6771
6799
|
*
|
|
6772
|
-
* @param config - Expand wrapper configuration
|
|
6773
|
-
* @returns A {@link ContainerField} containing the expand control and content container
|
|
6800
|
+
* @param config - Expand wrapper configuration.
|
|
6801
|
+
* @returns A {@link ContainerField} containing the expand control and content container.
|
|
6774
6802
|
*
|
|
6775
6803
|
* @dbxFormField
|
|
6776
6804
|
* @dbxFormSlug expand-wrapper
|
|
@@ -6842,7 +6870,7 @@ declare class DbxForgeArrayFieldWrapperComponent implements FieldWrapper {
|
|
|
6842
6870
|
/**
|
|
6843
6871
|
* Returns the array field key from the wrapper's field inputs.
|
|
6844
6872
|
*
|
|
6845
|
-
* @returns
|
|
6873
|
+
* @returns The array field key, or an empty string if not available.
|
|
6846
6874
|
*/
|
|
6847
6875
|
private _arrayKey;
|
|
6848
6876
|
/**
|
|
@@ -6852,7 +6880,7 @@ declare class DbxForgeArrayFieldWrapperComponent implements FieldWrapper {
|
|
|
6852
6880
|
* The template is the container field definition (with element wrappers)
|
|
6853
6881
|
* built by {@link dbxForgeArrayField} and passed via wrapper props.
|
|
6854
6882
|
*
|
|
6855
|
-
* @returns
|
|
6883
|
+
* @returns The array item definition template, or undefined if not configured.
|
|
6856
6884
|
*/
|
|
6857
6885
|
private _itemTemplate;
|
|
6858
6886
|
/**
|
|
@@ -6864,7 +6892,7 @@ declare class DbxForgeArrayFieldWrapperComponent implements FieldWrapper {
|
|
|
6864
6892
|
* undefined in some render phases — so we source the value from the
|
|
6865
6893
|
* DynamicForm signal instead.
|
|
6866
6894
|
*
|
|
6867
|
-
* @returns
|
|
6895
|
+
* @returns The current array items, or an empty array if unavailable.
|
|
6868
6896
|
*/
|
|
6869
6897
|
private _readArrayValue;
|
|
6870
6898
|
/**
|
|
@@ -6875,8 +6903,8 @@ declare class DbxForgeArrayFieldWrapperComponent implements FieldWrapper {
|
|
|
6875
6903
|
* 2. Remove the original item at fromIndex (adjusted for the insertion shift)
|
|
6876
6904
|
* 3. Patch the form value so the moved item's data ends up at the correct position
|
|
6877
6905
|
*
|
|
6878
|
-
* @param fromIndex -
|
|
6879
|
-
* @param toIndex -
|
|
6906
|
+
* @param fromIndex - The source index of the item to move.
|
|
6907
|
+
* @param toIndex - The destination index for the item.
|
|
6880
6908
|
*/
|
|
6881
6909
|
move(fromIndex: number, toIndex: number): void;
|
|
6882
6910
|
/**
|
|
@@ -6888,7 +6916,7 @@ declare class DbxForgeArrayFieldWrapperComponent implements FieldWrapper {
|
|
|
6888
6916
|
/**
|
|
6889
6917
|
* Removes an item at the given index.
|
|
6890
6918
|
*
|
|
6891
|
-
* @param index -
|
|
6919
|
+
* @param index - The index of the item to remove.
|
|
6892
6920
|
*/
|
|
6893
6921
|
removeItem(index: number): void;
|
|
6894
6922
|
/**
|
|
@@ -6901,8 +6929,8 @@ declare class DbxForgeArrayFieldWrapperComponent implements FieldWrapper {
|
|
|
6901
6929
|
* so the slot is registered AND initialized with the duplicated values in a
|
|
6902
6930
|
* single event (back-to-back dispatches don't settle reliably).
|
|
6903
6931
|
*
|
|
6904
|
-
* @param fromIndex -
|
|
6905
|
-
* @param toIndex -
|
|
6932
|
+
* @param fromIndex - The index of the item to duplicate.
|
|
6933
|
+
* @param toIndex - The index at which to insert the duplicated item.
|
|
6906
6934
|
*/
|
|
6907
6935
|
duplicateItem(fromIndex: IndexNumber, toIndex: IndexNumber): void;
|
|
6908
6936
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeArrayFieldWrapperComponent, never>;
|
|
@@ -7054,7 +7082,7 @@ interface DbxForgeFormFieldWrapperDef {
|
|
|
7054
7082
|
* the builder instance's wrapper chain so the rendered field is surrounded by the shared
|
|
7055
7083
|
* label / hint / error chrome.
|
|
7056
7084
|
*
|
|
7057
|
-
* @param instance -
|
|
7085
|
+
* @param instance - The field builder instance to mutate.
|
|
7058
7086
|
*/
|
|
7059
7087
|
declare function configureDbxForgeFormFieldWrapper<C extends DbxForgeFieldFunctionDef<any>>(instance: DbxForgeFieldFunctionFieldDefBuilderFunctionInstance<C>): void;
|
|
7060
7088
|
/**
|
|
@@ -7087,17 +7115,17 @@ declare class DbxForgeFormFieldWrapperComponent implements FieldWrapper {
|
|
|
7087
7115
|
* ng-forge delivers wrapper config properties (with `type` stripped) as individual inputs.
|
|
7088
7116
|
*/
|
|
7089
7117
|
readonly props: _angular_core.InputSignal<DbxForgeFormFieldWrapperProps | undefined>;
|
|
7090
|
-
private readonly
|
|
7091
|
-
readonly
|
|
7118
|
+
private readonly formStateSignal;
|
|
7119
|
+
readonly isDisabledSignal: _angular_core.Signal<boolean | undefined>;
|
|
7092
7120
|
/**
|
|
7093
7121
|
* Resolved notch label. Prefers a wrapper-level `props.label` override and
|
|
7094
7122
|
* falls back to the wrapped field's own label.
|
|
7095
7123
|
*/
|
|
7096
|
-
readonly
|
|
7124
|
+
readonly labelSignal: _angular_core.Signal<_ng_forge_dynamic_forms.DynamicText | undefined>;
|
|
7097
7125
|
readonly hintSignal: _angular_core.Signal<any>;
|
|
7098
7126
|
readonly classNameSignal: _angular_core.Signal<string>;
|
|
7099
7127
|
private readonly keySignal;
|
|
7100
|
-
private readonly
|
|
7128
|
+
private readonly childErrorsSignal;
|
|
7101
7129
|
/**
|
|
7102
7130
|
* Whether errors should be displayed.
|
|
7103
7131
|
*
|
|
@@ -7105,7 +7133,7 @@ declare class DbxForgeFormFieldWrapperComponent implements FieldWrapper {
|
|
|
7105
7133
|
* because this wrapper targets non-standard fields (sliders, custom components)
|
|
7106
7134
|
* where standard blur-based touch behavior may not apply.
|
|
7107
7135
|
*/
|
|
7108
|
-
readonly
|
|
7136
|
+
readonly showErrorsSignal: _angular_core.Signal<boolean>;
|
|
7109
7137
|
readonly hasError: _angular_core.Signal<boolean>;
|
|
7110
7138
|
/**
|
|
7111
7139
|
* Resolves the first error message using the same priority as ng-forge's
|
|
@@ -7114,14 +7142,14 @@ declare class DbxForgeFormFieldWrapperComponent implements FieldWrapper {
|
|
|
7114
7142
|
*
|
|
7115
7143
|
* Uses `interpolateParams` for `{{param}}` placeholder substitution.
|
|
7116
7144
|
*/
|
|
7117
|
-
readonly
|
|
7145
|
+
readonly firstErrorMessageSignal: _angular_core.Signal<string>;
|
|
7118
7146
|
/**
|
|
7119
7147
|
* Whether any child field has `required` state, used to show the asterisk in the label.
|
|
7120
7148
|
*/
|
|
7121
|
-
readonly
|
|
7122
|
-
protected readonly
|
|
7123
|
-
protected readonly
|
|
7124
|
-
protected readonly
|
|
7149
|
+
readonly isRequiredSignal: _angular_core.Signal<boolean | undefined>;
|
|
7150
|
+
protected readonly labelIdSignal: _angular_core.Signal<string>;
|
|
7151
|
+
protected readonly errorIdSignal: _angular_core.Signal<string>;
|
|
7152
|
+
protected readonly hintIdSignal: _angular_core.Signal<string>;
|
|
7125
7153
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeFormFieldWrapperComponent, never>;
|
|
7126
7154
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DbxForgeFormFieldWrapperComponent, "dbx-forge-form-field-wrapper", never, { "fieldInputs": { "alias": "fieldInputs"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7127
7155
|
}
|
|
@@ -7166,8 +7194,8 @@ interface DbxForgeSectionWrapper {
|
|
|
7166
7194
|
/**
|
|
7167
7195
|
* Section wrapper config — attach via a field's `wrappers: []` array for a semantic section with header and optional card elevation.
|
|
7168
7196
|
*
|
|
7169
|
-
* @param config -
|
|
7170
|
-
* @returns
|
|
7197
|
+
* @param config - The section wrapper configuration without the `type` property.
|
|
7198
|
+
* @returns A complete {@link DbxForgeSectionWrapper} config with the type set.
|
|
7171
7199
|
*
|
|
7172
7200
|
* @dbxFormField
|
|
7173
7201
|
* @dbxFormSlug section-wrapper
|
|
@@ -7186,8 +7214,8 @@ declare function dbxForgeSectionWrapper(config: Omit<DbxForgeSectionWrapper, 'ty
|
|
|
7186
7214
|
/**
|
|
7187
7215
|
* Subsection variant of `section-wrapper` — defaults to heading level 4 and `subsection: true`.
|
|
7188
7216
|
*
|
|
7189
|
-
* @param config -
|
|
7190
|
-
* @returns
|
|
7217
|
+
* @param config - The subsection wrapper configuration without the `type` and `subsection` properties.
|
|
7218
|
+
* @returns A complete {@link DbxForgeSectionWrapper} config with `type` and `subsection: true` set.
|
|
7191
7219
|
*
|
|
7192
7220
|
* @dbxFormField
|
|
7193
7221
|
* @dbxFormSlug subsection-wrapper
|
|
@@ -7260,8 +7288,8 @@ interface DbxForgeInfoWrapper {
|
|
|
7260
7288
|
/**
|
|
7261
7289
|
* Creates an info wrapper config for use in a field's `wrappers` array.
|
|
7262
7290
|
*
|
|
7263
|
-
* @param config -
|
|
7264
|
-
* @returns
|
|
7291
|
+
* @param config - The info wrapper configuration without the `type` property.
|
|
7292
|
+
* @returns A complete {@link DbxForgeInfoWrapper} config with the type set.
|
|
7265
7293
|
*
|
|
7266
7294
|
* @example
|
|
7267
7295
|
* ```typescript
|
|
@@ -7314,8 +7342,8 @@ interface DbxForgeStyleWrapper {
|
|
|
7314
7342
|
/**
|
|
7315
7343
|
* Style wrapper config — applies dynamic CSS classes (`ngClass`) and/or inline styles (`ngStyle`) to any field via its `wrappers: []`.
|
|
7316
7344
|
*
|
|
7317
|
-
* @param config -
|
|
7318
|
-
* @returns
|
|
7345
|
+
* @param config - The style wrapper configuration without the `type` property.
|
|
7346
|
+
* @returns A complete {@link DbxForgeStyleWrapper} config with the type set.
|
|
7319
7347
|
*
|
|
7320
7348
|
* @dbxFormField
|
|
7321
7349
|
* @dbxFormSlug style-wrapper
|
|
@@ -7342,7 +7370,7 @@ declare function dbxForgeStyleWrapper(config: Omit<DbxForgeStyleWrapper, 'type'>
|
|
|
7342
7370
|
declare class DbxForgeWorkingWrapperComponent implements FieldWrapper {
|
|
7343
7371
|
readonly fieldComponent: _angular_core.Signal<ViewContainerRef>;
|
|
7344
7372
|
private readonly fieldSignalContext;
|
|
7345
|
-
readonly
|
|
7373
|
+
readonly showLoadingSignal: _angular_core.Signal<boolean>;
|
|
7346
7374
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeWorkingWrapperComponent, never>;
|
|
7347
7375
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DbxForgeWorkingWrapperComponent, "dbx-forge-working-wrapper", never, {}, {}, never, never, true, never>;
|
|
7348
7376
|
}
|
|
@@ -7447,8 +7475,8 @@ declare class DbxForgeFormContextService {
|
|
|
7447
7475
|
* Falls back to the root form value as `formValue` when the array item lookup fails
|
|
7448
7476
|
* (bad index, missing array, or non-object item).
|
|
7449
7477
|
*
|
|
7450
|
-
* @param input -
|
|
7451
|
-
* @returns
|
|
7478
|
+
* @param input - Configuration specifying the array context and reactivity mode.
|
|
7479
|
+
* @returns An evaluation context scoped to the array item at the current index.
|
|
7452
7480
|
*/
|
|
7453
7481
|
createArrayItemEvaluationContext(input: DbxForgeArrayItemEvaluationContextInput): EvaluationContext;
|
|
7454
7482
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxForgeFormContextService, never>;
|
|
@@ -7684,7 +7712,7 @@ declare class DbxForgeFormComponent<T extends object = object> implements DbxFor
|
|
|
7684
7712
|
* with a null/undefined inner value).
|
|
7685
7713
|
*/
|
|
7686
7714
|
private _pendingValue;
|
|
7687
|
-
readonly
|
|
7715
|
+
readonly isDisabledSignal: _angular_core.Signal<boolean>;
|
|
7688
7716
|
readonly formOptionsSignal: _angular_core.Signal<FormOptions | undefined>;
|
|
7689
7717
|
/**
|
|
7690
7718
|
* Computed validity combining the ng-forge DynamicForm's valid signal with
|
|
@@ -7695,7 +7723,7 @@ declare class DbxForgeFormComponent<T extends object = object> implements DbxFor
|
|
|
7695
7723
|
* DynamicForm.valid(). They register their nested validity via
|
|
7696
7724
|
* {@link DbxForgeFormContext.registerWrapperValidity}, and this computed combines both sources.
|
|
7697
7725
|
*/
|
|
7698
|
-
readonly
|
|
7726
|
+
readonly formValidSignal: _angular_core.Signal<boolean>;
|
|
7699
7727
|
/**
|
|
7700
7728
|
* Track form value changes and update the context value + changes count.
|
|
7701
7729
|
*
|
|
@@ -7764,10 +7792,10 @@ declare class DbxForgeFormComponent<T extends object = object> implements DbxFor
|
|
|
7764
7792
|
* when {@link DbxForgeFormContext.stripInternalKeys} is true (default)
|
|
7765
7793
|
* - Null/undefined-only filter when `stripInternalKeys` is false
|
|
7766
7794
|
*
|
|
7767
|
-
* @param a -
|
|
7768
|
-
* @param b -
|
|
7769
|
-
* @param context -
|
|
7770
|
-
* @returns
|
|
7795
|
+
* @param a - The previous form value.
|
|
7796
|
+
* @param b - The next form value.
|
|
7797
|
+
* @param context - The forge form context providing filter configuration.
|
|
7798
|
+
* @returns True if the two values are considered equal after filtering.
|
|
7771
7799
|
*/
|
|
7772
7800
|
declare function _forgeFormValueEqual<T>(a: T, b: T, context: DbxForgeFormContext<T>): boolean;
|
|
7773
7801
|
/**
|
|
@@ -7781,16 +7809,16 @@ declare function _forgeFormValueEqual<T>(a: T, b: T, context: DbxForgeFormContex
|
|
|
7781
7809
|
* which would otherwise cause `_forgeFormValueEqual` to treat two structurally
|
|
7782
7810
|
* identical values as unequal and trigger an infinite effect cycle.
|
|
7783
7811
|
*
|
|
7784
|
-
* @param input -
|
|
7785
|
-
* @returns
|
|
7812
|
+
* @param input - The form value object to filter.
|
|
7813
|
+
* @returns A filtered copy with internal keys and null/undefined/NaN values removed.
|
|
7786
7814
|
*/
|
|
7787
7815
|
declare function _filterForgeFormValueStripInternal<T>(input: T): T;
|
|
7788
7816
|
/**
|
|
7789
7817
|
* Filter used when `stripInternalKeys` is false: retains `_`-prefixed keys
|
|
7790
7818
|
* but still strips null/undefined and NaN values.
|
|
7791
7819
|
*
|
|
7792
|
-
* @param input -
|
|
7793
|
-
* @returns
|
|
7820
|
+
* @param input - The form value object to filter.
|
|
7821
|
+
* @returns A filtered copy with null/undefined/NaN values removed but internal keys retained.
|
|
7794
7822
|
*/
|
|
7795
7823
|
declare function _filterForgeFormValueKeepInternal<T>(input: T): T;
|
|
7796
7824
|
|
|
@@ -7943,6 +7971,9 @@ declare const DBX_FORGE_FIELD_WRAPPER_TYPES: WrapperTypeDefinition[];
|
|
|
7943
7971
|
*
|
|
7944
7972
|
* Add this to your app's providers alongside provideDbxFormConfiguration().
|
|
7945
7973
|
*
|
|
7974
|
+
* @param additionalFieldTypes - Extra field type definitions from extension packages to register alongside the built-in types.
|
|
7975
|
+
* @returns The providers that register all forge field types with ng-forge's dynamic form system.
|
|
7976
|
+
*
|
|
7946
7977
|
* @example
|
|
7947
7978
|
* ```typescript
|
|
7948
7979
|
* provideDbxForgeFormFieldDeclarations(
|
|
@@ -7950,9 +7981,6 @@ declare const DBX_FORGE_FIELD_WRAPPER_TYPES: WrapperTypeDefinition[];
|
|
|
7950
7981
|
* ...DBX_FORGE_MAPBOX_FIELD_TYPES
|
|
7951
7982
|
* )
|
|
7952
7983
|
* ```
|
|
7953
|
-
*
|
|
7954
|
-
* @param additionalFieldTypes - Extra field type definitions from extension packages to register alongside the built-in types
|
|
7955
|
-
* @returns An array of providers that register all forge field types with ng-forge's dynamic form system
|
|
7956
7984
|
*/
|
|
7957
7985
|
declare function provideDbxForgeFormFieldDeclarations(...additionalFieldTypes: FieldTypeDefinition[]): _angular_core.EnvironmentProviders & {
|
|
7958
7986
|
__fieldDefs?: undefined;
|
|
@@ -8014,8 +8042,8 @@ interface DbxFormSearchFormFieldsConfig {
|
|
|
8014
8042
|
/**
|
|
8015
8043
|
* Creates a forge field array for a simple search form with a single text input.
|
|
8016
8044
|
*
|
|
8017
|
-
* @param config - Optional search field configuration with label and placeholder
|
|
8018
|
-
* @returns
|
|
8045
|
+
* @param config - Optional search field configuration with label and placeholder.
|
|
8046
|
+
* @returns The forge field defs for the search form
|
|
8019
8047
|
*
|
|
8020
8048
|
* TODO(migrate): Will be renamed in a future release to dbxForgePresetSearchFormFields.
|
|
8021
8049
|
*/
|
|
@@ -8036,15 +8064,15 @@ declare const DBX_FORGE_PASSWORDS_MATCH_VALIDATION_KIND = "passwordsMatch";
|
|
|
8036
8064
|
/**
|
|
8037
8065
|
* Default validation message used when the passwords do not match.
|
|
8038
8066
|
*/
|
|
8039
|
-
declare const
|
|
8067
|
+
declare const DEFAULT_DBX_FORGE_PASSWORDS_MATCH_VALIDATION_MESSAGE = "The passwords do not match.";
|
|
8040
8068
|
/**
|
|
8041
8069
|
* Default autocomplete value for password fields.
|
|
8042
8070
|
*/
|
|
8043
|
-
declare const
|
|
8071
|
+
declare const DEFAULT_DBX_FORGE_TEXT_PASSWORD_AUTOCOMPLETE = "current-password";
|
|
8044
8072
|
/**
|
|
8045
8073
|
* Default autocomplete value for verify password fields.
|
|
8046
8074
|
*/
|
|
8047
|
-
declare const
|
|
8075
|
+
declare const DEFAULT_DBX_FORGE_TEXT_VERIFY_PASSWORD_AUTOCOMPLETE = "new-password";
|
|
8048
8076
|
/**
|
|
8049
8077
|
* Configuration for a forge password field.
|
|
8050
8078
|
*/
|
|
@@ -8055,10 +8083,9 @@ interface DbxForgeTextPasswordFieldConfig extends Omit<DbxForgeTextFieldConfig,
|
|
|
8055
8083
|
*
|
|
8056
8084
|
* Defaults to the key `'password'` and label `'Password'` unless overridden.
|
|
8057
8085
|
*
|
|
8058
|
-
* @param config - Optional configuration for the password field
|
|
8059
|
-
* @returns A {@link MatInputField} with password input type
|
|
8086
|
+
* @param config - Optional configuration for the password field.
|
|
8087
|
+
* @returns A {@link MatInputField} with password input type.
|
|
8060
8088
|
*
|
|
8061
|
-
* @dbxFormField
|
|
8062
8089
|
* @dbxFormSlug password-field
|
|
8063
8090
|
* @dbxFormProduces string
|
|
8064
8091
|
* @dbxFormArrayOutput no
|
|
@@ -8076,10 +8103,9 @@ declare function dbxForgeTextPasswordField(config?: DbxForgeTextPasswordFieldCon
|
|
|
8076
8103
|
*
|
|
8077
8104
|
* Defaults to the key `'verifyPassword'` and label `'Verify Password'` unless overridden.
|
|
8078
8105
|
*
|
|
8079
|
-
* @param config - Optional configuration for the verify password field
|
|
8080
|
-
* @returns A {@link MatInputField} with password input type
|
|
8106
|
+
* @param config - Optional configuration for the verify password field.
|
|
8107
|
+
* @returns A {@link MatInputField} with password input type.
|
|
8081
8108
|
*
|
|
8082
|
-
* @dbxFormField
|
|
8083
8109
|
* @dbxFormSlug verify-password-field
|
|
8084
8110
|
* @dbxFormProduces string
|
|
8085
8111
|
* @dbxFormArrayOutput no
|
|
@@ -8111,10 +8137,9 @@ interface DbxForgeTextPasswordWithVerifyFieldConfig {
|
|
|
8111
8137
|
* The verify password field uses an expression-based custom validator that compares the
|
|
8112
8138
|
* verify field value against the primary password field's value via `formValue`.
|
|
8113
8139
|
*
|
|
8114
|
-
* @param config - Configuration for the password and verify password fields
|
|
8140
|
+
* @param config - Configuration for the password and verify password fields.
|
|
8115
8141
|
* @returns A tuple of `[passwordField, verifyPasswordField]`
|
|
8116
8142
|
*
|
|
8117
|
-
* @dbxFormField
|
|
8118
8143
|
* @dbxFormSlug password-with-verify-fields
|
|
8119
8144
|
* @dbxFormProduces FieldDef[]
|
|
8120
8145
|
* @dbxFormArrayOutput no
|
|
@@ -8172,10 +8197,9 @@ interface DbxForgeUsernameLoginFieldsConfig {
|
|
|
8172
8197
|
* When `verifyPassword` is provided, a second password field is added with a custom
|
|
8173
8198
|
* validator that ensures both password values match.
|
|
8174
8199
|
*
|
|
8175
|
-
* @param config - Login fields configuration
|
|
8176
|
-
* @returns
|
|
8200
|
+
* @param config - Login fields configuration.
|
|
8201
|
+
* @returns The forge field definitions for the login form.
|
|
8177
8202
|
*
|
|
8178
|
-
* @dbxFormField
|
|
8179
8203
|
* @dbxFormSlug username-password-login-fields
|
|
8180
8204
|
* @dbxFormProduces FieldDef[]
|
|
8181
8205
|
* @dbxFormArrayOutput no
|
|
@@ -8193,10 +8217,9 @@ declare function dbxForgeUsernamePasswordLoginFields(config: DbxForgeUsernameLog
|
|
|
8193
8217
|
*
|
|
8194
8218
|
* Supports email or plain text input based on the provided configuration.
|
|
8195
8219
|
*
|
|
8196
|
-
* @param username - Either `'email'`, `'username'`, or a full config object
|
|
8197
|
-
* @returns A forge field definition for the username input
|
|
8220
|
+
* @param username - Either `'email'`, `'username'`, or a full config object.
|
|
8221
|
+
* @returns A forge field definition for the username input.
|
|
8198
8222
|
*
|
|
8199
|
-
* @dbxFormField
|
|
8200
8223
|
* @dbxFormSlug username-login-field
|
|
8201
8224
|
* @dbxFormProduces string
|
|
8202
8225
|
* @dbxFormArrayOutput no
|
|
@@ -8209,6 +8232,21 @@ declare function dbxForgeUsernamePasswordLoginFields(config: DbxForgeUsernameLog
|
|
|
8209
8232
|
* ```
|
|
8210
8233
|
*/
|
|
8211
8234
|
declare function dbxForgeUsernameLoginField(username: DbxForgeUsernameLoginFieldUsernameConfigInput): DbxForgeField<MatInputField>;
|
|
8235
|
+
/**
|
|
8236
|
+
* @deprecated use DEFAULT_DBX_FORGE_PASSWORDS_MATCH_VALIDATION_MESSAGE instead.
|
|
8237
|
+
* @dbxAllowDefaultPrefix
|
|
8238
|
+
*/
|
|
8239
|
+
declare const DBX_FORGE_DEFAULT_PASSWORDS_MATCH_VALIDATION_MESSAGE = "The passwords do not match.";
|
|
8240
|
+
/**
|
|
8241
|
+
* @deprecated use DEFAULT_DBX_FORGE_TEXT_PASSWORD_AUTOCOMPLETE instead.
|
|
8242
|
+
* @dbxAllowDefaultPrefix
|
|
8243
|
+
*/
|
|
8244
|
+
declare const DBX_FORGE_TEXT_PASSWORD_DEFAULT_AUTOCOMPLETE = "current-password";
|
|
8245
|
+
/**
|
|
8246
|
+
* @deprecated use DEFAULT_DBX_FORGE_TEXT_VERIFY_PASSWORD_AUTOCOMPLETE instead.
|
|
8247
|
+
* @dbxAllowDefaultPrefix
|
|
8248
|
+
*/
|
|
8249
|
+
declare const DBX_FORGE_TEXT_VERIFY_PASSWORD_DEFAULT_AUTOCOMPLETE = "new-password";
|
|
8212
8250
|
|
|
8213
8251
|
/**
|
|
8214
8252
|
* Configuration for a forge timezone string field.
|
|
@@ -8266,8 +8304,8 @@ interface IsWebsiteUrlValidatorConfig {
|
|
|
8266
8304
|
* Angular form validator that checks whether the control value is a valid website URL,
|
|
8267
8305
|
* optionally requiring an http/https prefix, allowing port numbers, and restricting to specific domains.
|
|
8268
8306
|
*
|
|
8269
|
-
* @param config - Optional validation configuration for prefix, port, and domain requirements
|
|
8270
|
-
* @returns A ValidatorFn that validates website URLs
|
|
8307
|
+
* @param config - Optional validation configuration for prefix, port, and domain requirements.
|
|
8308
|
+
* @returns A ValidatorFn that validates website URLs.
|
|
8271
8309
|
*/
|
|
8272
8310
|
declare function isWebsiteUrlValidator(config?: IsWebsiteUrlValidatorConfig): ValidatorFn;
|
|
8273
8311
|
|
|
@@ -8300,8 +8338,8 @@ interface DbxForgeWebsiteUrlFieldConfig extends Omit<DbxForgeTextFieldConfig, 'i
|
|
|
8300
8338
|
*
|
|
8301
8339
|
* Defaults to the key `'website'` and label `'Website Url'` unless overridden in the config.
|
|
8302
8340
|
*
|
|
8303
|
-
* @param config - Optional configuration for the website URL field
|
|
8304
|
-
* @returns A {@link MatInputField} for website URL input
|
|
8341
|
+
* @param config - Optional configuration for the website URL field.
|
|
8342
|
+
* @returns A {@link MatInputField} for website URL input.
|
|
8305
8343
|
*
|
|
8306
8344
|
* @example
|
|
8307
8345
|
* ```typescript
|
|
@@ -8388,6 +8426,8 @@ declare function dbxForgeTextIsAvailableField(config: DbxForgeTextAvailableField
|
|
|
8388
8426
|
* Can be used as `FormConfig.defaultValidationMessages` to apply form-wide,
|
|
8389
8427
|
* or spread into individual field `validationMessages`.
|
|
8390
8428
|
*
|
|
8429
|
+
* @returns A ValidationMessages object with messages for required, email, minLength, maxLength, min, max, and pattern validators.
|
|
8430
|
+
*
|
|
8391
8431
|
* @example
|
|
8392
8432
|
* ```typescript
|
|
8393
8433
|
* const config: FormConfig = {
|
|
@@ -8395,8 +8435,6 @@ declare function dbxForgeTextIsAvailableField(config: DbxForgeTextAvailableField
|
|
|
8395
8435
|
* defaultValidationMessages: forgeDefaultValidationMessages()
|
|
8396
8436
|
* };
|
|
8397
8437
|
* ```
|
|
8398
|
-
*
|
|
8399
|
-
* @returns A ValidationMessages object with messages for required, email, minLength, maxLength, min, max, and pattern validators
|
|
8400
8438
|
*/
|
|
8401
8439
|
declare function dbxForgeDefaultValidationMessages(): ValidationMessages;
|
|
8402
8440
|
|
|
@@ -8473,10 +8511,10 @@ declare const INVALID_PHONE_NUMBER_EXTENSION_MESSAGE: {
|
|
|
8473
8511
|
* Returns a validation message indicating the duration is below the minimum allowed.
|
|
8474
8512
|
*
|
|
8475
8513
|
* @param err - The validation error object containing `min` and `actual` values.
|
|
8476
|
-
* @param err.min - The minimum allowed duration value
|
|
8477
|
-
* @param err.actual - The actual duration value that failed validation
|
|
8478
|
-
* @param err.unit - The time unit label (e.g. "hours", "minutes") for display
|
|
8479
8514
|
* @param _field - The Formly field configuration (unused).
|
|
8515
|
+
* @param err.min - The minimum allowed duration value.
|
|
8516
|
+
* @param err.actual - The actual duration value that failed validation.
|
|
8517
|
+
* @param err.unit - The time unit label (e.g. "hours", "minutes") for display.
|
|
8480
8518
|
* @returns A human-readable validation message string.
|
|
8481
8519
|
*/
|
|
8482
8520
|
declare function durationMinValidationMessage(err: {
|
|
@@ -8488,10 +8526,10 @@ declare function durationMinValidationMessage(err: {
|
|
|
8488
8526
|
* Returns a validation message indicating the duration exceeds the maximum allowed.
|
|
8489
8527
|
*
|
|
8490
8528
|
* @param err - The validation error object containing `max`, `actual`, and `unit` values.
|
|
8491
|
-
* @param err.max - The maximum allowed duration value
|
|
8492
|
-
* @param err.actual - The actual duration value that failed validation
|
|
8493
|
-
* @param err.unit - The time unit label (e.g. "hours", "minutes") for display
|
|
8494
8529
|
* @param _field - The Formly field configuration (unused).
|
|
8530
|
+
* @param err.max - The maximum allowed duration value.
|
|
8531
|
+
* @param err.actual - The actual duration value that failed validation.
|
|
8532
|
+
* @param err.unit - The time unit label (e.g. "hours", "minutes") for display.
|
|
8495
8533
|
* @returns A human-readable validation message string.
|
|
8496
8534
|
*/
|
|
8497
8535
|
declare function durationMaxValidationMessage(err: {
|
|
@@ -8512,7 +8550,7 @@ declare const DURATION_MAX_VALIDATION_MESSAGE: ValidationMessageOption;
|
|
|
8512
8550
|
*
|
|
8513
8551
|
* Includes messages for: required, minLength, maxLength, min, max, phone number, phone number extension, and duration min/max.
|
|
8514
8552
|
*
|
|
8515
|
-
* @returns
|
|
8553
|
+
* @returns Array of {@link ValidationMessageOption} objects.
|
|
8516
8554
|
*/
|
|
8517
8555
|
declare function defaultValidationMessages(): ValidationMessageOption[];
|
|
8518
8556
|
|
|
@@ -8696,19 +8734,18 @@ interface AbstractFormExpandSectionConfig<T extends object = object> extends Pic
|
|
|
8696
8734
|
/**
|
|
8697
8735
|
* Label shown on the expand trigger. Falls back to the field label or first child field label.
|
|
8698
8736
|
*/
|
|
8699
|
-
expandLabel?: string;
|
|
8737
|
+
readonly expandLabel?: string;
|
|
8700
8738
|
/**
|
|
8701
8739
|
* Optional function to use for checking value existence.
|
|
8702
8740
|
*/
|
|
8703
|
-
hasValueFn?: (value: T) => boolean;
|
|
8741
|
+
readonly hasValueFn?: (value: T) => boolean;
|
|
8704
8742
|
}
|
|
8705
8743
|
/**
|
|
8706
8744
|
* Default value existence check that returns `true` if the object is non-empty.
|
|
8707
8745
|
*
|
|
8708
|
-
* @param x - The object to check for non-emptiness
|
|
8709
|
-
* @
|
|
8710
|
-
*
|
|
8711
|
-
* @param x - The object to check for non-emptiness
|
|
8746
|
+
* @param x - The object to check for non-emptiness.
|
|
8747
|
+
* @param x - The object to check for non-emptiness.
|
|
8748
|
+
* @returns True if the object has at least one own property.
|
|
8712
8749
|
*/
|
|
8713
8750
|
declare const DEFAULT_HAS_VALUE_FN: (x: object) => boolean;
|
|
8714
8751
|
/**
|
|
@@ -8769,7 +8806,7 @@ interface DbxFormToggleWrapperConfig<T extends object = object> extends Abstract
|
|
|
8769
8806
|
/**
|
|
8770
8807
|
* Optional function that returns an observable of the toggle label based on open state.
|
|
8771
8808
|
*/
|
|
8772
|
-
toggleLabelObs?: (open: Maybe<boolean>) => Observable<string>;
|
|
8809
|
+
readonly toggleLabelObs?: (open: Maybe<boolean>) => Observable<string>;
|
|
8773
8810
|
}
|
|
8774
8811
|
/**
|
|
8775
8812
|
* Section that can be expanded by a button until a value is set, or the button is pressed.
|
|
@@ -8828,11 +8865,11 @@ interface DbxFormStyleWrapperConfig {
|
|
|
8828
8865
|
/**
|
|
8829
8866
|
* Observable or static value providing inline styles via `[ngStyle]`.
|
|
8830
8867
|
*/
|
|
8831
|
-
styleGetter?: Maybe<ObservableOrValue<DbxFormStyleObject>>;
|
|
8868
|
+
readonly styleGetter?: Maybe<ObservableOrValue<DbxFormStyleObject>>;
|
|
8832
8869
|
/**
|
|
8833
8870
|
* Observable or static value providing CSS class names via `[ngClass]`.
|
|
8834
8871
|
*/
|
|
8835
|
-
classGetter?: Maybe<ObservableOrValue<string>>;
|
|
8872
|
+
readonly classGetter?: Maybe<ObservableOrValue<string>>;
|
|
8836
8873
|
}
|
|
8837
8874
|
/**
|
|
8838
8875
|
* Formly wrapper that applies dynamic CSS classes and inline styles to the wrapped field.
|
|
@@ -8905,7 +8942,7 @@ type ChecklistItemFieldBuilderInput<T = unknown> = Partial<ChecklistItemFieldCon
|
|
|
8905
8942
|
* Creates a Formly field configuration for a single checklist item with a checkbox
|
|
8906
8943
|
* and display content (label, sublabel, description, anchor).
|
|
8907
8944
|
*
|
|
8908
|
-
* @param config - Checklist item configuration with key and display content
|
|
8945
|
+
* @param config - Checklist item configuration with key and display content.
|
|
8909
8946
|
* @returns A validated {@link FormlyFieldConfig} with type `'checklistitem'`
|
|
8910
8947
|
*
|
|
8911
8948
|
* @example
|
|
@@ -8965,11 +9002,8 @@ declare class ChecklistItemFieldDataSetBuilder<D extends object, C extends Check
|
|
|
8965
9002
|
*
|
|
8966
9003
|
* The displayContentObs, if provided, will merge with the existing observable and the two objects merged.
|
|
8967
9004
|
*
|
|
8968
|
-
* @param key - The key identifying which checklist field to merge into
|
|
8969
|
-
* @param config - Partial configuration to merge with the existing field config
|
|
8970
|
-
*
|
|
8971
|
-
* @param key - The key identifying which checklist field to merge into
|
|
8972
|
-
* @param config - Partial configuration to merge with the existing field config
|
|
9005
|
+
* @param key - The key identifying which checklist field to merge into.
|
|
9006
|
+
* @param config - Partial configuration to merge with the existing field config.
|
|
8973
9007
|
*/
|
|
8974
9008
|
merge<T>(key: ChecklistItemFieldDataSetFieldKey<D>, config: Partial<ChecklistItemFieldBuilderInput<T>>): void;
|
|
8975
9009
|
override<T>(key: ChecklistItemFieldDataSetFieldKey<D>, config: Partial<ChecklistItemFieldBuilderInput<T>>): void;
|
|
@@ -8991,7 +9025,7 @@ type DbxFormComponentFieldConfig<T> = DbxInjectionComponentConfig<T>;
|
|
|
8991
9025
|
* Formly field config extended with a {@link DbxFormComponentFieldConfig} for custom component rendering.
|
|
8992
9026
|
*/
|
|
8993
9027
|
interface DbxFormComponentFormlyFieldConfig<T = unknown> extends FormlyFieldConfig {
|
|
8994
|
-
componentField: DbxFormComponentFieldConfig<T>;
|
|
9028
|
+
readonly componentField: DbxFormComponentFieldConfig<T>;
|
|
8995
9029
|
}
|
|
8996
9030
|
/**
|
|
8997
9031
|
* Formly field component that renders a custom Angular component via dynamic injection.
|
|
@@ -9021,7 +9055,7 @@ type ComponentFieldConfig<T = unknown> = DbxFormComponentFieldConfig<T>;
|
|
|
9021
9055
|
/**
|
|
9022
9056
|
* Creates a Formly field configuration that renders a custom Angular component.
|
|
9023
9057
|
*
|
|
9024
|
-
* @param config - Component field configuration
|
|
9058
|
+
* @param config - Component field configuration.
|
|
9025
9059
|
* @returns A {@link DbxFormComponentFormlyFieldConfig} with type `'component'`
|
|
9026
9060
|
*
|
|
9027
9061
|
* @example
|
|
@@ -9096,7 +9130,7 @@ interface DbxListFieldConfig<T = unknown, C extends AbstractDbxSelectionListWrap
|
|
|
9096
9130
|
/**
|
|
9097
9131
|
* Creates a Formly field configuration for a dbx selection list field.
|
|
9098
9132
|
*
|
|
9099
|
-
* @param config - List field configuration including the list component class and state observable
|
|
9133
|
+
* @param config - List field configuration including the list component class and state observable.
|
|
9100
9134
|
* @returns A validated {@link FormlyFieldConfig} with type `'dbxlistfield'`
|
|
9101
9135
|
*
|
|
9102
9136
|
* @example
|
|
@@ -9195,7 +9229,7 @@ interface PickableItemFieldConfig<T = unknown, M = unknown> extends LabeledField
|
|
|
9195
9229
|
* Creates a Formly field configuration for a pickable chip field that displays
|
|
9196
9230
|
* selected values as Material chips.
|
|
9197
9231
|
*
|
|
9198
|
-
* @param config - Pickable item configuration including load and display functions
|
|
9232
|
+
* @param config - Pickable item configuration including load and display functions.
|
|
9199
9233
|
* @returns A validated {@link FormlyFieldConfig} with type `'pickablechipfield'`
|
|
9200
9234
|
*
|
|
9201
9235
|
* @example
|
|
@@ -9213,7 +9247,7 @@ declare function formlyPickableItemChipField<T = unknown, M = unknown>(config: P
|
|
|
9213
9247
|
* Creates a Formly field configuration for a pickable list field that displays
|
|
9214
9248
|
* selected values in a selection list.
|
|
9215
9249
|
*
|
|
9216
|
-
* @param config - Pickable item configuration including load and display functions
|
|
9250
|
+
* @param config - Pickable item configuration including load and display functions.
|
|
9217
9251
|
* @returns A validated {@link FormlyFieldConfig} with type `'pickablelistfield'`
|
|
9218
9252
|
*
|
|
9219
9253
|
* @example
|
|
@@ -9245,9 +9279,9 @@ declare const filterPickableItemFieldValuesByLabelFilterFunction: SearchStringFi
|
|
|
9245
9279
|
*
|
|
9246
9280
|
* Returns all values when filter text is empty.
|
|
9247
9281
|
*
|
|
9248
|
-
* @param filterText - Text to filter by
|
|
9249
|
-
* @param values - Display values to filter
|
|
9250
|
-
* @returns Observable emitting the filtered value array
|
|
9282
|
+
* @param filterText - Text to filter by.
|
|
9283
|
+
* @param values - Display values to filter.
|
|
9284
|
+
* @returns Observable emitting the filtered value array.
|
|
9251
9285
|
*/
|
|
9252
9286
|
declare function filterPickableItemFieldValuesByLabel<T>(filterText: Maybe<string>, values: PickableValueFieldDisplayValue<T>[]): Observable<T[]>;
|
|
9253
9287
|
/**
|
|
@@ -9257,7 +9291,7 @@ declare const sortPickableItemsByLabelStringFunction: _dereekb_util.SortByString
|
|
|
9257
9291
|
/**
|
|
9258
9292
|
* Sorts pickable items alphabetically by their label.
|
|
9259
9293
|
*
|
|
9260
|
-
* @param chips - Items to sort
|
|
9294
|
+
* @param chips - Items to sort.
|
|
9261
9295
|
* @returns The sorted array (mutated in place)
|
|
9262
9296
|
*/
|
|
9263
9297
|
declare function sortPickableItemsByLabel<T>(chips: PickableItemFieldItem<T>[]): PickableItemFieldItem<T>[];
|
|
@@ -9277,8 +9311,8 @@ interface PickableValueFieldValuesConfigForStaticLabeledValuesConfig<T, M extend
|
|
|
9277
9311
|
*
|
|
9278
9312
|
* Simplifies pickable field setup when all options are known upfront.
|
|
9279
9313
|
*
|
|
9280
|
-
* @param input - Array of labeled values or a config object with options and unknown label
|
|
9281
|
-
* @returns Props subset for configuring a pickable field
|
|
9314
|
+
* @param input - Array of labeled values or a config object with options and unknown label.
|
|
9315
|
+
* @returns Props subset for configuring a pickable field.
|
|
9282
9316
|
*
|
|
9283
9317
|
* @example
|
|
9284
9318
|
* ```typescript
|
|
@@ -9438,16 +9472,15 @@ declare abstract class AbstractDbxSearchableValueFieldDirective<T, M = unknown,
|
|
|
9438
9472
|
*
|
|
9439
9473
|
* Only used when multiSelect is false.
|
|
9440
9474
|
*
|
|
9441
|
-
* @param value - The display value to synchronize the input control with
|
|
9442
|
-
*
|
|
9443
|
-
* @param value - The display value to synchronize the input control with
|
|
9475
|
+
* @param value - The display value to synchronize the input control with.
|
|
9476
|
+
* @param value - The display value to synchronize the input control with.
|
|
9444
9477
|
*/
|
|
9445
9478
|
protected _syncSingleValue(value: SearchableValueFieldDisplayValue<T>): void;
|
|
9446
9479
|
protected _addWithTextValue(text: string): void;
|
|
9447
9480
|
/**
|
|
9448
9481
|
* Returns the first validation error message from the input control, if any.
|
|
9449
9482
|
*
|
|
9450
|
-
* @returns The first error message string, or undefined if there are no errors
|
|
9483
|
+
* @returns The first error message string, or undefined if there are no errors.
|
|
9451
9484
|
*/
|
|
9452
9485
|
get inputErrorMessage(): string | undefined;
|
|
9453
9486
|
addWithDisplayValue(displayValue: SearchableValueFieldDisplayValue<T>): void;
|
|
@@ -9566,10 +9599,10 @@ declare class DbxSearchableTextFieldComponent<T, M = unknown, H extends Primativ
|
|
|
9566
9599
|
/**
|
|
9567
9600
|
* Used to create a SearchableValueFieldDisplayFn function that will retrieve the metadata for items that are missing their metadata so they can be displayed properly.
|
|
9568
9601
|
*
|
|
9569
|
-
* @param param0 - Configuration object
|
|
9570
|
-
* @param param0.loadMetaForValues - Function to load metadata for values that are missing it
|
|
9571
|
-
* @param param0.makeDisplayForValues - Function to convert values with metadata into display values
|
|
9572
|
-
* @returns A display function that lazily loads metadata before generating display values
|
|
9602
|
+
* @param param0 - Configuration object.
|
|
9603
|
+
* @param param0.loadMetaForValues - Function to load metadata for values that are missing it.
|
|
9604
|
+
* @param param0.makeDisplayForValues - Function to convert values with metadata into display values.
|
|
9605
|
+
* @returns A display function that lazily loads metadata before generating display values.
|
|
9573
9606
|
*/
|
|
9574
9607
|
declare function formlyMakeMetaFilterSearchableFieldValueDisplayFn<T extends string | number = string | number, M = unknown>({ loadMetaForValues, makeDisplayForValues }: {
|
|
9575
9608
|
loadMetaForValues: (values: SearchableValueFieldValue<T, M>[]) => Observable<SearchableValueFieldValue<T, M>[]>;
|
|
@@ -9582,7 +9615,7 @@ type StringSearchableChipFieldConfig<M = unknown> = Omit<SearchableChipFieldConf
|
|
|
9582
9615
|
/**
|
|
9583
9616
|
* Creates a searchable chip field pre-configured for string values.
|
|
9584
9617
|
*
|
|
9585
|
-
* @param config - String-specific searchable chip field configuration
|
|
9618
|
+
* @param config - String-specific searchable chip field configuration.
|
|
9586
9619
|
* @returns A {@link FormlyFieldConfig} with type `'searchablechipfield'`
|
|
9587
9620
|
*
|
|
9588
9621
|
* @example
|
|
@@ -9601,7 +9634,7 @@ interface SearchableChipFieldConfig<T = unknown, M = unknown, H extends Primativ
|
|
|
9601
9634
|
* Creates a Formly field configuration for a searchable chip field where users
|
|
9602
9635
|
* can search for and select values displayed as Material chips.
|
|
9603
9636
|
*
|
|
9604
|
-
* @param config - Searchable chip field configuration
|
|
9637
|
+
* @param config - Searchable chip field configuration.
|
|
9605
9638
|
* @returns A validated {@link FormlyFieldConfig} with type `'searchablechipfield'`
|
|
9606
9639
|
*
|
|
9607
9640
|
* @example
|
|
@@ -9619,7 +9652,7 @@ interface SearchableTextFieldConfig<T = unknown, M = unknown, H extends Primativ
|
|
|
9619
9652
|
* Creates a Formly field configuration for a searchable text field with autocomplete
|
|
9620
9653
|
* dropdown for selecting values.
|
|
9621
9654
|
*
|
|
9622
|
-
* @param config - Searchable text field configuration
|
|
9655
|
+
* @param config - Searchable text field configuration.
|
|
9623
9656
|
* @returns A validated {@link FormlyFieldConfig} with type `'searchabletextfield'`
|
|
9624
9657
|
*
|
|
9625
9658
|
* @example
|
|
@@ -9661,14 +9694,14 @@ interface ChipTextFieldConfig extends LabeledFieldConfig, StringValueFieldsField
|
|
|
9661
9694
|
/**
|
|
9662
9695
|
* Whether text values are case-sensitive. Defaults to false (lowercased).
|
|
9663
9696
|
*/
|
|
9664
|
-
caseSensitive?: boolean;
|
|
9697
|
+
readonly caseSensitive?: boolean;
|
|
9665
9698
|
}
|
|
9666
9699
|
/**
|
|
9667
9700
|
* Creates a searchable chip field for freeform text entry where each entered string
|
|
9668
9701
|
* becomes a chip. Values are lowercased by default unless `caseSensitive` is true.
|
|
9669
9702
|
*
|
|
9670
|
-
* @param config - Text chip field configuration
|
|
9671
|
-
* @returns A {@link FormlyFieldConfig} for text chip input
|
|
9703
|
+
* @param config - Text chip field configuration.
|
|
9704
|
+
* @returns A {@link FormlyFieldConfig} for text chip input.
|
|
9672
9705
|
*
|
|
9673
9706
|
* @example
|
|
9674
9707
|
* ```typescript
|
|
@@ -9818,7 +9851,7 @@ interface SourceSelectFieldConfig<T extends PrimativeKey = PrimativeKey, M = unk
|
|
|
9818
9851
|
* Creates a Formly field configuration for a source-select field that loads and
|
|
9819
9852
|
* displays selectable values from one or more external data sources.
|
|
9820
9853
|
*
|
|
9821
|
-
* @param config - Source-select field configuration
|
|
9854
|
+
* @param config - Source-select field configuration.
|
|
9822
9855
|
* @returns A validated {@link FormlyFieldConfig} with type `'sourceselectfield'`
|
|
9823
9856
|
*
|
|
9824
9857
|
* @example
|
|
@@ -9874,7 +9907,7 @@ interface ValueSelectionFieldConfig<T> extends LabeledFieldConfig, DescriptionFi
|
|
|
9874
9907
|
* Creates a Formly select field configuration with support for native/material select,
|
|
9875
9908
|
* clear option, multiple selection, and "select all".
|
|
9876
9909
|
*
|
|
9877
|
-
* @param config - Selection field configuration
|
|
9910
|
+
* @param config - Selection field configuration.
|
|
9878
9911
|
* @returns A validated {@link FormlyFieldConfig} with type `'select'` or `'native-select'`
|
|
9879
9912
|
*
|
|
9880
9913
|
* @example
|
|
@@ -9891,8 +9924,9 @@ declare function formlyValueSelectionField<T>(config: ValueSelectionFieldConfig<
|
|
|
9891
9924
|
* Creates a function that prepends a "clear" option to the selection options array
|
|
9892
9925
|
* if one doesn't already exist.
|
|
9893
9926
|
*
|
|
9894
|
-
* @param label - Optional label for the clear option
|
|
9895
|
-
* @returns
|
|
9927
|
+
* @param label - Optional label for the clear option.
|
|
9928
|
+
* @returns Transforms selection options by prepending a clear option.
|
|
9929
|
+
*
|
|
9896
9930
|
* @__NO_SIDE_EFFECTS__
|
|
9897
9931
|
*/
|
|
9898
9932
|
declare function formlyAddValueSelectionOptionFunction<T>(label?: string | undefined): (options: ValueSelectionOption<T>[]) => ValueSelectionOption<T>[];
|
|
@@ -9945,14 +9979,14 @@ declare class DbxFormFormlyTextEditorFieldModule {
|
|
|
9945
9979
|
* Configuration for minimum and maximum text length constraints.
|
|
9946
9980
|
*/
|
|
9947
9981
|
interface TextFieldLengthConfig {
|
|
9948
|
-
minLength?: number;
|
|
9949
|
-
maxLength?: number;
|
|
9982
|
+
readonly minLength?: number;
|
|
9983
|
+
readonly maxLength?: number;
|
|
9950
9984
|
}
|
|
9951
9985
|
/**
|
|
9952
9986
|
* Configuration for regex pattern validation on a text field.
|
|
9953
9987
|
*/
|
|
9954
9988
|
interface TextFieldPatternConfig {
|
|
9955
|
-
pattern?: string | RegExp;
|
|
9989
|
+
readonly pattern?: string | RegExp;
|
|
9956
9990
|
}
|
|
9957
9991
|
/**
|
|
9958
9992
|
* HTML input type for a text field.
|
|
@@ -9968,18 +10002,18 @@ interface TextFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, Te
|
|
|
9968
10002
|
/**
|
|
9969
10003
|
* HTML input type. Defaults to `'text'`.
|
|
9970
10004
|
*/
|
|
9971
|
-
inputType?: TextFieldInputType;
|
|
10005
|
+
readonly inputType?: TextFieldInputType;
|
|
9972
10006
|
/**
|
|
9973
10007
|
* String transformation applied as a value parser (e.g., trim, uppercase).
|
|
9974
10008
|
*/
|
|
9975
|
-
transform?: TransformStringFunctionConfig;
|
|
10009
|
+
readonly transform?: TransformStringFunctionConfig;
|
|
9976
10010
|
}
|
|
9977
10011
|
/**
|
|
9978
10012
|
* Builds an array of value parsers for a text field, incorporating any configured
|
|
9979
10013
|
* string transformation (e.g., trim, lowercase) as a parser prepended to existing parsers.
|
|
9980
10014
|
*
|
|
9981
|
-
* @param config - Parser and transform configuration
|
|
9982
|
-
* @returns Array of value parsers, or undefined if none configured
|
|
10015
|
+
* @param config - Parser and transform configuration.
|
|
10016
|
+
* @returns Array of value parsers, or undefined if none configured.
|
|
9983
10017
|
*
|
|
9984
10018
|
* @example
|
|
9985
10019
|
* ```typescript
|
|
@@ -9990,7 +10024,7 @@ declare function formlyTextFieldTransformParser(config: Partial<FieldConfigParse
|
|
|
9990
10024
|
/**
|
|
9991
10025
|
* Creates a Formly field configuration for a single-line text input.
|
|
9992
10026
|
*
|
|
9993
|
-
* @param config - Text field configuration including key, label, validation, and transform options
|
|
10027
|
+
* @param config - Text field configuration including key, label, validation, and transform options.
|
|
9994
10028
|
* @returns A validated {@link FormlyFieldConfig} with type `'input'`
|
|
9995
10029
|
*
|
|
9996
10030
|
* @example
|
|
@@ -10006,12 +10040,12 @@ interface TextAreaFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig
|
|
|
10006
10040
|
/**
|
|
10007
10041
|
* Number of visible text rows. Defaults to 3.
|
|
10008
10042
|
*/
|
|
10009
|
-
rows?: number;
|
|
10043
|
+
readonly rows?: number;
|
|
10010
10044
|
}
|
|
10011
10045
|
/**
|
|
10012
10046
|
* Creates a Formly field configuration for a multi-line textarea input.
|
|
10013
10047
|
*
|
|
10014
|
-
* @param config - Textarea field configuration including key, label, rows, and validation options
|
|
10048
|
+
* @param config - Textarea field configuration including key, label, rows, and validation options.
|
|
10015
10049
|
* @returns A validated {@link FormlyFieldConfig} with type `'textarea'`
|
|
10016
10050
|
*
|
|
10017
10051
|
* @example
|
|
@@ -10043,7 +10077,7 @@ interface TextEditorFieldConfig extends LabeledFieldConfig, DescriptionFieldConf
|
|
|
10043
10077
|
*
|
|
10044
10078
|
* The field defaults to an empty string and updates the model on blur events.
|
|
10045
10079
|
*
|
|
10046
|
-
* @param config - Text editor field configuration
|
|
10080
|
+
* @param config - Text editor field configuration.
|
|
10047
10081
|
* @returns A validated {@link FormlyFieldConfig} with type `'texteditor'`
|
|
10048
10082
|
*
|
|
10049
10083
|
* @example
|
|
@@ -10182,14 +10216,14 @@ interface RepeatArrayFieldConfig<T = unknown> extends DbxFormRepeatArrayConfig<T
|
|
|
10182
10216
|
/**
|
|
10183
10217
|
* Field group template that is repeated for each array entry.
|
|
10184
10218
|
*/
|
|
10185
|
-
repeatFieldGroup: ArrayOrValue<FormlyFieldConfig>;
|
|
10219
|
+
readonly repeatFieldGroup: ArrayOrValue<FormlyFieldConfig>;
|
|
10186
10220
|
}
|
|
10187
10221
|
/**
|
|
10188
10222
|
* Creates a Formly field configuration for a repeatable array of field groups.
|
|
10189
10223
|
*
|
|
10190
10224
|
* Users can dynamically add, remove, duplicate, and rearrange entries.
|
|
10191
10225
|
*
|
|
10192
|
-
* @param config - Repeat array configuration including the template field group
|
|
10226
|
+
* @param config - Repeat array configuration including the template field group.
|
|
10193
10227
|
* @returns A validated {@link FormlyFieldConfig} with type `'repeatarray'`
|
|
10194
10228
|
*
|
|
10195
10229
|
* @example
|
|
@@ -10260,7 +10294,7 @@ interface ToggleFieldConfig extends Omit<LabeledFieldConfig, 'placeholder' | 'au
|
|
|
10260
10294
|
*
|
|
10261
10295
|
* Defaults to `false` when no default value is specified. Uses auto-touch and style wrappers.
|
|
10262
10296
|
*
|
|
10263
|
-
* @param config - Toggle field configuration
|
|
10297
|
+
* @param config - Toggle field configuration.
|
|
10264
10298
|
* @returns A validated {@link FormlyFieldConfig} with type `'toggle'`
|
|
10265
10299
|
*
|
|
10266
10300
|
* @example
|
|
@@ -10279,7 +10313,7 @@ interface CheckboxFieldConfig extends LabeledFieldConfig, DefaultValueFieldConfi
|
|
|
10279
10313
|
*
|
|
10280
10314
|
* Defaults to `false` when no default value is specified. Uses a style wrapper.
|
|
10281
10315
|
*
|
|
10282
|
-
* @param config - Checkbox field configuration
|
|
10316
|
+
* @param config - Checkbox field configuration.
|
|
10283
10317
|
* @returns A validated {@link FormlyFieldConfig} with type `'checkbox'`
|
|
10284
10318
|
*
|
|
10285
10319
|
* @example
|
|
@@ -10319,16 +10353,15 @@ type TimeFieldConfig = Omit<DateTimeFieldConfig, 'showDate' | 'timeOnly'>;
|
|
|
10319
10353
|
* Factory that returns an observable of a date-time picker configuration
|
|
10320
10354
|
* that automatically selects the next upcoming time, rounded down to the nearest minute.
|
|
10321
10355
|
*
|
|
10322
|
-
* @returns An observable emitting a picker configuration with takeNextUpcomingTime and roundDownToMinute enabled
|
|
10356
|
+
* @returns An observable emitting a picker configuration with takeNextUpcomingTime and roundDownToMinute enabled.
|
|
10323
10357
|
*/
|
|
10324
10358
|
declare const TAKE_NEXT_UPCOMING_TIME_CONFIG_OBS: () => Observable<DbxDateTimePickerConfiguration>;
|
|
10325
10359
|
/**
|
|
10326
10360
|
* Same as DateTime field but with the Date input hidden by default.
|
|
10327
10361
|
*
|
|
10328
|
-
* @param config - Optional time field configuration overrides
|
|
10329
|
-
* @
|
|
10330
|
-
*
|
|
10331
|
-
* @param config - Optional time field configuration overrides
|
|
10362
|
+
* @param config - Optional time field configuration overrides.
|
|
10363
|
+
* @param config - Optional time field configuration overrides.
|
|
10364
|
+
* @returns A {@link FormlyFieldConfig} configured as a time-only input.
|
|
10332
10365
|
*/
|
|
10333
10366
|
declare function formlyTimeOnlyField(config?: Partial<TimeFieldConfig>): FormlyFieldConfig;
|
|
10334
10367
|
/**
|
|
@@ -10352,16 +10385,16 @@ type DateDateRangeFieldDateConfig = Omit<DateTimeFieldConfig, 'dateLabel' | 'tim
|
|
|
10352
10385
|
* Configuration for a date range field with separate start and end date pickers.
|
|
10353
10386
|
*/
|
|
10354
10387
|
interface DateDateRangeFieldConfig extends Pick<DateTimeFieldConfig, 'timeDate' | 'timezone' | 'showTimezone' | 'presets' | 'valueMode' | 'minuteStep'> {
|
|
10355
|
-
required?: boolean;
|
|
10356
|
-
start?: Partial<DateDateRangeFieldDateConfig>;
|
|
10357
|
-
end?: Partial<DateDateRangeFieldDateConfig>;
|
|
10388
|
+
readonly required?: boolean;
|
|
10389
|
+
readonly start?: Partial<DateDateRangeFieldDateConfig>;
|
|
10390
|
+
readonly end?: Partial<DateDateRangeFieldDateConfig>;
|
|
10358
10391
|
}
|
|
10359
10392
|
/**
|
|
10360
10393
|
* Creates a pair of date pickers for selecting a date range (start and end dates)
|
|
10361
10394
|
* arranged in a flex layout. The pickers are synchronized so the start date stays before the end date.
|
|
10362
10395
|
*
|
|
10363
|
-
* @param config - Date range configuration with optional start/end overrides
|
|
10364
|
-
* @returns A {@link FormlyFieldConfig} containing the start and end date field pair
|
|
10396
|
+
* @param config - Date range configuration with optional start/end overrides.
|
|
10397
|
+
* @returns A {@link FormlyFieldConfig} containing the start and end date field pair.
|
|
10365
10398
|
*
|
|
10366
10399
|
* @example
|
|
10367
10400
|
* ```typescript
|
|
@@ -10377,16 +10410,16 @@ type DateTimeRangeFieldTimeConfig = Omit<DateDateRangeFieldDateConfig, 'allDayLa
|
|
|
10377
10410
|
* Configuration for a date-time range field with separate start and end time pickers.
|
|
10378
10411
|
*/
|
|
10379
10412
|
interface DateDateTimeRangeFieldConfig extends Pick<DateTimeFieldConfig, 'timeDate' | 'timezone' | 'showTimezone' | 'presets' | 'valueMode' | 'minuteStep'> {
|
|
10380
|
-
required?: boolean;
|
|
10381
|
-
start?: Partial<DateTimeRangeFieldTimeConfig>;
|
|
10382
|
-
end?: Partial<DateTimeRangeFieldTimeConfig>;
|
|
10413
|
+
readonly required?: boolean;
|
|
10414
|
+
readonly start?: Partial<DateTimeRangeFieldTimeConfig>;
|
|
10415
|
+
readonly end?: Partial<DateTimeRangeFieldTimeConfig>;
|
|
10383
10416
|
}
|
|
10384
10417
|
/**
|
|
10385
10418
|
* Creates a pair of time-only pickers for selecting a time range (start and end times)
|
|
10386
10419
|
* arranged in a flex layout.
|
|
10387
10420
|
*
|
|
10388
|
-
* @param inputConfig - Time range configuration with optional start/end overrides
|
|
10389
|
-
* @returns A {@link FormlyFieldConfig} containing the start and end time field pair
|
|
10421
|
+
* @param inputConfig - Time range configuration with optional start/end overrides.
|
|
10422
|
+
* @returns A {@link FormlyFieldConfig} containing the start and end time field pair.
|
|
10390
10423
|
*
|
|
10391
10424
|
* @example
|
|
10392
10425
|
* ```typescript
|
|
@@ -10518,7 +10551,7 @@ declare class DbxTimeDurationFieldComponent extends FieldType<FieldTypeConfig<Ti
|
|
|
10518
10551
|
* Units used for decomposing/displaying duration text.
|
|
10519
10552
|
* Includes 'ms' if the smallest picker unit would leave a remainder.
|
|
10520
10553
|
*
|
|
10521
|
-
* @returns The array of time units used for displaying duration text
|
|
10554
|
+
* @returns The array of time units used for displaying duration text.
|
|
10522
10555
|
*/
|
|
10523
10556
|
get displayUnits(): TimeUnit[];
|
|
10524
10557
|
ngOnInit(): void;
|
|
@@ -10529,7 +10562,7 @@ declare class DbxTimeDurationFieldComponent extends FieldType<FieldTypeConfig<Ti
|
|
|
10529
10562
|
/**
|
|
10530
10563
|
* Called when Enter is pressed in the text input.
|
|
10531
10564
|
*
|
|
10532
|
-
* @param event - The keyboard event triggered by pressing Enter
|
|
10565
|
+
* @param event - The keyboard event triggered by pressing Enter.
|
|
10533
10566
|
*/
|
|
10534
10567
|
onTextEnter(event: Event): void;
|
|
10535
10568
|
/**
|
|
@@ -10544,14 +10577,14 @@ declare class DbxTimeDurationFieldComponent extends FieldType<FieldTypeConfig<Ti
|
|
|
10544
10577
|
/**
|
|
10545
10578
|
* Converts duration data to the output value and sets it on the form control.
|
|
10546
10579
|
*
|
|
10547
|
-
* @param data - The parsed duration data containing time unit values
|
|
10580
|
+
* @param data - The parsed duration data containing time unit values.
|
|
10548
10581
|
*/
|
|
10549
10582
|
private _syncOutputFromDurationData;
|
|
10550
10583
|
/**
|
|
10551
10584
|
* Converts an output value (number, HoursAndMinutes, or TimeDurationData) to milliseconds.
|
|
10552
10585
|
*
|
|
10553
|
-
* @param value - The output value to convert, interpreted based on the current valueMode
|
|
10554
|
-
* @returns The equivalent duration in milliseconds
|
|
10586
|
+
* @param value - The output value to convert, interpreted based on the current valueMode.
|
|
10587
|
+
* @returns The equivalent duration in milliseconds.
|
|
10555
10588
|
*/
|
|
10556
10589
|
private _outputValueToMilliseconds;
|
|
10557
10590
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxTimeDurationFieldComponent, never>;
|
|
@@ -10624,11 +10657,11 @@ declare class DbxDurationPickerPopoverComponent extends AbstractPopoverDirective
|
|
|
10624
10657
|
/**
|
|
10625
10658
|
* Opens the duration picker popover.
|
|
10626
10659
|
*
|
|
10627
|
-
* @param popoverService - The popover service to use
|
|
10628
|
-
* @param config - Configuration with origin element and picker data
|
|
10629
|
-
* @param config.origin - The element to anchor the popover to
|
|
10630
|
-
* @param config.data - The picker data including current values and which units to show
|
|
10631
|
-
* @returns A reference to the opened popover
|
|
10660
|
+
* @param popoverService - The popover service to use.
|
|
10661
|
+
* @param config - Configuration with origin element and picker data.
|
|
10662
|
+
* @param config.origin - The element to anchor the popover to.
|
|
10663
|
+
* @param config.data - The picker data including current values and which units to show.
|
|
10664
|
+
* @returns A reference to the opened popover.
|
|
10632
10665
|
*/
|
|
10633
10666
|
static openPopover(popoverService: DbxPopoverService, config: {
|
|
10634
10667
|
origin: ElementRef;
|
|
@@ -10637,36 +10670,36 @@ declare class DbxDurationPickerPopoverComponent extends AbstractPopoverDirective
|
|
|
10637
10670
|
/**
|
|
10638
10671
|
* Gets the short label for a time unit.
|
|
10639
10672
|
*
|
|
10640
|
-
* @param unit - The time unit
|
|
10641
|
-
* @returns The short label string
|
|
10673
|
+
* @param unit - The time unit.
|
|
10674
|
+
* @returns The short label string.
|
|
10642
10675
|
*/
|
|
10643
10676
|
unitLabel(unit: TimeUnit): string;
|
|
10644
10677
|
/**
|
|
10645
10678
|
* Gets the current value for a specific time unit.
|
|
10646
10679
|
*
|
|
10647
|
-
* @param unit - The time unit to read
|
|
10648
|
-
* @returns The current value for that unit
|
|
10680
|
+
* @param unit - The time unit to read.
|
|
10681
|
+
* @returns The current value for that unit.
|
|
10649
10682
|
*/
|
|
10650
10683
|
getValue(unit: TimeUnit): number;
|
|
10651
10684
|
/**
|
|
10652
10685
|
* Returns true if incrementing the given unit by 1 would not exceed the maximum.
|
|
10653
10686
|
*
|
|
10654
|
-
* @param unit - The time unit to check
|
|
10655
|
-
* @returns Whether incrementing is allowed
|
|
10687
|
+
* @param unit - The time unit to check.
|
|
10688
|
+
* @returns Whether incrementing is allowed.
|
|
10656
10689
|
*/
|
|
10657
10690
|
canIncrement(unit: TimeUnit): boolean;
|
|
10658
10691
|
/**
|
|
10659
10692
|
* Returns true if decrementing the given unit by 1 would not go below the minimum (or below 0).
|
|
10660
10693
|
*
|
|
10661
|
-
* @param unit - The time unit to check
|
|
10662
|
-
* @returns Whether decrementing is allowed
|
|
10694
|
+
* @param unit - The time unit to check.
|
|
10695
|
+
* @returns Whether decrementing is allowed.
|
|
10663
10696
|
*/
|
|
10664
10697
|
canDecrement(unit: TimeUnit): boolean;
|
|
10665
10698
|
/**
|
|
10666
10699
|
* Increments the value for a specific time unit.
|
|
10667
10700
|
* Holding shift doubles the step.
|
|
10668
10701
|
*
|
|
10669
|
-
* @param unit - The time unit to increment
|
|
10702
|
+
* @param unit - The time unit to increment.
|
|
10670
10703
|
* @param step - The amount to increment by (defaults to 1)
|
|
10671
10704
|
*/
|
|
10672
10705
|
increment(unit: TimeUnit, step?: number): void;
|
|
@@ -10674,23 +10707,23 @@ declare class DbxDurationPickerPopoverComponent extends AbstractPopoverDirective
|
|
|
10674
10707
|
* Decrements the value for a specific time unit.
|
|
10675
10708
|
* Holding shift doubles the step.
|
|
10676
10709
|
*
|
|
10677
|
-
* @param unit - The time unit to decrement
|
|
10710
|
+
* @param unit - The time unit to decrement.
|
|
10678
10711
|
* @param step - The amount to decrement by (defaults to 1)
|
|
10679
10712
|
*/
|
|
10680
10713
|
decrement(unit: TimeUnit, step?: number): void;
|
|
10681
10714
|
/**
|
|
10682
10715
|
* Returns the step size — 2 if shift is held, 1 otherwise.
|
|
10683
10716
|
*
|
|
10684
|
-
* @param event - The mouse or keyboard event
|
|
10685
|
-
* @returns The step multiplier
|
|
10717
|
+
* @param event - The mouse or keyboard event.
|
|
10718
|
+
* @returns The step multiplier.
|
|
10686
10719
|
*/
|
|
10687
10720
|
stepFromEvent(event?: Event): number;
|
|
10688
10721
|
/**
|
|
10689
10722
|
* When carryOver is enabled, normalizes the data by converting to total milliseconds
|
|
10690
10723
|
* and decomposing back into the picker's units (e.g., 60s becomes 1m, 7d becomes 1w).
|
|
10691
10724
|
*
|
|
10692
|
-
* @param data - The duration data to normalize
|
|
10693
|
-
* @returns Normalized or original data
|
|
10725
|
+
* @param data - The duration data to normalize.
|
|
10726
|
+
* @returns Normalized or original data.
|
|
10694
10727
|
*/
|
|
10695
10728
|
private _normalizeIfCarryOver;
|
|
10696
10729
|
private _holdInterval;
|
|
@@ -10701,15 +10734,15 @@ declare class DbxDurationPickerPopoverComponent extends AbstractPopoverDirective
|
|
|
10701
10734
|
* Fires one action immediately and starts hold-to-repeat.
|
|
10702
10735
|
* Used by both mousedown and keydown.
|
|
10703
10736
|
*
|
|
10704
|
-
* @param action - The action to perform
|
|
10705
|
-
* @param unit - The time unit
|
|
10737
|
+
* @param action - The action to perform.
|
|
10738
|
+
* @param unit - The time unit.
|
|
10706
10739
|
* @param event - The triggering event (for shift detection)
|
|
10707
10740
|
*/
|
|
10708
10741
|
onHoldStart(action: 'increment' | 'decrement', unit: TimeUnit, event: Event): void;
|
|
10709
10742
|
/**
|
|
10710
10743
|
* Returns the current step based on whether shift is held.
|
|
10711
10744
|
*
|
|
10712
|
-
* @returns
|
|
10745
|
+
* @returns Two when shift is held for larger increments, one otherwise.
|
|
10713
10746
|
*/
|
|
10714
10747
|
private get _currentStep();
|
|
10715
10748
|
/**
|
|
@@ -10719,17 +10752,17 @@ declare class DbxDurationPickerPopoverComponent extends AbstractPopoverDirective
|
|
|
10719
10752
|
* Handles keyup events. Only stops the hold when an arrow key is released.
|
|
10720
10753
|
* Releasing modifier keys (shift, ctrl, etc.) does not stop the hold.
|
|
10721
10754
|
*
|
|
10722
|
-
* @param event - The keyboard event
|
|
10755
|
+
* @param event - The keyboard event.
|
|
10723
10756
|
*/
|
|
10724
10757
|
onKeyUp(event: KeyboardEvent): void;
|
|
10725
10758
|
stopHold(): void;
|
|
10726
10759
|
/**
|
|
10727
10760
|
* Executes an increment or decrement action if allowed.
|
|
10728
10761
|
*
|
|
10729
|
-
* @param action - Whether to increment or decrement the value
|
|
10762
|
+
* @param action - Whether to increment or decrement the value.
|
|
10730
10763
|
* @param unit - The time unit to adjust (e.g. 'h', 'm', 's')
|
|
10731
|
-
* @param step - The step multiplier for the action
|
|
10732
|
-
* @returns True if the action was performed
|
|
10764
|
+
* @param step - The step multiplier for the action.
|
|
10765
|
+
* @returns True if the action was performed.
|
|
10733
10766
|
*/
|
|
10734
10767
|
private _doAction;
|
|
10735
10768
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxDurationPickerPopoverComponent, never>;
|
|
@@ -10777,8 +10810,8 @@ interface NumberFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig,
|
|
|
10777
10810
|
* Builds an array of value parsers for a number field, incorporating any configured
|
|
10778
10811
|
* number transformation (e.g., precision, rounding) as a parser prepended to existing parsers.
|
|
10779
10812
|
*
|
|
10780
|
-
* @param config - Parser and transform configuration
|
|
10781
|
-
* @returns Array of value parsers, or undefined if none configured
|
|
10813
|
+
* @param config - Parser and transform configuration.
|
|
10814
|
+
* @returns Array of value parsers, or undefined if none configured.
|
|
10782
10815
|
*
|
|
10783
10816
|
* @example
|
|
10784
10817
|
* ```typescript
|
|
@@ -10791,7 +10824,7 @@ declare function formlyNumberFieldTransformParser(config: Partial<FieldConfigPar
|
|
|
10791
10824
|
*
|
|
10792
10825
|
* Adds a divisibility validator when both `step` and `enforceStep` are set.
|
|
10793
10826
|
*
|
|
10794
|
-
* @param config - Number field configuration
|
|
10827
|
+
* @param config - Number field configuration.
|
|
10795
10828
|
* @returns A validated {@link FormlyFieldConfig} with type `'input'` and input type `'number'`
|
|
10796
10829
|
*
|
|
10797
10830
|
* @example
|
|
@@ -10833,7 +10866,7 @@ interface NumberSliderFieldConfig extends NumberFieldConfig {
|
|
|
10833
10866
|
/**
|
|
10834
10867
|
* Creates a Formly field configuration for a Material slider input.
|
|
10835
10868
|
*
|
|
10836
|
-
* @param config - Slider field configuration including max (required), thumb label, and tick interval
|
|
10869
|
+
* @param config - Slider field configuration including max (required), thumb label, and tick interval.
|
|
10837
10870
|
* @returns A validated {@link FormlyFieldConfig} with type `'slider'`
|
|
10838
10871
|
*
|
|
10839
10872
|
* @example
|
|
@@ -10850,7 +10883,7 @@ type DollarAmountFieldConfig = Omit<NumberFieldConfig, 'roundToStep' | 'precisio
|
|
|
10850
10883
|
* Creates a number field pre-configured for dollar amount input with cent-level precision.
|
|
10851
10884
|
*
|
|
10852
10885
|
* @param config - Number field configuration (precision is overridden to dollar amount precision)
|
|
10853
|
-
* @returns A {@link FormlyFieldConfig} for dollar amount input
|
|
10886
|
+
* @returns A {@link FormlyFieldConfig} for dollar amount input.
|
|
10854
10887
|
*
|
|
10855
10888
|
* @example
|
|
10856
10889
|
* ```typescript
|
|
@@ -10978,9 +11011,9 @@ interface WrappedPhoneAndLabelFieldConfig {
|
|
|
10978
11011
|
* Creates a flex-layout-wrapped pair of a phone number field and a label text field,
|
|
10979
11012
|
* useful for collecting named phone numbers (e.g., "Work", "Home").
|
|
10980
11013
|
*
|
|
10981
|
-
* @param config - Optional phone and label field configurations
|
|
10982
|
-
* @param config.phoneField - Optional configuration overrides for the phone number input
|
|
10983
|
-
* @param config.labelField - Optional configuration overrides for the label text input
|
|
11014
|
+
* @param config - Optional phone and label field configurations.
|
|
11015
|
+
* @param config.phoneField - Optional configuration overrides for the phone number input.
|
|
11016
|
+
* @param config.labelField - Optional configuration overrides for the label text input.
|
|
10984
11017
|
* @returns A flex-layout-wrapped {@link FormlyFieldConfig}
|
|
10985
11018
|
*
|
|
10986
11019
|
* @example
|
|
@@ -10999,11 +11032,11 @@ interface PhoneAndLabelFieldSectionConfig extends DbxFormSectionConfig, WrappedP
|
|
|
10999
11032
|
* Creates a section-wrapped phone + label field pair with a configurable header.
|
|
11000
11033
|
*
|
|
11001
11034
|
* @param config - Optional overrides; defaults to header `'Phone Number'`
|
|
11002
|
-
* @param config.key - Optional form model key for the section group
|
|
11035
|
+
* @param config.key - Optional form model key for the section group.
|
|
11003
11036
|
* @param config.header - Section header text; defaults to `'Phone Number'`
|
|
11004
|
-
* @param config.hint - Optional hint text displayed below the section header
|
|
11005
|
-
* @param config.phoneField - Optional phone field configuration overrides
|
|
11006
|
-
* @param config.labelField - Optional label field configuration overrides
|
|
11037
|
+
* @param config.hint - Optional hint text displayed below the section header.
|
|
11038
|
+
* @param config.phoneField - Optional phone field configuration overrides.
|
|
11039
|
+
* @param config.labelField - Optional label field configuration overrides.
|
|
11007
11040
|
* @returns A section-wrapped {@link FormlyFieldConfig}
|
|
11008
11041
|
*
|
|
11009
11042
|
* @example
|
|
@@ -11016,14 +11049,14 @@ declare function formlyPhoneAndLabelSectionField({ key, header, hint, phoneField
|
|
|
11016
11049
|
* Configuration for a repeatable list of phone + label field pairs.
|
|
11017
11050
|
*/
|
|
11018
11051
|
interface PhoneListFieldConfig extends Omit<RepeatArrayFieldConfig, 'repeatFieldGroup'> {
|
|
11019
|
-
phoneAndLabel?: WrappedPhoneAndLabelFieldConfig;
|
|
11020
|
-
repeatFieldGroup?: FormlyFieldConfig[];
|
|
11052
|
+
readonly phoneAndLabel?: WrappedPhoneAndLabelFieldConfig;
|
|
11053
|
+
readonly repeatFieldGroup?: FormlyFieldConfig[];
|
|
11021
11054
|
}
|
|
11022
11055
|
/**
|
|
11023
11056
|
* Creates a repeat-array field that allows the user to add multiple phone number entries.
|
|
11024
11057
|
*
|
|
11025
11058
|
* @param repeatConfig - Optional overrides; defaults to key `'phones'`, label `'Phone Numbers'`
|
|
11026
|
-
* @returns A {@link FormlyFieldConfig} with repeat-array type for multiple phone entries
|
|
11059
|
+
* @returns A {@link FormlyFieldConfig} with repeat-array type for multiple phone entries.
|
|
11027
11060
|
*
|
|
11028
11061
|
* @example
|
|
11029
11062
|
* ```typescript
|
|
@@ -11064,7 +11097,7 @@ declare const SEARCH_STRING_MAX_LENGTH = 100;
|
|
|
11064
11097
|
* Creates a text field pre-configured for a person's full name.
|
|
11065
11098
|
*
|
|
11066
11099
|
* @param config - Optional overrides; defaults to key `'name'`, label `'Name'`
|
|
11067
|
-
* @returns A {@link FormlyFieldConfig} for name input
|
|
11100
|
+
* @returns A {@link FormlyFieldConfig} for name input.
|
|
11068
11101
|
*
|
|
11069
11102
|
* @example
|
|
11070
11103
|
* ```typescript
|
|
@@ -11082,7 +11115,7 @@ interface EmailFieldConfig extends Partial<LabeledFieldConfig>, DescriptionField
|
|
|
11082
11115
|
* Creates a text field pre-configured for email address input with built-in email validation.
|
|
11083
11116
|
*
|
|
11084
11117
|
* @param config - Optional overrides; defaults to key `'email'`, label `'Email Address'`
|
|
11085
|
-
* @returns A {@link FormlyFieldConfig} with email validation
|
|
11118
|
+
* @returns A {@link FormlyFieldConfig} with email validation.
|
|
11086
11119
|
*
|
|
11087
11120
|
* @example
|
|
11088
11121
|
* ```typescript
|
|
@@ -11098,7 +11131,7 @@ type CityFieldConfig = Partial<TextFieldConfig>;
|
|
|
11098
11131
|
* Creates a text field pre-configured for city name input with autocomplete support.
|
|
11099
11132
|
*
|
|
11100
11133
|
* @param config - Optional overrides; defaults to key `'city'`, label `'City'`
|
|
11101
|
-
* @returns A {@link FormlyFieldConfig} for city input
|
|
11134
|
+
* @returns A {@link FormlyFieldConfig} for city input.
|
|
11102
11135
|
*
|
|
11103
11136
|
* @example
|
|
11104
11137
|
* ```typescript
|
|
@@ -11121,7 +11154,7 @@ interface StateFieldConfig extends Partial<TextFieldConfig> {
|
|
|
11121
11154
|
* When `asCode` is true, enforces the 2-letter state code pattern and auto-uppercases input.
|
|
11122
11155
|
*
|
|
11123
11156
|
* @param config - Optional overrides; defaults to key `'state'`, label `'State'`
|
|
11124
|
-
* @returns A {@link FormlyFieldConfig} for state input
|
|
11157
|
+
* @returns A {@link FormlyFieldConfig} for state input.
|
|
11125
11158
|
*
|
|
11126
11159
|
* @example
|
|
11127
11160
|
* ```typescript
|
|
@@ -11137,7 +11170,7 @@ type CountryFieldConfig = Partial<TextFieldConfig>;
|
|
|
11137
11170
|
* Creates a text field pre-configured for country name input with autocomplete support.
|
|
11138
11171
|
*
|
|
11139
11172
|
* @param config - Optional overrides; defaults to key `'country'`, label `'Country'`
|
|
11140
|
-
* @returns A {@link FormlyFieldConfig} for country input
|
|
11173
|
+
* @returns A {@link FormlyFieldConfig} for country input.
|
|
11141
11174
|
*
|
|
11142
11175
|
* @example
|
|
11143
11176
|
* ```typescript
|
|
@@ -11153,7 +11186,7 @@ type ZipCodeFieldConfig = Partial<TextFieldConfig>;
|
|
|
11153
11186
|
* Creates a text field pre-configured for US zip code input with pattern validation.
|
|
11154
11187
|
*
|
|
11155
11188
|
* @param config - Optional overrides; defaults to key `'zip'`, label `'Zip Code'`
|
|
11156
|
-
* @returns A {@link FormlyFieldConfig} for zip code input
|
|
11189
|
+
* @returns A {@link FormlyFieldConfig} for zip code input.
|
|
11157
11190
|
*
|
|
11158
11191
|
* @example
|
|
11159
11192
|
* ```typescript
|
|
@@ -11174,7 +11207,7 @@ declare const DEFAULT_LAT_LNG_TEXT_FIELD_PATTERN_MESSAGE = "Invalid/unknown coor
|
|
|
11174
11207
|
*
|
|
11175
11208
|
* @param config - Optional overrides; defaults to key `'latLng'`
|
|
11176
11209
|
* @param config.key - The form model key; defaults to `'latLng'`
|
|
11177
|
-
* @returns A {@link FormlyFieldConfig} for coordinate input
|
|
11210
|
+
* @returns A {@link FormlyFieldConfig} for coordinate input.
|
|
11178
11211
|
*
|
|
11179
11212
|
* @example
|
|
11180
11213
|
* ```typescript
|
|
@@ -11252,8 +11285,8 @@ interface AddressLineFieldConfig extends Partial<TextFieldConfig> {
|
|
|
11252
11285
|
/**
|
|
11253
11286
|
* Creates a text field for a single address line with autocomplete support.
|
|
11254
11287
|
*
|
|
11255
|
-
* @param config - Optional overrides; line number determines key and label
|
|
11256
|
-
* @returns A {@link FormlyFieldConfig} for address line input
|
|
11288
|
+
* @param config - Optional overrides; line number determines key and label.
|
|
11289
|
+
* @returns A {@link FormlyFieldConfig} for address line input.
|
|
11257
11290
|
*
|
|
11258
11291
|
* @example
|
|
11259
11292
|
* ```typescript
|
|
@@ -11266,8 +11299,8 @@ declare function formlyAddressLineField(config?: AddressLineFieldConfig): Formly
|
|
|
11266
11299
|
* Creates the full set of address form fields (lines, city, state, zip, and optionally country)
|
|
11267
11300
|
* arranged in a flex layout.
|
|
11268
11301
|
*
|
|
11269
|
-
* @param config - Address fields configuration
|
|
11270
|
-
* @returns Array of {@link FormlyFieldConfig} for a complete address form section
|
|
11302
|
+
* @param config - Address fields configuration.
|
|
11303
|
+
* @returns Array of {@link FormlyFieldConfig} for a complete address form section.
|
|
11271
11304
|
*
|
|
11272
11305
|
* @example
|
|
11273
11306
|
* ```typescript
|
|
@@ -11284,7 +11317,7 @@ interface AddressFieldConfig extends Readonly<FieldConfig>, DbxFormSectionConfig
|
|
|
11284
11317
|
* Creates a section-wrapped address field group containing all address sub-fields.
|
|
11285
11318
|
*
|
|
11286
11319
|
* @param config - Optional overrides; defaults to key `'address'`, header `'Address'`
|
|
11287
|
-
* @returns A section-wrapped {@link FormlyFieldConfig} containing address fields
|
|
11320
|
+
* @returns A section-wrapped {@link FormlyFieldConfig} containing address fields.
|
|
11288
11321
|
*
|
|
11289
11322
|
* @example
|
|
11290
11323
|
* ```typescript
|
|
@@ -11304,8 +11337,8 @@ interface AddressListFieldConfig extends Readonly<FieldConfig>, AddressFormlyFie
|
|
|
11304
11337
|
/**
|
|
11305
11338
|
* Creates a repeat-array field that allows the user to add multiple addresses.
|
|
11306
11339
|
*
|
|
11307
|
-
* @param config - Optional overrides; defaults to key `'addresses'`, max 6 entries
|
|
11308
|
-
* @returns A {@link FormlyFieldConfig} with repeat-array type for multiple addresses
|
|
11340
|
+
* @param config - Optional overrides; defaults to key `'addresses'`, max 6 entries.
|
|
11341
|
+
* @returns A {@link FormlyFieldConfig} with repeat-array type for multiple addresses.
|
|
11309
11342
|
*
|
|
11310
11343
|
* @example
|
|
11311
11344
|
* ```typescript
|
|
@@ -11348,10 +11381,10 @@ type HiddenFieldConfig = Pick<LabeledFieldConfig, 'key' | 'required'>;
|
|
|
11348
11381
|
*
|
|
11349
11382
|
* Useful for passing programmatic values through the form model without user interaction.
|
|
11350
11383
|
*
|
|
11351
|
-
* @param config - Key and optional required flag
|
|
11352
|
-
* @param config.key - The form model key for this hidden field
|
|
11384
|
+
* @param config - Key and optional required flag.
|
|
11385
|
+
* @param config.key - The form model key for this hidden field.
|
|
11353
11386
|
* @param config.required - Whether the hidden field must have a value; defaults to `false`
|
|
11354
|
-
* @returns A validated {@link FormlyFieldConfig} with no visible type
|
|
11387
|
+
* @returns A validated {@link FormlyFieldConfig} with no visible type.
|
|
11355
11388
|
*
|
|
11356
11389
|
* @example
|
|
11357
11390
|
* ```typescript
|
|
@@ -11378,10 +11411,10 @@ type WrapperFormlyFieldConfig<P, C extends FormlyFieldConfig> = FormlyFieldConfi
|
|
|
11378
11411
|
/**
|
|
11379
11412
|
* Wraps a Formly field config with a named wrapper and its associated props.
|
|
11380
11413
|
*
|
|
11381
|
-
* @param fieldConfig - The field config to wrap
|
|
11382
|
-
* @param wrapperKey - The registered wrapper key
|
|
11383
|
-
* @param wrapperProps - Configuration props for the wrapper
|
|
11384
|
-
* @returns A new field config with the wrapper applied
|
|
11414
|
+
* @param fieldConfig - The field config to wrap.
|
|
11415
|
+
* @param wrapperKey - The registered wrapper key.
|
|
11416
|
+
* @param wrapperProps - Configuration props for the wrapper.
|
|
11417
|
+
* @returns A new field config with the wrapper applied.
|
|
11385
11418
|
*
|
|
11386
11419
|
* @example
|
|
11387
11420
|
* ```typescript
|
|
@@ -11392,89 +11425,65 @@ declare function formlyAddWrapperToFormlyFieldConfig<C extends FormlyFieldConfig
|
|
|
11392
11425
|
/**
|
|
11393
11426
|
* Wraps a field with the auto-touch wrapper that marks the control as touched on value change.
|
|
11394
11427
|
*
|
|
11395
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11396
|
-
* @param autoTouchWrapper - Optional expand wrapper configuration
|
|
11397
|
-
* @returns A wrapped field configuration with auto-touch behavior
|
|
11398
|
-
*
|
|
11399
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11400
|
-
* @param autoTouchWrapper - Optional expand wrapper configuration
|
|
11428
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11429
|
+
* @param autoTouchWrapper - Optional expand wrapper configuration.
|
|
11430
|
+
* @returns A wrapped field configuration with auto-touch behavior.
|
|
11401
11431
|
*/
|
|
11402
11432
|
declare function formlyAutoTouchWrapper<T extends object, C extends FormlyFieldConfig>(fieldConfig: C, autoTouchWrapper?: DbxFormExpandWrapperConfig<T>): WrapperFormlyFieldConfig<DbxFormExpandWrapperConfig<T>, C>;
|
|
11403
11433
|
/**
|
|
11404
11434
|
* Wraps a field with the expand wrapper that shows/hides the field based on value or user click.
|
|
11405
11435
|
*
|
|
11406
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11407
|
-
* @param expandWrapper - Optional expand wrapper configuration
|
|
11408
|
-
* @returns A wrapped field configuration with expand/collapse behavior
|
|
11409
|
-
*
|
|
11410
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11411
|
-
* @param expandWrapper - Optional expand wrapper configuration
|
|
11436
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11437
|
+
* @param expandWrapper - Optional expand wrapper configuration.
|
|
11438
|
+
* @returns A wrapped field configuration with expand/collapse behavior.
|
|
11412
11439
|
*/
|
|
11413
11440
|
declare function formlyExpandWrapper<T extends object, C extends FormlyFieldConfig>(fieldConfig: C, expandWrapper?: DbxFormExpandWrapperConfig<T>): WrapperFormlyFieldConfig<DbxFormExpandWrapperConfig<T>, C>;
|
|
11414
11441
|
/**
|
|
11415
11442
|
* Wraps a field with the toggle wrapper that uses a slide toggle to show/hide content.
|
|
11416
11443
|
*
|
|
11417
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11418
|
-
* @param toggleWrapper - Optional toggle wrapper configuration
|
|
11419
|
-
* @returns A wrapped field configuration with toggle show/hide behavior
|
|
11420
|
-
*
|
|
11421
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11422
|
-
* @param toggleWrapper - Optional toggle wrapper configuration
|
|
11444
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11445
|
+
* @param toggleWrapper - Optional toggle wrapper configuration.
|
|
11446
|
+
* @returns A wrapped field configuration with toggle show/hide behavior.
|
|
11423
11447
|
*/
|
|
11424
11448
|
declare function formlyToggleWrapper<C extends FormlyFieldConfig>(fieldConfig: C, toggleWrapper?: DbxFormToggleWrapperConfig): WrapperFormlyFieldConfig<DbxFormToggleWrapperConfig<object>, C>;
|
|
11425
11449
|
/**
|
|
11426
11450
|
* Wraps a field group in a section layout with an optional header and hint.
|
|
11427
11451
|
*
|
|
11428
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11429
|
-
* @param sectionWrapper - Optional section configuration with header and hint
|
|
11430
|
-
* @returns A wrapped field configuration with section layout
|
|
11431
|
-
*
|
|
11432
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11433
|
-
* @param sectionWrapper - Optional section configuration with header and hint
|
|
11452
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11453
|
+
* @param sectionWrapper - Optional section configuration with header and hint.
|
|
11454
|
+
* @returns A wrapped field configuration with section layout.
|
|
11434
11455
|
*/
|
|
11435
11456
|
declare function formlySectionWrapper<C extends FormlyFieldConfig>(fieldConfig: C, sectionWrapper?: DbxFormSectionConfig): WrapperFormlyFieldConfig<_dereekb_dbx_web.DbxSectionHeaderConfig, C>;
|
|
11436
11457
|
/**
|
|
11437
11458
|
* Wraps a field group in a subsection layout with an optional header and hint.
|
|
11438
11459
|
*
|
|
11439
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11440
|
-
* @param subsectionWrapper - Optional subsection configuration with header and hint
|
|
11441
|
-
* @returns A wrapped field configuration with subsection layout
|
|
11442
|
-
*
|
|
11443
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11444
|
-
* @param subsectionWrapper - Optional subsection configuration with header and hint
|
|
11460
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11461
|
+
* @param subsectionWrapper - Optional subsection configuration with header and hint.
|
|
11462
|
+
* @returns A wrapped field configuration with subsection layout.
|
|
11445
11463
|
*/
|
|
11446
11464
|
declare function formlySubsectionWrapper<C extends FormlyFieldConfig>(fieldConfig: C, subsectionWrapper?: DbxFormSubsectionConfig): WrapperFormlyFieldConfig<_dereekb_dbx_web.DbxSectionHeaderConfig, C>;
|
|
11447
11465
|
/**
|
|
11448
11466
|
* Wraps a field with an info button that triggers a callback when clicked.
|
|
11449
11467
|
*
|
|
11450
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11451
|
-
* @param infoWrapper - Info wrapper configuration with callback
|
|
11452
|
-
* @returns A wrapped field configuration with info button
|
|
11453
|
-
*
|
|
11454
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11455
|
-
* @param infoWrapper - Info wrapper configuration with callback
|
|
11468
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11469
|
+
* @param infoWrapper - Info wrapper configuration with callback.
|
|
11470
|
+
* @returns A wrapped field configuration with info button.
|
|
11456
11471
|
*/
|
|
11457
11472
|
declare function formlyInfoWrapper<C extends FormlyFieldConfig>(fieldConfig: C, infoWrapper: DbxFormInfoConfig): WrapperFormlyFieldConfig<DbxFormInfoConfig, C>;
|
|
11458
11473
|
/**
|
|
11459
11474
|
* Wraps a field with dynamic CSS class and style bindings.
|
|
11460
11475
|
*
|
|
11461
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11462
|
-
* @param styleWrapper - Style wrapper configuration with CSS classes and styles
|
|
11463
|
-
* @returns A wrapped field configuration with dynamic styling
|
|
11464
|
-
*
|
|
11465
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11466
|
-
* @param styleWrapper - Style wrapper configuration with CSS classes and styles
|
|
11476
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11477
|
+
* @param styleWrapper - Style wrapper configuration with CSS classes and styles.
|
|
11478
|
+
* @returns A wrapped field configuration with dynamic styling.
|
|
11467
11479
|
*/
|
|
11468
11480
|
declare function formlyStyleWrapper<C extends FormlyFieldConfig>(fieldConfig: C, styleWrapper: DbxFormStyleWrapperConfig): WrapperFormlyFieldConfig<DbxFormStyleWrapperConfig, C>;
|
|
11469
11481
|
/**
|
|
11470
11482
|
* Wraps a field with a loading indicator that shows during async validation.
|
|
11471
11483
|
*
|
|
11472
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11473
|
-
* @param workingWrapper - Optional working wrapper configuration
|
|
11474
|
-
* @returns A wrapped field configuration with loading indicator
|
|
11475
|
-
*
|
|
11476
|
-
* @param fieldConfig - The field configuration to wrap
|
|
11477
|
-
* @param workingWrapper - Optional working wrapper configuration
|
|
11484
|
+
* @param fieldConfig - The field configuration to wrap.
|
|
11485
|
+
* @param workingWrapper - Optional working wrapper configuration.
|
|
11486
|
+
* @returns A wrapped field configuration with loading indicator.
|
|
11478
11487
|
*/
|
|
11479
11488
|
declare function formlyWorkingWrapper<C extends FormlyFieldConfig>(fieldConfig: C, workingWrapper?: DbxFormWorkingWrapperConfig): WrapperFormlyFieldConfig<object, C>;
|
|
11480
11489
|
/**
|
|
@@ -11482,11 +11491,11 @@ declare function formlyWorkingWrapper<C extends FormlyFieldConfig>(fieldConfig:
|
|
|
11482
11491
|
* pairing a field config with an optional flex size.
|
|
11483
11492
|
*/
|
|
11484
11493
|
interface DbxFlexLayoutWrapperGroupFieldConfig {
|
|
11485
|
-
field: FormlyFieldConfig;
|
|
11494
|
+
readonly field: FormlyFieldConfig;
|
|
11486
11495
|
/**
|
|
11487
11496
|
* Flex space sizing for the field. If undefined it will default to the provided default size.
|
|
11488
11497
|
*/
|
|
11489
|
-
size?: DbxFlexSize;
|
|
11498
|
+
readonly size?: DbxFlexSize;
|
|
11490
11499
|
}
|
|
11491
11500
|
/**
|
|
11492
11501
|
* Default configuration for a flex layout group, combining flex wrapper settings
|
|
@@ -11498,23 +11507,21 @@ interface DbxFlexLayoutWrapperGroupFieldConfigDefaults extends DbxFlexWrapperCon
|
|
|
11498
11507
|
* Type guard that checks if the input is a {@link DbxFlexLayoutWrapperGroupFieldConfig}
|
|
11499
11508
|
* (has a `field` property) rather than a plain {@link FormlyFieldConfig}.
|
|
11500
11509
|
*
|
|
11501
|
-
* @param input - The field config or wrapper group config to check
|
|
11502
|
-
* @returns True if the input has a `field` property identifying it as a wrapper group config
|
|
11503
|
-
*
|
|
11504
|
-
* @param input - The field config or wrapper group config to check
|
|
11510
|
+
* @param input - The field config or wrapper group config to check.
|
|
11511
|
+
* @returns True if the input has a `field` property identifying it as a wrapper group config.
|
|
11505
11512
|
*/
|
|
11506
11513
|
declare function formlyCheckIsFieldFlexLayoutGroupFieldConfig(input: FormlyFieldConfig | DbxFlexLayoutWrapperGroupFieldConfig): input is DbxFlexLayoutWrapperGroupFieldConfig;
|
|
11507
11514
|
/**
|
|
11508
11515
|
* Creates a flex-layout-wrapped field group that arranges child fields horizontally
|
|
11509
11516
|
* with configurable sizing, breakpoints, and responsive behavior.
|
|
11510
11517
|
*
|
|
11511
|
-
* @param fieldConfigs - Array of field configs or field config pairs with size overrides
|
|
11512
|
-
* @param options - Flex layout defaults including breakpoint, relative sizing, and default size
|
|
11513
|
-
* @param options.relative - Whether sizes are relative to the container
|
|
11514
|
-
* @param options.breakpoint - Responsive breakpoint at which to stack fields vertically
|
|
11515
|
-
* @param options.breakToColumn - Whether to break to column layout at the breakpoint
|
|
11516
|
-
* @param options.size - Default flex size for fields without an explicit size; defaults to 2
|
|
11517
|
-
* @returns A {@link FormlyFieldConfig} with flex wrapper applied
|
|
11518
|
+
* @param fieldConfigs - Array of field configs or field config pairs with size overrides.
|
|
11519
|
+
* @param options - Flex layout defaults including breakpoint, relative sizing, and default size.
|
|
11520
|
+
* @param options.relative - Whether sizes are relative to the container.
|
|
11521
|
+
* @param options.breakpoint - Responsive breakpoint at which to stack fields vertically.
|
|
11522
|
+
* @param options.breakToColumn - Whether to break to column layout at the breakpoint.
|
|
11523
|
+
* @param options.size - Default flex size for fields without an explicit size; defaults to 2.
|
|
11524
|
+
* @returns A {@link FormlyFieldConfig} with flex wrapper applied.
|
|
11518
11525
|
*
|
|
11519
11526
|
* @example
|
|
11520
11527
|
* ```typescript
|
|
@@ -11586,7 +11593,7 @@ interface FieldValueIsAvailableValidatorConfig<T> {
|
|
|
11586
11593
|
/**
|
|
11587
11594
|
* How long to wait in between value changes.
|
|
11588
11595
|
*/
|
|
11589
|
-
throttle?: number;
|
|
11596
|
+
readonly throttle?: number;
|
|
11590
11597
|
/**
|
|
11591
11598
|
* Returns an observable that checks whether or not the value is currently available.
|
|
11592
11599
|
*
|
|
@@ -11596,7 +11603,7 @@ interface FieldValueIsAvailableValidatorConfig<T> {
|
|
|
11596
11603
|
/**
|
|
11597
11604
|
* Custom message for this validator.
|
|
11598
11605
|
*/
|
|
11599
|
-
message?: string;
|
|
11606
|
+
readonly message?: string;
|
|
11600
11607
|
}
|
|
11601
11608
|
/**
|
|
11602
11609
|
* Validator for validating all values within an object.
|
|
@@ -11750,11 +11757,11 @@ interface DefaultUsernameLoginFieldsValue extends DefaultUsernameLoginFieldValue
|
|
|
11750
11757
|
/**
|
|
11751
11758
|
* Template for login field that takes in a username and password.
|
|
11752
11759
|
*
|
|
11753
|
-
* @param param0 - Login fields configuration
|
|
11754
|
-
* @param param0.username - Optional username field configuration
|
|
11755
|
-
* @param param0.password - Optional password field configuration
|
|
11756
|
-
* @param param0.verifyPassword - Optional verify-password field configuration, or `true` to use defaults
|
|
11757
|
-
* @returns
|
|
11760
|
+
* @param param0 - Login fields configuration.
|
|
11761
|
+
* @param param0.username - Optional username field configuration.
|
|
11762
|
+
* @param param0.password - Optional password field configuration.
|
|
11763
|
+
* @param param0.verifyPassword - Optional verify-password field configuration, or `true` to use defaults.
|
|
11764
|
+
* @returns Array of Formly field configs for the login form.
|
|
11758
11765
|
*/
|
|
11759
11766
|
declare function formlyUsernamePasswordLoginFields({ username, password, verifyPassword }: UsernameLoginFieldsConfig): FormlyFieldConfig[];
|
|
11760
11767
|
/**
|
|
@@ -11980,7 +11987,7 @@ declare class DbxFormlyFormComponentImportsModule {
|
|
|
11980
11987
|
/**
|
|
11981
11988
|
* Registers all dbx-form Formly field types, wrappers, and the core Formly + Material modules as providers.
|
|
11982
11989
|
*
|
|
11983
|
-
* @returns Environment providers for all Formly field declarations
|
|
11990
|
+
* @returns Environment providers for all Formly field declarations.
|
|
11984
11991
|
*/
|
|
11985
11992
|
declare function provideDbxFormFormlyFieldDeclarations(): _angular_core.EnvironmentProviders;
|
|
11986
11993
|
|
|
@@ -11999,14 +12006,14 @@ declare class DbxFormSpacerDirective {
|
|
|
11999
12006
|
/**
|
|
12000
12007
|
* Angular form validator that requires the control value to be truthy.
|
|
12001
12008
|
*
|
|
12002
|
-
* @returns A ValidatorFn that fails when the value is falsy
|
|
12009
|
+
* @returns A ValidatorFn that fails when the value is falsy.
|
|
12003
12010
|
*/
|
|
12004
12011
|
declare function isTruthy(): ValidatorFn;
|
|
12005
12012
|
|
|
12006
12013
|
/**
|
|
12007
12014
|
* Angular form validator that checks whether the control value matches a website domain name pattern.
|
|
12008
12015
|
*
|
|
12009
|
-
* @returns A ValidatorFn that validates against the domain name regex
|
|
12016
|
+
* @returns A ValidatorFn that validates against the domain name regex.
|
|
12010
12017
|
*/
|
|
12011
12018
|
declare function isDomain(): ValidatorFn;
|
|
12012
12019
|
|
|
@@ -12017,19 +12024,19 @@ interface FieldValuesAreEqualValidatorConfig<T extends object = object> {
|
|
|
12017
12024
|
*
|
|
12018
12025
|
* If none are defined, then all fields from the control are matched.
|
|
12019
12026
|
*/
|
|
12020
|
-
keysFilter?: (keyof T)[];
|
|
12027
|
+
readonly keysFilter?: (keyof T)[];
|
|
12021
12028
|
/**
|
|
12022
12029
|
* Full filter to use, if defined.
|
|
12023
12030
|
*/
|
|
12024
|
-
valuesFilter?: KeyValueTupleFilter<T>;
|
|
12031
|
+
readonly valuesFilter?: KeyValueTupleFilter<T>;
|
|
12025
12032
|
/**
|
|
12026
12033
|
* Optional equivalence comparator.
|
|
12027
12034
|
*/
|
|
12028
|
-
isEqual?: EqualityComparatorFunction<T>;
|
|
12035
|
+
readonly isEqual?: EqualityComparatorFunction<T>;
|
|
12029
12036
|
/**
|
|
12030
12037
|
* Custom message for this validator.
|
|
12031
12038
|
*/
|
|
12032
|
-
message?: string;
|
|
12039
|
+
readonly message?: string;
|
|
12033
12040
|
}
|
|
12034
12041
|
/**
|
|
12035
12042
|
* Validator for validating all values within an object.
|
|
@@ -12059,28 +12066,29 @@ interface IsDivisibleByError {
|
|
|
12059
12066
|
/**
|
|
12060
12067
|
* Angular Form ValidationFn for checking isDivisibleBy the input divisor.
|
|
12061
12068
|
*
|
|
12062
|
-
* @param divisor
|
|
12063
|
-
* @returns
|
|
12069
|
+
* @param divisor - The non-zero divisor every input value must be divisible by.
|
|
12070
|
+
* @returns A `ValidatorFn` that emits an `isDivisibleBy` error when the control value is not divisible by `divisor`.
|
|
12071
|
+
* @throws {Error} When `divisor` is zero.
|
|
12064
12072
|
*/
|
|
12065
12073
|
declare function isDivisibleBy(divisor: number): ValidatorFn;
|
|
12066
12074
|
|
|
12067
12075
|
/**
|
|
12068
12076
|
* Angular form validator that checks whether the control value is a valid E.164 phone number.
|
|
12069
12077
|
*
|
|
12070
|
-
* @param allowExtension - Whether to allow phone number extensions in the value
|
|
12071
|
-
* @returns A ValidatorFn that validates E.164 phone numbers
|
|
12078
|
+
* @param allowExtension - Whether to allow phone number extensions in the value.
|
|
12079
|
+
* @returns A ValidatorFn that validates E.164 phone numbers.
|
|
12072
12080
|
*/
|
|
12073
12081
|
declare function isE164PhoneNumber(allowExtension: boolean): ValidatorFn;
|
|
12074
12082
|
/**
|
|
12075
12083
|
* Angular Form ValidationFn for checking the input is a valid phone extension. Empty values return true.
|
|
12076
12084
|
*
|
|
12077
|
-
* @returns A ValidatorFn that validates phone extension numbers
|
|
12085
|
+
* @returns A ValidatorFn that validates phone extension numbers.
|
|
12078
12086
|
*/
|
|
12079
12087
|
declare function isPhoneExtension(): ValidatorFn;
|
|
12080
12088
|
/**
|
|
12081
12089
|
* Angular form validator that checks the value is a valid E.164 phone number with a valid extension (if present).
|
|
12082
12090
|
*
|
|
12083
|
-
* @returns A ValidatorFn that validates E.164 phone numbers with optional extensions
|
|
12091
|
+
* @returns A ValidatorFn that validates E.164 phone numbers with optional extensions.
|
|
12084
12092
|
*/
|
|
12085
12093
|
declare function isE164PhoneNumberWithValidExtension(): ValidatorFn;
|
|
12086
12094
|
|
|
@@ -12098,10 +12106,10 @@ interface ProvideDbxFormConfigurationConfig {
|
|
|
12098
12106
|
* Provides the core dbx-form configuration including Material form field defaults,
|
|
12099
12107
|
* date adapter, and optional date-time presets.
|
|
12100
12108
|
*
|
|
12101
|
-
* @param config - Optional configuration for the date adapter and default date-time presets
|
|
12102
|
-
* @returns Environment providers for dbx-form
|
|
12109
|
+
* @param config - Optional configuration for the date adapter and default date-time presets.
|
|
12110
|
+
* @returns Environment providers for dbx-form.
|
|
12103
12111
|
*/
|
|
12104
12112
|
declare function provideDbxFormConfiguration(config?: ProvideDbxFormConfigurationConfig): EnvironmentProviders;
|
|
12105
12113
|
|
|
12106
|
-
export { APP_ACTION_FORM_DISABLED_KEY, AbstractAsyncForgeFormDirective, AbstractAsyncFormlyFormDirective, AbstractConfigAsyncForgeFormDirective, AbstractConfigAsyncFormlyFormDirective, AbstractDbxPickableItemFieldDirective, AbstractDbxSearchableFieldDisplayDirective, AbstractDbxSearchableValueFieldDirective, AbstractForgeFormDirective, AbstractForgePickableItemFieldDirective, AbstractForgeSearchableFieldDirective, AbstractFormExpandSectionWrapperDirective, AbstractFormlyFormDirective, AbstractSyncForgeFormDirective, AbstractSyncFormlyFormDirective, AutoTouchFieldWrapperComponent, ChecklistItemFieldDataSetBuilder, DBX_DATE_TIME_FIELD_DATE_NOT_IN_SCHEDULE_ERROR, DBX_DATE_TIME_FIELD_MENU_PRESETS_TOKEN, DBX_DATE_TIME_FIELD_TIME_NOT_IN_RANGE_ERROR, DBX_FORGE_ARRAY_FIELD_ELEMENT_WRAPPER_NAME, DBX_FORGE_ARRAY_FIELD_WRAPPER_NAME, DBX_FORGE_DEFAULT_PASSWORDS_MATCH_VALIDATION_MESSAGE, DBX_FORGE_FIELD_TYPES, DBX_FORGE_FIELD_WRAPPER_TYPES, DBX_FORGE_FLEX_WRAPPER_TYPE_NAME, DBX_FORGE_FORM_COMPONENT_TEMPLATE, DBX_FORGE_FORM_FIELD_WRAPPER_NAME, DBX_FORGE_INFO_WRAPPER_TYPE_NAME, DBX_FORGE_PASSWORDS_MATCH_VALIDATION_KIND, DBX_FORGE_SEARCHABLE_CHIP_FIELD_TYPE_NAME, DBX_FORGE_SEARCHABLE_TEXT_FIELD_TYPE_NAME, DBX_FORGE_SECTION_WRAPPER_TYPE_NAME, DBX_FORGE_STYLE_WRAPPER_TYPE_NAME, DBX_FORGE_TEXT_PASSWORD_DEFAULT_AUTOCOMPLETE, DBX_FORGE_TEXT_VERIFY_PASSWORD_DEFAULT_AUTOCOMPLETE, DBX_FORGE_WORKING_WRAPPER_TYPE_NAME, DBX_FORMLY_FORM_COMPONENT_TEMPLATE, DBX_SEARCHABLE_FIELD_COMPONENT_DATA_TOKEN, DEFAULT_DATE_TIME_FIELD_MENU_PRESETS_PRESETS, DEFAULT_DURATION_PICKER_POPOVER_KEY, DEFAULT_FORGE_LAT_LNG_TEXT_FIELD_PLACEHOLDER, DEFAULT_FORM_DISABLED_KEY, DEFAULT_HAS_VALUE_FN, DEFAULT_LAT_LNG_TEXT_FIELD_PATTERN_MESSAGE, DEFAULT_LAT_LNG_TEXT_FIELD_PLACEHOLDER, DEFAULT_PREFERRED_COUNTRIES, DEFAULT_TRANSFORM_DEBOUNCE_TIME, DURATION_MAX_VALIDATION_MESSAGE, DURATION_MIN_VALIDATION_MESSAGE, DbxActionFormDirective, DbxActionFormSafetyDirective, DbxChecklistItemContentComponent, DbxChecklistItemFieldComponent, DbxDateTimeFieldComponent, DbxDateTimeFieldMenuPresetsService, DbxDateTimeFieldTimeMode, DbxDateTimeValueMode, DbxDefaultChecklistItemFieldDisplayComponent, DbxDefaultSearchableFieldDisplayComponent, DbxDurationPickerPopoverComponent, DbxFixedDateRangeFieldComponent, DbxFixedDateRangeFieldSelectionStrategy, DbxForgeActionDialogComponent, DbxForgeArrayFieldElementWrapperComponent, DbxForgeArrayFieldWrapperComponent, DbxForgeAsyncConfigFormComponent, DbxForgeComponentFieldComponent, DbxForgeDateRangeFieldComponent, DbxForgeDateTimeFieldComponent, DbxForgeDynamicFormSignalRef, DbxForgeFixedDateRangeFieldComponent, DbxForgeFixedDateRangeFieldSelectionStrategy, DbxForgeFormComponent, DbxForgeFormComponentImportsModule, DbxForgeFormContext, DbxForgeFormContextService, DbxForgeFormFieldWrapperComponent, DbxForgeGlobalDefaultConfigService, DbxForgeListSelectionFieldComponent, DbxForgePhoneFieldComponent, DbxForgePickableChipFieldComponent, DbxForgePickableListFieldComponent, DbxForgeSearchableChipFieldComponent, DbxForgeSearchableTextFieldComponent, DbxForgeSourceSelectFieldComponent, DbxForgeTextEditorFieldComponent, DbxForgeTimeDurationFieldComponent, DbxForgeWorkingWrapperComponent, DbxForm, DbxFormActionDialogComponent, DbxFormComponentFieldComponent, DbxFormExpandWrapperComponent, DbxFormExtensionModule, DbxFormFlexWrapperComponent, DbxFormFormlyArrayFieldModule, DbxFormFormlyBooleanFieldModule, DbxFormFormlyChecklistItemFieldModule, DbxFormFormlyComponentFieldModule, DbxFormFormlyDateFieldModule, DbxFormFormlyDbxListFieldModule, DbxFormFormlyDurationFieldModule, DbxFormFormlyFieldModule, DbxFormFormlyNumberFieldModule, DbxFormFormlyPhoneFieldModule, DbxFormFormlyPickableFieldModule, DbxFormFormlySearchableFieldModule, DbxFormFormlySourceSelectModule, DbxFormFormlyTextEditorFieldModule, DbxFormFormlyTextFieldModule, DbxFormFormlyWrapperModule, DbxFormInfoWrapperComponent, DbxFormLoadingSourceDirective, DbxFormLoggerDirective, DbxFormLoginFieldModule, DbxFormModule, DbxFormRepeatArrayTypeComponent, DbxFormSearchFormComponent, DbxFormSectionWrapperComponent, DbxFormSourceDirective, DbxFormSourceSelectFieldComponent, DbxFormSpacerDirective, DbxFormState, DbxFormStyleWrapperComponent, DbxFormSubsectionWrapperComponent, DbxFormTextAvailableFieldModule, DbxFormTimezoneStringFieldModule, DbxFormToggleWrapperComponent, DbxFormValueChangeDirective, DbxFormWorkingWrapperComponent, DbxFormlyComponent, DbxFormlyContext, DbxFormlyFieldsContextDirective, DbxFormlyFormComponentImportsModule, DbxItemListFieldComponent, DbxMutableForm, DbxPhoneFieldComponent, DbxPickableChipListFieldComponent, DbxPickableListFieldComponent, DbxPickableListFieldItemListComponent, DbxPickableListFieldItemListViewComponent, DbxPickableListFieldItemListViewItemComponent, DbxSearchableChipFieldComponent, DbxSearchableFieldAutocompleteItemComponent, DbxSearchableTextFieldComponent, DbxTextEditorFieldComponent, DbxTimeDurationFieldComponent, FIELD_VALUES_ARE_EQUAL_VALIDATION_KEY, FIELD_VALUE_IS_AVAILABLE_ERROR_VALIDATION_KEY, FIELD_VALUE_IS_AVAILABLE_VALIDATION_KEY, FORGE_COMPONENT_FIELD_TYPE, FORGE_DATERANGE_FIELD_TYPE, FORGE_DATETIME_FIELD_TYPE, FORGE_EXPAND_FIELD_TYPE_NAME, FORGE_FIELD_VALUE_IS_AVAILABLE_VALIDATOR_NAME, FORGE_FIXEDDATERANGE_FIELD_TYPE, FORGE_INFO_BUTTON_FIELD_TYPE_NAME, FORGE_IS_DIVISIBLE_BY_VALIDATION_KEY, FORGE_LIST_SELECTION_FIELD_TYPE, FORGE_PHONE_FIELD_TYPE, FORGE_PICKABLE_CHIP_FIELD_TYPE, FORGE_PICKABLE_LIST_FIELD_TYPE, FORGE_SOURCE_SELECT_FIELD_TYPE, FORGE_STYLED_BOX_CLASS, FORGE_TEXT_EDITOR_FIELD_TYPE, FORGE_TIMEDURATION_FIELD_TYPE, FORGE_VALUE_SELECTION_FIELD_TYPE, INVALID_PHONE_NUMBER_EXTENSION_MESSAGE, INVALID_PHONE_NUMBER_MESSAGE, IS_DIVISIBLE_BY_VALIDATION_KEY, IS_NOT_WEBSITE_URL_VALIDATION_KEY, IS_NOT_WEBSITE_URL_WITH_EXPECTED_DOMAIN_VALIDATION_KEY, IS_NOT_WEBSITE_URL_WITH_PREFIX_VALIDATION_KEY, LABEL_STRING_MAX_LENGTH, MAX_LENGTH_VALIDATION_MESSAGE, MAX_VALIDATION_MESSAGE, MIN_LENGTH_VALIDATION_MESSAGE, MIN_VALIDATION_MESSAGE, PHONE_LABEL_MAX_LENGTH, REQUIRED_VALIDATION_MESSAGE, SEARCH_STRING_MAX_LENGTH, SELF_DEPENDENCY_TOKEN, TAKE_NEXT_UPCOMING_TIME_CONFIG_OBS, _filterForgeFormValueKeepInternal, _filterForgeFormValueStripInternal, _forgeFormValueEqual, addValueSelectionOptionFunction, addWrapperToFormlyFieldConfig, addressField, addressFormlyFields, addressLineField, addressListField, applyTimeOffset, autoTouchWrapper, buildCombinedDateTime, checkIsFieldFlexLayoutGroupFieldConfig, checkboxField, checklistItemField, chipTextField, cityField, componentField, computeDateKeyboardStep, computeErrorMessage, computeTimeKeyboardStep, configureDbxForgeFormFieldWrapper, configureDbxForgeFormFieldWrapperWith, configureForgeAutocompleteFieldMeta, copyFormConfigCustomFnConfig, countryField, dateRangeField, dateRangeFieldMapper, dateTimeField, dateTimeFieldCalc, dateTimeFieldMapper, dateTimePreset, dateTimeRangeField, dbxDateRangeIsSameDateRangeFieldValue, dbxDateTimeInputValueParseFactory, dbxDateTimeIsSameDateTimeFieldValue, dbxDateTimeOutputValueFactory, dbxForgeAddressFields, dbxForgeAddressGroup, dbxForgeAddressLineField, dbxForgeAddressListField, dbxForgeArrayField, dbxForgeBuildFieldDef, dbxForgeCheckboxField, dbxForgeChecklistField, dbxForgeCityField, dbxForgeComponentField, dbxForgeContainer, dbxForgeCountryField, dbxForgeDateField, dbxForgeDateRangeRow, dbxForgeDateTimeField, dbxForgeDateTimeRangeRow, dbxForgeDefaultValidationMessages, dbxForgeDollarAmountField, dbxForgeEmailField, dbxForgeExpandWrapper, dbxForgeFieldDisabled, dbxForgeFieldFunction, dbxForgeFieldFunctionConfigPropsWithHintBuilder, dbxForgeFieldFunctionConfigure, dbxForgeFinalizeFormConfig, dbxForgeFixedDateRangeField, dbxForgeFlexLayout, provideDbxForgeFormContext as dbxForgeFormComponentProviders, dbxForgeGroup, dbxForgeInfoWrapper, dbxForgeLatLngTextField, dbxForgeListSelectionField, dbxForgeNameField, dbxForgeNumberField, dbxForgeNumberSliderField, dbxForgePhoneField, dbxForgePickableChipField, dbxForgePickableListField, dbxForgeRow, dbxForgeSearchableChipField, dbxForgeSearchableStringChipField, dbxForgeSearchableTextField, dbxForgeSectionWrapper, dbxForgeSourceSelectField, dbxForgeStateField, dbxForgeStyleWrapper, dbxForgeSubsectionWrapper, dbxForgeTextAreaField, dbxForgeTextEditorField, dbxForgeTextField, dbxForgeTextIsAvailableField, dbxForgeTextPasswordField, dbxForgeTextPasswordWithVerifyField, dbxForgeTextVerifyPasswordField, dbxForgeTimeDurationField, dbxForgeTimezoneStringField, dbxForgeToggleField, dbxForgeToggleWrapper, dbxForgeUsernameLoginField, dbxForgeUsernamePasswordLoginFields, dbxForgeValueSelectionField, dbxForgeWebsiteUrlField, dbxForgeZipCodeField, dbxFormSearchFormFields, dbxFormSourceObservable, dbxFormSourceObservableFromStream, provideFormlyContext as dbxFormlyFormComponentProviders, dbxListField, defaultValidationMessages, disableAutofillAttributes, disableAutofillAttributes as disableFormlyFieldAutofillAttributes, dollarAmountField, durationMaxValidationMessage, durationMinValidationMessage, emailField, expandWrapper, fieldAutocompleteAttributeValue, fieldValueIsAvailableValidator, fieldValuesAreEqualValidator, filterPartialPotentialFieldConfigValuesFromObject, filterPickableItemFieldValuesByLabel, filterPickableItemFieldValuesByLabelFilterFunction, filterPresets, fixedDateRangeField, fixedDateRangeFieldMapper, flexLayoutWrapper, formlyAddValueSelectionOptionFunction, formlyAddWrapperToFormlyFieldConfig, formlyAddressField, formlyAddressFormlyFields, formlyAddressLineField, formlyAddressListField, formlyAutoTouchWrapper, formlyCheckIsFieldFlexLayoutGroupFieldConfig, formlyCheckboxField, formlyChecklistItemField, formlyChipTextField, formlyCityField, formlyComponentField, formlyCountryField, formlyDateRangeField, formlyDateTimeField, formlyDateTimeRangeField, formlyDbxListField, formlyDollarAmountField, formlyEmailField, formlyExpandWrapper, formlyField, formlyFixedDateRangeField, formlyFlexLayoutWrapper, formlyHiddenField, formlyInfoWrapper, formlyLatLngTextField, formlyMakeMetaFilterSearchableFieldValueDisplayFn, formlyNameField, formlyNumberField, formlyNumberFieldTransformParser, formlyNumberSliderField, formlyPhoneAndLabelSectionField, formlyPhoneField, formlyPhoneListField, formlyPickableItemChipField, formlyPickableItemListField, formlyRepeatArrayField, formlySearchableChipField, formlySearchableStringChipField, formlySearchableTextField, formlySectionWrapper, formlySourceSelectField, formlyStateField, formlyStyleWrapper, formlySubsectionWrapper, formlyTextAreaField, formlyTextEditorField, formlyTextField, formlyTextFieldTransformParser, formlyTextIsAvailableField, formlyTextPasswordField, formlyTextPasswordWithVerifyFieldGroup, formlyTextVerifyPasswordField, formlyTimeDurationField, formlyTimeOnlyField, formlyTimezoneStringField, formlyToggleField, formlyToggleWrapper, formlyUsernameLoginField, formlyUsernamePasswordLoginFields, formlyValueSelectionField, formlyWebsiteUrlField, formlyWorkingWrapper, formlyWrappedPhoneAndLabelField, formlyZipCodeField, hiddenField, infoWrapper, isDbxDateTimeFieldTimeDateConfig, isDivisibleBy, isDomain, isE164PhoneNumber, isE164PhoneNumberWithValidExtension, isInRange, isPhoneExtension, isTruthy, isWebsiteUrlValidator, latLngTextField, makeMetaFilterSearchableFieldValueDisplayFn, maxLengthValidationMessage, maxValidationMessage, mergeDbxForgeFieldFormConfig, mergePickerConfig, mergePropsValueObjects, minLengthValidationMessage, minValidationMessage, nameField, navigateDate, numberField, numberFieldTransformParser, numberSliderField, partialPotentialFieldConfigKeys, partialPotentialFieldConfigKeysFilter, phoneAndLabelSectionField, phoneField, phoneFieldMapper, phoneListField, pickableItemChipField, pickableItemListField, pickableValueFieldValuesConfigForStaticLabeledValues, propsAndConfigForFieldConfig, propsValueForFieldConfig, provideDbxForgeFormContext, provideDbxForgeFormFieldDeclarations, provideDbxForm, provideDbxFormConfiguration, provideDbxFormFormlyFieldDeclarations, provideDbxMutableForm, provideFormlyContext, repeatArrayField, resolveForgeSelectionOptions, searchableChipField, searchableStringChipField, searchableTextField, sectionWrapper, sortPickableItemsByLabel, sortPickableItemsByLabelStringFunction, sourceSelectField, stateField, streamValueFromControl, stripEmptyForgeValues, stripForgeInternalKeys, styleWrapper, subsectionWrapper, syncConfigValueObs, textAreaField, textEditorField, textField, textFieldTransformParser, textIsAvailableField, textPasswordField, textPasswordWithVerifyFieldGroup, textVerifyPasswordField, timeDurationField, timeDurationFieldMapper, timeOnlyField, timezoneStringField, toggleDisableFormControl, toggleField, toggleWrapper, usernameLoginField, usernamePasswordLoginFields, validatorsForFieldConfig, valueSelectionField, websiteUrlField, workingWrapper, wrappedPhoneAndLabelField, zipCodeField };
|
|
12114
|
+
export { APP_ACTION_FORM_DISABLED_KEY, AbstractAsyncForgeFormDirective, AbstractAsyncFormlyFormDirective, AbstractConfigAsyncForgeFormDirective, AbstractConfigAsyncFormlyFormDirective, AbstractDbxPickableItemFieldDirective, AbstractDbxSearchableFieldDisplayDirective, AbstractDbxSearchableValueFieldDirective, AbstractForgeFormDirective, AbstractForgePickableItemFieldDirective, AbstractForgeSearchableFieldDirective, AbstractFormExpandSectionWrapperDirective, AbstractFormlyFormDirective, AbstractSyncForgeFormDirective, AbstractSyncFormlyFormDirective, AutoTouchFieldWrapperComponent, ChecklistItemFieldDataSetBuilder, DBX_DATE_TIME_FIELD_DATE_NOT_IN_SCHEDULE_ERROR, DBX_DATE_TIME_FIELD_MENU_PRESETS_TOKEN, DBX_DATE_TIME_FIELD_TIME_NOT_IN_RANGE_ERROR, DBX_FORGE_ARRAY_FIELD_ELEMENT_WRAPPER_NAME, DBX_FORGE_ARRAY_FIELD_WRAPPER_NAME, DBX_FORGE_DEFAULT_PASSWORDS_MATCH_VALIDATION_MESSAGE, DBX_FORGE_FIELD_TYPES, DBX_FORGE_FIELD_WRAPPER_TYPES, DBX_FORGE_FLEX_WRAPPER_TYPE_NAME, DBX_FORGE_FORM_COMPONENT_TEMPLATE, DBX_FORGE_FORM_FIELD_WRAPPER_NAME, DBX_FORGE_INFO_WRAPPER_TYPE_NAME, DBX_FORGE_PASSWORDS_MATCH_VALIDATION_KIND, DBX_FORGE_SEARCHABLE_CHIP_FIELD_TYPE_NAME, DBX_FORGE_SEARCHABLE_TEXT_FIELD_TYPE_NAME, DBX_FORGE_SECTION_WRAPPER_TYPE_NAME, DBX_FORGE_STYLE_WRAPPER_TYPE_NAME, DBX_FORGE_TEXT_PASSWORD_DEFAULT_AUTOCOMPLETE, DBX_FORGE_TEXT_VERIFY_PASSWORD_DEFAULT_AUTOCOMPLETE, DBX_FORGE_WORKING_WRAPPER_TYPE_NAME, DBX_FORMLY_FORM_COMPONENT_TEMPLATE, DBX_SEARCHABLE_FIELD_COMPONENT_DATA_TOKEN, DEFAULT_DATE_TIME_FIELD_MENU_PRESETS_PRESETS, DEFAULT_DBX_FORGE_PASSWORDS_MATCH_VALIDATION_MESSAGE, DEFAULT_DBX_FORGE_TEXT_PASSWORD_AUTOCOMPLETE, DEFAULT_DBX_FORGE_TEXT_VERIFY_PASSWORD_AUTOCOMPLETE, DEFAULT_DURATION_PICKER_POPOVER_KEY, DEFAULT_FORGE_LAT_LNG_TEXT_FIELD_PLACEHOLDER, DEFAULT_FORM_DISABLED_KEY, DEFAULT_HAS_VALUE_FN, DEFAULT_LAT_LNG_TEXT_FIELD_PATTERN_MESSAGE, DEFAULT_LAT_LNG_TEXT_FIELD_PLACEHOLDER, DEFAULT_PREFERRED_COUNTRIES, DEFAULT_TRANSFORM_DEBOUNCE_TIME, DURATION_MAX_VALIDATION_MESSAGE, DURATION_MIN_VALIDATION_MESSAGE, DbxActionFormDirective, DbxActionFormSafetyDirective, DbxChecklistItemContentComponent, DbxChecklistItemFieldComponent, DbxDateTimeFieldComponent, DbxDateTimeFieldMenuPresetsService, DbxDateTimeFieldTimeMode, DbxDateTimeValueMode, DbxDefaultChecklistItemFieldDisplayComponent, DbxDefaultSearchableFieldDisplayComponent, DbxDurationPickerPopoverComponent, DbxFixedDateRangeFieldComponent, DbxFixedDateRangeFieldSelectionStrategy, DbxForgeActionDialogComponent, DbxForgeArrayFieldElementWrapperComponent, DbxForgeArrayFieldWrapperComponent, DbxForgeAsyncConfigFormComponent, DbxForgeComponentFieldComponent, DbxForgeDateRangeFieldComponent, DbxForgeDateTimeFieldComponent, DbxForgeDynamicFormSignalRef, DbxForgeFixedDateRangeFieldComponent, DbxForgeFixedDateRangeFieldSelectionStrategy, DbxForgeFormComponent, DbxForgeFormComponentImportsModule, DbxForgeFormContext, DbxForgeFormContextService, DbxForgeFormFieldWrapperComponent, DbxForgeGlobalDefaultConfigService, DbxForgeListSelectionFieldComponent, DbxForgePhoneFieldComponent, DbxForgePickableChipFieldComponent, DbxForgePickableListFieldComponent, DbxForgeSearchableChipFieldComponent, DbxForgeSearchableTextFieldComponent, DbxForgeSourceSelectFieldComponent, DbxForgeTextEditorFieldComponent, DbxForgeTimeDurationFieldComponent, DbxForgeWorkingWrapperComponent, DbxForm, DbxFormActionDialogComponent, DbxFormComponentFieldComponent, DbxFormExpandWrapperComponent, DbxFormExtensionModule, DbxFormFlexWrapperComponent, DbxFormFormlyArrayFieldModule, DbxFormFormlyBooleanFieldModule, DbxFormFormlyChecklistItemFieldModule, DbxFormFormlyComponentFieldModule, DbxFormFormlyDateFieldModule, DbxFormFormlyDbxListFieldModule, DbxFormFormlyDurationFieldModule, DbxFormFormlyFieldModule, DbxFormFormlyNumberFieldModule, DbxFormFormlyPhoneFieldModule, DbxFormFormlyPickableFieldModule, DbxFormFormlySearchableFieldModule, DbxFormFormlySourceSelectModule, DbxFormFormlyTextEditorFieldModule, DbxFormFormlyTextFieldModule, DbxFormFormlyWrapperModule, DbxFormInfoWrapperComponent, DbxFormLoadingSourceDirective, DbxFormLoggerDirective, DbxFormLoginFieldModule, DbxFormModule, DbxFormRepeatArrayTypeComponent, DbxFormSearchFormComponent, DbxFormSectionWrapperComponent, DbxFormSourceDirective, DbxFormSourceSelectFieldComponent, DbxFormSpacerDirective, DbxFormState, DbxFormStyleWrapperComponent, DbxFormSubsectionWrapperComponent, DbxFormTextAvailableFieldModule, DbxFormTimezoneStringFieldModule, DbxFormToggleWrapperComponent, DbxFormValueChangeDirective, DbxFormWorkingWrapperComponent, DbxFormlyComponent, DbxFormlyContext, DbxFormlyFieldsContextDirective, DbxFormlyFormComponentImportsModule, DbxItemListFieldComponent, DbxMutableForm, DbxPhoneFieldComponent, DbxPickableChipListFieldComponent, DbxPickableListFieldComponent, DbxPickableListFieldItemListComponent, DbxPickableListFieldItemListViewComponent, DbxPickableListFieldItemListViewItemComponent, DbxSearchableChipFieldComponent, DbxSearchableFieldAutocompleteItemComponent, DbxSearchableTextFieldComponent, DbxTextEditorFieldComponent, DbxTimeDurationFieldComponent, FIELD_VALUES_ARE_EQUAL_VALIDATION_KEY, FIELD_VALUE_IS_AVAILABLE_ERROR_VALIDATION_KEY, FIELD_VALUE_IS_AVAILABLE_VALIDATION_KEY, FORGE_COMPONENT_FIELD_TYPE, FORGE_DATERANGE_FIELD_TYPE, FORGE_DATETIME_FIELD_TYPE, FORGE_EXPAND_FIELD_TYPE_NAME, FORGE_FIELD_VALUE_IS_AVAILABLE_VALIDATOR_NAME, FORGE_FIXEDDATERANGE_FIELD_TYPE, FORGE_INFO_BUTTON_FIELD_TYPE_NAME, FORGE_IS_DIVISIBLE_BY_VALIDATION_KEY, FORGE_LIST_SELECTION_FIELD_TYPE, FORGE_PHONE_FIELD_TYPE, FORGE_PICKABLE_CHIP_FIELD_TYPE, FORGE_PICKABLE_LIST_FIELD_TYPE, FORGE_SOURCE_SELECT_FIELD_TYPE, FORGE_STYLED_BOX_CLASS, FORGE_TEXT_EDITOR_FIELD_TYPE, FORGE_TIMEDURATION_FIELD_TYPE, FORGE_VALUE_SELECTION_FIELD_TYPE, INVALID_PHONE_NUMBER_EXTENSION_MESSAGE, INVALID_PHONE_NUMBER_MESSAGE, IS_DIVISIBLE_BY_VALIDATION_KEY, IS_NOT_WEBSITE_URL_VALIDATION_KEY, IS_NOT_WEBSITE_URL_WITH_EXPECTED_DOMAIN_VALIDATION_KEY, IS_NOT_WEBSITE_URL_WITH_PREFIX_VALIDATION_KEY, LABEL_STRING_MAX_LENGTH, MAX_LENGTH_VALIDATION_MESSAGE, MAX_VALIDATION_MESSAGE, MIN_LENGTH_VALIDATION_MESSAGE, MIN_VALIDATION_MESSAGE, PARTIAL_POTENTIAL_FIELD_CONFIG_KEYS, PARTIAL_POTENTIAL_FIELD_CONFIG_KEYS_FILTER, PHONE_LABEL_MAX_LENGTH, REQUIRED_VALIDATION_MESSAGE, SEARCH_STRING_MAX_LENGTH, SELF_DEPENDENCY_TOKEN, TAKE_NEXT_UPCOMING_TIME_CONFIG_OBS, _filterForgeFormValueKeepInternal, _filterForgeFormValueStripInternal, _forgeFormValueEqual, addValueSelectionOptionFunction, addWrapperToFormlyFieldConfig, addressField, addressFormlyFields, addressLineField, addressListField, applyTimeOffset, autoTouchWrapper, buildCombinedDateTime, checkIsFieldFlexLayoutGroupFieldConfig, checkboxField, checklistItemField, chipTextField, cityField, componentField, computeDateKeyboardStep, computeErrorMessage, computeTimeKeyboardStep, configureDbxForgeFormFieldWrapper, configureDbxForgeFormFieldWrapperWith, configureForgeAutocompleteFieldMeta, copyFormConfigCustomFnConfig, countryField, dateRangeField, dateRangeFieldMapper, dateTimeField, dateTimeFieldCalc, dateTimeFieldMapper, dateTimePreset, dateTimeRangeField, dbxDateRangeIsSameDateRangeFieldValue, dbxDateTimeInputValueParseFactory, dbxDateTimeIsSameDateTimeFieldValue, dbxDateTimeOutputValueFactory, dbxForgeAddressFields, dbxForgeAddressGroup, dbxForgeAddressLineField, dbxForgeAddressListField, dbxForgeArrayField, dbxForgeBuildFieldDef, dbxForgeCheckboxField, dbxForgeChecklistField, dbxForgeCityField, dbxForgeComponentField, dbxForgeContainer, dbxForgeCountryField, dbxForgeDateField, dbxForgeDateRangeRow, dbxForgeDateTimeField, dbxForgeDateTimeRangeRow, dbxForgeDefaultValidationMessages, dbxForgeDollarAmountField, dbxForgeEmailField, dbxForgeExpandWrapper, dbxForgeFieldDisabled, dbxForgeFieldFunction, dbxForgeFieldFunctionConfigPropsWithHintBuilder, dbxForgeFieldFunctionConfigure, dbxForgeFinalizeFormConfig, dbxForgeFixedDateRangeField, dbxForgeFlexLayout, provideDbxForgeFormContext as dbxForgeFormComponentProviders, dbxForgeGroup, dbxForgeInfoWrapper, dbxForgeLatLngTextField, dbxForgeListSelectionField, dbxForgeNameField, dbxForgeNumberField, dbxForgeNumberSliderField, dbxForgePhoneField, dbxForgePickableChipField, dbxForgePickableListField, dbxForgeRow, dbxForgeSearchableChipField, dbxForgeSearchableStringChipField, dbxForgeSearchableTextField, dbxForgeSectionWrapper, dbxForgeSourceSelectField, dbxForgeStateField, dbxForgeStyleWrapper, dbxForgeSubsectionWrapper, dbxForgeTextAreaField, dbxForgeTextEditorField, dbxForgeTextField, dbxForgeTextIsAvailableField, dbxForgeTextPasswordField, dbxForgeTextPasswordWithVerifyField, dbxForgeTextVerifyPasswordField, dbxForgeTimeDurationField, dbxForgeTimezoneStringField, dbxForgeToggleField, dbxForgeToggleWrapper, dbxForgeUsernameLoginField, dbxForgeUsernamePasswordLoginFields, dbxForgeValueSelectionField, dbxForgeWebsiteUrlField, dbxForgeZipCodeField, dbxFormSearchFormFields, dbxFormSourceObservable, dbxFormSourceObservableFromStream, provideFormlyContext as dbxFormlyFormComponentProviders, dbxListField, defaultValidationMessages, disableAutofillAttributes, disableAutofillAttributes as disableFormlyFieldAutofillAttributes, dollarAmountField, durationMaxValidationMessage, durationMinValidationMessage, emailField, expandWrapper, fieldAutocompleteAttributeValue, fieldValueIsAvailableValidator, fieldValuesAreEqualValidator, filterPartialPotentialFieldConfigValuesFromObject, filterPickableItemFieldValuesByLabel, filterPickableItemFieldValuesByLabelFilterFunction, filterPresets, fixedDateRangeField, fixedDateRangeFieldMapper, flexLayoutWrapper, formlyAddValueSelectionOptionFunction, formlyAddWrapperToFormlyFieldConfig, formlyAddressField, formlyAddressFormlyFields, formlyAddressLineField, formlyAddressListField, formlyAutoTouchWrapper, formlyCheckIsFieldFlexLayoutGroupFieldConfig, formlyCheckboxField, formlyChecklistItemField, formlyChipTextField, formlyCityField, formlyComponentField, formlyCountryField, formlyDateRangeField, formlyDateTimeField, formlyDateTimeRangeField, formlyDbxListField, formlyDollarAmountField, formlyEmailField, formlyExpandWrapper, formlyField, formlyFixedDateRangeField, formlyFlexLayoutWrapper, formlyHiddenField, formlyInfoWrapper, formlyLatLngTextField, formlyMakeMetaFilterSearchableFieldValueDisplayFn, formlyNameField, formlyNumberField, formlyNumberFieldTransformParser, formlyNumberSliderField, formlyPhoneAndLabelSectionField, formlyPhoneField, formlyPhoneListField, formlyPickableItemChipField, formlyPickableItemListField, formlyRepeatArrayField, formlySearchableChipField, formlySearchableStringChipField, formlySearchableTextField, formlySectionWrapper, formlySourceSelectField, formlyStateField, formlyStyleWrapper, formlySubsectionWrapper, formlyTextAreaField, formlyTextEditorField, formlyTextField, formlyTextFieldTransformParser, formlyTextIsAvailableField, formlyTextPasswordField, formlyTextPasswordWithVerifyFieldGroup, formlyTextVerifyPasswordField, formlyTimeDurationField, formlyTimeOnlyField, formlyTimezoneStringField, formlyToggleField, formlyToggleWrapper, formlyUsernameLoginField, formlyUsernamePasswordLoginFields, formlyValueSelectionField, formlyWebsiteUrlField, formlyWorkingWrapper, formlyWrappedPhoneAndLabelField, formlyZipCodeField, hiddenField, infoWrapper, isDbxDateTimeFieldTimeDateConfig, isDivisibleBy, isDomain, isE164PhoneNumber, isE164PhoneNumberWithValidExtension, isInRange, isPhoneExtension, isTruthy, isWebsiteUrlValidator, latLngTextField, makeMetaFilterSearchableFieldValueDisplayFn, maxLengthValidationMessage, maxValidationMessage, mergeDbxForgeFieldFormConfig, mergePickerConfig, mergePropsValueObjects, minLengthValidationMessage, minValidationMessage, nameField, navigateDate, numberField, numberFieldTransformParser, numberSliderField, phoneAndLabelSectionField, phoneField, phoneFieldMapper, phoneListField, pickableItemChipField, pickableItemListField, pickableValueFieldValuesConfigForStaticLabeledValues, propsAndConfigForFieldConfig, propsValueForFieldConfig, provideDbxForgeFormContext, provideDbxForgeFormFieldDeclarations, provideDbxForm, provideDbxFormConfiguration, provideDbxFormFormlyFieldDeclarations, provideDbxMutableForm, provideFormlyContext, repeatArrayField, resolveForgeSelectionOptions, searchableChipField, searchableStringChipField, searchableTextField, sectionWrapper, sortPickableItemsByLabel, sortPickableItemsByLabelStringFunction, sourceSelectField, stateField, streamValueFromControl, stripEmptyForgeValues, stripForgeInternalKeys, styleWrapper, subsectionWrapper, syncConfigValueObs, textAreaField, textEditorField, textField, textFieldTransformParser, textIsAvailableField, textPasswordField, textPasswordWithVerifyFieldGroup, textVerifyPasswordField, timeDurationField, timeDurationFieldMapper, timeOnlyField, timezoneStringField, toggleDisableFormControl, toggleField, toggleWrapper, usernameLoginField, usernamePasswordLoginFields, validatorsForFieldConfig, valueSelectionField, websiteUrlField, workingWrapper, wrappedPhoneAndLabelField, zipCodeField };
|
|
12107
12115
|
export type { AbstractFormExpandSectionConfig, AddressFieldConfig, AddressFormlyFieldsConfig, AddressLineFieldConfig, AddressListFieldConfig, ApplyTimeOffsetInput, AttributesFieldConfig, BaseFieldConfig, BasePartialPotentialFieldConfig, CheckboxFieldConfig, ChecklistItemDisplayContent, ChecklistItemFieldBuilderInput, ChecklistItemFieldConfig, ChecklistItemFieldDataSetBuilderInput, ChecklistItemFieldDataSetFieldKey, ChecklistItemFieldDataSetFieldValueForKey, ChecklistItemFieldDataSetItem, ChecklistItemFieldDisplayComponent, ChecklistType, ChipTextFieldConfig, CityFieldConfig, ComponentFieldConfig, ConfiguredSearchableValueFieldDisplayValue, CountryFieldConfig, DateDateRangeFieldConfig, DateDateRangeFieldDateConfig, DateDateTimeRangeFieldConfig, DateTimeCalcInput, DateTimeFieldCalc, DateTimeFieldConfig, DateTimePreset, DateTimePresetConfiguration, DateTimePresetValue, DateTimeRangeFieldTimeConfig, DbxActionFormMapValueFunction, DbxChecklistItemFieldProps, DbxDateTimeFieldProps, DbxDateTimeFieldSyncField, DbxDateTimeFieldSyncParsedField, DbxDateTimeFieldSyncType, DbxDateTimeFieldTimeDateConfig, DbxDateTimePickerConfiguration, DbxDurationPickerChangeCallback, DbxDurationPickerPopoverData, DbxFixedDateRangeDateRangeInput, DbxFixedDateRangeFieldProps, DbxFixedDateRangePickerConfiguration, DbxFixedDateRangePicking, DbxFixedDateRangeSelectionMode, DbxFlexLayoutWrapperGroupFieldConfig, DbxFlexLayoutWrapperGroupFieldConfigDefaults, DbxFlexWrapperConfig, DbxForgeActionDialogComponentButtonConfig, DbxForgeActionDialogComponentConfig, DbxForgeAddressFieldsConfig, DbxForgeAddressGroupConfig, DbxForgeAddressLineFieldConfig, DbxForgeAddressListFieldConfig, DbxForgeArrayFieldConfig, DbxForgeArrayFieldElementWrapperDef, DbxForgeArrayFieldElementWrapperProps, DbxForgeArrayFieldFunction, DbxForgeArrayFieldWrapperDef, DbxForgeArrayFieldWrapperProps, DbxForgeArrayItemEvaluationContextInput, DbxForgeArrayItemEvaluationFn, DbxForgeBooleanShowLabelAt, DbxForgeBuildFieldDefConfig, DbxForgeBuildFieldDefFunction, DbxForgeCheckboxFieldConfig, DbxForgeChecklistFieldConfig, DbxForgeChecklistFieldFunction, DbxForgeCityFieldConfig, DbxForgeComponentFieldConfig, DbxForgeComponentFieldDef, DbxForgeComponentFieldFunction, DbxForgeComponentFieldProps, DbxForgeContainerConfig, DbxForgeContainerLogicConfig, DbxForgeCountryFieldConfig, DbxForgeDateFieldConfig, DbxForgeDateRangeFieldComponentProps, DbxForgeDateRangeFieldDateConfig, DbxForgeDateRangeFieldDef, DbxForgeDateRangeRowConfig, DbxForgeDateRangeValue, DbxForgeDateTimeFieldComponentProps, DbxForgeDateTimeFieldConfig, DbxForgeDateTimeFieldDef, DbxForgeDateTimeRangeFieldTimeConfig, DbxForgeDateTimeRangeRowConfig, DbxForgeDateTimeSyncField, DbxForgeDollarAmountFieldConfig, DbxForgeEmailFieldConfig, DbxForgeExpandButtonType, DbxForgeExpandFieldDef, DbxForgeExpandFieldProps, DbxForgeExpandWrapperConfig, DbxForgeField, DbxForgeFieldAsyncTransformFunction, DbxForgeFieldAsyncTransformLogic, DbxForgeFieldAsyncTransformLogicWhenAlways, DbxForgeFieldAsyncTransformLogicWhenDefined, DbxForgeFieldAsyncValidatorWithFn, DbxForgeFieldCustomValidatorWithFn, DbxForgeFieldDebouncedTransformLogic, DbxForgeFieldDebouncedTransformLogicWhenAlways, DbxForgeFieldDebouncedTransformLogicWhenDefined, DbxForgeFieldFormConfig, DbxForgeFieldFunction, DbxForgeFieldFunctionConfig, DbxForgeFieldFunctionConfigPropsBuilder, DbxForgeFieldFunctionDef, DbxForgeFieldFunctionDefLogicValue, DbxForgeFieldFunctionFieldDefBuilder, DbxForgeFieldFunctionFieldDefBuilderFunctionInstance, DbxForgeFieldFunctionFieldDefBuilderFunctionInstanceAddValidationInput, DbxForgeFieldFunctionFieldDefBuilderFunctionInstanceFormConfigBuilder, DbxForgeFieldFunctionFieldDefBuilderFunctionInstanceLogicBuilder, DbxForgeFieldFunctionFieldDefBuilderFunctionInstanceLogicBuilderLogic, DbxForgeFieldFunctionFieldDefBuilderFunctionInstanceWrappersBuilder, DbxForgeFieldFunctionResult, DbxForgeFieldHiddenFieldsRef, DbxForgeFieldHintOrDescriptionValueRef, DbxForgeFieldHintValueRef, DbxForgeFieldIdempotentTransformLogic, DbxForgeFieldIdempotentTransformLogicWhenAlways, DbxForgeFieldIdempotentTransformLogicWhenDefined, DbxForgeFieldLogicAsyncFn, DbxForgeFieldLogicExternalData, DbxForgeFieldLogicFn, DbxForgeFieldLogicValueRef, DbxForgeFieldRegistryAugmentation, DbxForgeFieldTransformFunction, DbxForgeFieldTransformLogic, DbxForgeFieldTransformType, DbxForgeFieldTransformWhen, DbxForgeFieldValidation, DbxForgeFieldValidatorInput, DbxForgeFieldValueIsAvailableCheckFn, DbxForgeFieldValueIsAvailableValidatorConfig, DbxForgeFinalizeFormConfigResult, DbxForgeFixedDateRangeFieldComponentProps, DbxForgeFixedDateRangeFieldConfig, DbxForgeFixedDateRangeFieldDef, DbxForgeFixedDateRangeValue, DbxForgeFlexLayoutConfig, DbxForgeFlexLayoutFieldConfig, DbxForgeFlexWrapper, DbxForgeFormFieldWrapperDef, DbxForgeFormFieldWrapperProps, DbxForgeFormFieldWrapperShowLabelAt, DbxForgeGlobalFormConfigDefaults, DbxForgeGroupConfig, DbxForgeInfoButtonFieldDef, DbxForgeInfoButtonFieldProps, DbxForgeInfoWrapper, DbxForgeLatLngTextFieldConfig, DbxForgeListSelectionFieldConfig, DbxForgeListSelectionFieldDef, DbxForgeListSelectionFieldFunction, DbxForgeListSelectionFieldMaxHeight, DbxForgeListSelectionFieldProps, DbxForgeNameFieldConfig, DbxForgeNumberFieldConfig, DbxForgeNumberFieldNumberConfig, DbxForgeNumberSliderFieldConfig, DbxForgePhoneFieldAutocomplete, DbxForgePhoneFieldConfig, DbxForgePhoneFieldDef, DbxForgePhoneFieldProps, DbxForgePickableChipFieldConfig, DbxForgePickableChipFieldDef, DbxForgePickableChipFieldFunction, DbxForgePickableFieldProps, DbxForgePickableListFieldConfig, DbxForgePickableListFieldDef, DbxForgePickableListFieldFunction, DbxForgeResolvedSelectionOption, DbxForgeRowConfig, DbxForgeSearchableChipFieldConfig, DbxForgeSearchableChipFieldDef, DbxForgeSearchableChipFieldFunction, DbxForgeSearchableChipFieldProps, DbxForgeSearchableStringChipFieldConfig, DbxForgeSearchableTextFieldConfig, DbxForgeSearchableTextFieldDef, DbxForgeSearchableTextFieldFunction, DbxForgeSearchableTextFieldProps, DbxForgeSectionWrapper, DbxForgeSourceSelectFieldConfig, DbxForgeSourceSelectFieldDef, DbxForgeSourceSelectFieldFunction, DbxForgeSourceSelectFieldProps, DbxForgeStateFieldConfig, DbxForgeStyleObject, DbxForgeStyleWrapper, DbxForgeTextAreaFieldConfig, DbxForgeTextAvailableFieldConfig, DbxForgeTextEditorFieldConfig, DbxForgeTextEditorFieldDef, DbxForgeTextEditorFieldProps, DbxForgeTextFieldConfig, DbxForgeTextFieldInputType, DbxForgeTextFieldLengthConfig, DbxForgeTextFieldPatternConfig, DbxForgeTextPasswordFieldConfig, DbxForgeTextPasswordWithVerifyFieldConfig, DbxForgeTimeDurationFieldComponentProps, DbxForgeTimeDurationFieldConfig, DbxForgeTimeDurationFieldDef, DbxForgeTimezoneStringFieldConfig, DbxForgeToggleFieldConfig, DbxForgeToggleWrapperConfig, DbxForgeUsernameLoginFieldUsernameConfig, DbxForgeUsernameLoginFieldUsernameConfigInput, DbxForgeUsernameLoginFieldsConfig, DbxForgeValueSelectionFieldConfig, DbxForgeValueSelectionFieldDef, DbxForgeValueSelectionFieldFunction, DbxForgeValueSelectionFieldProps, DbxForgeWebsiteUrlFieldConfig, DbxForgeWorkingWrapper, DbxForgeZipCodeFieldConfig, DbxFormActionDialogComponentButtonConfig, DbxFormActionDialogComponentConfig, DbxFormComponentFieldConfig, DbxFormComponentFormlyFieldConfig, DbxFormDisabledKey, DbxFormEvent, DbxFormExpandWrapperButtonType, DbxFormExpandWrapperConfig, DbxFormInfoConfig, DbxFormRepeatArrayAddTemplateFunction, DbxFormRepeatArrayConfig, DbxFormRepeatArrayFieldConfigPair, DbxFormRepeatArrayPair, DbxFormSearchFormFieldsConfig, DbxFormSearchFormFieldsValue, DbxFormSectionConfig, DbxFormSourceDirectiveMode, DbxFormStateRef, DbxFormStyleObject, DbxFormStyleWrapperConfig, DbxFormSubsectionConfig, DbxFormToggleWrapperConfig, DbxFormWorkingWrapperConfig, DbxFormlyContextDelegate, DbxFormlyFormState, DbxFormlyInitialize, DbxItemListFieldProps, DbxListFieldConfig, DefaultUsernameLoginFieldValue, DefaultUsernameLoginFieldsValue, DefaultValueFieldConfig, DescriptionFieldConfig, DisableAutocompleteForField, DollarAmountFieldConfig, EmailFieldConfig, ExtractDbxForgeFieldDef, FieldAutocompleteAttributeOption, FieldAutocompleteAttributeOptionRef, FieldAutocompleteAttributeValue, FieldAutocompleteAttributes, FieldConfig, FieldConfigParsersRef, FieldConfigWithParsers, FieldValueIsAvailableValidatorConfig, FieldValueIsAvailableValidatorFunction, FieldValueParser, FieldValuesAreEqualValidatorConfig, FilterPresetsInput, FixedDateRangeFieldConfig, FixedDateRangeScan, FixedDateRangeScanType, ForgeChecklistFieldFunction, ForgeComponentFieldFunction, ForgeFieldValidation, ForgeValueSelectionFieldFunction, FormControlPath, FormlyMessageProperties, FormlyValueParser, HiddenFieldConfig, HintFieldConfig, InternationalPhoneFieldConfig, InternationalPhoneFormlyFieldProps, IsDivisibleByError, IsNotWebsiteUrlErrorData, IsWebsiteUrlValidatorConfig, KeyboardStepResult, LabeledBaseFieldConfig, LabeledFieldConfig, MaterialFormFieldConfig, NumberFieldConfig, NumberFieldInputType, NumberFieldNumberConfig, NumberSliderFieldConfig, PartialPotentialFieldConfig, PhoneAndLabelFieldSectionConfig, PhoneListFieldConfig, PickableItemFieldConfig, PickableItemFieldItem, PickableItemFieldItemSortFn, PickableValueFieldDisplayFunction, PickableValueFieldDisplayValue, PickableValueFieldDisplayValueWithHash, PickableValueFieldFilterFunction, PickableValueFieldHashFunction, PickableValueFieldLoadValuesFunction, PickableValueFieldValue, PickableValueFieldValuesConfigForStaticLabeledValues, PickableValueFieldValuesConfigForStaticLabeledValuesConfig, PickableValueFieldsFieldProps, ProvideDbxFormConfigurationConfig, RepeatArrayFieldConfig, SearchableChipFieldConfig, SearchableChipValueFieldsFieldProps, SearchableTextFieldConfig, SearchableTextValueFieldsFieldProps, SearchableValueFieldAnchorFn, SearchableValueFieldDisplayFn, SearchableValueFieldDisplayValue, SearchableValueFieldHashFn, SearchableValueFieldStringSearchFn, SearchableValueFieldValue, SearchableValueFieldsFieldProps, SelectionDisplayValue, SelectionValue, SelectionValueHashFunction, SourceSelectDisplayFunction, SourceSelectDisplayValue, SourceSelectDisplayValueGroup, SourceSelectFieldConfig, SourceSelectFieldProps, SourceSelectLoadSource, SourceSelectLoadSourceLoadingState, SourceSelectLoadSourcesFunction, SourceSelectMetaValueReader, SourceSelectOpenFunction, SourceSelectOpenFunctionParams, SourceSelectOpenSourceResult, SourceSelectOptions, SourceSelectValue, SourceSelectValueGroup, SourceSelectValueMetaLoader, StateFieldConfig, StringSearchableChipFieldConfig, StringValueFieldsFieldProps, TextAreaFieldConfig, TextAvailableFieldConfig, TextEditorComponentFieldProps, TextEditorFieldConfig, TextFieldConfig, TextFieldInputType, TextFieldLengthConfig, TextFieldPatternConfig, TextPasswordFieldConfig, TextPasswordFieldPasswordParameters, TextPasswordWithVerifyFieldConfig, TimeDurationFieldConfig, TimeDurationFieldValueMode, TimeDurationFormlyFieldProps, TimeFieldConfig, TimezoneStringFieldConfig, ToggleFieldConfig, UsernameLoginFieldUsernameConfig, UsernameLoginFieldUsernameConfigInput, UsernameLoginFieldsConfig, ValidatorsForFieldConfig, ValidatorsForFieldConfigInput, ValueSelectionFieldConfig, ValueSelectionOption, ValueSelectionOptionClear, ValueSelectionOptionWithValue, WebsiteUrlFieldConfig, WrappedPhoneAndLabelFieldConfig, WrapperFormlyFieldConfig, ZipCodeFieldConfig };
|