@namba_one/ui-kit-2 1.0.128 → 1.0.130
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 +75 -38
- package/dist/index.es.js +1254 -1248
- package/dist/index.umd.js +4 -4
- package/dist/namba-one-uikit.css +1 -1
- package/dist/sprite/sprite.svg +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -102,7 +102,13 @@ onApply?: ((value: string[] | null) => any) | undefined;
|
|
|
102
102
|
|
|
103
103
|
declare const __VLS_component_26: DefineComponent<PopoverProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
104
104
|
|
|
105
|
-
declare const __VLS_component_27: DefineComponent<
|
|
105
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
106
|
+
"update:value": (value: boolean) => any;
|
|
107
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
108
|
+
"onUpdate:value"?: ((value: boolean) => any) | undefined;
|
|
109
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
110
|
+
|
|
111
|
+
declare const __VLS_component_28: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
106
112
|
"update:values": (value: FilterValue[]) => any;
|
|
107
113
|
}, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
|
|
108
114
|
"onUpdate:values"?: ((value: FilterValue[]) => any) | undefined;
|
|
@@ -170,10 +176,10 @@ default?(_: {}): any;
|
|
|
170
176
|
triggerElementRef: HTMLDivElement;
|
|
171
177
|
}, HTMLDivElement>;
|
|
172
178
|
|
|
173
|
-
declare const
|
|
179
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
174
180
|
drop: (value: CheckboxGroupFilterValue) => any;
|
|
175
181
|
apply: (value: CheckboxGroupFilterValue) => any;
|
|
176
|
-
}, string, PublicProps, Readonly<
|
|
182
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
177
183
|
onDrop?: ((value: CheckboxGroupFilterValue) => any) | undefined;
|
|
178
184
|
onApply?: ((value: CheckboxGroupFilterValue) => any) | undefined;
|
|
179
185
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -358,7 +364,9 @@ toggleItem: (item: CheckboxFilterItem, isSelected: boolean) => void;
|
|
|
358
364
|
}) | null;
|
|
359
365
|
}, any>;
|
|
360
366
|
|
|
361
|
-
declare const
|
|
367
|
+
declare const __VLS_component_3: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
368
|
+
|
|
369
|
+
declare const __VLS_component_30: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
362
370
|
"update:value": (value: string) => any;
|
|
363
371
|
"update:isError": (value: boolean) => any;
|
|
364
372
|
}, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
|
|
@@ -366,9 +374,7 @@ declare const __VLS_component_29: DefineComponent<__VLS_PublicProps_14, {}, {},
|
|
|
366
374
|
"onUpdate:isError"?: ((value: boolean) => any) | undefined;
|
|
367
375
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
368
376
|
|
|
369
|
-
declare const
|
|
370
|
-
|
|
371
|
-
declare const __VLS_component_30: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
377
|
+
declare const __VLS_component_31: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
372
378
|
"update:value": (value: string) => any;
|
|
373
379
|
"update:isError": (value: boolean) => any;
|
|
374
380
|
}, string, PublicProps, Readonly<__VLS_PublicProps_15> & Readonly<{
|
|
@@ -451,29 +457,37 @@ declare type __VLS_Props_14 = {
|
|
|
451
457
|
delay?: number | string;
|
|
452
458
|
};
|
|
453
459
|
|
|
454
|
-
declare type __VLS_Props_15 =
|
|
460
|
+
declare type __VLS_Props_15 = {
|
|
461
|
+
value: boolean;
|
|
462
|
+
title: string;
|
|
463
|
+
description?: string;
|
|
464
|
+
isIndeterminate?: boolean;
|
|
465
|
+
size?: '16' | '20';
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
declare type __VLS_Props_16 = FilterHubProps;
|
|
455
469
|
|
|
456
|
-
declare type
|
|
470
|
+
declare type __VLS_Props_17 = {
|
|
457
471
|
filter: CheckboxGroupFilter_2;
|
|
458
472
|
value: CheckboxGroupFilterValue;
|
|
459
473
|
};
|
|
460
474
|
|
|
461
|
-
declare type
|
|
475
|
+
declare type __VLS_Props_18 = {
|
|
462
476
|
filter: DatepickerFilter_2;
|
|
463
477
|
value: DatepickerFilterValue;
|
|
464
478
|
};
|
|
465
479
|
|
|
466
|
-
declare type
|
|
467
|
-
|
|
468
|
-
declare type __VLS_Props_19 = InputMaskFieldProps;
|
|
480
|
+
declare type __VLS_Props_19 = InputFieldProps;
|
|
469
481
|
|
|
470
482
|
declare type __VLS_Props_2 = CardContentProps;
|
|
471
483
|
|
|
472
|
-
declare type __VLS_Props_20 =
|
|
484
|
+
declare type __VLS_Props_20 = InputMaskFieldProps;
|
|
485
|
+
|
|
486
|
+
declare type __VLS_Props_21 = MultiSelectFieldProps;
|
|
473
487
|
|
|
474
|
-
declare type
|
|
488
|
+
declare type __VLS_Props_22 = SelectFieldProps;
|
|
475
489
|
|
|
476
|
-
declare type
|
|
490
|
+
declare type __VLS_Props_23 = MultiInputFieldProps;
|
|
477
491
|
|
|
478
492
|
declare type __VLS_Props_3 = CardContentListProps;
|
|
479
493
|
|
|
@@ -507,32 +521,32 @@ declare type __VLS_PublicProps_12 = {
|
|
|
507
521
|
|
|
508
522
|
declare type __VLS_PublicProps_13 = {
|
|
509
523
|
'values': FilterValue[];
|
|
510
|
-
} &
|
|
524
|
+
} & __VLS_Props_16;
|
|
511
525
|
|
|
512
526
|
declare type __VLS_PublicProps_14 = {
|
|
513
527
|
'isError'?: boolean;
|
|
514
528
|
'value'?: string;
|
|
515
|
-
} &
|
|
529
|
+
} & __VLS_Props_19;
|
|
516
530
|
|
|
517
531
|
declare type __VLS_PublicProps_15 = {
|
|
518
532
|
'isError'?: boolean;
|
|
519
533
|
'value'?: string;
|
|
520
|
-
} &
|
|
534
|
+
} & __VLS_Props_20;
|
|
521
535
|
|
|
522
536
|
declare type __VLS_PublicProps_16 = {
|
|
523
537
|
'isError'?: boolean;
|
|
524
538
|
'value': string[];
|
|
525
|
-
} &
|
|
539
|
+
} & __VLS_Props_21;
|
|
526
540
|
|
|
527
541
|
declare type __VLS_PublicProps_17 = {
|
|
528
542
|
'isError'?: boolean;
|
|
529
543
|
'value'?: string | null;
|
|
530
|
-
} &
|
|
544
|
+
} & __VLS_Props_22;
|
|
531
545
|
|
|
532
546
|
declare type __VLS_PublicProps_18 = {
|
|
533
547
|
'isError'?: boolean;
|
|
534
548
|
'value': Set<string>;
|
|
535
|
-
} &
|
|
549
|
+
} & __VLS_Props_23;
|
|
536
550
|
|
|
537
551
|
declare type __VLS_PublicProps_2 = {
|
|
538
552
|
'list': CardContentListProps['list'];
|
|
@@ -762,6 +776,15 @@ declare function __VLS_template_26(): {
|
|
|
762
776
|
};
|
|
763
777
|
|
|
764
778
|
declare function __VLS_template_27(): {
|
|
779
|
+
attrs: Partial<{}>;
|
|
780
|
+
slots: {
|
|
781
|
+
leftItem?(_: {}): any;
|
|
782
|
+
};
|
|
783
|
+
refs: {};
|
|
784
|
+
rootEl: HTMLLabelElement;
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
declare function __VLS_template_28(): {
|
|
765
788
|
attrs: Partial<{}>;
|
|
766
789
|
slots: {
|
|
767
790
|
before?(_: {}): any;
|
|
@@ -846,7 +869,7 @@ declare function __VLS_template_27(): {
|
|
|
846
869
|
rootEl: HTMLDivElement;
|
|
847
870
|
};
|
|
848
871
|
|
|
849
|
-
declare function
|
|
872
|
+
declare function __VLS_template_29(): {
|
|
850
873
|
attrs: Partial<{}>;
|
|
851
874
|
slots: {
|
|
852
875
|
renderItem?(_: {
|
|
@@ -1039,25 +1062,25 @@ declare function __VLS_template_28(): {
|
|
|
1039
1062
|
rootEl: any;
|
|
1040
1063
|
};
|
|
1041
1064
|
|
|
1042
|
-
declare function
|
|
1065
|
+
declare function __VLS_template_3(): {
|
|
1043
1066
|
attrs: Partial<{}>;
|
|
1044
1067
|
slots: {
|
|
1045
|
-
|
|
1068
|
+
default?(_: {}): any;
|
|
1046
1069
|
};
|
|
1047
1070
|
refs: {};
|
|
1048
|
-
rootEl:
|
|
1071
|
+
rootEl: any;
|
|
1049
1072
|
};
|
|
1050
1073
|
|
|
1051
|
-
declare function
|
|
1074
|
+
declare function __VLS_template_30(): {
|
|
1052
1075
|
attrs: Partial<{}>;
|
|
1053
1076
|
slots: {
|
|
1054
|
-
|
|
1077
|
+
after?(_: {}): any;
|
|
1055
1078
|
};
|
|
1056
1079
|
refs: {};
|
|
1057
|
-
rootEl:
|
|
1080
|
+
rootEl: HTMLLabelElement;
|
|
1058
1081
|
};
|
|
1059
1082
|
|
|
1060
|
-
declare function
|
|
1083
|
+
declare function __VLS_template_31(): {
|
|
1061
1084
|
attrs: Partial<{}>;
|
|
1062
1085
|
slots: {
|
|
1063
1086
|
after?(_: {}): any;
|
|
@@ -1172,6 +1195,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
1172
1195
|
|
|
1173
1196
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
1174
1197
|
|
|
1198
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
1199
|
+
|
|
1175
1200
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1176
1201
|
|
|
1177
1202
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1328,6 +1353,12 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1328
1353
|
};
|
|
1329
1354
|
};
|
|
1330
1355
|
|
|
1356
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1357
|
+
new (): {
|
|
1358
|
+
$slots: S;
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1331
1362
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1332
1363
|
new (): {
|
|
1333
1364
|
$slots: S;
|
|
@@ -1519,12 +1550,18 @@ export declare type CellInfoProps = {
|
|
|
1519
1550
|
value: string;
|
|
1520
1551
|
};
|
|
1521
1552
|
|
|
1522
|
-
export declare const Checkbox: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1553
|
+
export declare const Checkbox: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1554
|
+
click: (event: MouseEvent) => any;
|
|
1523
1555
|
"update:value": (value: boolean) => any;
|
|
1524
1556
|
}, string, PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
1557
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1525
1558
|
"onUpdate:value"?: ((value: boolean) => any) | undefined;
|
|
1526
1559
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
1527
1560
|
|
|
1561
|
+
export declare const CheckboxCell: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1562
|
+
|
|
1563
|
+
export declare type CheckboxCellProps = {};
|
|
1564
|
+
|
|
1528
1565
|
declare type CheckboxFilterItem = {
|
|
1529
1566
|
key: string;
|
|
1530
1567
|
label: string;
|
|
@@ -1542,7 +1579,7 @@ declare type CheckboxGroupFilter_2 = {
|
|
|
1542
1579
|
}[];
|
|
1543
1580
|
};
|
|
1544
1581
|
|
|
1545
|
-
export declare const CheckboxGroupFilterChip:
|
|
1582
|
+
export declare const CheckboxGroupFilterChip: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
1546
1583
|
|
|
1547
1584
|
export declare type CheckboxGroupFilterChipProps = {};
|
|
1548
1585
|
|
|
@@ -1611,10 +1648,10 @@ declare type DatepickerFilter_2 = {
|
|
|
1611
1648
|
isDisabled?: boolean;
|
|
1612
1649
|
};
|
|
1613
1650
|
|
|
1614
|
-
export declare const DatepickerFilterChip: DefineComponent<
|
|
1651
|
+
export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1615
1652
|
drop: (value: DatepickerFilterValue) => any;
|
|
1616
1653
|
apply: (value: DatepickerFilterValue) => any;
|
|
1617
|
-
}, string, PublicProps, Readonly<
|
|
1654
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
1618
1655
|
onDrop?: ((value: DatepickerFilterValue) => any) | undefined;
|
|
1619
1656
|
onApply?: ((value: DatepickerFilterValue) => any) | undefined;
|
|
1620
1657
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -2028,7 +2065,7 @@ declare type FieldBaseProps = {
|
|
|
2028
2065
|
|
|
2029
2066
|
export declare type Filter = CheckboxGroupFilter_2 | DatepickerFilter_2;
|
|
2030
2067
|
|
|
2031
|
-
export declare const FilterHub:
|
|
2068
|
+
export declare const FilterHub: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2032
2069
|
|
|
2033
2070
|
export declare type FilterHubProps = {
|
|
2034
2071
|
list: Filter[];
|
|
@@ -2065,7 +2102,7 @@ export declare type IconBaseProps = {
|
|
|
2065
2102
|
|
|
2066
2103
|
export declare type IconName = (typeof iconNames)[number];
|
|
2067
2104
|
|
|
2068
|
-
export declare const iconNames: readonly ["filled-success", "filled-warning", "outline-agreement", "outline-airplane", "outline-alert", "outline-api", "outline-arrow-down", "outline-arrow-up-down", "outline-arrow-up", "outline-balance-scale", "outline-bank", "outline-beach", "outline-box", "outline-briefcase", "outline-browser", "outline-brush", "outline-building", "outline-bulb", "outline-calendar", "outline-call", "outline-carousel", "outline-cash", "outline-check", "outline-checkmark-badge", "outline-chevron-down-huge", "outline-chevron-down", "outline-chevron-left", "outline-chevron-right", "outline-chevron-up", "outline-code", "outline-coins-stacks", "outline-computer", "outline-connect", "outline-copy", "outline-coupon-percent", "outline-coupon", "outline-credit-card-pos", "outline-credit-card", "outline-cross", "outline-currency_bold", "outline-currency_medium", "outline-currency_regular", "outline-currency_semibold", "outline-customer-service", "outline-delete", "outline-delivery-tracking", "outline-delivery-truck", "outline-distribute-horizontal-center", "outline-download", "outline-drag-drop-vertical", "outline-edit", "outline-euro", "outline-eye-close", "outline-eye-open", "outline-file", "outline-files", "outline-flash", "outline-h2", "outline-help-circle", "outline-image", "outline-link-square", "outline-link", "outline-list", "outline-lock-password", "outline-logout", "outline-mail-at-sign", "outline-megaphone", "outline-menu-dots", "outline-messenger", "outline-money-bag", "outline-money-safe", "outline-more-horizontal", "outline-more-vertical", "outline-mortarboard", "outline-move", "outline-paint-board", "outline-percent", "outline-phone-check", "outline-placeholder", "outline-plus", "outline-promo", "outline-qr", "outline-rocket", "outline-settings", "outline-shop-1", "outline-shop", "outline-snow", "outline-sort-by-down", "outline-sort-by-up", "outline-star", "outline-success", "outline-sun", "outline-tag", "outline-text-bold", "outline-text", "outline-time-quarter-pass", "outline-time", "outline-traffic-jam", "outline-trash", "outline-two-users", "outline-unavailable", "outline-upload", "outline-user", "outline-wallet-stack", "outline-wallet", "outline-warning", "static-telegram", "static-whats-app"];
|
|
2105
|
+
export declare const iconNames: readonly ["filled-success", "filled-warning", "outline-agreement", "outline-airplane", "outline-alert", "outline-api", "outline-arrow-down", "outline-arrow-up-down", "outline-arrow-up", "outline-balance-scale", "outline-bank", "outline-beach", "outline-box", "outline-briefcase", "outline-browser", "outline-brush", "outline-building", "outline-bulb", "outline-calendar", "outline-call", "outline-carousel", "outline-cash", "outline-check", "outline-checkmark-badge", "outline-chevron-down-huge", "outline-chevron-down", "outline-chevron-left", "outline-chevron-right", "outline-chevron-up", "outline-code", "outline-coins-stacks", "outline-computer", "outline-connect", "outline-copy", "outline-coupon-percent", "outline-coupon", "outline-credit-card-pos", "outline-credit-card", "outline-cross", "outline-currency_bold", "outline-currency_medium", "outline-currency_regular", "outline-currency_semibold", "outline-customer-service", "outline-delete", "outline-delivery-tracking", "outline-delivery-truck", "outline-distribute-horizontal-center", "outline-download", "outline-drag-drop-vertical", "outline-edit", "outline-euro", "outline-eye-close", "outline-eye-open", "outline-file", "outline-files", "outline-flash", "outline-h2", "outline-help-circle", "outline-image", "outline-link-square", "outline-link", "outline-list", "outline-lock-password", "outline-logout", "outline-mail-at-sign", "outline-megaphone", "outline-menu-dots", "outline-messenger", "outline-money-bag", "outline-money-safe", "outline-more-horizontal", "outline-more-vertical", "outline-mortarboard", "outline-move", "outline-paint-board", "outline-percent", "outline-phone-check", "outline-placeholder", "outline-plus", "outline-promo", "outline-qr", "outline-rocket", "outline-settings", "outline-shop-1", "outline-shop", "outline-snow", "outline-sort-by-down", "outline-sort-by-up", "outline-star", "outline-success", "outline-sun", "outline-tag", "outline-text-bold", "outline-text", "outline-time-quarter-pass", "outline-time", "outline-traffic-jam", "outline-trash", "outline-two-users", "outline-unavailable", "outline-upload", "outline-user", "outline-wallet-stack", "outline-wallet", "outline-warning", "outline_filter-horizontal", "static-telegram", "static-whats-app"];
|
|
2069
2106
|
|
|
2070
2107
|
export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconViewProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2071
2108
|
|
|
@@ -2086,7 +2123,7 @@ export declare const ImageRowSkeleton: DefineComponent< {}, {}, {}, {}, {}, C
|
|
|
2086
2123
|
|
|
2087
2124
|
export declare const Input: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2088
2125
|
|
|
2089
|
-
export declare const InputField:
|
|
2126
|
+
export declare const InputField: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2090
2127
|
|
|
2091
2128
|
export declare type InputFieldProps = {
|
|
2092
2129
|
autocomplete?: 'on' | 'off';
|
|
@@ -2105,7 +2142,7 @@ export declare type InputFieldProps = {
|
|
|
2105
2142
|
maxLength?: number | string;
|
|
2106
2143
|
};
|
|
2107
2144
|
|
|
2108
|
-
export declare const InputMaskField:
|
|
2145
|
+
export declare const InputMaskField: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2109
2146
|
|
|
2110
2147
|
export declare type InputMaskFieldProps = {
|
|
2111
2148
|
autofocus?: boolean;
|