@dereekb/dbx-form 9.23.19 → 9.23.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/lib/calendar.schedule.selection.range.component.d.ts +10 -5
- package/calendar/lib/calendar.schedule.selection.store.d.ts +3 -3
- package/esm2020/calendar/lib/calendar.schedule.selection.popover.content.component.mjs +1 -1
- package/esm2020/calendar/lib/calendar.schedule.selection.range.component.mjs +45 -11
- package/esm2020/calendar/lib/calendar.schedule.selection.store.mjs +13 -5
- package/esm2020/calendar/lib/field/schedule/calendar.schedule.field.component.mjs +1 -1
- package/esm2020/lib/formly/field/value/date/datetime.field.component.mjs +76 -27
- package/esm2020/lib/formly/field/value/date/datetime.field.mjs +44 -3
- package/esm2020/lib/formly/field/value/number/number.field.mjs +3 -3
- package/esm2020/lib/formly/field/value/text/text.field.mjs +3 -3
- package/esm2020/lib/formly/formly.form.component.mjs +2 -4
- package/esm2020/lib/formly/template/timezone.mjs +8 -2
- package/fesm2015/dereekb-dbx-form-calendar.mjs +59 -16
- package/fesm2015/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-form.mjs +122 -43
- package/fesm2015/dereekb-dbx-form.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-form-calendar.mjs +59 -16
- package/fesm2020/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-form.mjs +130 -36
- package/fesm2020/dereekb-dbx-form.mjs.map +1 -1
- package/lib/formly/_formly.scss +5 -0
- package/lib/formly/field/value/date/_date.scss +11 -0
- package/lib/formly/field/value/date/datetime.field.component.d.ts +29 -9
- package/lib/formly/field/value/date/datetime.field.d.ts +12 -3
- package/mapbox/package.json +4 -4
- package/package.json +4 -4
|
@@ -7,10 +7,10 @@ import { Injectable, SkipSelf, Directive, Injector, Optional, Component, Inject,
|
|
|
7
7
|
import { FieldType } from '@ngx-formly/material';
|
|
8
8
|
import { switchMap, first, tap, map, distinctUntilChanged, shareReplay, BehaviorSubject, of, startWith, filter, throttleTime } from 'rxjs';
|
|
9
9
|
import { filterMaybe, SubscriptionObject, asObservable } from '@dereekb/rxjs';
|
|
10
|
-
import { DateScheduleDayCode, expandDateScheduleDayCodesToDayOfWeekSet, dateTimingRelativeIndexFactory, dateBlockDayOfWeekFactory, findMaxDate, findMinDate, isSameDateRange, isSameDateDay, isSameDate, isSameDateScheduleRange, dateTimingRelativeIndexArrayFactory, isInfiniteDateRange, copyDateScheduleDateFilterConfig, dateScheduleDateFilter, expandDateScheduleDayCodes, isDateInDateRangeFunction, isDateWithinDateBlockRangeFunction, dateScheduleEncodedWeek, dateBlockTimingDateFactory, enabledDaysFromDateScheduleDayCodes, dateScheduleDayCodesFromEnabledDays, formatToMonthDayString } from '@dereekb/date';
|
|
11
|
-
import { setsAreEquivalent, unique, mergeArrays, iterableToArray, toggleInSet, addToSet, isIndexNumberInIndexRangeFunction, range, minAndMaxNumber,
|
|
10
|
+
import { DateScheduleDayCode, expandDateScheduleDayCodesToDayOfWeekSet, dateTimingRelativeIndexFactory, dateBlockDayOfWeekFactory, findMaxDate, findMinDate, isSameDateRange, isSameDateDay, isSameDate, isSameDateScheduleRange, dateTimingRelativeIndexArrayFactory, isInfiniteDateRange, copyDateScheduleDateFilterConfig, dateScheduleDateFilter, expandDateScheduleDayCodes, isDateInDateRangeFunction, isDateWithinDateBlockRangeFunction, copyHoursAndMinutesFromDate, dateScheduleEncodedWeek, dateBlockTimingDateFactory, enabledDaysFromDateScheduleDayCodes, dateScheduleDayCodesFromEnabledDays, formatToMonthDayString } from '@dereekb/date';
|
|
11
|
+
import { setsAreEquivalent, unique, mergeArrays, iterableToArray, toggleInSet, addToSet, isIndexNumberInIndexRangeFunction, range, minAndMaxNumber, getDaysOfWeekNames } from '@dereekb/util';
|
|
12
12
|
import { ComponentStore } from '@ngrx/component-store';
|
|
13
|
-
import { startOfDay, endOfDay } from 'date-fns';
|
|
13
|
+
import { startOfDay, endOfDay, isBefore } from 'date-fns';
|
|
14
14
|
import * as i1 from '@dereekb/dbx-web/calendar';
|
|
15
15
|
import { prepareAndSortCalendarEvents, DbxCalendarStore, DbxCalendarModule } from '@dereekb/dbx-web/calendar';
|
|
16
16
|
import * as i3 from '@angular/forms';
|
|
@@ -255,7 +255,7 @@ function updateStateWithFilter(state, inputFilter) {
|
|
|
255
255
|
}
|
|
256
256
|
if (minMaxDateRange) {
|
|
257
257
|
enabledFilter.minMaxDateRange = minMaxDateRange;
|
|
258
|
-
enabledFilter.setStartAsMinDate = false;
|
|
258
|
+
enabledFilter.setStartAsMinDate = Boolean(filter?.start) ? true : false; // If a start date is set, then it becomes the floor.
|
|
259
259
|
}
|
|
260
260
|
/**
|
|
261
261
|
* If the input filter has a start date, use that as the relative start to ensure indexes are compared the same,
|
|
@@ -415,13 +415,17 @@ function computeScheduleSelectionValue(state) {
|
|
|
415
415
|
if (rangeAndExclusion == null) {
|
|
416
416
|
return null;
|
|
417
417
|
}
|
|
418
|
-
const { start: rangeStart, end, excluded: allExcluded, dateBlockRange } = rangeAndExclusion;
|
|
418
|
+
const { start: rangeStart, end: rangeEnd, excluded: allExcluded, dateBlockRange } = rangeAndExclusion;
|
|
419
419
|
let filterOffsetExcludedRange = [];
|
|
420
420
|
let indexOffset = dateBlockRange.i;
|
|
421
421
|
let start = rangeStart;
|
|
422
|
+
let end = rangeEnd;
|
|
422
423
|
// If computeSelectionResultRelativeToFilter is true, then we need to offset the values to be relative to that start.
|
|
423
424
|
if (computeSelectionResultRelativeToFilter && filter?.start) {
|
|
424
425
|
start = filter.start;
|
|
426
|
+
if (filter?.end) {
|
|
427
|
+
end = copyHoursAndMinutesFromDate(end, filter.end);
|
|
428
|
+
}
|
|
425
429
|
const filterStartIndexOffset = indexFactory(rangeStart) - indexFactory(start);
|
|
426
430
|
filterOffsetExcludedRange = range(0, filterStartIndexOffset);
|
|
427
431
|
indexOffset = indexOffset - filterStartIndexOffset;
|
|
@@ -436,6 +440,10 @@ function computeScheduleSelectionValue(state) {
|
|
|
436
440
|
const ex = [...filterOffsetExcludedRange, ...offsetExcluded];
|
|
437
441
|
const w = dateScheduleEncodedWeek(scheduleDays);
|
|
438
442
|
const d = []; // "included" blocks are never used/calculated.
|
|
443
|
+
// Always ensure the end is after or equal to the start.
|
|
444
|
+
if (isBefore(end, start)) {
|
|
445
|
+
end = start; // end is start
|
|
446
|
+
}
|
|
439
447
|
const dateScheduleRange = {
|
|
440
448
|
start,
|
|
441
449
|
end,
|
|
@@ -573,16 +581,28 @@ class DbxScheduleSelectionCalendarDateRangeComponent {
|
|
|
573
581
|
this.dbxCalendarStore = dbxCalendarStore;
|
|
574
582
|
this.dbxCalendarScheduleSelectionStore = dbxCalendarScheduleSelectionStore;
|
|
575
583
|
this.matFormFieldDefaultOptions = matFormFieldDefaultOptions;
|
|
584
|
+
this._required = new BehaviorSubject(false);
|
|
585
|
+
this.required$ = this._required.asObservable();
|
|
576
586
|
this.label = 'Enter a date range';
|
|
577
587
|
this.showCustomize = false;
|
|
578
|
-
this.random = randomNumberFactory(10000)();
|
|
579
588
|
this._pickerOpened = new BehaviorSubject(false);
|
|
589
|
+
this._requiredSub = new SubscriptionObject();
|
|
580
590
|
this._syncSub = new SubscriptionObject();
|
|
581
591
|
this._valueSub = new SubscriptionObject();
|
|
582
592
|
this.range = new FormGroup({
|
|
583
593
|
start: new FormControl(null),
|
|
584
594
|
end: new FormControl(null)
|
|
585
595
|
});
|
|
596
|
+
this.errorStateMatcher = {
|
|
597
|
+
isErrorState: (control, form) => {
|
|
598
|
+
if (control) {
|
|
599
|
+
return (control.invalid && (control.dirty || control.touched)) || (control.touched && this.range.invalid);
|
|
600
|
+
}
|
|
601
|
+
else {
|
|
602
|
+
return false;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
};
|
|
586
606
|
this.minDate$ = this.dbxCalendarScheduleSelectionStore.minDate$;
|
|
587
607
|
this.maxDate$ = this.dbxCalendarScheduleSelectionStore.maxDate$;
|
|
588
608
|
this.isCustomized$ = this.dbxCalendarScheduleSelectionStore.isCustomized$;
|
|
@@ -597,10 +617,10 @@ class DbxScheduleSelectionCalendarDateRangeComponent {
|
|
|
597
617
|
}
|
|
598
618
|
}
|
|
599
619
|
ngOnInit() {
|
|
600
|
-
this._syncSub.subscription = this.dbxCalendarScheduleSelectionStore.
|
|
620
|
+
this._syncSub.subscription = this.dbxCalendarScheduleSelectionStore.currentInputRange$.subscribe((x) => {
|
|
601
621
|
this.range.setValue({
|
|
602
|
-
start: x
|
|
603
|
-
end: x
|
|
622
|
+
start: x?.inputStart ?? null,
|
|
623
|
+
end: x?.inputEnd ?? null
|
|
604
624
|
});
|
|
605
625
|
});
|
|
606
626
|
this._valueSub.subscription = this._pickerOpened
|
|
@@ -619,12 +639,35 @@ class DbxScheduleSelectionCalendarDateRangeComponent {
|
|
|
619
639
|
this.dbxCalendarScheduleSelectionStore.setInputRange({ inputStart: x.start, inputEnd: x.end });
|
|
620
640
|
}
|
|
621
641
|
});
|
|
642
|
+
// add a required validator when needed
|
|
643
|
+
this._requiredSub.subscription = this._required.subscribe((x) => {
|
|
644
|
+
const validators = x
|
|
645
|
+
? [
|
|
646
|
+
(control) => {
|
|
647
|
+
const range = control.value;
|
|
648
|
+
if (!range || !range.start || !range.end) {
|
|
649
|
+
return { required: true };
|
|
650
|
+
}
|
|
651
|
+
return null;
|
|
652
|
+
}
|
|
653
|
+
]
|
|
654
|
+
: [];
|
|
655
|
+
this.range.setValidators(validators);
|
|
656
|
+
});
|
|
622
657
|
}
|
|
623
658
|
ngOnDestroy() {
|
|
659
|
+
this._required.complete();
|
|
624
660
|
this._pickerOpened.complete();
|
|
661
|
+
this._requiredSub.destroy();
|
|
625
662
|
this._syncSub.destroy();
|
|
626
663
|
this._valueSub.destroy();
|
|
627
664
|
}
|
|
665
|
+
get required() {
|
|
666
|
+
return this._required.value;
|
|
667
|
+
}
|
|
668
|
+
set required(required) {
|
|
669
|
+
this._required.next(required);
|
|
670
|
+
}
|
|
628
671
|
pickerOpened() {
|
|
629
672
|
this._pickerOpened.next(true);
|
|
630
673
|
}
|
|
@@ -633,16 +676,14 @@ class DbxScheduleSelectionCalendarDateRangeComponent {
|
|
|
633
676
|
}
|
|
634
677
|
}
|
|
635
678
|
DbxScheduleSelectionCalendarDateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxScheduleSelectionCalendarDateRangeComponent, deps: [{ token: i1.DbxCalendarStore }, { token: DbxCalendarScheduleSelectionStore }, { token: MAT_FORM_FIELD_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
636
|
-
DbxScheduleSelectionCalendarDateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxScheduleSelectionCalendarDateRangeComponent, selector: "dbx-schedule-selection-calendar-date-range", inputs: {
|
|
679
|
+
DbxScheduleSelectionCalendarDateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxScheduleSelectionCalendarDateRangeComponent, selector: "dbx-schedule-selection-calendar-date-range", inputs: { label: "label", hint: "hint", disabled: "disabled", showCustomize: "showCustomize", required: "required" }, ngImport: i0, template: "<mat-form-field class=\"dbx-schedule-selection-calendar-date-range-field\">\n <mat-label *ngIf=\"label\">{{ label }}</mat-label>\n <div *ngIf=\"showCustomize && (isCustomized$ | async)\" class=\"date-range-field-customized\">\n <span class=\"dbx-accent-bg date-range-field-customized-text\">Custom</span>\n </div>\n <dbx-button-spacer></dbx-button-spacer>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <dbx-button-spacer></dbx-button-spacer>\n <mat-date-range-input [required]=\"required$ | async\" [min]=\"minDate$ | async\" [max]=\"maxDate$ | async\" [formGroup]=\"range\" [rangePicker]=\"picker\">\n <input [errorStateMatcher]=\"errorStateMatcher\" matStartDate formControlName=\"start\" placeholder=\"Start date\" />\n <input [errorStateMatcher]=\"errorStateMatcher\" matEndDate formControlName=\"end\" placeholder=\"End date\" />\n </mat-date-range-input>\n <div *ngIf=\"showCustomize\">\n <dbx-button-spacer></dbx-button-spacer>\n <ng-content select=\"[customizeButton]\"></ng-content>\n </div>\n <mat-date-range-picker #picker (opened)=\"pickerOpened()\" (closed)=\"pickerClosed()\"></mat-date-range-picker>\n <mat-error *ngIf=\"range.hasError('required')\">Date range is required</mat-error>\n <mat-error *ngIf=\"range.controls.start.hasError('matStartDateInvalid')\">Invalid start date</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matEndDateInvalid')\">Invalid end date</mat-error>\n <mat-error *ngIf=\"range.controls.start.hasError('matDatepickerMin')\">Start date is too early</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matDatepickerMin')\">End date is too early.</mat-error>\n <mat-error *ngIf=\"range.controls.start.hasError('matDatepickerMax')\">Start date is too late.</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matDatepickerMax')\">End date is too late</mat-error>\n <mat-hint>{{ hint }}</mat-hint>\n</mat-form-field>\n", dependencies: [{ kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i1$1.DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "component", type: i7.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i7.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i7.MatStartDate, selector: "input[matStartDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i7.MatEndDate, selector: "input[matEndDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i7.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }] });
|
|
637
680
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxScheduleSelectionCalendarDateRangeComponent, decorators: [{
|
|
638
681
|
type: Component,
|
|
639
|
-
args: [{ selector: 'dbx-schedule-selection-calendar-date-range', template: "<mat-form-field class=\"dbx-schedule-selection-calendar-date-range-field\">\n <mat-label *ngIf=\"label\">{{ label }}</mat-label>\n <div *ngIf=\"showCustomize && (isCustomized$ | async)\" class=\"date-range-field-customized\">\n <span class=\"dbx-accent-bg date-range-field-customized-text\">Custom</span>\n </div>\n <dbx-button-spacer></dbx-button-spacer>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <dbx-button-spacer></dbx-button-spacer>\n <mat-date-range-input [required]=\"required\" [min]=\"minDate$ | async\" [max]=\"maxDate$ | async\" [formGroup]=\"range\" [rangePicker]=\"picker\">\n <input matStartDate formControlName=\"start\" placeholder=\"Start date\" />\n <input matEndDate formControlName=\"end\" placeholder=\"End date\" />\n </mat-date-range-input>\n <div *ngIf=\"showCustomize\">\n <dbx-button-spacer></dbx-button-spacer>\n <ng-content select=\"[customizeButton]\"></ng-content>\n </div>\n <mat-date-range-picker #picker (opened)=\"pickerOpened()\" (closed)=\"pickerClosed()\"></mat-date-range-picker>\n <mat-error *ngIf=\"range.controls.start.hasError('matStartDateInvalid')\">Invalid start date</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matEndDateInvalid')\">Invalid end date</mat-error>\n <mat-hint>{{ hint }}</mat-hint>\n</mat-form-field>\n" }]
|
|
682
|
+
args: [{ selector: 'dbx-schedule-selection-calendar-date-range', template: "<mat-form-field class=\"dbx-schedule-selection-calendar-date-range-field\">\n <mat-label *ngIf=\"label\">{{ label }}</mat-label>\n <div *ngIf=\"showCustomize && (isCustomized$ | async)\" class=\"date-range-field-customized\">\n <span class=\"dbx-accent-bg date-range-field-customized-text\">Custom</span>\n </div>\n <dbx-button-spacer></dbx-button-spacer>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <dbx-button-spacer></dbx-button-spacer>\n <mat-date-range-input [required]=\"required$ | async\" [min]=\"minDate$ | async\" [max]=\"maxDate$ | async\" [formGroup]=\"range\" [rangePicker]=\"picker\">\n <input [errorStateMatcher]=\"errorStateMatcher\" matStartDate formControlName=\"start\" placeholder=\"Start date\" />\n <input [errorStateMatcher]=\"errorStateMatcher\" matEndDate formControlName=\"end\" placeholder=\"End date\" />\n </mat-date-range-input>\n <div *ngIf=\"showCustomize\">\n <dbx-button-spacer></dbx-button-spacer>\n <ng-content select=\"[customizeButton]\"></ng-content>\n </div>\n <mat-date-range-picker #picker (opened)=\"pickerOpened()\" (closed)=\"pickerClosed()\"></mat-date-range-picker>\n <mat-error *ngIf=\"range.hasError('required')\">Date range is required</mat-error>\n <mat-error *ngIf=\"range.controls.start.hasError('matStartDateInvalid')\">Invalid start date</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matEndDateInvalid')\">Invalid end date</mat-error>\n <mat-error *ngIf=\"range.controls.start.hasError('matDatepickerMin')\">Start date is too early</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matDatepickerMin')\">End date is too early.</mat-error>\n <mat-error *ngIf=\"range.controls.start.hasError('matDatepickerMax')\">Start date is too late.</mat-error>\n <mat-error *ngIf=\"range.controls.end.hasError('matDatepickerMax')\">End date is too late</mat-error>\n <mat-hint>{{ hint }}</mat-hint>\n</mat-form-field>\n" }]
|
|
640
683
|
}], ctorParameters: function () { return [{ type: i1.DbxCalendarStore }, { type: DbxCalendarScheduleSelectionStore }, { type: undefined, decorators: [{
|
|
641
684
|
type: Inject,
|
|
642
685
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
643
|
-
}] }]; }, propDecorators: {
|
|
644
|
-
type: Input
|
|
645
|
-
}], label: [{
|
|
686
|
+
}] }]; }, propDecorators: { label: [{
|
|
646
687
|
type: Input
|
|
647
688
|
}], hint: [{
|
|
648
689
|
type: Input
|
|
@@ -650,6 +691,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
650
691
|
type: Input
|
|
651
692
|
}], showCustomize: [{
|
|
652
693
|
type: Input
|
|
694
|
+
}], required: [{
|
|
695
|
+
type: Input
|
|
653
696
|
}] } });
|
|
654
697
|
|
|
655
698
|
function dbxScheduleSelectionCalendarDateDaysFormFields() {
|
|
@@ -727,7 +770,7 @@ DbxScheduleSelectionCalendarDatePopoverContentComponent.ɵcmp = i0.ɵɵngDeclare
|
|
|
727
770
|
<dbx-schedule-selection-calendar-date-range></dbx-schedule-selection-calendar-date-range>
|
|
728
771
|
<dbx-schedule-selection-calendar-date-days></dbx-schedule-selection-calendar-date-days>
|
|
729
772
|
</div>
|
|
730
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxScheduleSelectionCalendarDateDaysComponent, selector: "dbx-schedule-selection-calendar-date-days" }, { kind: "component", type: DbxScheduleSelectionCalendarDateRangeComponent, selector: "dbx-schedule-selection-calendar-date-range", inputs: ["
|
|
773
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxScheduleSelectionCalendarDateDaysComponent, selector: "dbx-schedule-selection-calendar-date-days" }, { kind: "component", type: DbxScheduleSelectionCalendarDateRangeComponent, selector: "dbx-schedule-selection-calendar-date-range", inputs: ["label", "hint", "disabled", "showCustomize", "required"] }] });
|
|
731
774
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxScheduleSelectionCalendarDatePopoverContentComponent, decorators: [{
|
|
732
775
|
type: Component,
|
|
733
776
|
args: [{
|
|
@@ -1119,7 +1162,7 @@ DbxFormCalendarDateScheduleRangeFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent
|
|
|
1119
1162
|
<dbx-schedule-selection-calendar-date-dialog-button customizeButton></dbx-schedule-selection-calendar-date-dialog-button>
|
|
1120
1163
|
</dbx-schedule-selection-calendar-date-range>
|
|
1121
1164
|
</div>
|
|
1122
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxScheduleSelectionCalendarDateRangeComponent, selector: "dbx-schedule-selection-calendar-date-range", inputs: ["
|
|
1165
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxScheduleSelectionCalendarDateRangeComponent, selector: "dbx-schedule-selection-calendar-date-range", inputs: ["label", "hint", "disabled", "showCustomize", "required"] }, { kind: "component", type: DbxScheduleSelectionCalendarDateDialogButtonComponent, selector: "dbx-schedule-selection-calendar-date-dialog-button", inputs: ["buttonText"] }] });
|
|
1123
1166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFormCalendarDateScheduleRangeFieldComponent, decorators: [{
|
|
1124
1167
|
type: Component,
|
|
1125
1168
|
args: [{
|