@indigina/ui-kit 1.1.599 → 1.1.600

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/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.599",
10
+ "version": "1.1.600",
11
11
  "peerDependencies": {
12
12
  "@angular/common": ">=22.0.0 <23.0.0",
13
13
  "@angular/core": ">=22.0.0 <23.0.0",
@@ -1293,7 +1293,7 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
1293
1293
  /**
1294
1294
  * An action which is emitted when datetimepicker value changed
1295
1295
  */
1296
- readonly changed: OutputEmitterRef<Date>;
1296
+ readonly changed: OutputEmitterRef<Date | null>;
1297
1297
  /**
1298
1298
  * Defines a reference of the DateTimePicker component
1299
1299
  */
@@ -1318,7 +1318,7 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
1318
1318
  /**
1319
1319
  * Function that should be called every time datetimepicker value changes
1320
1320
  */
1321
- onValueChange(value: Date): void;
1321
+ onValueChange(value: Date | null): void;
1322
1322
  /**
1323
1323
  * Function that should be called every time the form control value changes
1324
1324
  */
@@ -1881,7 +1881,7 @@ declare class KitDaterangeComponent {
1881
1881
  /**
1882
1882
  * An action which is emitted when start date changed
1883
1883
  */
1884
- readonly startDateChanged: OutputEmitterRef<Date>;
1884
+ readonly startDateChanged: OutputEmitterRef<Date | null>;
1885
1885
  /**
1886
1886
  * An action which is emitted when daterange popup closed
1887
1887
  */
@@ -1889,7 +1889,7 @@ declare class KitDaterangeComponent {
1889
1889
  /**
1890
1890
  * An action which is emitted when end date changed
1891
1891
  */
1892
- readonly endDateChanged: OutputEmitterRef<Date>;
1892
+ readonly endDateChanged: OutputEmitterRef<Date | null>;
1893
1893
  popup: DateRangePopupComponent;
1894
1894
  readonly dateRangeComponent: Signal<DateInputComponent>;
1895
1895
  /**
@@ -1898,8 +1898,8 @@ declare class KitDaterangeComponent {
1898
1898
  readonly icon: KitSvgIcon;
1899
1899
  readonly KitDaterangeType: typeof KitDaterangeType;
1900
1900
  openCalendarPopup(): void;
1901
- onStartDateChange(value: Date): void;
1902
- onEndDateChange(value: Date): void;
1901
+ onStartDateChange(value: Date | null): void;
1902
+ onEndDateChange(value: Date | null): void;
1903
1903
  onBlur(): void;
1904
1904
  onClose(): void;
1905
1905
  focus(): void;
@@ -2274,7 +2274,7 @@ declare class KitTimepickerComponent implements ControlValueAccessor {
2274
2274
  /**
2275
2275
  * An action which is emitted when timepicker value changed
2276
2276
  */
2277
- readonly changed: OutputEmitterRef<Date>;
2277
+ readonly changed: OutputEmitterRef<Date | null>;
2278
2278
  /**
2279
2279
  * An action which is emitted when timepicker input field lost focus
2280
2280
  */
@@ -2286,12 +2286,12 @@ declare class KitTimepickerComponent implements ControlValueAccessor {
2286
2286
  readonly timepickerPopupSettings: PopupSettings;
2287
2287
  toggle(open?: boolean): void;
2288
2288
  focus(): void;
2289
- onChange(_value: Date): void;
2289
+ onChange(_value: Date | null): void;
2290
2290
  onTouched(): void;
2291
2291
  onInputBlur(): void;
2292
- onInputChange(value: Date): void;
2293
- writeValue(value: Date): void;
2294
- registerOnChange(fn: (_: Date) => void): void;
2292
+ onInputChange(value: Date | null): void;
2293
+ writeValue(value: Date | null): void;
2294
+ registerOnChange(fn: (_: Date | null) => void): void;
2295
2295
  registerOnTouched(fn: () => void): void;
2296
2296
  setDisabledState(disabled: boolean): void;
2297
2297
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerComponent, never>;
@@ -2817,7 +2817,7 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
2817
2817
  /**
2818
2818
  * An action which is emitted when datepicker value changed
2819
2819
  */
2820
- readonly changed: OutputEmitterRef<Date>;
2820
+ readonly changed: OutputEmitterRef<Date | null>;
2821
2821
  /**
2822
2822
  * Defines a reference of the DatePicker component
2823
2823
  */
@@ -2831,13 +2831,13 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
2831
2831
  */
2832
2832
  readonly calendarIcon: KitSvgIcon;
2833
2833
  documentClick(event: Event): void;
2834
- onValueChange(value: Date): void;
2834
+ onValueChange(value: Date | null): void;
2835
2835
  onPopupToggle(): void;
2836
2836
  onBlur(): void;
2837
- onChange: (_value: Date) => void;
2837
+ onChange: (_value: Date | null) => void;
2838
2838
  onTouched: () => void;
2839
- writeValue(value?: string | Date | number): void;
2840
- registerOnChange(fn: (_: Date) => void): void;
2839
+ writeValue(value?: string | Date | number | null): void;
2840
+ registerOnChange(fn: (_: Date | null) => void): void;
2841
2841
  registerOnTouched(fn: () => void): void;
2842
2842
  setDisabledState(disabled: boolean): void;
2843
2843
  focus(): void;