@dereekb/dbx-form 13.6.11 → 13.6.13
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.mjs +625 -45
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/formly/field/value/_value.scss +3 -0
- package/lib/formly/field/value/duration/_duration.scss +63 -0
- package/package.json +7 -7
- package/types/dereekb-dbx-form-quiz.d.ts +1 -1
- package/types/dereekb-dbx-form.d.ts +407 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use './array/array';
|
|
2
2
|
@use './boolean/boolean';
|
|
3
3
|
@use './date/date';
|
|
4
|
+
@use './duration/duration';
|
|
4
5
|
@use './number/number';
|
|
5
6
|
@use './phone/phone';
|
|
6
7
|
@use './text/text';
|
|
@@ -9,6 +10,7 @@
|
|
|
9
10
|
@include array.core();
|
|
10
11
|
@include boolean.core();
|
|
11
12
|
@include date.core();
|
|
13
|
+
@include duration.core();
|
|
12
14
|
@include number.core();
|
|
13
15
|
@include phone.core();
|
|
14
16
|
@include text.core();
|
|
@@ -21,6 +23,7 @@
|
|
|
21
23
|
@include array.theme($theme-config);
|
|
22
24
|
@include boolean.theme($theme-config);
|
|
23
25
|
@include date.theme($theme-config);
|
|
26
|
+
@include duration.theme($theme-config);
|
|
24
27
|
@include number.theme($theme-config);
|
|
25
28
|
@include phone.theme($theme-config);
|
|
26
29
|
@include text.theme($theme-config);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@mixin core() {
|
|
2
|
+
.dbx-form-duration-field {
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 4px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.dbx-form-duration-field-input {
|
|
10
|
+
flex: 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dbx-form-duration-field-picker-btn {
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dbx-duration-picker {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 12px;
|
|
23
|
+
padding: 16px 8px;
|
|
24
|
+
height: 100%;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.dbx-duration-picker-column {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: center;
|
|
32
|
+
min-width: 48px;
|
|
33
|
+
gap: 8px;
|
|
34
|
+
border-radius: 8px;
|
|
35
|
+
padding: 4px;
|
|
36
|
+
outline: none;
|
|
37
|
+
|
|
38
|
+
&:focus-visible {
|
|
39
|
+
outline: 2px solid var(--mat-sys-primary, currentColor);
|
|
40
|
+
outline-offset: 2px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.dbx-duration-picker-label {
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
text-transform: uppercase;
|
|
48
|
+
opacity: 0.7;
|
|
49
|
+
margin-bottom: 4px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.dbx-duration-picker-value {
|
|
53
|
+
font-size: 18px;
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
min-height: 28px;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin theme($theme-config) {
|
|
63
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-form",
|
|
3
|
-
"version": "13.6.
|
|
3
|
+
"version": "13.6.13",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "21.2.3",
|
|
6
6
|
"@angular/common": "21.2.3",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"@angular/material-date-fns-adapter": "21.2.3",
|
|
11
11
|
"@angular/platform-browser": "21.2.3",
|
|
12
12
|
"@bobbyquantum/ngx-editor": "21.0.0",
|
|
13
|
-
"@dereekb/date": "13.6.
|
|
14
|
-
"@dereekb/dbx-core": "13.6.
|
|
15
|
-
"@dereekb/dbx-web": "13.6.
|
|
16
|
-
"@dereekb/model": "13.6.
|
|
17
|
-
"@dereekb/rxjs": "13.6.
|
|
18
|
-
"@dereekb/util": "13.6.
|
|
13
|
+
"@dereekb/date": "13.6.13",
|
|
14
|
+
"@dereekb/dbx-core": "13.6.13",
|
|
15
|
+
"@dereekb/dbx-web": "13.6.13",
|
|
16
|
+
"@dereekb/model": "13.6.13",
|
|
17
|
+
"@dereekb/rxjs": "13.6.13",
|
|
18
|
+
"@dereekb/util": "13.6.13",
|
|
19
19
|
"@ng-web-apis/geolocation": "^5.1.0",
|
|
20
20
|
"@ngbracket/ngx-layout": "^21.0.0",
|
|
21
21
|
"@ngrx/component-store": "^21.0.0",
|
|
@@ -579,7 +579,7 @@ type DbxQuizPostQuizState = 'presubmit' | 'postsubmit';
|
|
|
579
579
|
declare class DbxQuizPostQuizComponent {
|
|
580
580
|
readonly quizStore: QuizStore;
|
|
581
581
|
readonly quizSubmittedSignal: _angular_core.Signal<boolean | undefined>;
|
|
582
|
-
readonly stateSignal: _angular_core.Signal<"
|
|
582
|
+
readonly stateSignal: _angular_core.Signal<"presubmit" | "postsubmit">;
|
|
583
583
|
readonly handleSubmitQuiz: _angular_core.InputSignal<Work<void> | undefined>;
|
|
584
584
|
readonly handleSubmitQuizButton: Work<void>;
|
|
585
585
|
readonly handleSubmitQuizSuccess: DbxActionSuccessHandlerFunction;
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Type, Provider, OnInit, OnDestroy, ElementRef, InjectionToken, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { Transition, HookResult } from '@uirouter/core';
|
|
4
4
|
import * as _dereekb_dbx_web from '@dereekb/dbx-web';
|
|
5
|
-
import { DbxActionTransitionSafetyDirective, DbxActionTransitionSafetyType, AbstractDialogDirective, DbxButtonStyle, DbxSectionHeaderConfig, ScreenMediaWidthType, AbstractDbxSelectionListWrapperDirective, DbxValueListItemDecisionFunction, ListSelectionState, DbxValueListItem, AbstractDbxSelectionListViewDirective, DbxListSelectionMode, AbstractDbxValueListViewItemComponent, DbxFlexSize } from '@dereekb/dbx-web';
|
|
5
|
+
import { DbxActionTransitionSafetyDirective, DbxActionTransitionSafetyType, AbstractDialogDirective, DbxButtonStyle, DbxSectionHeaderConfig, ScreenMediaWidthType, AbstractDbxSelectionListWrapperDirective, DbxValueListItemDecisionFunction, ListSelectionState, DbxValueListItem, AbstractDbxSelectionListViewDirective, DbxListSelectionMode, AbstractDbxValueListViewItemComponent, AbstractPopoverDirective, DbxPopoverService, DbxFlexSize } from '@dereekb/dbx-web';
|
|
6
6
|
import * as _dereekb_dbx_core from '@dereekb/dbx-core';
|
|
7
7
|
import { DbxActionContextStoreSourceInstance, DbxActionValueGetterResult, DbxButtonDisplay, ClickableAnchor, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
8
8
|
import * as rxjs from 'rxjs';
|
|
@@ -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, SubscriptionObject, SimpleLoadingContext, ListLoadingState, LoadingStateWithDefinedValue } from '@dereekb/rxjs';
|
|
12
12
|
import * as _dereekb_util from '@dereekb/util';
|
|
13
|
-
import { BooleanStringKeyArray, Maybe, MapFunction, IsValid, IsModified, Destroyable, MaybeSo, ArrayOrValue, GeneralFilterFromPOJOFunction, FilterKeyValueTuplesInput, KeyValueTransformMap, PrimativeKey, ReadKeyFunction, LabelRef, LabeledValue, SearchStringFilterFunction, FactoryWithRequiredInput, Factory, TransformStringFunctionConfigRef, TransformStringFunctionConfig, IndexRef, DecisionFunction, GetterOrValue, LogicalDate, ReadableTimeString, Getter, ISO8601DayString, TimezoneString, DateOrDayString, Milliseconds, ISO8601DateString, TransformNumberFunctionConfigRef, WebsiteDomain, KeyValueTupleFilter, EqualityComparatorFunction } from '@dereekb/util';
|
|
13
|
+
import { BooleanStringKeyArray, Maybe, MapFunction, IsValid, IsModified, Destroyable, MaybeSo, ArrayOrValue, GeneralFilterFromPOJOFunction, FilterKeyValueTuplesInput, KeyValueTransformMap, PrimativeKey, ReadKeyFunction, LabelRef, LabeledValue, SearchStringFilterFunction, FactoryWithRequiredInput, Factory, TransformStringFunctionConfigRef, TransformStringFunctionConfig, IndexRef, DecisionFunction, GetterOrValue, LogicalDate, ReadableTimeString, Getter, ISO8601DayString, TimezoneString, DateOrDayString, Milliseconds, ISO8601DateString, TimeUnit, TransformNumberFunctionConfigRef, WebsiteDomain, KeyValueTupleFilter, EqualityComparatorFunction } from '@dereekb/util';
|
|
14
14
|
import { FormControlStatus, AbstractControl, FormGroup, ValidationErrors, ValidatorFn, AsyncValidatorFn, FormControl } from '@angular/forms';
|
|
15
15
|
import * as _angular_material_core from '@angular/material/core';
|
|
16
16
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
@@ -30,8 +30,9 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
|
30
30
|
import * as i2 from '@ngx-formly/material/checkbox';
|
|
31
31
|
import * as i3 from '@ngx-formly/material/toggle';
|
|
32
32
|
import * as _dereekb_date from '@dereekb/date';
|
|
33
|
-
import { DateRangeWithDateOrStringValue, DateTimezoneUtcNormalInstance, DateTimeMinuteConfig, DateTimeMinuteInstance, DateRangeInput, DateRange, TimezoneInfo } from '@dereekb/date';
|
|
33
|
+
import { DateRangeWithDateOrStringValue, DateTimezoneUtcNormalInstance, DateTimeMinuteConfig, DateTimeMinuteInstance, DateRangeInput, DateRange, TimeDurationData, TimezoneInfo } from '@dereekb/date';
|
|
34
34
|
import { MatDatepickerInputEvent, MatCalendar, DateRange as DateRange$1, MatDateRangeSelectionStrategy } from '@angular/material/datepicker';
|
|
35
|
+
import { NgPopoverRef } from 'ng-overlay-container';
|
|
35
36
|
import * as i2$1 from '@ngx-formly/material/slider';
|
|
36
37
|
import * as i3$1 from '@ngx-formly/material/input';
|
|
37
38
|
|
|
@@ -633,10 +634,42 @@ declare const INVALID_PHONE_NUMBER_EXTENSION_MESSAGE: {
|
|
|
633
634
|
name: string;
|
|
634
635
|
message: string;
|
|
635
636
|
};
|
|
637
|
+
/**
|
|
638
|
+
* Returns a validation message indicating the duration is below the minimum allowed.
|
|
639
|
+
*
|
|
640
|
+
* @param err - The validation error object containing `min` and `actual` values.
|
|
641
|
+
* @param field - The Formly field configuration.
|
|
642
|
+
* @returns A human-readable validation message string.
|
|
643
|
+
*/
|
|
644
|
+
declare function durationMinValidationMessage(err: {
|
|
645
|
+
min: number;
|
|
646
|
+
actual: number;
|
|
647
|
+
unit: string;
|
|
648
|
+
}, field: FieldTypeConfig): string;
|
|
649
|
+
/**
|
|
650
|
+
* Returns a validation message indicating the duration exceeds the maximum allowed.
|
|
651
|
+
*
|
|
652
|
+
* @param err - The validation error object containing `max`, `actual`, and `unit` values.
|
|
653
|
+
* @param field - The Formly field configuration.
|
|
654
|
+
* @returns A human-readable validation message string.
|
|
655
|
+
*/
|
|
656
|
+
declare function durationMaxValidationMessage(err: {
|
|
657
|
+
max: number;
|
|
658
|
+
actual: number;
|
|
659
|
+
unit: string;
|
|
660
|
+
}, field: FieldTypeConfig): string;
|
|
661
|
+
/**
|
|
662
|
+
* Validation message option for duration minimum violations.
|
|
663
|
+
*/
|
|
664
|
+
declare const DURATION_MIN_VALIDATION_MESSAGE: ValidationMessageOption;
|
|
665
|
+
/**
|
|
666
|
+
* Validation message option for duration maximum violations.
|
|
667
|
+
*/
|
|
668
|
+
declare const DURATION_MAX_VALIDATION_MESSAGE: ValidationMessageOption;
|
|
636
669
|
/**
|
|
637
670
|
* Returns the full set of default validation messages used by the form system.
|
|
638
671
|
*
|
|
639
|
-
* Includes messages for: required, minLength, maxLength, min, max, phone number,
|
|
672
|
+
* Includes messages for: required, minLength, maxLength, min, max, phone number, phone number extension, and duration min/max.
|
|
640
673
|
*
|
|
641
674
|
* @returns An array of {@link ValidationMessageOption} objects.
|
|
642
675
|
*/
|
|
@@ -3756,6 +3789,374 @@ declare class DbxDateTimeFieldMenuPresetsService {
|
|
|
3756
3789
|
|
|
3757
3790
|
declare const DEFAULT_DATE_TIME_FIELD_MENU_PRESETS_PRESETS: DateTimePresetConfiguration[];
|
|
3758
3791
|
|
|
3792
|
+
/**
|
|
3793
|
+
* Determines the shape of the output value from a time duration field.
|
|
3794
|
+
*
|
|
3795
|
+
* - `'number'` — output is a single number in the configured output unit
|
|
3796
|
+
* - `'hours_and_minutes'` — output is an HoursAndMinutes object
|
|
3797
|
+
* - `'duration_data'` — output is a TimeDurationData object
|
|
3798
|
+
*/
|
|
3799
|
+
type TimeDurationFieldValueMode = 'number' | 'hours_and_minutes' | 'duration_data';
|
|
3800
|
+
/**
|
|
3801
|
+
* Configuration for creating a time duration input field.
|
|
3802
|
+
*
|
|
3803
|
+
* Combines labeling, description, Material styling, and duration-specific props.
|
|
3804
|
+
*/
|
|
3805
|
+
interface TimeDurationFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, MaterialFormFieldConfig {
|
|
3806
|
+
/**
|
|
3807
|
+
* The unit of the output value.
|
|
3808
|
+
*
|
|
3809
|
+
* Defaults to `'ms'` (milliseconds).
|
|
3810
|
+
*/
|
|
3811
|
+
readonly outputUnit?: TimeUnit;
|
|
3812
|
+
/**
|
|
3813
|
+
* The output value mode.
|
|
3814
|
+
*
|
|
3815
|
+
* Defaults to `'number'`.
|
|
3816
|
+
*/
|
|
3817
|
+
readonly valueMode?: TimeDurationFieldValueMode;
|
|
3818
|
+
/**
|
|
3819
|
+
* The time units available for the field.
|
|
3820
|
+
* Controls which units the parser recognizes and the default popover columns.
|
|
3821
|
+
*
|
|
3822
|
+
* Defaults to all time units.
|
|
3823
|
+
*/
|
|
3824
|
+
readonly allowedUnits?: TimeUnit[];
|
|
3825
|
+
/**
|
|
3826
|
+
* Which units to show in the popover picker.
|
|
3827
|
+
*
|
|
3828
|
+
* Defaults to allowedUnits filtered to exclude 'ms'.
|
|
3829
|
+
*/
|
|
3830
|
+
readonly pickerUnits?: TimeUnit[];
|
|
3831
|
+
/**
|
|
3832
|
+
* Minimum output value (expressed in the output unit).
|
|
3833
|
+
*/
|
|
3834
|
+
readonly min?: number;
|
|
3835
|
+
/**
|
|
3836
|
+
* Maximum output value (expressed in the output unit).
|
|
3837
|
+
*/
|
|
3838
|
+
readonly max?: number;
|
|
3839
|
+
/**
|
|
3840
|
+
* Whether the popover picker should carry over values to the next larger unit
|
|
3841
|
+
* (e.g., 60 seconds → 1 minute). Only carries into units present in the picker.
|
|
3842
|
+
*
|
|
3843
|
+
* Defaults to false.
|
|
3844
|
+
*/
|
|
3845
|
+
readonly carryOver?: boolean;
|
|
3846
|
+
}
|
|
3847
|
+
/**
|
|
3848
|
+
* Creates a Formly field configuration for a time duration input.
|
|
3849
|
+
*
|
|
3850
|
+
* The field uses a text input that parses duration strings (e.g., "3d10h5m8s",
|
|
3851
|
+
* "2 hours 30 minutes") and a popover picker button with +/- columns for each unit.
|
|
3852
|
+
*
|
|
3853
|
+
* @param config - Time duration field configuration
|
|
3854
|
+
* @returns A validated {@link FormlyFieldConfig} with type `'timeduration'`
|
|
3855
|
+
*
|
|
3856
|
+
* @example
|
|
3857
|
+
* ```typescript
|
|
3858
|
+
* // Basic usage — output in milliseconds
|
|
3859
|
+
* const field = timeDurationField({
|
|
3860
|
+
* key: 'timeout',
|
|
3861
|
+
* label: 'Timeout',
|
|
3862
|
+
* outputUnit: 'ms',
|
|
3863
|
+
* allowedUnits: ['min', 'h', 'd']
|
|
3864
|
+
* });
|
|
3865
|
+
*
|
|
3866
|
+
* // With min/max constraints — output in minutes, max 8 hours
|
|
3867
|
+
* const constrained = timeDurationField({
|
|
3868
|
+
* key: 'duration',
|
|
3869
|
+
* label: 'Duration',
|
|
3870
|
+
* outputUnit: 'min',
|
|
3871
|
+
* min: 0,
|
|
3872
|
+
* max: 480
|
|
3873
|
+
* });
|
|
3874
|
+
*
|
|
3875
|
+
* // HoursAndMinutes output mode
|
|
3876
|
+
* const hoursMin = timeDurationField({
|
|
3877
|
+
* key: 'workTime',
|
|
3878
|
+
* label: 'Work Time',
|
|
3879
|
+
* valueMode: 'hours_and_minutes',
|
|
3880
|
+
* allowedUnits: ['min', 'h']
|
|
3881
|
+
* });
|
|
3882
|
+
* ```
|
|
3883
|
+
*/
|
|
3884
|
+
declare function timeDurationField(config?: Partial<TimeDurationFieldConfig>): FormlyFieldConfig;
|
|
3885
|
+
|
|
3886
|
+
/**
|
|
3887
|
+
* Formly field props for the time duration component.
|
|
3888
|
+
*/
|
|
3889
|
+
interface TimeDurationFormlyFieldProps extends FormlyFieldProps {
|
|
3890
|
+
/**
|
|
3891
|
+
* The unit of the output value. Defaults to `'ms'`.
|
|
3892
|
+
*/
|
|
3893
|
+
readonly outputUnit?: TimeUnit;
|
|
3894
|
+
/**
|
|
3895
|
+
* Output value mode. Defaults to `'number'`.
|
|
3896
|
+
*/
|
|
3897
|
+
readonly valueMode?: TimeDurationFieldValueMode;
|
|
3898
|
+
/**
|
|
3899
|
+
* The time units available for the field. Controls which units the parser recognizes
|
|
3900
|
+
* and which columns appear in the popover picker.
|
|
3901
|
+
*
|
|
3902
|
+
* Defaults to all time units.
|
|
3903
|
+
*/
|
|
3904
|
+
readonly allowedUnits?: TimeUnit[];
|
|
3905
|
+
/**
|
|
3906
|
+
* Which units to show in the popover picker.
|
|
3907
|
+
*
|
|
3908
|
+
* Defaults to allowedUnits filtered to exclude 'ms'.
|
|
3909
|
+
*/
|
|
3910
|
+
readonly pickerUnits?: TimeUnit[];
|
|
3911
|
+
/**
|
|
3912
|
+
* Minimum output value (in the output unit). Used for validation.
|
|
3913
|
+
*/
|
|
3914
|
+
readonly min?: number;
|
|
3915
|
+
/**
|
|
3916
|
+
* Maximum output value (in the output unit). Used for validation.
|
|
3917
|
+
*/
|
|
3918
|
+
readonly max?: number;
|
|
3919
|
+
/**
|
|
3920
|
+
* Whether the popover picker carries over values to the next larger unit.
|
|
3921
|
+
*/
|
|
3922
|
+
readonly carryOver?: boolean;
|
|
3923
|
+
}
|
|
3924
|
+
/**
|
|
3925
|
+
* Formly custom field type for time duration input with text parsing and a popover picker.
|
|
3926
|
+
*
|
|
3927
|
+
* The text input accepts duration strings like "3d10h5m8s", "2 hours 30 minutes", etc.
|
|
3928
|
+
* A picker button opens a popover with +/- columns for each time unit.
|
|
3929
|
+
*
|
|
3930
|
+
* Registered as Formly type `'timeduration'`.
|
|
3931
|
+
*/
|
|
3932
|
+
declare class DbxTimeDurationFieldComponent extends FieldType$1<FieldTypeConfig<TimeDurationFormlyFieldProps>> implements OnInit, OnDestroy {
|
|
3933
|
+
private readonly _popoverService;
|
|
3934
|
+
private readonly _inputSync;
|
|
3935
|
+
private readonly _outputSync;
|
|
3936
|
+
private _suppressOutputSync;
|
|
3937
|
+
private _currentDurationData;
|
|
3938
|
+
readonly textCtrl: FormControl<string | null>;
|
|
3939
|
+
readonly pickerButtonElement: i0.Signal<ElementRef<any> | undefined>;
|
|
3940
|
+
get outputUnit(): TimeUnit;
|
|
3941
|
+
get valueMode(): TimeDurationFieldValueMode;
|
|
3942
|
+
get allowedUnits(): TimeUnit[];
|
|
3943
|
+
get pickerUnits(): TimeUnit[];
|
|
3944
|
+
/**
|
|
3945
|
+
* Units used for decomposing/displaying duration text.
|
|
3946
|
+
* Includes 'ms' if the smallest picker unit would leave a remainder.
|
|
3947
|
+
*/
|
|
3948
|
+
get displayUnits(): TimeUnit[];
|
|
3949
|
+
ngOnInit(): void;
|
|
3950
|
+
/**
|
|
3951
|
+
* Called when the text input loses focus. Parses the text and updates the output.
|
|
3952
|
+
*/
|
|
3953
|
+
onTextBlur(): void;
|
|
3954
|
+
/**
|
|
3955
|
+
* Called when Enter is pressed in the text input.
|
|
3956
|
+
*/
|
|
3957
|
+
onTextEnter(event: Event): void;
|
|
3958
|
+
/**
|
|
3959
|
+
* Opens the duration picker popover.
|
|
3960
|
+
*/
|
|
3961
|
+
openPicker(): void;
|
|
3962
|
+
ngOnDestroy(): void;
|
|
3963
|
+
/**
|
|
3964
|
+
* Parses the current text input and syncs the output value.
|
|
3965
|
+
*/
|
|
3966
|
+
private _parseAndSync;
|
|
3967
|
+
/**
|
|
3968
|
+
* Converts duration data to the output value and sets it on the form control.
|
|
3969
|
+
*/
|
|
3970
|
+
private _syncOutputFromDurationData;
|
|
3971
|
+
/**
|
|
3972
|
+
* Converts an output value (number, HoursAndMinutes, or TimeDurationData) to milliseconds.
|
|
3973
|
+
*/
|
|
3974
|
+
private _outputValueToMilliseconds;
|
|
3975
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTimeDurationFieldComponent, never>;
|
|
3976
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxTimeDurationFieldComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Default popover key for the duration picker.
|
|
3981
|
+
*/
|
|
3982
|
+
declare const DEFAULT_DURATION_PICKER_POPOVER_KEY = "durationpicker";
|
|
3983
|
+
/**
|
|
3984
|
+
* Callback invoked on every +/- click in the duration picker.
|
|
3985
|
+
*/
|
|
3986
|
+
type DbxDurationPickerChangeCallback = (data: TimeDurationData) => void;
|
|
3987
|
+
/**
|
|
3988
|
+
* Data passed to the duration picker popover.
|
|
3989
|
+
*/
|
|
3990
|
+
interface DbxDurationPickerPopoverData {
|
|
3991
|
+
/**
|
|
3992
|
+
* The current duration values.
|
|
3993
|
+
*/
|
|
3994
|
+
readonly current: TimeDurationData;
|
|
3995
|
+
/**
|
|
3996
|
+
* Which time unit columns to show.
|
|
3997
|
+
*/
|
|
3998
|
+
readonly units: TimeUnit[];
|
|
3999
|
+
/**
|
|
4000
|
+
* Optional callback invoked on every +/- change for live updates.
|
|
4001
|
+
*/
|
|
4002
|
+
readonly onChange?: DbxDurationPickerChangeCallback;
|
|
4003
|
+
/**
|
|
4004
|
+
* Minimum total value in milliseconds. Used to disable decrement buttons.
|
|
4005
|
+
*/
|
|
4006
|
+
readonly minMs?: Milliseconds;
|
|
4007
|
+
/**
|
|
4008
|
+
* Maximum total value in milliseconds. Used to disable increment buttons.
|
|
4009
|
+
*/
|
|
4010
|
+
readonly maxMs?: Milliseconds;
|
|
4011
|
+
/**
|
|
4012
|
+
* Whether values should carry over to the next larger unit when they overflow
|
|
4013
|
+
* (e.g., 60 seconds → 1 minute). Only carries into units present in `units`.
|
|
4014
|
+
*
|
|
4015
|
+
* Defaults to false.
|
|
4016
|
+
*/
|
|
4017
|
+
readonly carryOver?: boolean;
|
|
4018
|
+
}
|
|
4019
|
+
/**
|
|
4020
|
+
* Popover component that displays a horizontal duration picker with +/- buttons for each time unit.
|
|
4021
|
+
*
|
|
4022
|
+
* Each column shows the unit label, an increment button, the current value, and a decrement button.
|
|
4023
|
+
* Buttons are disabled when incrementing/decrementing would exceed min/max constraints.
|
|
4024
|
+
* Changes are applied immediately via the onChange callback and returned when the popover closes.
|
|
4025
|
+
*
|
|
4026
|
+
* @example
|
|
4027
|
+
* ```typescript
|
|
4028
|
+
* DbxDurationPickerPopoverComponent.openPopover(popoverService, {
|
|
4029
|
+
* origin: elementRef,
|
|
4030
|
+
* data: { current: { hours: 1, minutes: 30 }, units: ['h', 'min', 's'] }
|
|
4031
|
+
* });
|
|
4032
|
+
* ```
|
|
4033
|
+
*/
|
|
4034
|
+
declare class DbxDurationPickerPopoverComponent extends AbstractPopoverDirective<TimeDurationData, DbxDurationPickerPopoverData> {
|
|
4035
|
+
readonly durationData: i0.WritableSignal<TimeDurationData>;
|
|
4036
|
+
readonly units: TimeUnit[];
|
|
4037
|
+
private readonly _onChange;
|
|
4038
|
+
private readonly _minMs;
|
|
4039
|
+
private readonly _maxMs;
|
|
4040
|
+
private readonly _carryOver;
|
|
4041
|
+
constructor();
|
|
4042
|
+
/**
|
|
4043
|
+
* Opens the duration picker popover.
|
|
4044
|
+
*
|
|
4045
|
+
* @param popoverService - The popover service to use
|
|
4046
|
+
* @param config - Configuration with origin element and picker data
|
|
4047
|
+
* @param config.origin - The element to anchor the popover to
|
|
4048
|
+
* @param config.data - The picker data including current values and which units to show
|
|
4049
|
+
* @returns A reference to the opened popover
|
|
4050
|
+
*/
|
|
4051
|
+
static openPopover(popoverService: DbxPopoverService, config: {
|
|
4052
|
+
origin: ElementRef;
|
|
4053
|
+
data: DbxDurationPickerPopoverData;
|
|
4054
|
+
}): NgPopoverRef;
|
|
4055
|
+
/**
|
|
4056
|
+
* Gets the short label for a time unit.
|
|
4057
|
+
*
|
|
4058
|
+
* @param unit - The time unit
|
|
4059
|
+
* @returns The short label string
|
|
4060
|
+
*/
|
|
4061
|
+
unitLabel(unit: TimeUnit): string;
|
|
4062
|
+
/**
|
|
4063
|
+
* Gets the current value for a specific time unit.
|
|
4064
|
+
*
|
|
4065
|
+
* @param unit - The time unit to read
|
|
4066
|
+
* @returns The current value for that unit
|
|
4067
|
+
*/
|
|
4068
|
+
getValue(unit: TimeUnit): number;
|
|
4069
|
+
/**
|
|
4070
|
+
* Returns true if incrementing the given unit by 1 would not exceed the maximum.
|
|
4071
|
+
*
|
|
4072
|
+
* @param unit - The time unit to check
|
|
4073
|
+
* @returns Whether incrementing is allowed
|
|
4074
|
+
*/
|
|
4075
|
+
canIncrement(unit: TimeUnit): boolean;
|
|
4076
|
+
/**
|
|
4077
|
+
* Returns true if decrementing the given unit by 1 would not go below the minimum (or below 0).
|
|
4078
|
+
*
|
|
4079
|
+
* @param unit - The time unit to check
|
|
4080
|
+
* @returns Whether decrementing is allowed
|
|
4081
|
+
*/
|
|
4082
|
+
canDecrement(unit: TimeUnit): boolean;
|
|
4083
|
+
/**
|
|
4084
|
+
* Increments the value for a specific time unit.
|
|
4085
|
+
* Holding shift doubles the step.
|
|
4086
|
+
*
|
|
4087
|
+
* @param unit - The time unit to increment
|
|
4088
|
+
* @param step - The amount to increment by (defaults to 1)
|
|
4089
|
+
*/
|
|
4090
|
+
increment(unit: TimeUnit, step?: number): void;
|
|
4091
|
+
/**
|
|
4092
|
+
* Decrements the value for a specific time unit.
|
|
4093
|
+
* Holding shift doubles the step.
|
|
4094
|
+
*
|
|
4095
|
+
* @param unit - The time unit to decrement
|
|
4096
|
+
* @param step - The amount to decrement by (defaults to 1)
|
|
4097
|
+
*/
|
|
4098
|
+
decrement(unit: TimeUnit, step?: number): void;
|
|
4099
|
+
/**
|
|
4100
|
+
* Returns the step size — 2 if shift is held, 1 otherwise.
|
|
4101
|
+
*
|
|
4102
|
+
* @param event - The mouse or keyboard event
|
|
4103
|
+
* @returns The step multiplier
|
|
4104
|
+
*/
|
|
4105
|
+
stepFromEvent(event?: Event): number;
|
|
4106
|
+
/**
|
|
4107
|
+
* When carryOver is enabled, normalizes the data by converting to total milliseconds
|
|
4108
|
+
* and decomposing back into the picker's units (e.g., 60s becomes 1m, 7d becomes 1w).
|
|
4109
|
+
*
|
|
4110
|
+
* @returns Normalized or original data
|
|
4111
|
+
*/
|
|
4112
|
+
private _normalizeIfCarryOver;
|
|
4113
|
+
private _holdInterval;
|
|
4114
|
+
private _holdTimeout;
|
|
4115
|
+
private _holdActive;
|
|
4116
|
+
private _shiftHeld;
|
|
4117
|
+
/**
|
|
4118
|
+
* Fires one action immediately and starts hold-to-repeat.
|
|
4119
|
+
* Used by both mousedown and keydown.
|
|
4120
|
+
*
|
|
4121
|
+
* @param action - The action to perform
|
|
4122
|
+
* @param unit - The time unit
|
|
4123
|
+
* @param event - The triggering event (for shift detection)
|
|
4124
|
+
*/
|
|
4125
|
+
onHoldStart(action: 'increment' | 'decrement', unit: TimeUnit, event: Event): void;
|
|
4126
|
+
/**
|
|
4127
|
+
* Returns the current step based on whether shift is held.
|
|
4128
|
+
*/
|
|
4129
|
+
private get _currentStep();
|
|
4130
|
+
/**
|
|
4131
|
+
* Stops the hold-to-repeat interval.
|
|
4132
|
+
*/
|
|
4133
|
+
/**
|
|
4134
|
+
* Handles keyup events. Only stops the hold when an arrow key is released.
|
|
4135
|
+
* Releasing modifier keys (shift, ctrl, etc.) does not stop the hold.
|
|
4136
|
+
*
|
|
4137
|
+
* @param event - The keyboard event
|
|
4138
|
+
*/
|
|
4139
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
4140
|
+
stopHold(): void;
|
|
4141
|
+
/**
|
|
4142
|
+
* Executes an increment or decrement action if allowed.
|
|
4143
|
+
*
|
|
4144
|
+
* @returns True if the action was performed
|
|
4145
|
+
*/
|
|
4146
|
+
private _doAction;
|
|
4147
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDurationPickerPopoverComponent, never>;
|
|
4148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxDurationPickerPopoverComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* Registers the `timeduration` Formly field type for time duration input with text parsing and popover picker.
|
|
4153
|
+
*/
|
|
4154
|
+
declare class DbxFormFormlyDurationFieldModule {
|
|
4155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyDurationFieldModule, never>;
|
|
4156
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormFormlyDurationFieldModule, never, [typeof DbxTimeDurationFieldComponent, typeof DbxDurationPickerPopoverComponent, typeof _ngx_formly_core.FormlyModule], [typeof DbxTimeDurationFieldComponent, typeof DbxDurationPickerPopoverComponent]>;
|
|
4157
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormFormlyDurationFieldModule>;
|
|
4158
|
+
}
|
|
4159
|
+
|
|
3759
4160
|
/**
|
|
3760
4161
|
* Numeric constraint configuration for number fields.
|
|
3761
4162
|
*/
|
|
@@ -5044,5 +5445,5 @@ interface ProvideDbxFormConfigurationConfig {
|
|
|
5044
5445
|
*/
|
|
5045
5446
|
declare function provideDbxFormConfiguration(config?: ProvideDbxFormConfigurationConfig): EnvironmentProviders;
|
|
5046
5447
|
|
|
5047
|
-
export { APP_ACTION_FORM_DISABLED_KEY, AbstractAsyncFormlyFormDirective, AbstractConfigAsyncFormlyFormDirective, AbstractDbxPickableItemFieldDirective, AbstractDbxSearchableFieldDisplayDirective, AbstractDbxSearchableValueFieldDirective, AbstractFormExpandSectionWrapperDirective, AbstractFormlyFormDirective, 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_FORMLY_FORM_COMPONENT_TEMPLATE, DBX_SEARCHABLE_FIELD_COMPONENT_DATA_TOKEN, DEFAULT_DATE_TIME_FIELD_MENU_PRESETS_PRESETS, DEFAULT_FORM_DISABLED_KEY, DEFAULT_HAS_VALUE_FN, DEFAULT_LAT_LNG_TEXT_FIELD_PATTERN_MESSAGE, DEFAULT_LAT_LNG_TEXT_FIELD_PLACEHOLDER, DEFAULT_PREFERRED_COUNTRIES, DISPLAY_FOR_TIMEZONE_STRING_VALUE, DbxActionFormDirective, DbxActionFormSafetyDirective, DbxChecklistItemContentComponent, DbxChecklistItemFieldComponent, DbxDateTimeFieldComponent, DbxDateTimeFieldMenuPresetsService, DbxDateTimeFieldTimeMode, DbxDateTimeValueMode, DbxDefaultChecklistItemFieldDisplayComponent, DbxDefaultSearchableFieldDisplayComponent, DbxFixedDateRangeFieldComponent, DbxFixedDateRangeFieldSelectionStrategy, DbxForm, DbxFormActionDialogComponent, DbxFormComponentFieldComponent, DbxFormExpandWrapperComponent, DbxFormExtensionModule, DbxFormFlexWrapperComponent, DbxFormFormlyArrayFieldModule, DbxFormFormlyBooleanFieldModule, DbxFormFormlyChecklistItemFieldModule, DbxFormFormlyComponentFieldModule, DbxFormFormlyDateFieldModule, DbxFormFormlyDbxListFieldModule, DbxFormFormlyFieldModule, DbxFormFormlyNumberFieldModule, DbxFormFormlyPhoneFieldModule, DbxFormFormlyPickableFieldModule, DbxFormFormlySearchableFieldModule, DbxFormFormlySourceSelectModule, DbxFormFormlyTextEditorFieldModule, DbxFormFormlyTextFieldModule, DbxFormFormlyWrapperModule, DbxFormInfoWrapperComponent, DbxFormLoadingSourceDirective, 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, FIELD_VALUES_ARE_EQUAL_VALIDATION_KEY, FIELD_VALUE_IS_AVAILABLE_ERROR_VALIDATION_KEY, FIELD_VALUE_IS_AVAILABLE_VALIDATION_KEY, 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, TAKE_NEXT_UPCOMING_TIME_CONFIG_OBS, addValueSelectionOptionFunction, addWrapperToFormlyFieldConfig, addressField, addressFormlyFields, addressLineField, addressListField, autoTouchWrapper, checkIsFieldFlexLayoutGroupFieldConfig, checkboxField, checklistItemField, chipTextField, cityField, componentField, countryField, dateRangeField, dateTimeField, dateTimePreset, dateTimeRangeField, dbxDateRangeIsSameDateRangeFieldValue, dbxDateTimeInputValueParseFactory, dbxDateTimeIsSameDateTimeFieldValue, dbxDateTimeOutputValueFactory, dbxFormSearchFormFields, dbxFormSourceObservable, dbxFormSourceObservableFromStream, dbxFormlyFormComponentProviders, dbxListField, defaultValidationMessages, disableFormlyFieldAutofillAttributes, dollarAmountField, emailField, expandWrapper, fieldValueIsAvailableValidator, fieldValuesAreEqualValidator, filterPartialPotentialFieldConfigValuesFromObject, filterPickableItemFieldValuesByLabel, filterPickableItemFieldValuesByLabelFilterFunction, fixedDateRangeField, flexLayoutWrapper, formlyField, hiddenField, infoWrapper, isDbxDateTimeFieldTimeDateConfig, isDivisibleBy, isDomain, isE164PhoneNumber, isE164PhoneNumberWithValidExtension, isInRange, isPhoneExtension, isTruthy, isWebsiteUrlValidator, latLngTextField, makeMetaFilterSearchableFieldValueDisplayFn, maxLengthValidationMessage, maxValidationMessage, mergePropsValueObjects, minLengthValidationMessage, minValidationMessage, nameField, numberField, numberFieldTransformParser, numberSliderField, partialPotentialFieldConfigKeys, partialPotentialFieldConfigKeysFilter, phoneAndLabelSectionField, phoneField, phoneListField, pickableItemChipField, pickableItemListField, pickableValueFieldValuesConfigForStaticLabeledValues, propsAndConfigForFieldConfig, propsValueForFieldConfig, provideDbxForm, provideDbxFormConfiguration, provideDbxFormFormlyFieldDeclarations, provideDbxMutableForm, provideFormlyContext, repeatArrayField, searchableChipField, searchableStringChipField, searchableTextField, sectionWrapper, sortPickableItemsByLabel, sortPickableItemsByLabelStringFunction, sourceSelectField, stateField, streamValueFromControl, styleWrapper, subsectionWrapper, syncConfigValueObs, textAreaField, textEditorField, textField, textFieldTransformParser, textIsAvailableField, textPasswordField, textPasswordWithVerifyFieldGroup, textVerifyPasswordField, timeOnlyField, timezoneStringField, timezoneStringSearchFunction, toggleDisableFormControl, toggleField, toggleWrapper, usernameLoginField, usernamePasswordLoginFields, validatorsForFieldConfig, valueSelectionField, websiteUrlField, workingWrapper, wrappedPhoneAndLabelField, zipCodeField };
|
|
5048
|
-
export type { AbstractFormExpandSectionConfig, AddressFieldConfig, AddressFormlyFieldsConfig, AddressLineFieldConfig, AddressListFieldConfig, AttributesFieldConfig, CheckboxFieldConfig, ChecklistItemDisplayContent, ChecklistItemFieldBuilderInput, ChecklistItemFieldConfig, ChecklistItemFieldDataSetBuilderInput, ChecklistItemFieldDataSetFieldKey, ChecklistItemFieldDataSetFieldValueForKey, ChecklistItemFieldDataSetItem, ChecklistItemFieldDisplayComponent, ChecklistType, ChipTextFieldConfig, CityFieldConfig, ComponentFieldConfig, ConfiguredSearchableValueFieldDisplayValue, CountryFieldConfig, DateDateRangeFieldConfig, DateDateRangeFieldDateConfig, DateDateTimeRangeFieldConfig, DateTimeFieldConfig, DateTimePreset, DateTimePresetConfiguration, DateTimePresetValue, DateTimeRangeFieldTimeConfig, DbxActionFormMapValueFunction, DbxChecklistItemFieldProps, DbxDateTimeFieldProps, DbxDateTimeFieldSyncField, DbxDateTimeFieldSyncParsedField, DbxDateTimeFieldSyncType, DbxDateTimeFieldTimeDateConfig, DbxDateTimePickerConfiguration, DbxFixedDateRangeDateRangeInput, DbxFixedDateRangeFieldProps, DbxFixedDateRangePickerConfiguration, DbxFixedDateRangePicking, DbxFixedDateRangeSelectionMode, DbxFlexLayoutWrapperGroupFieldConfig, DbxFlexLayoutWrapperGroupFieldConfigDefaults, DbxFlexWrapperConfig, 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, FieldConfig, FieldConfigParsersRef, FieldConfigWithParsers, FieldValueIsAvailableValidatorConfig, FieldValueIsAvailableValidatorFunction, FieldValuesAreEqualValidatorConfig, FixedDateRangeFieldConfig, FixedDateRangeScan, FixedDateRangeScanType, FormControlPath, FormlyMessageProperties, FormlyValueParser, HiddenFieldConfig, InternationalPhoneFieldConfig, InternationalPhoneFormlyFieldProps, IsDivisibleByError, IsNotWebsiteUrlErrorData, IsWebsiteUrlValidatorConfig, 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, TestStringSearchFunction, TextAreaFieldConfig, TextAvailableFieldConfig, TextEditorComponentFieldProps, TextEditorFieldConfig, TextFieldConfig, TextFieldInputType, TextFieldLengthConfig, TextFieldPatternConfig, TextPasswordFieldConfig, TextPasswordFieldPasswordParameters, TextPasswordWithVerifyFieldConfig, TimeFieldConfig, TimezoneStringFieldConfig, ToggleFieldConfig, UsernameLoginFieldUsernameConfig, UsernameLoginFieldUsernameConfigInput, UsernameLoginFieldsConfig, ValidatorsForFieldConfig, ValidatorsForFieldConfigInput, ValueSelectionFieldConfig, ValueSelectionOption, ValueSelectionOptionClear, ValueSelectionOptionWithValue, WebsiteUrlFieldConfig, WrappedPhoneAndLabelFieldConfig, WrapperFormlyFieldConfig, ZipCodeFieldConfig };
|
|
5448
|
+
export { APP_ACTION_FORM_DISABLED_KEY, AbstractAsyncFormlyFormDirective, AbstractConfigAsyncFormlyFormDirective, AbstractDbxPickableItemFieldDirective, AbstractDbxSearchableFieldDisplayDirective, AbstractDbxSearchableValueFieldDirective, AbstractFormExpandSectionWrapperDirective, AbstractFormlyFormDirective, 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_FORMLY_FORM_COMPONENT_TEMPLATE, DBX_SEARCHABLE_FIELD_COMPONENT_DATA_TOKEN, DEFAULT_DATE_TIME_FIELD_MENU_PRESETS_PRESETS, DEFAULT_DURATION_PICKER_POPOVER_KEY, DEFAULT_FORM_DISABLED_KEY, DEFAULT_HAS_VALUE_FN, DEFAULT_LAT_LNG_TEXT_FIELD_PATTERN_MESSAGE, DEFAULT_LAT_LNG_TEXT_FIELD_PLACEHOLDER, DEFAULT_PREFERRED_COUNTRIES, DISPLAY_FOR_TIMEZONE_STRING_VALUE, DURATION_MAX_VALIDATION_MESSAGE, DURATION_MIN_VALIDATION_MESSAGE, DbxActionFormDirective, DbxActionFormSafetyDirective, DbxChecklistItemContentComponent, DbxChecklistItemFieldComponent, DbxDateTimeFieldComponent, DbxDateTimeFieldMenuPresetsService, DbxDateTimeFieldTimeMode, DbxDateTimeValueMode, DbxDefaultChecklistItemFieldDisplayComponent, DbxDefaultSearchableFieldDisplayComponent, DbxDurationPickerPopoverComponent, DbxFixedDateRangeFieldComponent, DbxFixedDateRangeFieldSelectionStrategy, DbxForm, DbxFormActionDialogComponent, DbxFormComponentFieldComponent, DbxFormExpandWrapperComponent, DbxFormExtensionModule, DbxFormFlexWrapperComponent, DbxFormFormlyArrayFieldModule, DbxFormFormlyBooleanFieldModule, DbxFormFormlyChecklistItemFieldModule, DbxFormFormlyComponentFieldModule, DbxFormFormlyDateFieldModule, DbxFormFormlyDbxListFieldModule, DbxFormFormlyDurationFieldModule, DbxFormFormlyFieldModule, DbxFormFormlyNumberFieldModule, DbxFormFormlyPhoneFieldModule, DbxFormFormlyPickableFieldModule, DbxFormFormlySearchableFieldModule, DbxFormFormlySourceSelectModule, DbxFormFormlyTextEditorFieldModule, DbxFormFormlyTextFieldModule, DbxFormFormlyWrapperModule, DbxFormInfoWrapperComponent, DbxFormLoadingSourceDirective, 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, 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, TAKE_NEXT_UPCOMING_TIME_CONFIG_OBS, addValueSelectionOptionFunction, addWrapperToFormlyFieldConfig, addressField, addressFormlyFields, addressLineField, addressListField, autoTouchWrapper, checkIsFieldFlexLayoutGroupFieldConfig, checkboxField, checklistItemField, chipTextField, cityField, componentField, countryField, dateRangeField, dateTimeField, dateTimePreset, dateTimeRangeField, dbxDateRangeIsSameDateRangeFieldValue, dbxDateTimeInputValueParseFactory, dbxDateTimeIsSameDateTimeFieldValue, dbxDateTimeOutputValueFactory, dbxFormSearchFormFields, dbxFormSourceObservable, dbxFormSourceObservableFromStream, dbxFormlyFormComponentProviders, dbxListField, defaultValidationMessages, disableFormlyFieldAutofillAttributes, dollarAmountField, durationMaxValidationMessage, durationMinValidationMessage, emailField, expandWrapper, fieldValueIsAvailableValidator, fieldValuesAreEqualValidator, filterPartialPotentialFieldConfigValuesFromObject, filterPickableItemFieldValuesByLabel, filterPickableItemFieldValuesByLabelFilterFunction, fixedDateRangeField, flexLayoutWrapper, formlyField, hiddenField, infoWrapper, isDbxDateTimeFieldTimeDateConfig, isDivisibleBy, isDomain, isE164PhoneNumber, isE164PhoneNumberWithValidExtension, isInRange, isPhoneExtension, isTruthy, isWebsiteUrlValidator, latLngTextField, makeMetaFilterSearchableFieldValueDisplayFn, maxLengthValidationMessage, maxValidationMessage, mergePropsValueObjects, minLengthValidationMessage, minValidationMessage, nameField, numberField, numberFieldTransformParser, numberSliderField, partialPotentialFieldConfigKeys, partialPotentialFieldConfigKeysFilter, phoneAndLabelSectionField, phoneField, phoneListField, pickableItemChipField, pickableItemListField, pickableValueFieldValuesConfigForStaticLabeledValues, propsAndConfigForFieldConfig, propsValueForFieldConfig, provideDbxForm, provideDbxFormConfiguration, provideDbxFormFormlyFieldDeclarations, provideDbxMutableForm, provideFormlyContext, repeatArrayField, searchableChipField, searchableStringChipField, searchableTextField, sectionWrapper, sortPickableItemsByLabel, sortPickableItemsByLabelStringFunction, sourceSelectField, stateField, streamValueFromControl, styleWrapper, subsectionWrapper, syncConfigValueObs, textAreaField, textEditorField, textField, textFieldTransformParser, textIsAvailableField, textPasswordField, textPasswordWithVerifyFieldGroup, textVerifyPasswordField, timeDurationField, timeOnlyField, timezoneStringField, timezoneStringSearchFunction, toggleDisableFormControl, toggleField, toggleWrapper, usernameLoginField, usernamePasswordLoginFields, validatorsForFieldConfig, valueSelectionField, websiteUrlField, workingWrapper, wrappedPhoneAndLabelField, zipCodeField };
|
|
5449
|
+
export type { AbstractFormExpandSectionConfig, AddressFieldConfig, AddressFormlyFieldsConfig, AddressLineFieldConfig, AddressListFieldConfig, AttributesFieldConfig, CheckboxFieldConfig, ChecklistItemDisplayContent, ChecklistItemFieldBuilderInput, ChecklistItemFieldConfig, ChecklistItemFieldDataSetBuilderInput, ChecklistItemFieldDataSetFieldKey, ChecklistItemFieldDataSetFieldValueForKey, ChecklistItemFieldDataSetItem, ChecklistItemFieldDisplayComponent, ChecklistType, ChipTextFieldConfig, CityFieldConfig, ComponentFieldConfig, ConfiguredSearchableValueFieldDisplayValue, CountryFieldConfig, DateDateRangeFieldConfig, DateDateRangeFieldDateConfig, DateDateTimeRangeFieldConfig, DateTimeFieldConfig, DateTimePreset, DateTimePresetConfiguration, DateTimePresetValue, DateTimeRangeFieldTimeConfig, DbxActionFormMapValueFunction, DbxChecklistItemFieldProps, DbxDateTimeFieldProps, DbxDateTimeFieldSyncField, DbxDateTimeFieldSyncParsedField, DbxDateTimeFieldSyncType, DbxDateTimeFieldTimeDateConfig, DbxDateTimePickerConfiguration, DbxDurationPickerChangeCallback, DbxDurationPickerPopoverData, DbxFixedDateRangeDateRangeInput, DbxFixedDateRangeFieldProps, DbxFixedDateRangePickerConfiguration, DbxFixedDateRangePicking, DbxFixedDateRangeSelectionMode, DbxFlexLayoutWrapperGroupFieldConfig, DbxFlexLayoutWrapperGroupFieldConfigDefaults, DbxFlexWrapperConfig, 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, FieldConfig, FieldConfigParsersRef, FieldConfigWithParsers, FieldValueIsAvailableValidatorConfig, FieldValueIsAvailableValidatorFunction, FieldValuesAreEqualValidatorConfig, FixedDateRangeFieldConfig, FixedDateRangeScan, FixedDateRangeScanType, FormControlPath, FormlyMessageProperties, FormlyValueParser, HiddenFieldConfig, InternationalPhoneFieldConfig, InternationalPhoneFormlyFieldProps, IsDivisibleByError, IsNotWebsiteUrlErrorData, IsWebsiteUrlValidatorConfig, 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, TestStringSearchFunction, 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 };
|