@namba_one/ui-kit-2 1.0.103 → 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 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<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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 = FilterHubProps;
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: CheckboxGroupFilter;
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
- } & __VLS_Props_14;
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
- export declare type CheckboxGroupFilter = {
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 = CheckboxGroupFilter | DatepickerFilter_2;
1670
+ export declare type Filter = CheckboxGroupFilter_2 | DatepickerFilter_2;
1669
1671
 
1670
- export declare const FilterHub: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
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: CheckboxGroupFilter;
1757
+ filter: CheckboxGroupFilter_2;
1756
1758
  value: CheckboxGroupFilterValue;
1757
1759
  };
1758
1760