@namba_one/ui-kit-2 1.0.117 → 1.0.118

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
@@ -94,9 +94,9 @@ declare const __VLS_component_24: DefineComponent<__VLS_Props_14, {}, {}, {}, {}
94
94
  containerRef: HTMLDivElement;
95
95
  }, HTMLDivElement>;
96
96
 
97
- declare const __VLS_component_25: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
97
+ declare const __VLS_component_25: DefineComponent<CheckboxGroupFilterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
98
98
  apply: (value: string[] | null) => any;
99
- }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
99
+ }, string, PublicProps, Readonly<CheckboxGroupFilterProps> & Readonly<{
100
100
  onApply?: ((value: string[] | null) => any) | undefined;
101
101
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
102
102
 
@@ -263,34 +263,29 @@ declare type __VLS_Props_14 = {
263
263
  delay?: number | string;
264
264
  };
265
265
 
266
- declare type __VLS_Props_15 = {
267
- list: CheckboxFilterItem[];
268
- initialValue: string[];
269
- };
266
+ declare type __VLS_Props_15 = FilterHubProps;
270
267
 
271
- declare type __VLS_Props_16 = FilterHubProps;
272
-
273
- declare type __VLS_Props_17 = {
268
+ declare type __VLS_Props_16 = {
274
269
  filter: CheckboxGroupFilter_2;
275
270
  value: CheckboxGroupFilterValue;
276
271
  };
277
272
 
278
- declare type __VLS_Props_18 = {
273
+ declare type __VLS_Props_17 = {
279
274
  filter: DatepickerFilter_2;
280
275
  value: DatepickerFilterValue;
281
276
  };
282
277
 
283
- declare type __VLS_Props_19 = InputFieldProps;
278
+ declare type __VLS_Props_18 = InputFieldProps;
284
279
 
285
- declare type __VLS_Props_2 = CardContentProps;
280
+ declare type __VLS_Props_19 = InputMaskFieldProps;
286
281
 
287
- declare type __VLS_Props_20 = InputMaskFieldProps;
282
+ declare type __VLS_Props_2 = CardContentProps;
288
283
 
289
- declare type __VLS_Props_21 = MultiSelectFieldProps;
284
+ declare type __VLS_Props_20 = MultiSelectFieldProps;
290
285
 
291
- declare type __VLS_Props_22 = SelectFieldProps;
286
+ declare type __VLS_Props_21 = SelectFieldProps;
292
287
 
293
- declare type __VLS_Props_23 = MultiInputFieldProps;
288
+ declare type __VLS_Props_22 = MultiInputFieldProps;
294
289
 
295
290
  declare type __VLS_Props_3 = CardContentListProps;
296
291
 
@@ -324,32 +319,32 @@ declare type __VLS_PublicProps_12 = {
324
319
 
325
320
  declare type __VLS_PublicProps_13 = {
326
321
  'values': FilterValue[];
327
- } & __VLS_Props_16;
322
+ } & __VLS_Props_15;
328
323
 
329
324
  declare type __VLS_PublicProps_14 = {
330
325
  'isError'?: boolean;
331
326
  'value'?: string;
332
- } & __VLS_Props_19;
327
+ } & __VLS_Props_18;
333
328
 
334
329
  declare type __VLS_PublicProps_15 = {
335
330
  'isError'?: boolean;
336
331
  'value'?: string;
337
- } & __VLS_Props_20;
332
+ } & __VLS_Props_19;
338
333
 
339
334
  declare type __VLS_PublicProps_16 = {
340
335
  'isError'?: boolean;
341
336
  'value': string[];
342
- } & __VLS_Props_21;
337
+ } & __VLS_Props_20;
343
338
 
344
339
  declare type __VLS_PublicProps_17 = {
345
340
  'isError'?: boolean;
346
341
  'value'?: string | null;
347
- } & __VLS_Props_22;
342
+ } & __VLS_Props_21;
348
343
 
349
344
  declare type __VLS_PublicProps_18 = {
350
345
  'isError'?: boolean;
351
346
  'value': Set<string>;
352
- } & __VLS_Props_23;
347
+ } & __VLS_Props_22;
353
348
 
354
349
  declare type __VLS_PublicProps_2 = {
355
350
  'list': CardContentListProps['list'];
@@ -1158,10 +1153,10 @@ declare type CheckboxGroupFilter_2 = {
1158
1153
  }[];
1159
1154
  };
1160
1155
 
1161
- export declare const CheckboxGroupFilterChip: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1156
+ export declare const CheckboxGroupFilterChip: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1162
1157
  drop: (value: CheckboxGroupFilterValue) => any;
1163
1158
  apply: (value: CheckboxGroupFilterValue) => any;
1164
- }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1159
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
1165
1160
  onDrop?: ((value: CheckboxGroupFilterValue) => any) | undefined;
1166
1161
  onApply?: ((value: CheckboxGroupFilterValue) => any) | undefined;
1167
1162
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -1290,11 +1285,9 @@ triggerElementRef: ({
1290
1285
  $: ComponentInternalInstance;
1291
1286
  $data: {};
1292
1287
  $props: {
1293
- readonly list: {
1294
- key: string;
1295
- label: string;
1296
- }[];
1288
+ readonly list: CheckboxFilterItem[];
1297
1289
  readonly initialValue: string[];
1290
+ readonly selectAllButtonText?: string | undefined;
1298
1291
  readonly onApply?: ((value: string[] | null) => any) | undefined;
1299
1292
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1300
1293
  $attrs: {
@@ -1311,13 +1304,7 @@ $parent: ComponentPublicInstance | null;
1311
1304
  $host: Element | null;
1312
1305
  $emit: (event: "apply", value: string[] | null) => void;
1313
1306
  $el: HTMLDivElement;
1314
- $options: ComponentOptionsBase<Readonly<{
1315
- list: {
1316
- key: string;
1317
- label: string;
1318
- }[];
1319
- initialValue: string[];
1320
- }> & Readonly<{
1307
+ $options: ComponentOptionsBase<Readonly<CheckboxGroupFilterProps> & Readonly<{
1321
1308
  onApply?: ((value: string[] | null) => any) | undefined;
1322
1309
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1323
1310
  apply: (value: string[] | null) => any;
@@ -1341,26 +1328,14 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
1341
1328
  $forceUpdate: () => void;
1342
1329
  $nextTick: nextTick;
1343
1330
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1344
- } & Readonly<{}> & Omit<Readonly<{
1345
- list: {
1346
- key: string;
1347
- label: string;
1348
- }[];
1349
- initialValue: string[];
1350
- }> & Readonly<{
1331
+ } & Readonly<{}> & Omit<Readonly<CheckboxGroupFilterProps> & Readonly<{
1351
1332
  onApply?: ((value: string[] | null) => any) | undefined;
1352
1333
  }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
1353
1334
  $slots: {
1354
1335
  renderItem?(_: {
1355
- item: {
1356
- key: string;
1357
- label: string;
1358
- };
1336
+ item: CheckboxFilterItem;
1359
1337
  isSelected: boolean;
1360
- toggleItem: (item: {
1361
- key: string;
1362
- label: string;
1363
- }, isSelected: boolean) => void;
1338
+ toggleItem: (item: CheckboxFilterItem, isSelected: boolean) => void;
1364
1339
  }): any;
1365
1340
  };
1366
1341
  }) | null;
@@ -1368,7 +1343,11 @@ label: string;
1368
1343
 
1369
1344
  export declare type CheckboxGroupFilterChipProps = {};
1370
1345
 
1371
- export declare type CheckboxGroupFilterProps = {};
1346
+ export declare type CheckboxGroupFilterProps = {
1347
+ list: CheckboxFilterItem[];
1348
+ initialValue: string[];
1349
+ selectAllButtonText?: string;
1350
+ };
1372
1351
 
1373
1352
  export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
1374
1353
 
@@ -1429,10 +1408,10 @@ declare type DatepickerFilter_2 = {
1429
1408
  isDisabled?: boolean;
1430
1409
  };
1431
1410
 
1432
- export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1411
+ export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1433
1412
  drop: (value: DatepickerFilterValue) => any;
1434
1413
  apply: (value: DatepickerFilterValue) => any;
1435
- }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
1414
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1436
1415
  onDrop?: ((value: DatepickerFilterValue) => any) | undefined;
1437
1416
  onApply?: ((value: DatepickerFilterValue) => any) | undefined;
1438
1417
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {