@namba_one/ui-kit-2 1.0.180 → 1.0.181
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/dist/index.d.ts +24 -24
- package/dist/index.es.js +342 -342
- package/dist/index.umd.js +5 -5
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -499,12 +499,12 @@ declare type __VLS_Props_16 = DatepickerProps;
|
|
|
499
499
|
declare type __VLS_Props_17 = FilterHubProps;
|
|
500
500
|
|
|
501
501
|
declare type __VLS_Props_18 = {
|
|
502
|
-
filter:
|
|
502
|
+
filter: CheckboxGroupFilterType;
|
|
503
503
|
value: CheckboxGroupFilterValue;
|
|
504
504
|
};
|
|
505
505
|
|
|
506
506
|
declare type __VLS_Props_19 = {
|
|
507
|
-
filter:
|
|
507
|
+
filter: DatepickerFilterType;
|
|
508
508
|
value: DatepickerFilterValue;
|
|
509
509
|
};
|
|
510
510
|
|
|
@@ -1705,7 +1705,17 @@ declare type CheckboxFilterItem = {
|
|
|
1705
1705
|
label: string;
|
|
1706
1706
|
};
|
|
1707
1707
|
|
|
1708
|
-
declare
|
|
1708
|
+
export declare const CheckboxGroupFilterChip: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
1709
|
+
|
|
1710
|
+
export declare type CheckboxGroupFilterChipProps = {};
|
|
1711
|
+
|
|
1712
|
+
export declare type CheckboxGroupFilterProps = {
|
|
1713
|
+
list: CheckboxFilterItem[];
|
|
1714
|
+
initialValue: string[];
|
|
1715
|
+
selectAllButtonText?: string;
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
export declare type CheckboxGroupFilterType = {
|
|
1709
1719
|
key: string;
|
|
1710
1720
|
label: string;
|
|
1711
1721
|
kind: 'checkbox-group';
|
|
@@ -1717,16 +1727,6 @@ declare type CheckboxGroupFilter_2 = {
|
|
|
1717
1727
|
}[];
|
|
1718
1728
|
};
|
|
1719
1729
|
|
|
1720
|
-
export declare const CheckboxGroupFilterChip: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
1721
|
-
|
|
1722
|
-
export declare type CheckboxGroupFilterChipProps = {};
|
|
1723
|
-
|
|
1724
|
-
export declare type CheckboxGroupFilterProps = {
|
|
1725
|
-
list: CheckboxFilterItem[];
|
|
1726
|
-
initialValue: string[];
|
|
1727
|
-
selectAllButtonText?: string;
|
|
1728
|
-
};
|
|
1729
|
-
|
|
1730
1730
|
export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
1731
1731
|
|
|
1732
1732
|
export declare type CheckboxProps = {
|
|
@@ -1784,14 +1784,6 @@ export declare const Datepicker: DefineComponent<__VLS_PublicProps_13, {}, {}, {
|
|
|
1784
1784
|
"onUpdate:value"?: ((value: Date[]) => any) | undefined;
|
|
1785
1785
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1786
1786
|
|
|
1787
|
-
declare type DatepickerFilter_2 = {
|
|
1788
|
-
key: string;
|
|
1789
|
-
label: string;
|
|
1790
|
-
kind: 'datepicker';
|
|
1791
|
-
icon?: IconName;
|
|
1792
|
-
isDisabled?: boolean;
|
|
1793
|
-
};
|
|
1794
|
-
|
|
1795
1787
|
export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1796
1788
|
drop: (value: DatepickerFilterValue) => any;
|
|
1797
1789
|
apply: (value: DatepickerFilterValue) => any;
|
|
@@ -1934,6 +1926,14 @@ export declare type DatepickerFilterProps = DatepickerProps & {
|
|
|
1934
1926
|
action?: 'clear' | 'close';
|
|
1935
1927
|
};
|
|
1936
1928
|
|
|
1929
|
+
export declare type DatepickerFilterType = {
|
|
1930
|
+
key: string;
|
|
1931
|
+
label: string;
|
|
1932
|
+
kind: 'datepicker';
|
|
1933
|
+
icon?: IconName;
|
|
1934
|
+
isDisabled?: boolean;
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
1937
|
export declare type DatepickerFilterValue = FilterValueBase<Date[]>;
|
|
1938
1938
|
|
|
1939
1939
|
export declare type DatepickerProps = {
|
|
@@ -2256,7 +2256,7 @@ declare type FieldBaseProps = {
|
|
|
2256
2256
|
hasBorder?: boolean;
|
|
2257
2257
|
};
|
|
2258
2258
|
|
|
2259
|
-
export declare type Filter =
|
|
2259
|
+
export declare type Filter = CheckboxGroupFilterType | DatepickerFilterType;
|
|
2260
2260
|
|
|
2261
2261
|
export declare const FilterHub: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2262
2262
|
|
|
@@ -2398,7 +2398,7 @@ export declare const isCheckboxGroupFilterValue: (data: {
|
|
|
2398
2398
|
filter: Filter;
|
|
2399
2399
|
value: FilterValue;
|
|
2400
2400
|
}) => data is {
|
|
2401
|
-
filter:
|
|
2401
|
+
filter: CheckboxGroupFilterType;
|
|
2402
2402
|
value: CheckboxGroupFilterValue;
|
|
2403
2403
|
};
|
|
2404
2404
|
|
|
@@ -2406,7 +2406,7 @@ export declare const isDatepickerFilterValue: (data: {
|
|
|
2406
2406
|
filter: Filter;
|
|
2407
2407
|
value: FilterValue;
|
|
2408
2408
|
}) => data is {
|
|
2409
|
-
filter:
|
|
2409
|
+
filter: DatepickerFilterType;
|
|
2410
2410
|
value: DatepickerFilterValue;
|
|
2411
2411
|
};
|
|
2412
2412
|
|