@skyux/datetime 11.24.0 → 11.26.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/documentation.json +3695 -2478
- package/esm2022/lib/modules/date-range-picker/date-range-picker.component.mjs +7 -7
- package/esm2022/testing/modules/date-range-picker/date-range-picker-harness.mjs +49 -3
- package/fesm2022/skyux-datetime-testing.mjs +48 -2
- package/fesm2022/skyux-datetime-testing.mjs.map +1 -1
- package/fesm2022/skyux-datetime.mjs +6 -6
- package/fesm2022/skyux-datetime.mjs.map +1 -1
- package/package.json +9 -9
- package/testing/modules/date-range-picker/date-range-picker-harness.d.ts +12 -0
@@ -4161,6 +4161,8 @@ class SkyDateRangePickerComponent {
|
|
4161
4161
|
this.selectedCalculator = this.calculators[0];
|
4162
4162
|
this.showEndDatePicker = signal(false);
|
4163
4163
|
this.showStartDatePicker = signal(false);
|
4164
|
+
this.#_calculatorIds = SKY_DEFAULT_CALCULATOR_IDS;
|
4165
|
+
this.#_value = this.selectedCalculator.getValue();
|
4164
4166
|
this.#calculatorIdControl = new FormControl(this.#getValue().calculatorId, { nonNullable: true });
|
4165
4167
|
this.#calculatorIdInvalid = this.#createStatusChangeSignal(this.#calculatorIdControl);
|
4166
4168
|
this.#calculatorIdTouched = this.#createTouchedChangeSignal(this.#calculatorIdControl);
|
@@ -4192,8 +4194,6 @@ class SkyDateRangePickerComponent {
|
|
4192
4194
|
const invalid = this.#startDateInvalid();
|
4193
4195
|
return calculatorIdHasErrors || (touched && invalid);
|
4194
4196
|
});
|
4195
|
-
this.#_calculatorIds = SKY_DEFAULT_CALCULATOR_IDS;
|
4196
|
-
this.#_value = this.selectedCalculator.getValue();
|
4197
4197
|
}
|
4198
4198
|
#dateRangeSvc;
|
4199
4199
|
#destroyRef;
|
@@ -4248,6 +4248,10 @@ class SkyDateRangePickerComponent {
|
|
4248
4248
|
get label() {
|
4249
4249
|
return this.#_label;
|
4250
4250
|
}
|
4251
|
+
#_calculatorIds;
|
4252
|
+
#_label;
|
4253
|
+
#_value;
|
4254
|
+
#hostHasCustomError;
|
4251
4255
|
#notifyChange;
|
4252
4256
|
#notifyTouched;
|
4253
4257
|
#calculatorIdControl;
|
@@ -4259,10 +4263,6 @@ class SkyDateRangePickerComponent {
|
|
4259
4263
|
#startDateControl;
|
4260
4264
|
#startDateInvalid;
|
4261
4265
|
#startDateTouched;
|
4262
|
-
#hostHasCustomError;
|
4263
|
-
#_calculatorIds;
|
4264
|
-
#_label;
|
4265
|
-
#_value;
|
4266
4266
|
ngAfterViewInit() {
|
4267
4267
|
this.hostControl = this.#injector.get(NgControl, null, {
|
4268
4268
|
optional: true,
|