@indigina/ui-kit 1.1.598 → 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
|
@@ -87,6 +87,7 @@ declare enum KitSvgIcon {
|
|
|
87
87
|
WARNING_DEFAULT = "warning-default",
|
|
88
88
|
ROTATE_LEFT = "rotate-left",
|
|
89
89
|
DOWNLOAD = "download",
|
|
90
|
+
UPLOAD = "upload",
|
|
90
91
|
FILE_TEXT = "file-text",
|
|
91
92
|
ARROW_UP_RIGHT_FROM_SQUARE = "arrow-up-right-from-square",
|
|
92
93
|
CIRCLE_EXCLAMATION = "circle-exclamation",
|
|
@@ -1292,7 +1293,7 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1292
1293
|
/**
|
|
1293
1294
|
* An action which is emitted when datetimepicker value changed
|
|
1294
1295
|
*/
|
|
1295
|
-
readonly changed: OutputEmitterRef<Date>;
|
|
1296
|
+
readonly changed: OutputEmitterRef<Date | null>;
|
|
1296
1297
|
/**
|
|
1297
1298
|
* Defines a reference of the DateTimePicker component
|
|
1298
1299
|
*/
|
|
@@ -1317,7 +1318,7 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1317
1318
|
/**
|
|
1318
1319
|
* Function that should be called every time datetimepicker value changes
|
|
1319
1320
|
*/
|
|
1320
|
-
onValueChange(value: Date): void;
|
|
1321
|
+
onValueChange(value: Date | null): void;
|
|
1321
1322
|
/**
|
|
1322
1323
|
* Function that should be called every time the form control value changes
|
|
1323
1324
|
*/
|
|
@@ -1880,7 +1881,7 @@ declare class KitDaterangeComponent {
|
|
|
1880
1881
|
/**
|
|
1881
1882
|
* An action which is emitted when start date changed
|
|
1882
1883
|
*/
|
|
1883
|
-
readonly startDateChanged: OutputEmitterRef<Date>;
|
|
1884
|
+
readonly startDateChanged: OutputEmitterRef<Date | null>;
|
|
1884
1885
|
/**
|
|
1885
1886
|
* An action which is emitted when daterange popup closed
|
|
1886
1887
|
*/
|
|
@@ -1888,7 +1889,7 @@ declare class KitDaterangeComponent {
|
|
|
1888
1889
|
/**
|
|
1889
1890
|
* An action which is emitted when end date changed
|
|
1890
1891
|
*/
|
|
1891
|
-
readonly endDateChanged: OutputEmitterRef<Date>;
|
|
1892
|
+
readonly endDateChanged: OutputEmitterRef<Date | null>;
|
|
1892
1893
|
popup: DateRangePopupComponent;
|
|
1893
1894
|
readonly dateRangeComponent: Signal<DateInputComponent>;
|
|
1894
1895
|
/**
|
|
@@ -1897,8 +1898,8 @@ declare class KitDaterangeComponent {
|
|
|
1897
1898
|
readonly icon: KitSvgIcon;
|
|
1898
1899
|
readonly KitDaterangeType: typeof KitDaterangeType;
|
|
1899
1900
|
openCalendarPopup(): void;
|
|
1900
|
-
onStartDateChange(value: Date): void;
|
|
1901
|
-
onEndDateChange(value: Date): void;
|
|
1901
|
+
onStartDateChange(value: Date | null): void;
|
|
1902
|
+
onEndDateChange(value: Date | null): void;
|
|
1902
1903
|
onBlur(): void;
|
|
1903
1904
|
onClose(): void;
|
|
1904
1905
|
focus(): void;
|
|
@@ -2273,7 +2274,7 @@ declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
|
2273
2274
|
/**
|
|
2274
2275
|
* An action which is emitted when timepicker value changed
|
|
2275
2276
|
*/
|
|
2276
|
-
readonly changed: OutputEmitterRef<Date>;
|
|
2277
|
+
readonly changed: OutputEmitterRef<Date | null>;
|
|
2277
2278
|
/**
|
|
2278
2279
|
* An action which is emitted when timepicker input field lost focus
|
|
2279
2280
|
*/
|
|
@@ -2285,12 +2286,12 @@ declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
|
2285
2286
|
readonly timepickerPopupSettings: PopupSettings;
|
|
2286
2287
|
toggle(open?: boolean): void;
|
|
2287
2288
|
focus(): void;
|
|
2288
|
-
onChange(_value: Date): void;
|
|
2289
|
+
onChange(_value: Date | null): void;
|
|
2289
2290
|
onTouched(): void;
|
|
2290
2291
|
onInputBlur(): void;
|
|
2291
|
-
onInputChange(value: Date): void;
|
|
2292
|
-
writeValue(value: Date): void;
|
|
2293
|
-
registerOnChange(fn: (_: Date) => void): void;
|
|
2292
|
+
onInputChange(value: Date | null): void;
|
|
2293
|
+
writeValue(value: Date | null): void;
|
|
2294
|
+
registerOnChange(fn: (_: Date | null) => void): void;
|
|
2294
2295
|
registerOnTouched(fn: () => void): void;
|
|
2295
2296
|
setDisabledState(disabled: boolean): void;
|
|
2296
2297
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerComponent, never>;
|
|
@@ -2816,7 +2817,7 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2816
2817
|
/**
|
|
2817
2818
|
* An action which is emitted when datepicker value changed
|
|
2818
2819
|
*/
|
|
2819
|
-
readonly changed: OutputEmitterRef<Date>;
|
|
2820
|
+
readonly changed: OutputEmitterRef<Date | null>;
|
|
2820
2821
|
/**
|
|
2821
2822
|
* Defines a reference of the DatePicker component
|
|
2822
2823
|
*/
|
|
@@ -2830,13 +2831,13 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2830
2831
|
*/
|
|
2831
2832
|
readonly calendarIcon: KitSvgIcon;
|
|
2832
2833
|
documentClick(event: Event): void;
|
|
2833
|
-
onValueChange(value: Date): void;
|
|
2834
|
+
onValueChange(value: Date | null): void;
|
|
2834
2835
|
onPopupToggle(): void;
|
|
2835
2836
|
onBlur(): void;
|
|
2836
|
-
onChange: (_value: Date) => void;
|
|
2837
|
+
onChange: (_value: Date | null) => void;
|
|
2837
2838
|
onTouched: () => void;
|
|
2838
|
-
writeValue(value?: string | Date | number): void;
|
|
2839
|
-
registerOnChange(fn: (_: Date) => void): void;
|
|
2839
|
+
writeValue(value?: string | Date | number | null): void;
|
|
2840
|
+
registerOnChange(fn: (_: Date | null) => void): void;
|
|
2840
2841
|
registerOnTouched(fn: () => void): void;
|
|
2841
2842
|
setDisabledState(disabled: boolean): void;
|
|
2842
2843
|
focus(): void;
|