@ardium-ui/ui 5.0.0-alpha.1 → 5.0.0-alpha.2
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.
|
@@ -5650,6 +5650,7 @@ const _dateInputDefaults = {
|
|
|
5650
5650
|
min: null,
|
|
5651
5651
|
max: null,
|
|
5652
5652
|
filter: null,
|
|
5653
|
+
UTC: false,
|
|
5653
5654
|
};
|
|
5654
5655
|
const ARD_DATE_INPUT_DEFAULTS = new InjectionToken('ard-date-input-defaults', {
|
|
5655
5656
|
factory: () => ({ ..._dateInputDefaults }),
|
|
@@ -5839,6 +5840,7 @@ const _calendarDefaults = {
|
|
|
5839
5840
|
min: null,
|
|
5840
5841
|
max: null,
|
|
5841
5842
|
filter: null,
|
|
5843
|
+
UTC: false,
|
|
5842
5844
|
};
|
|
5843
5845
|
const ARD_CALENDAR_DEFAULTS = new InjectionToken('ard-calendar-defaults', {
|
|
5844
5846
|
factory: () => ({
|
|
@@ -6910,8 +6912,8 @@ class ArdiumCalendarComponent extends _FormFieldComponentBase {
|
|
|
6910
6912
|
this.max = input(this._DEFAULTS.max, {
|
|
6911
6913
|
transform: v => (v === null ? null : coerceDateProperty(v, this._DEFAULTS.max)),
|
|
6912
6914
|
});
|
|
6913
|
-
this.UTC = input(
|
|
6914
|
-
this._UTCAfterInit = signal(
|
|
6915
|
+
this.UTC = input(this._DEFAULTS.UTC, { transform: v => coerceBooleanProperty(v) });
|
|
6916
|
+
this._UTCAfterInit = signal(this._DEFAULTS.UTC);
|
|
6915
6917
|
this.filter = input(this._DEFAULTS.filter);
|
|
6916
6918
|
this.isDayFilteredOut = computed(() => {
|
|
6917
6919
|
return (day, month = this.activeMonth(), year = this.activeYear()) => {
|
|
@@ -7428,8 +7430,8 @@ class ArdiumDateInputComponent extends _FormFieldComponentBase {
|
|
|
7428
7430
|
});
|
|
7429
7431
|
this.min = input(this._DEFAULTS.min, { transform: v => coerceDateProperty(v, this._DEFAULTS.min) });
|
|
7430
7432
|
this.max = input(this._DEFAULTS.max, { transform: v => coerceDateProperty(v, this._DEFAULTS.max) });
|
|
7431
|
-
this.UTC = input(
|
|
7432
|
-
this._UTCAfterInit = signal(
|
|
7433
|
+
this.UTC = input(this._DEFAULTS.UTC, { transform: v => coerceBooleanProperty(v) });
|
|
7434
|
+
this._UTCAfterInit = signal(this._DEFAULTS.UTC);
|
|
7433
7435
|
this.filter = input(this._DEFAULTS.filter);
|
|
7434
7436
|
//! calendar outputs
|
|
7435
7437
|
this.yearSelect = output();
|