@dereekb/dbx-form 13.7.0 → 13.9.0
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 +425 -144
- package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form-expand.field.component-Bp5_uO1A.mjs +56 -0
- package/fesm2022/dereekb-dbx-form-expand.field.component-Bp5_uO1A.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form-flex.wrapper.component-CpOHCk87.mjs +39 -0
- package/fesm2022/dereekb-dbx-form-flex.wrapper.component-CpOHCk87.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form-info.field.component-B0cFprvc.mjs +50 -0
- package/fesm2022/dereekb-dbx-form-info.field.component-B0cFprvc.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form-info.wrapper.component-18n632L-.mjs +61 -0
- package/fesm2022/dereekb-dbx-form-info.wrapper.component-18n632L-.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form-mapbox.mjs +639 -32
- package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form-quiz.mjs +46 -55
- package/fesm2022/dereekb-dbx-form-quiz.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form-section.wrapper.component-vq21oG6v.mjs +52 -0
- package/fesm2022/dereekb-dbx-form-section.wrapper.component-vq21oG6v.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form-style.wrapper.component-BbKj-IHD.mjs +42 -0
- package/fesm2022/dereekb-dbx-form-style.wrapper.component-BbKj-IHD.mjs.map +1 -0
- package/fesm2022/dereekb-dbx-form.mjs +13688 -5235
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/forge/_forge.scss +14 -0
- package/lib/forge/field/_field.scss +12 -0
- package/lib/forge/field/selection/_selection.scss +18 -0
- package/lib/forge/field/selection/list/_list.scss +17 -0
- package/lib/forge/field/selection/pickable/_pickable.scss +36 -0
- package/lib/forge/field/selection/searchable/_searchable.scss +34 -0
- package/lib/forge/field/selection/sourceselect/_sourceselect.scss +30 -0
- package/lib/forge/field/wrapper/_wrapper.scss +72 -0
- package/lib/{formly/form/_form.scss → forge/preset/_preset.scss} +3 -12
- package/lib/forge/style/_shared.scss +36 -0
- package/lib/form/_form.scss +109 -0
- package/lib/formly/field/selection/sourceselect/_sourceselect.scss +0 -7
- package/lib/formly/field/texteditor/_texteditor.scss +8 -0
- package/lib/formly/field/value/array/_array.scss +6 -0
- package/lib/formly/field/value/phone/_phone.scss +4 -1
- package/lib/style/_all-core.scss +2 -2
- package/lib/style/_all-theme.scss +2 -2
- package/lib/style/_all-typography.scss +1 -1
- package/package.json +16 -14
- package/types/dereekb-dbx-form-calendar.d.ts +306 -100
- package/types/dereekb-dbx-form-mapbox.d.ts +304 -8
- package/types/dereekb-dbx-form.d.ts +8837 -2720
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i13 from '@dereekb/dbx-form';
|
|
2
|
-
import {
|
|
2
|
+
import { LabeledBaseFieldConfig, DescriptionFieldConfig, FieldConfig, AbstractSyncFormlyFormDirective, AbstractSyncForgeFormDirective } from '@dereekb/dbx-form';
|
|
3
3
|
import * as _ngx_formly_core from '@ngx-formly/core';
|
|
4
4
|
import { FormlyFieldProps, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
5
5
|
import * as _dereekb_dbx_form_calendar from '@dereekb/dbx-form/calendar';
|
|
6
6
|
import * as _dereekb_util from '@dereekb/util';
|
|
7
7
|
import { FactoryWithRequiredInput, MaybeMap, Maybe, ArrayOrValue, TimezoneString, DayOfWeek, DecisionFunction, AllOrNoneSelection, IterableOrValue, ISO8601DayString, Building, EnabledDays } from '@dereekb/util';
|
|
8
|
-
import * as
|
|
9
|
-
import { InjectionToken, Injector, OnInit, OnDestroy,
|
|
8
|
+
import * as i0 from '@angular/core';
|
|
9
|
+
import { InjectionToken, Injector, OnInit, OnDestroy, InputSignal, Signal, ElementRef, Provider } from '@angular/core';
|
|
10
10
|
import * as rxjs from 'rxjs';
|
|
11
11
|
import { Observable, Subject } from 'rxjs';
|
|
12
12
|
import { AbstractControl, FormGroup, FormControl } from '@angular/forms';
|
|
@@ -21,6 +21,8 @@ import { MatFormFieldAppearance, MatFormFieldDefaultOptions } from '@angular/mat
|
|
|
21
21
|
import * as _angular_material_dialog from '@angular/material/dialog';
|
|
22
22
|
import { MatDialog } from '@angular/material/dialog';
|
|
23
23
|
import { DbxInjectionComponentConfig, DbxButtonDisplay } from '@dereekb/dbx-core';
|
|
24
|
+
import { DynamicText, FieldMeta, ValidationMessages, BaseValueField, FieldDef, FormConfig, FieldTypeDefinition } from '@ng-forge/dynamic-forms';
|
|
25
|
+
import { FieldTree } from '@angular/forms/signals';
|
|
24
26
|
import { DbxCalendarStore, DbxCalendarEvent } from '@dereekb/dbx-web/calendar';
|
|
25
27
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
26
28
|
import { MatDateRangePicker, DateFilterFn } from '@angular/material/datepicker';
|
|
@@ -309,8 +311,8 @@ declare class DbxCalendarScheduleSelectionStore extends ComponentStore<CalendarS
|
|
|
309
311
|
* Should typically not be used by the user directly with the intention of the parent synchronizing to this state.
|
|
310
312
|
*/
|
|
311
313
|
readonly setViewReadonlyState: (observableOrValue: boolean | Observable<boolean>) => rxjs.Subscription;
|
|
312
|
-
static ɵfac:
|
|
313
|
-
static ɵprov:
|
|
314
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxCalendarScheduleSelectionStore, never>;
|
|
315
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxCalendarScheduleSelectionStore>;
|
|
314
316
|
}
|
|
315
317
|
/**
|
|
316
318
|
* Updates the state with an initial selection (all or none) and applies it when no dates are currently toggled.
|
|
@@ -530,8 +532,8 @@ declare class DbxScheduleSelectionCalendarDateDialogComponent extends AbstractDi
|
|
|
530
532
|
get contentConfig(): Maybe<DbxScheduleSelectionCalendarDatePopupContentConfig>;
|
|
531
533
|
get closeConfig(): DbxDialogContentFooterConfig | undefined;
|
|
532
534
|
static openDialog(matDialog: MatDialog, config: DbxScheduleSelectionCalendarDatePopupConfig): _angular_material_dialog.MatDialogRef<DbxScheduleSelectionCalendarDateDialogComponent, any>;
|
|
533
|
-
static ɵfac:
|
|
534
|
-
static ɵcmp:
|
|
535
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateDialogComponent, never>;
|
|
536
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
535
537
|
}
|
|
536
538
|
|
|
537
539
|
interface DbxFormCalendarDateCellScheduleRangeFieldProps extends Pick<FormlyFieldProps, 'label' | 'description' | 'readonly' | 'required'>, Pick<CalendarScheduleSelectionState, 'computeSelectionResultRelativeToFilter' | 'initialSelectionState'>, Partial<Pick<CalendarScheduleSelectionState, 'cellContentFactory'>> {
|
|
@@ -585,6 +587,9 @@ interface DbxFormCalendarDateCellScheduleRangeFieldProps extends Pick<FormlyFiel
|
|
|
585
587
|
*/
|
|
586
588
|
readonly customDetailsConfig?: Maybe<DbxInjectionComponentConfig>;
|
|
587
589
|
}
|
|
590
|
+
/**
|
|
591
|
+
* @deprecated Use DbxForgeCalendarDateScheduleRangeFieldComponent instead.
|
|
592
|
+
*/
|
|
588
593
|
declare class DbxFormCalendarDateScheduleRangeFieldComponent<T extends DbxFormCalendarDateCellScheduleRangeFieldProps = DbxFormCalendarDateCellScheduleRangeFieldProps> extends FieldType<FieldTypeConfig<T>> implements OnInit, OnDestroy {
|
|
589
594
|
readonly compact: CompactContextStore | null;
|
|
590
595
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
@@ -599,7 +604,7 @@ declare class DbxFormCalendarDateScheduleRangeFieldComponent<T extends DbxFormCa
|
|
|
599
604
|
readonly formControl$: rxjs.Observable<AbstractControl<any, any, any>>;
|
|
600
605
|
readonly value$: rxjs.Observable<any>;
|
|
601
606
|
readonly disableCustomize$: rxjs.Observable<boolean>;
|
|
602
|
-
readonly disabledSignal:
|
|
607
|
+
readonly disabledSignal: i0.Signal<boolean | undefined>;
|
|
603
608
|
get formGroupName(): string;
|
|
604
609
|
get formGroup(): FormGroup;
|
|
605
610
|
get label(): Maybe<string>;
|
|
@@ -620,24 +625,240 @@ declare class DbxFormCalendarDateScheduleRangeFieldComponent<T extends DbxFormCa
|
|
|
620
625
|
get cellContentFactory(): _dereekb_dbx_form_calendar.CalendarScheduleSelectionCellContentFactory | undefined;
|
|
621
626
|
ngOnInit(): void;
|
|
622
627
|
ngOnDestroy(): void;
|
|
623
|
-
static ɵfac:
|
|
624
|
-
static ɵcmp:
|
|
628
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormCalendarDateScheduleRangeFieldComponent<any>, never>;
|
|
629
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormCalendarDateScheduleRangeFieldComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
625
630
|
}
|
|
626
631
|
|
|
627
|
-
|
|
632
|
+
/**
|
|
633
|
+
* @deprecated Use DbxForgeCalendarDateScheduleRangeFieldConfig instead.
|
|
634
|
+
*/
|
|
635
|
+
interface DateScheduleRangeFieldConfig extends Omit<LabeledBaseFieldConfig, 'key' | 'placeholder'>, DescriptionFieldConfig, Partial<FieldConfig>, DbxFormCalendarDateCellScheduleRangeFieldProps {
|
|
628
636
|
}
|
|
629
637
|
/**
|
|
630
638
|
* Creates a Formly field configuration for a date schedule range picker with calendar-based selection.
|
|
631
639
|
*
|
|
640
|
+
* @deprecated Use dbxForgeDateScheduleRangeField() from the forge API instead.
|
|
632
641
|
* @param config - Optional schedule range field configuration overrides
|
|
633
642
|
* @returns A validated Formly field configuration for date schedule range selection
|
|
634
643
|
*/
|
|
635
644
|
declare function dateScheduleRangeField(config?: DateScheduleRangeFieldConfig): FormlyFieldConfig;
|
|
636
645
|
|
|
646
|
+
/**
|
|
647
|
+
* @deprecated Use provideDbxForgeCalendarFieldDeclarations() instead.
|
|
648
|
+
*/
|
|
637
649
|
declare class DbxFormDateScheduleRangeFieldModule {
|
|
638
|
-
static ɵfac:
|
|
639
|
-
static ɵmod:
|
|
640
|
-
static ɵinj:
|
|
650
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormDateScheduleRangeFieldModule, never>;
|
|
651
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormDateScheduleRangeFieldModule, never, [typeof DbxFormCalendarDateScheduleRangeFieldComponent, typeof _ngx_formly_core.FormlyModule], [typeof DbxFormCalendarDateScheduleRangeFieldComponent]>;
|
|
652
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormDateScheduleRangeFieldModule>;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Custom props for the forge calendar date schedule range field.
|
|
657
|
+
*/
|
|
658
|
+
interface DbxForgeCalendarDateScheduleRangeFieldComponentProps extends Pick<CalendarScheduleSelectionState, 'computeSelectionResultRelativeToFilter' | 'initialSelectionState'>, Partial<Pick<CalendarScheduleSelectionState, 'cellContentFactory'>> {
|
|
659
|
+
readonly label?: string;
|
|
660
|
+
readonly description?: string;
|
|
661
|
+
readonly appearance?: string;
|
|
662
|
+
readonly allowTextInput?: boolean;
|
|
663
|
+
readonly hideCustomize?: boolean;
|
|
664
|
+
readonly allowCustomizeWithoutDateRange?: boolean;
|
|
665
|
+
readonly outputTimezone?: ObservableOrValue<Maybe<TimezoneString>>;
|
|
666
|
+
readonly defaultScheduleDays?: ObservableOrValue<Maybe<Iterable<DateCellScheduleDayCode>>>;
|
|
667
|
+
readonly minMaxDateRange?: ObservableOrValue<Maybe<Partial<DateRange>>>;
|
|
668
|
+
readonly filter?: ObservableOrValue<Maybe<DateCellScheduleDateFilterConfig>>;
|
|
669
|
+
readonly exclusions?: ObservableOrValue<Maybe<ArrayOrValue<DateOrDateRangeOrDateCellIndexOrDateCellRange>>>;
|
|
670
|
+
readonly dialogContentConfig?: Maybe<DbxScheduleSelectionCalendarDatePopupContentConfig>;
|
|
671
|
+
readonly customDetailsConfig?: Maybe<DbxInjectionComponentConfig>;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Forge custom field component for calendar date schedule range selection.
|
|
675
|
+
*
|
|
676
|
+
* This is the forge equivalent of {@link DbxFormCalendarDateScheduleRangeFieldComponent}.
|
|
677
|
+
* It bridges ng-forge Signal Forms with the {@link DbxCalendarScheduleSelectionStore}.
|
|
678
|
+
*
|
|
679
|
+
* Registered as ng-forge type 'dbx-forge-calendar-date-schedule-range'.
|
|
680
|
+
*/
|
|
681
|
+
declare class DbxForgeCalendarDateScheduleRangeFieldComponent implements OnDestroy {
|
|
682
|
+
readonly compact: CompactContextStore | null;
|
|
683
|
+
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
684
|
+
private readonly elementRef;
|
|
685
|
+
readonly field: InputSignal<FieldTree<unknown>>;
|
|
686
|
+
readonly key: InputSignal<string>;
|
|
687
|
+
readonly label: InputSignal<DynamicText | undefined>;
|
|
688
|
+
readonly placeholder: InputSignal<DynamicText | undefined>;
|
|
689
|
+
readonly className: InputSignal<string>;
|
|
690
|
+
readonly tabIndex: InputSignal<number | undefined>;
|
|
691
|
+
readonly props: InputSignal<DbxForgeCalendarDateScheduleRangeFieldComponentProps | undefined>;
|
|
692
|
+
readonly meta: InputSignal<FieldMeta | undefined>;
|
|
693
|
+
readonly validationMessages: InputSignal<ValidationMessages | undefined>;
|
|
694
|
+
readonly defaultValidationMessages: InputSignal<ValidationMessages | undefined>;
|
|
695
|
+
private readonly _syncSub;
|
|
696
|
+
private readonly _valueSub;
|
|
697
|
+
private readonly _timezoneSub;
|
|
698
|
+
private readonly _minMaxDateRangeSub;
|
|
699
|
+
private readonly _defaultWeekSub;
|
|
700
|
+
private readonly _filterSub;
|
|
701
|
+
private readonly _exclusionsSub;
|
|
702
|
+
readonly fieldValue: Signal<unknown>;
|
|
703
|
+
readonly isDisabled: Signal<boolean>;
|
|
704
|
+
readonly isRequiredSignal: Signal<boolean>;
|
|
705
|
+
readonly labelTextSignal: Signal<Maybe<string>>;
|
|
706
|
+
readonly descriptionSignal: Signal<Maybe<string>>;
|
|
707
|
+
readonly isReadonlyOrDisabledSignal: Signal<any>;
|
|
708
|
+
readonly openPickerOnTextClickSignal: Signal<boolean>;
|
|
709
|
+
readonly showCustomizeSignal: Signal<boolean>;
|
|
710
|
+
readonly dialogContentConfigSignal: Signal<Maybe<DbxScheduleSelectionCalendarDatePopupContentConfig>>;
|
|
711
|
+
readonly customDetailsConfigSignal: Signal<Maybe<DbxInjectionComponentConfig<unknown>>>;
|
|
712
|
+
readonly allowCustomizeWithoutDateRangeSignal: Signal<boolean>;
|
|
713
|
+
readonly disableCustomizeSignal: Signal<boolean>;
|
|
714
|
+
private _setFieldValue;
|
|
715
|
+
constructor();
|
|
716
|
+
ngOnDestroy(): void;
|
|
717
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxForgeCalendarDateScheduleRangeFieldComponent, never>;
|
|
718
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxForgeCalendarDateScheduleRangeFieldComponent, "dbx-forge-calendar-date-schedule-range-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "key": { "alias": "key"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; "meta": { "alias": "meta"; "required": false; "isSignal": true; }; "validationMessages": { "alias": "validationMessages"; "required": false; "isSignal": true; }; "defaultValidationMessages": { "alias": "defaultValidationMessages"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Custom mapper for the forge calendar date schedule range field.
|
|
722
|
+
*
|
|
723
|
+
* Uses the standard buildValueFieldInputs to bridge the ng-forge field definition
|
|
724
|
+
* to the component's input signals.
|
|
725
|
+
*
|
|
726
|
+
* @param fieldDef - Field definition configuration
|
|
727
|
+
* @param fieldDef.key - Form model key for the field
|
|
728
|
+
* @returns Signal containing a Record of input names to values for ngComponentOutlet
|
|
729
|
+
*/
|
|
730
|
+
declare function calendarDateScheduleRangeFieldMapper(fieldDef: {
|
|
731
|
+
key: string;
|
|
732
|
+
}): Signal<Record<string, unknown>>;
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* The custom forge field type name for the calendar date schedule range field.
|
|
736
|
+
*/
|
|
737
|
+
declare const FORGE_CALENDAR_DATE_SCHEDULE_RANGE_FIELD_TYPE: "dbx-forge-calendar-date-schedule-range";
|
|
738
|
+
/**
|
|
739
|
+
* Field definition type for a forge calendar date schedule range field.
|
|
740
|
+
*/
|
|
741
|
+
type DbxForgeCalendarDateScheduleRangeFieldDef = BaseValueField<DbxForgeCalendarDateScheduleRangeFieldComponentProps, unknown> & {
|
|
742
|
+
readonly type: typeof FORGE_CALENDAR_DATE_SCHEDULE_RANGE_FIELD_TYPE;
|
|
743
|
+
};
|
|
744
|
+
/**
|
|
745
|
+
* Configuration for a forge calendar date schedule range field.
|
|
746
|
+
*/
|
|
747
|
+
interface DbxForgeCalendarDateScheduleRangeFieldConfig extends Pick<CalendarScheduleSelectionState, 'computeSelectionResultRelativeToFilter' | 'initialSelectionState'>, Partial<Pick<CalendarScheduleSelectionState, 'cellContentFactory'>> {
|
|
748
|
+
readonly key?: string;
|
|
749
|
+
readonly label?: string;
|
|
750
|
+
readonly description?: string;
|
|
751
|
+
readonly required?: boolean;
|
|
752
|
+
readonly readonly?: boolean;
|
|
753
|
+
readonly appearance?: string;
|
|
754
|
+
/**
|
|
755
|
+
* Whether or not to allow inputting custom text into the picker.
|
|
756
|
+
*
|
|
757
|
+
* If false, when the input text is picked the date picker will open.
|
|
758
|
+
*
|
|
759
|
+
* Is false by default.
|
|
760
|
+
*/
|
|
761
|
+
readonly allowTextInput?: boolean;
|
|
762
|
+
/**
|
|
763
|
+
* Whether or not to hide the customize button. Defaults to false.
|
|
764
|
+
*/
|
|
765
|
+
readonly hideCustomize?: boolean;
|
|
766
|
+
/**
|
|
767
|
+
* Whether or not to allow customizing before picking a date range to customize.
|
|
768
|
+
*
|
|
769
|
+
* Defaults to false.
|
|
770
|
+
*/
|
|
771
|
+
readonly allowCustomizeWithoutDateRange?: boolean;
|
|
772
|
+
/**
|
|
773
|
+
* (Optional) Timezone to use for the output start date.
|
|
774
|
+
*
|
|
775
|
+
* If a filter is provided, this timezone overrides the filter's timezone output.
|
|
776
|
+
*/
|
|
777
|
+
readonly outputTimezone?: ObservableOrValue<Maybe<TimezoneString>>;
|
|
778
|
+
/**
|
|
779
|
+
* (Optional) Default schedule days to allow.
|
|
780
|
+
*/
|
|
781
|
+
readonly defaultScheduleDays?: ObservableOrValue<Maybe<Iterable<DateCellScheduleDayCode>>>;
|
|
782
|
+
/**
|
|
783
|
+
* Optional min/max date range to filter on. Works in conjunction with the filter.
|
|
784
|
+
*/
|
|
785
|
+
readonly minMaxDateRange?: ObservableOrValue<Maybe<Partial<DateRange>>>;
|
|
786
|
+
/**
|
|
787
|
+
* (Optional) Observable with a filter value to apply to the date range.
|
|
788
|
+
*/
|
|
789
|
+
readonly filter?: ObservableOrValue<Maybe<DateCellScheduleDateFilterConfig>>;
|
|
790
|
+
/**
|
|
791
|
+
* (Optional) Observable with days and values to exclude from the date range.
|
|
792
|
+
*/
|
|
793
|
+
readonly exclusions?: ObservableOrValue<Maybe<ArrayOrValue<DateOrDateRangeOrDateCellIndexOrDateCellRange>>>;
|
|
794
|
+
/**
|
|
795
|
+
* Custom dialog content config for the popup
|
|
796
|
+
*/
|
|
797
|
+
readonly dialogContentConfig?: Maybe<DbxScheduleSelectionCalendarDatePopupContentConfig>;
|
|
798
|
+
/**
|
|
799
|
+
* Custom details config for the date range
|
|
800
|
+
*/
|
|
801
|
+
readonly customDetailsConfig?: Maybe<DbxInjectionComponentConfig>;
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* Creates a forge field definition for a calendar date schedule range picker.
|
|
805
|
+
*
|
|
806
|
+
* This is the forge equivalent of {@link dateScheduleRangeField}.
|
|
807
|
+
*
|
|
808
|
+
* @param config - Optional schedule range field configuration overrides
|
|
809
|
+
* @returns A validated forge field definition for date schedule range selection
|
|
810
|
+
*/
|
|
811
|
+
declare function dbxForgeDateScheduleRangeField(config?: DbxForgeCalendarDateScheduleRangeFieldConfig): DbxForgeCalendarDateScheduleRangeFieldDef;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Creates form fields for selecting which days of the week are enabled in a schedule selection calendar,
|
|
815
|
+
* wrapped in a responsive flex layout.
|
|
816
|
+
*
|
|
817
|
+
* @deprecated Use dbxScheduleSelectionCalendarDateDaysForgeFormFields() instead.
|
|
818
|
+
* @returns An array of Formly field configs with toggle fields for each day of the week
|
|
819
|
+
*/
|
|
820
|
+
declare function dbxScheduleSelectionCalendarDateDaysFormFields(): _ngx_formly_core.FormlyFieldConfig<i13.DbxFlexWrapperConfig>[];
|
|
821
|
+
/**
|
|
822
|
+
* Creates an array of toggle field configs, one for each day of the week, keyed by lowercase day name.
|
|
823
|
+
*
|
|
824
|
+
* @deprecated Use forge toggle fields directly.
|
|
825
|
+
* @returns An array of toggle Formly field configs for each day of the week
|
|
826
|
+
*/
|
|
827
|
+
declare function dbxScheduleSelectionCalendarDateDaysFormDayFields(): _ngx_formly_core.FormlyFieldConfig<_ngx_formly_core.FormlyFieldProps & {
|
|
828
|
+
[additionalProperties: string]: any;
|
|
829
|
+
}>[];
|
|
830
|
+
|
|
831
|
+
type DbxScheduleSelectionCalendarDateDaysFormValue = EnabledDays;
|
|
832
|
+
/**
|
|
833
|
+
* @deprecated Use DbxScheduleSelectionCalendarDateDaysForgeFormComponent instead.
|
|
834
|
+
*/
|
|
835
|
+
declare class DbxScheduleSelectionCalendarDateDaysFormComponent extends AbstractSyncFormlyFormDirective<DbxScheduleSelectionCalendarDateDaysFormValue> {
|
|
836
|
+
readonly fields: FormlyFieldConfig[];
|
|
837
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateDaysFormComponent, never>;
|
|
838
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateDaysFormComponent, "dbx-schedule-selection-calendar-date-days-form", never, {}, {}, never, never, true, never>;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Creates forge form fields for selecting which days of the week are enabled in a schedule selection calendar
|
|
843
|
+
* as a vertical list of toggle fields with styled boxes.
|
|
844
|
+
*
|
|
845
|
+
* This is the forge equivalent of {@link dbxScheduleSelectionCalendarDateDaysFormFields}.
|
|
846
|
+
*
|
|
847
|
+
* @returns A FormConfig with toggle fields for each day of the week
|
|
848
|
+
*/
|
|
849
|
+
declare function dbxScheduleSelectionCalendarDateDaysForgeFormFields(): FormConfig;
|
|
850
|
+
/**
|
|
851
|
+
* Creates an array of forge toggle field definitions, one for each day of the week, keyed by lowercase day name.
|
|
852
|
+
*
|
|
853
|
+
* @returns An array of forge toggle field definitions for each day of the week
|
|
854
|
+
*/
|
|
855
|
+
declare function dbxScheduleSelectionCalendarDateDaysForgeFormDayFields(): FieldDef<unknown>[];
|
|
856
|
+
|
|
857
|
+
type DbxScheduleSelectionCalendarDateDaysForgeFormValue = EnabledDays;
|
|
858
|
+
declare class DbxScheduleSelectionCalendarDateDaysForgeFormComponent extends AbstractSyncForgeFormDirective<DbxScheduleSelectionCalendarDateDaysForgeFormValue> {
|
|
859
|
+
readonly formConfig: FormConfig;
|
|
860
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateDaysForgeFormComponent, never>;
|
|
861
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateDaysForgeFormComponent, "dbx-schedule-selection-calendar-date-days-forge-form", never, {}, {}, never, never, true, never>;
|
|
641
862
|
}
|
|
642
863
|
|
|
643
864
|
interface DbxScheduleSelectionCalendarComponentConfig {
|
|
@@ -680,9 +901,9 @@ declare function dbxScheduleSelectionCalendarBeforeMonthViewRenderFactory(inputM
|
|
|
680
901
|
declare class DbxScheduleSelectionCalendarComponent<T> implements OnInit, OnDestroy {
|
|
681
902
|
readonly calendarStore: DbxCalendarStore<T>;
|
|
682
903
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
683
|
-
readonly clickEvent:
|
|
684
|
-
readonly config:
|
|
685
|
-
readonly readonly:
|
|
904
|
+
readonly clickEvent: i0.OutputEmitterRef<DbxCalendarEvent<T>>;
|
|
905
|
+
readonly config: i0.InputSignal<Maybe<DbxScheduleSelectionCalendarComponentConfig>>;
|
|
906
|
+
readonly readonly: i0.InputSignal<Maybe<boolean>>;
|
|
686
907
|
private readonly _centerRangeSub;
|
|
687
908
|
readonly config$: Observable<Maybe<DbxScheduleSelectionCalendarComponentConfig>>;
|
|
688
909
|
readonly readonly$: Observable<boolean>;
|
|
@@ -695,12 +916,12 @@ declare class DbxScheduleSelectionCalendarComponent<T> implements OnInit, OnDest
|
|
|
695
916
|
readonly refresh$: Subject<undefined>;
|
|
696
917
|
readonly events$: Observable<CalendarEvent<any>[]>;
|
|
697
918
|
readonly viewDate$: Observable<Date>;
|
|
698
|
-
readonly beforeMonthViewRenderSignal:
|
|
699
|
-
readonly readonlySignal:
|
|
700
|
-
readonly showClearSelectionButtonSignal:
|
|
701
|
-
readonly datePopoverButtonInjectionConfigSignal:
|
|
702
|
-
readonly eventsSignal:
|
|
703
|
-
readonly viewDateSignal:
|
|
919
|
+
readonly beforeMonthViewRenderSignal: i0.Signal<DbxScheduleSelectionCalendarBeforeMonthViewRenderFunction | undefined>;
|
|
920
|
+
readonly readonlySignal: i0.Signal<boolean>;
|
|
921
|
+
readonly showClearSelectionButtonSignal: i0.Signal<boolean | undefined>;
|
|
922
|
+
readonly datePopoverButtonInjectionConfigSignal: i0.Signal<Maybe<DbxInjectionComponentConfig<any>>>;
|
|
923
|
+
readonly eventsSignal: i0.Signal<CalendarEvent<any>[]>;
|
|
924
|
+
readonly viewDateSignal: i0.Signal<Date>;
|
|
704
925
|
ngOnInit(): void;
|
|
705
926
|
ngOnDestroy(): void;
|
|
706
927
|
dayClicked({ date }: {
|
|
@@ -708,40 +929,33 @@ declare class DbxScheduleSelectionCalendarComponent<T> implements OnInit, OnDest
|
|
|
708
929
|
}): void;
|
|
709
930
|
eventClicked(action: string, event: CalendarEvent<T>): void;
|
|
710
931
|
beforeMonthViewRender(renderEvent: CalendarMonthViewBeforeRenderEvent): void;
|
|
711
|
-
static ɵfac:
|
|
712
|
-
static ɵcmp:
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
type DbxScheduleSelectionCalendarDateDaysFormValue = EnabledDays;
|
|
716
|
-
declare class DbxScheduleSelectionCalendarDateDaysFormComponent extends AbstractSyncFormlyFormDirective<DbxScheduleSelectionCalendarDateDaysFormValue> {
|
|
717
|
-
readonly fields: FormlyFieldConfig[];
|
|
718
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateDaysFormComponent, never>;
|
|
719
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateDaysFormComponent, "dbx-schedule-selection-calendar-date-days-form", never, {}, {}, never, never, true, never>;
|
|
932
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarComponent<any>, never>;
|
|
933
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarComponent<any>, "dbx-schedule-selection-calendar", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
|
|
720
934
|
}
|
|
721
935
|
|
|
722
936
|
declare class DbxScheduleSelectionCalendarDateDaysComponent {
|
|
723
937
|
readonly dbxCalendarStore: DbxCalendarStore<any>;
|
|
724
938
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
725
|
-
readonly template$: Observable<
|
|
726
|
-
readonly isFormModified: IsModifiedFunction<
|
|
727
|
-
readonly updateScheduleDays: WorkUsingObservable<
|
|
728
|
-
static ɵfac:
|
|
729
|
-
static ɵcmp:
|
|
939
|
+
readonly template$: Observable<DbxScheduleSelectionCalendarDateDaysForgeFormValue>;
|
|
940
|
+
readonly isFormModified: IsModifiedFunction<DbxScheduleSelectionCalendarDateDaysForgeFormValue>;
|
|
941
|
+
readonly updateScheduleDays: WorkUsingObservable<DbxScheduleSelectionCalendarDateDaysForgeFormValue>;
|
|
942
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateDaysComponent, never>;
|
|
943
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateDaysComponent, "dbx-schedule-selection-calendar-date-days", never, {}, {}, never, never, true, never>;
|
|
730
944
|
}
|
|
731
945
|
|
|
732
946
|
declare class DbxScheduleSelectionCalendarDateRangeComponent implements OnInit, OnDestroy {
|
|
733
947
|
readonly dbxCalendarStore: DbxCalendarStore<any>;
|
|
734
948
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
735
949
|
readonly matFormFieldDefaultOptions: MatFormFieldDefaultOptions | null;
|
|
736
|
-
readonly picker:
|
|
737
|
-
readonly required:
|
|
738
|
-
readonly openPickerOnTextClick:
|
|
739
|
-
readonly label:
|
|
740
|
-
readonly hint:
|
|
741
|
-
readonly disabled:
|
|
742
|
-
readonly showCustomize:
|
|
950
|
+
readonly picker: i0.Signal<MatDateRangePicker<Date>>;
|
|
951
|
+
readonly required: i0.InputSignal<boolean>;
|
|
952
|
+
readonly openPickerOnTextClick: i0.InputSignal<boolean>;
|
|
953
|
+
readonly label: i0.InputSignal<Maybe<string>>;
|
|
954
|
+
readonly hint: i0.InputSignal<Maybe<string>>;
|
|
955
|
+
readonly disabled: i0.InputSignal<Maybe<boolean>>;
|
|
956
|
+
readonly showCustomize: i0.InputSignal<boolean>;
|
|
743
957
|
readonly timezone$: Observable<string>;
|
|
744
|
-
protected readonly _disabledEffect:
|
|
958
|
+
protected readonly _disabledEffect: i0.EffectRef;
|
|
745
959
|
private readonly _pickerOpened;
|
|
746
960
|
private readonly _syncSub;
|
|
747
961
|
private readonly _valueSub;
|
|
@@ -756,46 +970,46 @@ declare class DbxScheduleSelectionCalendarDateRangeComponent implements OnInit,
|
|
|
756
970
|
readonly isCustomized$: Observable<boolean>;
|
|
757
971
|
readonly currentErrorMessage$: Observable<string | undefined>;
|
|
758
972
|
readonly datePickerFilter$: Observable<DateFilterFn<Date>>;
|
|
759
|
-
readonly timezoneSignal:
|
|
760
|
-
readonly timezoneReleventDateSignal:
|
|
761
|
-
readonly isCustomizedSignal:
|
|
762
|
-
readonly showCustomLabelSignal:
|
|
763
|
-
readonly currentErrorMessageSignal:
|
|
764
|
-
readonly datePickerFilterSignal:
|
|
765
|
-
protected readonly _requiredUpdateValidatorsEffect:
|
|
973
|
+
readonly timezoneSignal: i0.Signal<string | undefined>;
|
|
974
|
+
readonly timezoneReleventDateSignal: i0.Signal<Date>;
|
|
975
|
+
readonly isCustomizedSignal: i0.Signal<boolean>;
|
|
976
|
+
readonly showCustomLabelSignal: i0.Signal<boolean>;
|
|
977
|
+
readonly currentErrorMessageSignal: i0.Signal<string | undefined>;
|
|
978
|
+
readonly datePickerFilterSignal: i0.Signal<DateFilterFn<Date>>;
|
|
979
|
+
protected readonly _requiredUpdateValidatorsEffect: i0.EffectRef;
|
|
766
980
|
ngOnInit(): void;
|
|
767
981
|
ngOnDestroy(): void;
|
|
768
982
|
clickedDateRangeInput(): void;
|
|
769
983
|
pickerOpened(): void;
|
|
770
984
|
pickerClosed(): void;
|
|
771
|
-
static ɵfac:
|
|
772
|
-
static ɵcmp:
|
|
985
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateRangeComponent, never>;
|
|
986
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateRangeComponent, "dbx-schedule-selection-calendar-date-range", never, { "required": { "alias": "required"; "required": false; "isSignal": true; }; "openPickerOnTextClick": { "alias": "openPickerOnTextClick"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showCustomize": { "alias": "showCustomize"; "required": false; "isSignal": true; }; }, {}, never, ["[customizeButton]", "*"], true, never>;
|
|
773
987
|
}
|
|
774
988
|
|
|
775
989
|
declare class DbxScheduleSelectionCalendarDatePopoverButtonComponent {
|
|
776
990
|
readonly injector: Injector;
|
|
777
991
|
readonly popoverService: DbxPopoverService;
|
|
778
992
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
779
|
-
readonly buttonPopoverOrigin:
|
|
993
|
+
readonly buttonPopoverOrigin: i0.Signal<ElementRef<HTMLButtonElement>>;
|
|
780
994
|
readonly disabled$: rxjs.Observable<_dereekb_util.Maybe<boolean>>;
|
|
781
995
|
readonly buttonText$: rxjs.Observable<string>;
|
|
782
|
-
readonly disabledSignal:
|
|
783
|
-
readonly buttonTextSignal:
|
|
996
|
+
readonly disabledSignal: i0.Signal<_dereekb_util.Maybe<boolean>>;
|
|
997
|
+
readonly buttonTextSignal: i0.Signal<string>;
|
|
784
998
|
openPopover(): void;
|
|
785
|
-
static ɵfac:
|
|
786
|
-
static ɵcmp:
|
|
999
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDatePopoverButtonComponent, never>;
|
|
1000
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDatePopoverButtonComponent, "dbx-schedule-selection-calendar-date-popover-button", never, {}, {}, never, never, true, never>;
|
|
787
1001
|
}
|
|
788
1002
|
|
|
789
1003
|
declare class DbxScheduleSelectionCalendarCellComponent {
|
|
790
1004
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
791
|
-
readonly day:
|
|
1005
|
+
readonly day: i0.InputSignal<CalendarMonthViewDay<CalendarScheduleSelectionMetadata>>;
|
|
792
1006
|
readonly day$: rxjs.Observable<CalendarMonthViewDay<CalendarScheduleSelectionMetadata>>;
|
|
793
1007
|
readonly cellContent$: rxjs.Observable<CalendarScheduleSelectionCellContent>;
|
|
794
1008
|
readonly contentSignal: Signal<CalendarScheduleSelectionCellContent>;
|
|
795
1009
|
readonly iconSignal: Signal<string | undefined>;
|
|
796
1010
|
readonly textSignal: Signal<string | undefined>;
|
|
797
|
-
static ɵfac:
|
|
798
|
-
static ɵcmp:
|
|
1011
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarCellComponent, never>;
|
|
1012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarCellComponent, "dbx-schedule-selection-calendar-cell", never, { "day": { "alias": "day"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
799
1013
|
}
|
|
800
1014
|
|
|
801
1015
|
declare const DEFAULT_SCHEDULE_SELECTION_CALENDAR_DATE_POPOVER_KEY = "calendarselection";
|
|
@@ -805,13 +1019,13 @@ interface DbxScheduleSelectionCalendarDatePopoverConfig {
|
|
|
805
1019
|
}
|
|
806
1020
|
declare class DbxScheduleSelectionCalendarDatePopoverComponent extends AbstractPopoverDirective<void> {
|
|
807
1021
|
static openPopover(popoverService: DbxPopoverService, { origin, injector }: DbxScheduleSelectionCalendarDatePopoverConfig, popoverKey?: DbxPopoverKey): NgPopoverRef<any, number>;
|
|
808
|
-
static ɵfac:
|
|
809
|
-
static ɵcmp:
|
|
1022
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDatePopoverComponent, never>;
|
|
1023
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDatePopoverComponent, "dbx-schedule-selection-calendar-date-popover", never, {}, {}, never, never, true, never>;
|
|
810
1024
|
}
|
|
811
1025
|
|
|
812
1026
|
declare class DbxScheduleSelectionCalendarDatePopoverContentComponent {
|
|
813
|
-
static ɵfac:
|
|
814
|
-
static ɵcmp:
|
|
1027
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDatePopoverContentComponent, never>;
|
|
1028
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDatePopoverContentComponent, "dbx-schedule-selection-calendar-date-popover-content", never, {}, {}, never, never, true, never>;
|
|
815
1029
|
}
|
|
816
1030
|
|
|
817
1031
|
/**
|
|
@@ -819,12 +1033,12 @@ declare class DbxScheduleSelectionCalendarDatePopoverContentComponent {
|
|
|
819
1033
|
*/
|
|
820
1034
|
declare class DbxCalendarScheduleSelectionStoreProviderBlock {
|
|
821
1035
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
822
|
-
static ɵfac:
|
|
823
|
-
static ɵprov:
|
|
1036
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxCalendarScheduleSelectionStoreProviderBlock, never>;
|
|
1037
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxCalendarScheduleSelectionStoreProviderBlock>;
|
|
824
1038
|
}
|
|
825
1039
|
declare class DbxCalendarScheduleSelectionStoreInjectionBlockDirective {
|
|
826
|
-
static ɵfac:
|
|
827
|
-
static ɵdir:
|
|
1040
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxCalendarScheduleSelectionStoreInjectionBlockDirective, never>;
|
|
1041
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxCalendarScheduleSelectionStoreInjectionBlockDirective, "[dbxCalendarScheduleSelectionStoreParentBlocker]", never, {}, {}, never, never, true, never>;
|
|
828
1042
|
}
|
|
829
1043
|
/**
|
|
830
1044
|
* Creates a Provider that initializes a new DbxCalendarScheduleSelectionStore if a parent does not exist.
|
|
@@ -838,50 +1052,42 @@ declare function provideCalendarScheduleSelectionStoreIfParentIsUnavailable(): P
|
|
|
838
1052
|
declare class DbxScheduleSelectionCalendarDateDialogButtonComponent {
|
|
839
1053
|
readonly injector: Injector;
|
|
840
1054
|
readonly matDialog: MatDialog;
|
|
841
|
-
readonly buttonText:
|
|
842
|
-
readonly disabled:
|
|
843
|
-
readonly contentConfig:
|
|
1055
|
+
readonly buttonText: i0.InputSignal<string>;
|
|
1056
|
+
readonly disabled: i0.InputSignal<Maybe<boolean>>;
|
|
1057
|
+
readonly contentConfig: i0.InputSignal<Maybe<DbxScheduleSelectionCalendarDatePopupContentConfig>>;
|
|
844
1058
|
clickCustomize(): void;
|
|
845
|
-
static ɵfac:
|
|
846
|
-
static ɵcmp:
|
|
1059
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarDateDialogButtonComponent, never>;
|
|
1060
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarDateDialogButtonComponent, "dbx-schedule-selection-calendar-date-dialog-button", never, { "buttonText": { "alias": "buttonText"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "contentConfig": { "alias": "contentConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
847
1061
|
}
|
|
848
1062
|
|
|
849
1063
|
/**
|
|
850
1064
|
* Toggle button for selecting and clearing the current selection.
|
|
851
1065
|
*/
|
|
852
1066
|
declare class DbxScheduleSelectionCalendarSelectionToggleButtonComponent {
|
|
853
|
-
readonly disabled:
|
|
1067
|
+
readonly disabled: i0.InputSignal<Maybe<boolean>>;
|
|
854
1068
|
readonly dbxCalendarScheduleSelectionStore: DbxCalendarScheduleSelectionStore;
|
|
855
|
-
readonly selectionModeSignal:
|
|
856
|
-
readonly nextToggleSelectionSignal:
|
|
857
|
-
readonly disableButtonSignal:
|
|
858
|
-
readonly buttonDisplaySignal:
|
|
1069
|
+
readonly selectionModeSignal: i0.Signal<_dereekb_dbx_form_calendar.DbxCalendarScheduleSelectionStoreSelectionMode>;
|
|
1070
|
+
readonly nextToggleSelectionSignal: i0.Signal<Maybe<_dereekb_util.AllOrNoneSelection>>;
|
|
1071
|
+
readonly disableButtonSignal: i0.Signal<boolean>;
|
|
1072
|
+
readonly buttonDisplaySignal: i0.Signal<DbxButtonDisplay>;
|
|
859
1073
|
toggleSelection(): void;
|
|
860
|
-
static ɵfac:
|
|
861
|
-
static ɵcmp:
|
|
1074
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScheduleSelectionCalendarSelectionToggleButtonComponent, never>;
|
|
1075
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxScheduleSelectionCalendarSelectionToggleButtonComponent, "dbx-schedule-selection-calendar-selection-toggle-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
862
1076
|
}
|
|
863
1077
|
|
|
1078
|
+
/**
|
|
1079
|
+
* @deprecated Import components directly and use provideDbxForgeCalendarFieldDeclarations().
|
|
1080
|
+
*/
|
|
864
1081
|
declare class DbxFormCalendarModule {
|
|
865
|
-
static ɵfac:
|
|
866
|
-
static ɵmod:
|
|
867
|
-
static ɵinj:
|
|
1082
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormCalendarModule, never>;
|
|
1083
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormCalendarModule, never, [typeof DbxScheduleSelectionCalendarComponent, typeof DbxScheduleSelectionCalendarDateDaysComponent, typeof DbxScheduleSelectionCalendarDateDaysFormComponent, typeof DbxScheduleSelectionCalendarDateRangeComponent, typeof DbxScheduleSelectionCalendarDatePopoverButtonComponent, typeof DbxScheduleSelectionCalendarCellComponent, typeof DbxScheduleSelectionCalendarDatePopoverComponent, typeof DbxScheduleSelectionCalendarDatePopoverContentComponent, typeof DbxCalendarScheduleSelectionStoreInjectionBlockDirective, typeof DbxScheduleSelectionCalendarDateDialogComponent, typeof DbxScheduleSelectionCalendarDateDialogButtonComponent, typeof DbxScheduleSelectionCalendarSelectionToggleButtonComponent, typeof i13.DbxFormFormlyWrapperModule], [typeof DbxScheduleSelectionCalendarComponent, typeof DbxScheduleSelectionCalendarDateDaysComponent, typeof DbxScheduleSelectionCalendarDateDaysFormComponent, typeof DbxScheduleSelectionCalendarDateRangeComponent, typeof DbxScheduleSelectionCalendarDatePopoverButtonComponent, typeof DbxScheduleSelectionCalendarCellComponent, typeof DbxScheduleSelectionCalendarDatePopoverComponent, typeof DbxScheduleSelectionCalendarDatePopoverContentComponent, typeof DbxCalendarScheduleSelectionStoreInjectionBlockDirective, typeof DbxScheduleSelectionCalendarDateDialogComponent, typeof DbxScheduleSelectionCalendarDateDialogButtonComponent, typeof DbxScheduleSelectionCalendarSelectionToggleButtonComponent, typeof i13.DbxFormFormlyWrapperModule]>;
|
|
1084
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormCalendarModule>;
|
|
868
1085
|
}
|
|
869
1086
|
|
|
870
1087
|
/**
|
|
871
|
-
*
|
|
872
|
-
* wrapped in a responsive flex layout.
|
|
873
|
-
*
|
|
874
|
-
* @returns An array of Formly field configs with toggle fields for each day of the week
|
|
1088
|
+
* All custom dbx-form/calendar forge field type definitions.
|
|
875
1089
|
*/
|
|
876
|
-
declare
|
|
877
|
-
/**
|
|
878
|
-
* Creates an array of toggle field configs, one for each day of the week, keyed by lowercase day name.
|
|
879
|
-
*
|
|
880
|
-
* @returns An array of toggle Formly field configs for each day of the week
|
|
881
|
-
*/
|
|
882
|
-
declare function dbxScheduleSelectionCalendarDateDaysFormDayFields(): _ngx_formly_core.FormlyFieldConfig<_ngx_formly_core.FormlyFieldProps & {
|
|
883
|
-
[additionalProperties: string]: any;
|
|
884
|
-
}>[];
|
|
1090
|
+
declare const DBX_FORGE_CALENDAR_FIELD_TYPES: FieldTypeDefinition[];
|
|
885
1091
|
|
|
886
|
-
export { CalendarScheduleSelectionDayState, DEFAULT_DBX_SCHEDULE_SELECTION_CALENDAR_DATE_POPUP_CONTENT_CONFIG_TOKEN, DEFAULT_SCHEDULE_SELECTION_CALENDAR_DATE_POPOVER_KEY, DbxCalendarScheduleSelectionStore, DbxCalendarScheduleSelectionStoreInjectionBlockDirective, DbxCalendarScheduleSelectionStoreProviderBlock, DbxFormCalendarDateScheduleRangeFieldComponent, DbxFormCalendarModule, DbxFormDateScheduleRangeFieldModule, DbxScheduleSelectionCalendarCellComponent, DbxScheduleSelectionCalendarComponent, DbxScheduleSelectionCalendarDateDaysComponent, DbxScheduleSelectionCalendarDateDaysFormComponent, DbxScheduleSelectionCalendarDateDialogButtonComponent, DbxScheduleSelectionCalendarDateDialogComponent, DbxScheduleSelectionCalendarDatePopoverButtonComponent, DbxScheduleSelectionCalendarDatePopoverComponent, DbxScheduleSelectionCalendarDatePopoverContentComponent, DbxScheduleSelectionCalendarDateRangeComponent, DbxScheduleSelectionCalendarSelectionToggleButtonComponent, calendarScheduleMaxDate, calendarScheduleMinAndMaxDateRange, calendarScheduleMinDate, calendarScheduleStartBeingUsedFromFilter, computeCalendarScheduleSelectionDateCellRange, computeCalendarScheduleSelectionRange, computeScheduleSelectionRangeAndExclusion, computeScheduleSelectionValue, dateScheduleRangeField, dbxScheduleSelectionCalendarBeforeMonthViewRenderFactory, dbxScheduleSelectionCalendarDateDaysFormDayFields, dbxScheduleSelectionCalendarDateDaysFormFields, defaultCalendarScheduleSelectionCellContentFactory, finalizeNewCalendarScheduleSelectionState, finalizeUpdateStateWithChangedScheduleDays, initialCalendarScheduleSelectionState, isEnabledDayInCalendarScheduleSelectionState, noSelectionCalendarScheduleSelectionState, provideCalendarScheduleSelectionStoreIfParentIsUnavailable, updateStateWithChangedDates, updateStateWithChangedDefaultScheduleDays, updateStateWithChangedRange, updateStateWithChangedScheduleDays, updateStateWithComputeSelectionResultRelativeToFilter, updateStateWithDateCellScheduleRangeValue, updateStateWithExclusions, updateStateWithFilter, updateStateWithInitialSelectionState, updateStateWithMinMaxDateRange, updateStateWithSelectionMode, updateStateWithTimezoneValue };
|
|
887
|
-
export type { CalendarScheduleSelectionCellContent, CalendarScheduleSelectionCellContentFactory, CalendarScheduleSelectionInputDateRange, CalendarScheduleSelectionMetadata, CalendarScheduleSelectionRangeAndExclusion, CalendarScheduleSelectionState, CalendarScheduleSelectionStateDatesChange, CalendarScheduleSelectionValue, DateScheduleRangeFieldConfig, DbxCalendarScheduleSelectionStoreSelectionMode, DbxFormCalendarDateCellScheduleRangeFieldProps, DbxScheduleSelectionCalendarBeforeMonthViewRenderFunction, DbxScheduleSelectionCalendarBeforeMonthViewRenderFunctionFactory, DbxScheduleSelectionCalendarBeforeMonthViewRenderModifyDayFunction, DbxScheduleSelectionCalendarComponentConfig, DbxScheduleSelectionCalendarDateDaysFormValue, DbxScheduleSelectionCalendarDatePopoverConfig, DbxScheduleSelectionCalendarDatePopupConfig, DbxScheduleSelectionCalendarDatePopupContentConfig, PartialCalendarScheduleSelectionInputDateRange };
|
|
1092
|
+
export { CalendarScheduleSelectionDayState, DBX_FORGE_CALENDAR_FIELD_TYPES, DEFAULT_DBX_SCHEDULE_SELECTION_CALENDAR_DATE_POPUP_CONTENT_CONFIG_TOKEN, DEFAULT_SCHEDULE_SELECTION_CALENDAR_DATE_POPOVER_KEY, DbxCalendarScheduleSelectionStore, DbxCalendarScheduleSelectionStoreInjectionBlockDirective, DbxCalendarScheduleSelectionStoreProviderBlock, DbxForgeCalendarDateScheduleRangeFieldComponent, DbxFormCalendarDateScheduleRangeFieldComponent, DbxFormCalendarModule, DbxFormDateScheduleRangeFieldModule, DbxScheduleSelectionCalendarCellComponent, DbxScheduleSelectionCalendarComponent, DbxScheduleSelectionCalendarDateDaysComponent, DbxScheduleSelectionCalendarDateDaysForgeFormComponent, DbxScheduleSelectionCalendarDateDaysFormComponent, DbxScheduleSelectionCalendarDateDialogButtonComponent, DbxScheduleSelectionCalendarDateDialogComponent, DbxScheduleSelectionCalendarDatePopoverButtonComponent, DbxScheduleSelectionCalendarDatePopoverComponent, DbxScheduleSelectionCalendarDatePopoverContentComponent, DbxScheduleSelectionCalendarDateRangeComponent, DbxScheduleSelectionCalendarSelectionToggleButtonComponent, FORGE_CALENDAR_DATE_SCHEDULE_RANGE_FIELD_TYPE, calendarDateScheduleRangeFieldMapper, calendarScheduleMaxDate, calendarScheduleMinAndMaxDateRange, calendarScheduleMinDate, calendarScheduleStartBeingUsedFromFilter, computeCalendarScheduleSelectionDateCellRange, computeCalendarScheduleSelectionRange, computeScheduleSelectionRangeAndExclusion, computeScheduleSelectionValue, dateScheduleRangeField, dbxForgeDateScheduleRangeField, dbxScheduleSelectionCalendarBeforeMonthViewRenderFactory, dbxScheduleSelectionCalendarDateDaysForgeFormDayFields, dbxScheduleSelectionCalendarDateDaysForgeFormFields, dbxScheduleSelectionCalendarDateDaysFormDayFields, dbxScheduleSelectionCalendarDateDaysFormFields, defaultCalendarScheduleSelectionCellContentFactory, finalizeNewCalendarScheduleSelectionState, finalizeUpdateStateWithChangedScheduleDays, initialCalendarScheduleSelectionState, isEnabledDayInCalendarScheduleSelectionState, noSelectionCalendarScheduleSelectionState, provideCalendarScheduleSelectionStoreIfParentIsUnavailable, updateStateWithChangedDates, updateStateWithChangedDefaultScheduleDays, updateStateWithChangedRange, updateStateWithChangedScheduleDays, updateStateWithComputeSelectionResultRelativeToFilter, updateStateWithDateCellScheduleRangeValue, updateStateWithExclusions, updateStateWithFilter, updateStateWithInitialSelectionState, updateStateWithMinMaxDateRange, updateStateWithSelectionMode, updateStateWithTimezoneValue };
|
|
1093
|
+
export type { CalendarScheduleSelectionCellContent, CalendarScheduleSelectionCellContentFactory, CalendarScheduleSelectionInputDateRange, CalendarScheduleSelectionMetadata, CalendarScheduleSelectionRangeAndExclusion, CalendarScheduleSelectionState, CalendarScheduleSelectionStateDatesChange, CalendarScheduleSelectionValue, DateScheduleRangeFieldConfig, DbxCalendarScheduleSelectionStoreSelectionMode, DbxForgeCalendarDateScheduleRangeFieldComponentProps, DbxForgeCalendarDateScheduleRangeFieldConfig, DbxForgeCalendarDateScheduleRangeFieldDef, DbxFormCalendarDateCellScheduleRangeFieldProps, DbxScheduleSelectionCalendarBeforeMonthViewRenderFunction, DbxScheduleSelectionCalendarBeforeMonthViewRenderFunctionFactory, DbxScheduleSelectionCalendarBeforeMonthViewRenderModifyDayFunction, DbxScheduleSelectionCalendarComponentConfig, DbxScheduleSelectionCalendarDateDaysForgeFormValue, DbxScheduleSelectionCalendarDateDaysFormValue, DbxScheduleSelectionCalendarDatePopoverConfig, DbxScheduleSelectionCalendarDatePopupConfig, DbxScheduleSelectionCalendarDatePopupContentConfig, PartialCalendarScheduleSelectionInputDateRange };
|