@namba_one/ui-kit-2 1.0.102 → 1.0.104
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 +42 -40
- package/dist/index.es.js +943 -942
- package/dist/index.umd.js +4 -4
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -84,7 +84,13 @@ declare const __VLS_component_22: DefineComponent<__VLS_Props_13, {}, {}, {}, {}
|
|
|
84
84
|
containerRef: HTMLDivElement;
|
|
85
85
|
}, HTMLDivElement>;
|
|
86
86
|
|
|
87
|
-
declare const __VLS_component_23: DefineComponent<
|
|
87
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
88
|
+
apply: (value: string[] | null) => any;
|
|
89
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
90
|
+
onApply?: ((value: string[] | null) => any) | undefined;
|
|
91
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
92
|
+
|
|
93
|
+
declare const __VLS_component_24: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
88
94
|
"update:values": (value: FilterValue[]) => any;
|
|
89
95
|
}, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
|
|
90
96
|
"onUpdate:values"?: ((value: FilterValue[]) => any) | undefined;
|
|
@@ -152,12 +158,6 @@ default?(_: {}): any;
|
|
|
152
158
|
triggerElementRef: HTMLDivElement;
|
|
153
159
|
}, HTMLDivElement>;
|
|
154
160
|
|
|
155
|
-
declare const __VLS_component_24: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
156
|
-
apply: (value: string[] | null) => any;
|
|
157
|
-
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
158
|
-
onApply?: ((value: string[] | null) => any) | undefined;
|
|
159
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
160
|
-
|
|
161
161
|
declare const __VLS_component_3: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
162
162
|
|
|
163
163
|
declare const __VLS_component_4: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -231,15 +231,15 @@ declare type __VLS_Props_13 = {
|
|
|
231
231
|
duration?: number | string;
|
|
232
232
|
};
|
|
233
233
|
|
|
234
|
-
declare type __VLS_Props_14 =
|
|
235
|
-
|
|
236
|
-
declare type __VLS_Props_15 = {
|
|
234
|
+
declare type __VLS_Props_14 = {
|
|
237
235
|
list: CheckboxFilterItem[];
|
|
238
236
|
initialValue: string[];
|
|
239
237
|
};
|
|
240
238
|
|
|
239
|
+
declare type __VLS_Props_15 = FilterHubProps;
|
|
240
|
+
|
|
241
241
|
declare type __VLS_Props_16 = {
|
|
242
|
-
filter:
|
|
242
|
+
filter: CheckboxGroupFilter_2;
|
|
243
243
|
value: CheckboxGroupFilterValue;
|
|
244
244
|
};
|
|
245
245
|
|
|
@@ -282,7 +282,7 @@ declare type __VLS_PublicProps_12 = {
|
|
|
282
282
|
|
|
283
283
|
declare type __VLS_PublicProps_13 = {
|
|
284
284
|
'values': FilterValue[];
|
|
285
|
-
} &
|
|
285
|
+
} & __VLS_Props_15;
|
|
286
286
|
|
|
287
287
|
declare type __VLS_PublicProps_2 = {
|
|
288
288
|
'list': CardContentListProps['list'];
|
|
@@ -470,6 +470,19 @@ declare function __VLS_template_22(): {
|
|
|
470
470
|
};
|
|
471
471
|
|
|
472
472
|
declare function __VLS_template_23(): {
|
|
473
|
+
attrs: Partial<{}>;
|
|
474
|
+
slots: {
|
|
475
|
+
renderItem?(_: {
|
|
476
|
+
item: CheckboxFilterItem;
|
|
477
|
+
isSelected: boolean;
|
|
478
|
+
toggleItem: (item: CheckboxFilterItem, isSelected: boolean) => void;
|
|
479
|
+
}): any;
|
|
480
|
+
};
|
|
481
|
+
refs: {};
|
|
482
|
+
rootEl: HTMLDivElement;
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
declare function __VLS_template_24(): {
|
|
473
486
|
attrs: Partial<{}>;
|
|
474
487
|
slots: {
|
|
475
488
|
before?(_: {}): any;
|
|
@@ -554,19 +567,6 @@ declare function __VLS_template_23(): {
|
|
|
554
567
|
rootEl: HTMLDivElement;
|
|
555
568
|
};
|
|
556
569
|
|
|
557
|
-
declare function __VLS_template_24(): {
|
|
558
|
-
attrs: Partial<{}>;
|
|
559
|
-
slots: {
|
|
560
|
-
renderItem?(_: {
|
|
561
|
-
item: CheckboxFilterItem;
|
|
562
|
-
isSelected: boolean;
|
|
563
|
-
toggleItem: (item: CheckboxFilterItem, isSelected: boolean) => void;
|
|
564
|
-
}): any;
|
|
565
|
-
};
|
|
566
|
-
refs: {};
|
|
567
|
-
rootEl: HTMLDivElement;
|
|
568
|
-
};
|
|
569
|
-
|
|
570
570
|
declare function __VLS_template_3(): {
|
|
571
571
|
attrs: Partial<{}>;
|
|
572
572
|
slots: {
|
|
@@ -989,7 +989,7 @@ declare type CheckboxFilterItem = {
|
|
|
989
989
|
label: string;
|
|
990
990
|
};
|
|
991
991
|
|
|
992
|
-
|
|
992
|
+
declare type CheckboxGroupFilter_2 = {
|
|
993
993
|
key: string;
|
|
994
994
|
label: string;
|
|
995
995
|
kind: 'checkbox-group';
|
|
@@ -1211,8 +1211,6 @@ export declare type CheckboxGroupFilterProps = {};
|
|
|
1211
1211
|
|
|
1212
1212
|
export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
1213
1213
|
|
|
1214
|
-
export declare const CheckboxGroupFilterView: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1215
|
-
|
|
1216
1214
|
export declare type CheckboxProps = {
|
|
1217
1215
|
value: boolean;
|
|
1218
1216
|
size: (typeof sizes_9)[number];
|
|
@@ -1589,6 +1587,10 @@ default?(_: {}): any;
|
|
|
1589
1587
|
export { _default as DatepickerFilter }
|
|
1590
1588
|
export { _default as DatepickerFilterView }
|
|
1591
1589
|
|
|
1590
|
+
declare const _default_2: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1591
|
+
export { _default_2 as CheckboxGroupFilter }
|
|
1592
|
+
export { _default_2 as CheckboxGroupFilterView }
|
|
1593
|
+
|
|
1592
1594
|
export declare const Divider: DefineComponent<DividerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1593
1595
|
|
|
1594
1596
|
export declare type DividerProps = {
|
|
@@ -1665,9 +1667,9 @@ declare type EmptyResponseProps = ResponseBaseProps & {
|
|
|
1665
1667
|
size?: (typeof sizes_6)[number];
|
|
1666
1668
|
};
|
|
1667
1669
|
|
|
1668
|
-
export declare type Filter =
|
|
1670
|
+
export declare type Filter = CheckboxGroupFilter_2 | DatepickerFilter_2;
|
|
1669
1671
|
|
|
1670
|
-
export declare const FilterHub:
|
|
1672
|
+
export declare const FilterHub: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1671
1673
|
|
|
1672
1674
|
export declare type FilterHubProps = {
|
|
1673
1675
|
list: Filter[];
|
|
@@ -1752,7 +1754,7 @@ export declare const isCheckboxGroupFilterValue: (data: {
|
|
|
1752
1754
|
filter: Filter;
|
|
1753
1755
|
value: FilterValue;
|
|
1754
1756
|
}) => data is {
|
|
1755
|
-
filter:
|
|
1757
|
+
filter: CheckboxGroupFilter_2;
|
|
1756
1758
|
value: CheckboxGroupFilterValue;
|
|
1757
1759
|
};
|
|
1758
1760
|
|
|
@@ -2100,14 +2102,7 @@ export declare type StepsProps = {
|
|
|
2100
2102
|
};
|
|
2101
2103
|
|
|
2102
2104
|
export declare const Table: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2103
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
|
|
2104
|
-
headers: string[];
|
|
2105
|
-
gridTemplateColumns: string;
|
|
2106
|
-
list: T[];
|
|
2107
|
-
isLoading?: boolean;
|
|
2108
|
-
extractKey?: (item: T) => string;
|
|
2109
|
-
reRenderKey?: string;
|
|
2110
|
-
} & Partial<{}>> & PublicProps;
|
|
2105
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & TableProps<T> & Partial<{}>> & PublicProps;
|
|
2111
2106
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
2112
2107
|
attrs: any;
|
|
2113
2108
|
slots: {
|
|
@@ -2127,7 +2122,14 @@ export declare const Table: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
2127
2122
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2128
2123
|
};
|
|
2129
2124
|
|
|
2130
|
-
export declare type TableProps = {
|
|
2125
|
+
export declare type TableProps<T> = {
|
|
2126
|
+
headers: string[];
|
|
2127
|
+
gridTemplateColumns: string;
|
|
2128
|
+
list: T[];
|
|
2129
|
+
isLoading?: boolean;
|
|
2130
|
+
extractKey?: (item: T) => string;
|
|
2131
|
+
reRenderKey?: string;
|
|
2132
|
+
};
|
|
2131
2133
|
|
|
2132
2134
|
export declare const TableRow: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
2133
2135
|
|