@namba_one/ui-kit-2 1.0.162 → 1.0.163
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 +64 -28
- package/dist/index.es.js +38 -25
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -111,7 +111,15 @@ declare const __VLS_component_27: DefineComponent<__VLS_Props_14, {}, {}, {}, {}
|
|
|
111
111
|
|
|
112
112
|
declare const __VLS_component_28: DefineComponent<PageInfoCellProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PageInfoCellProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
113
113
|
|
|
114
|
-
declare const __VLS_component_29: DefineComponent<
|
|
114
|
+
declare const __VLS_component_29: DefineComponent<TooltipProps, {
|
|
115
|
+
open: typeof open_3;
|
|
116
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
117
|
+
triggerElementRef: HTMLDivElement;
|
|
118
|
+
}, HTMLDivElement>;
|
|
119
|
+
|
|
120
|
+
declare const __VLS_component_3: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
121
|
+
|
|
122
|
+
declare const __VLS_component_30: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
115
123
|
"update:values": (value: FilterValue[]) => any;
|
|
116
124
|
}, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
|
|
117
125
|
"onUpdate:values"?: ((value: FilterValue[]) => any) | undefined;
|
|
@@ -179,9 +187,7 @@ default?(_: {}): any;
|
|
|
179
187
|
triggerElementRef: HTMLDivElement;
|
|
180
188
|
}, HTMLDivElement>;
|
|
181
189
|
|
|
182
|
-
declare const
|
|
183
|
-
|
|
184
|
-
declare const __VLS_component_30: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
190
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
185
191
|
drop: (value: CheckboxGroupFilterValue) => any;
|
|
186
192
|
apply: (value: CheckboxGroupFilterValue) => any;
|
|
187
193
|
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
@@ -369,7 +375,7 @@ toggleItem: (item: CheckboxFilterItem, isSelected: boolean) => void;
|
|
|
369
375
|
}) | null;
|
|
370
376
|
}, any>;
|
|
371
377
|
|
|
372
|
-
declare const
|
|
378
|
+
declare const __VLS_component_32: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
373
379
|
"update:value": (value: string) => any;
|
|
374
380
|
"update:isError": (value: boolean) => any;
|
|
375
381
|
}, string, PublicProps, Readonly<__VLS_PublicProps_15> & Readonly<{
|
|
@@ -377,7 +383,7 @@ declare const __VLS_component_31: DefineComponent<__VLS_PublicProps_15, {}, {},
|
|
|
377
383
|
"onUpdate:isError"?: ((value: boolean) => any) | undefined;
|
|
378
384
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
379
385
|
|
|
380
|
-
declare const
|
|
386
|
+
declare const __VLS_component_33: DefineComponent<__VLS_PublicProps_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
381
387
|
"update:value": (value: string) => any;
|
|
382
388
|
"update:isError": (value: boolean) => any;
|
|
383
389
|
}, string, PublicProps, Readonly<__VLS_PublicProps_16> & Readonly<{
|
|
@@ -387,7 +393,7 @@ declare const __VLS_component_32: DefineComponent<__VLS_PublicProps_16, {}, {},
|
|
|
387
393
|
inputRef: any;
|
|
388
394
|
}, HTMLLabelElement>;
|
|
389
395
|
|
|
390
|
-
declare const
|
|
396
|
+
declare const __VLS_component_34: DefineComponent<__VLS_PublicProps_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
391
397
|
"update:active": (value: string) => any;
|
|
392
398
|
}, string, PublicProps, Readonly<__VLS_PublicProps_21> & Readonly<{
|
|
393
399
|
"onUpdate:active"?: ((value: string) => any) | undefined;
|
|
@@ -395,7 +401,7 @@ declare const __VLS_component_33: DefineComponent<__VLS_PublicProps_21, {}, {},
|
|
|
395
401
|
items: HTMLDivElement;
|
|
396
402
|
}, HTMLDivElement>;
|
|
397
403
|
|
|
398
|
-
declare const
|
|
404
|
+
declare const __VLS_component_35: DefineComponent<__VLS_PublicProps_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
399
405
|
"update:active": (value: string) => any;
|
|
400
406
|
}, string, PublicProps, Readonly<__VLS_PublicProps_22> & Readonly<{
|
|
401
407
|
"onUpdate:active"?: ((value: string) => any) | undefined;
|
|
@@ -848,6 +854,26 @@ declare function __VLS_template_28(): {
|
|
|
848
854
|
};
|
|
849
855
|
|
|
850
856
|
declare function __VLS_template_29(): {
|
|
857
|
+
attrs: Partial<{}>;
|
|
858
|
+
slots: {
|
|
859
|
+
default?(_: {}): any;
|
|
860
|
+
};
|
|
861
|
+
refs: {
|
|
862
|
+
triggerElementRef: HTMLDivElement;
|
|
863
|
+
};
|
|
864
|
+
rootEl: HTMLDivElement;
|
|
865
|
+
};
|
|
866
|
+
|
|
867
|
+
declare function __VLS_template_3(): {
|
|
868
|
+
attrs: Partial<{}>;
|
|
869
|
+
slots: {
|
|
870
|
+
default?(_: {}): any;
|
|
871
|
+
};
|
|
872
|
+
refs: {};
|
|
873
|
+
rootEl: any;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
declare function __VLS_template_30(): {
|
|
851
877
|
attrs: Partial<{}>;
|
|
852
878
|
slots: {
|
|
853
879
|
before?(_: {}): any;
|
|
@@ -932,16 +958,7 @@ declare function __VLS_template_29(): {
|
|
|
932
958
|
rootEl: HTMLDivElement;
|
|
933
959
|
};
|
|
934
960
|
|
|
935
|
-
declare function
|
|
936
|
-
attrs: Partial<{}>;
|
|
937
|
-
slots: {
|
|
938
|
-
default?(_: {}): any;
|
|
939
|
-
};
|
|
940
|
-
refs: {};
|
|
941
|
-
rootEl: any;
|
|
942
|
-
};
|
|
943
|
-
|
|
944
|
-
declare function __VLS_template_30(): {
|
|
961
|
+
declare function __VLS_template_31(): {
|
|
945
962
|
attrs: Partial<{}>;
|
|
946
963
|
slots: {
|
|
947
964
|
renderItem?(_: {
|
|
@@ -1134,7 +1151,7 @@ declare function __VLS_template_30(): {
|
|
|
1134
1151
|
rootEl: any;
|
|
1135
1152
|
};
|
|
1136
1153
|
|
|
1137
|
-
declare function
|
|
1154
|
+
declare function __VLS_template_32(): {
|
|
1138
1155
|
attrs: Partial<{}>;
|
|
1139
1156
|
slots: {
|
|
1140
1157
|
after?(_: {}): any;
|
|
@@ -1143,7 +1160,7 @@ declare function __VLS_template_31(): {
|
|
|
1143
1160
|
rootEl: HTMLLabelElement;
|
|
1144
1161
|
};
|
|
1145
1162
|
|
|
1146
|
-
declare function
|
|
1163
|
+
declare function __VLS_template_33(): {
|
|
1147
1164
|
attrs: Partial<{}>;
|
|
1148
1165
|
slots: {
|
|
1149
1166
|
after?(_: {}): any;
|
|
@@ -1154,7 +1171,7 @@ declare function __VLS_template_32(): {
|
|
|
1154
1171
|
rootEl: HTMLLabelElement;
|
|
1155
1172
|
};
|
|
1156
1173
|
|
|
1157
|
-
declare function
|
|
1174
|
+
declare function __VLS_template_34(): {
|
|
1158
1175
|
attrs: Partial<{}>;
|
|
1159
1176
|
slots: {
|
|
1160
1177
|
default?(_: {}): any;
|
|
@@ -1165,7 +1182,7 @@ declare function __VLS_template_33(): {
|
|
|
1165
1182
|
rootEl: HTMLDivElement;
|
|
1166
1183
|
};
|
|
1167
1184
|
|
|
1168
|
-
declare function
|
|
1185
|
+
declare function __VLS_template_35(): {
|
|
1169
1186
|
attrs: Partial<{}>;
|
|
1170
1187
|
slots: {
|
|
1171
1188
|
default?(_: {}): any;
|
|
@@ -1288,6 +1305,8 @@ declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
|
1288
1305
|
|
|
1289
1306
|
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
1290
1307
|
|
|
1308
|
+
declare type __VLS_TemplateResult_35 = ReturnType<typeof __VLS_template_35>;
|
|
1309
|
+
|
|
1291
1310
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1292
1311
|
|
|
1293
1312
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1468,6 +1487,12 @@ declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
|
1468
1487
|
};
|
|
1469
1488
|
};
|
|
1470
1489
|
|
|
1490
|
+
declare type __VLS_WithTemplateSlots_35<T, S> = T & {
|
|
1491
|
+
new (): {
|
|
1492
|
+
$slots: S;
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1471
1496
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1472
1497
|
new (): {
|
|
1473
1498
|
$slots: S;
|
|
@@ -1552,7 +1577,7 @@ export declare type BreadcrumbsProps = {
|
|
|
1552
1577
|
tag: 'a' | 'router-link';
|
|
1553
1578
|
};
|
|
1554
1579
|
|
|
1555
|
-
export declare const BubbleTabs:
|
|
1580
|
+
export declare const BubbleTabs: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
1556
1581
|
|
|
1557
1582
|
export declare type BubbleTabsProps = {};
|
|
1558
1583
|
|
|
@@ -1692,7 +1717,7 @@ declare type CheckboxGroupFilter_2 = {
|
|
|
1692
1717
|
}[];
|
|
1693
1718
|
};
|
|
1694
1719
|
|
|
1695
|
-
export declare const CheckboxGroupFilterChip:
|
|
1720
|
+
export declare const CheckboxGroupFilterChip: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
1696
1721
|
|
|
1697
1722
|
export declare type CheckboxGroupFilterChipProps = {};
|
|
1698
1723
|
|
|
@@ -2229,7 +2254,7 @@ declare type FieldBaseProps = {
|
|
|
2229
2254
|
|
|
2230
2255
|
export declare type Filter = CheckboxGroupFilter_2 | DatepickerFilter_2;
|
|
2231
2256
|
|
|
2232
|
-
export declare const FilterHub:
|
|
2257
|
+
export declare const FilterHub: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2233
2258
|
|
|
2234
2259
|
export declare type FilterHubProps = {
|
|
2235
2260
|
list: Filter[];
|
|
@@ -2242,7 +2267,7 @@ export declare type FilterValueBase<T = null> = {
|
|
|
2242
2267
|
value: T;
|
|
2243
2268
|
};
|
|
2244
2269
|
|
|
2245
|
-
export declare const FlatTabs:
|
|
2270
|
+
export declare const FlatTabs: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, __VLS_TemplateResult_35["slots"]>;
|
|
2246
2271
|
|
|
2247
2272
|
export declare type FlatTabsProps = {};
|
|
2248
2273
|
|
|
@@ -2295,7 +2320,7 @@ export declare const ImageRowSkeleton: DefineComponent< {}, {}, {}, {}, {}, C
|
|
|
2295
2320
|
|
|
2296
2321
|
export declare const Input: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2297
2322
|
|
|
2298
|
-
export declare const InputField:
|
|
2323
|
+
export declare const InputField: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2299
2324
|
|
|
2300
2325
|
export declare type InputFieldProps = {
|
|
2301
2326
|
autocomplete?: 'on' | 'off';
|
|
@@ -2314,7 +2339,7 @@ export declare type InputFieldProps = {
|
|
|
2314
2339
|
maxLength?: number | string;
|
|
2315
2340
|
};
|
|
2316
2341
|
|
|
2317
|
-
export declare const InputMaskField:
|
|
2342
|
+
export declare const InputMaskField: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2318
2343
|
|
|
2319
2344
|
export declare type InputMaskFieldProps = {
|
|
2320
2345
|
autofocus?: boolean;
|
|
@@ -2890,6 +2915,8 @@ declare function onDropFilter(value: FilterValue): void;
|
|
|
2890
2915
|
|
|
2891
2916
|
declare function open_2(): void;
|
|
2892
2917
|
|
|
2918
|
+
declare function open_3(timeout?: number): void;
|
|
2919
|
+
|
|
2893
2920
|
export declare const PageInfoCell: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2894
2921
|
|
|
2895
2922
|
export declare type PageInfoCellProps = {
|
|
@@ -3378,6 +3405,15 @@ export declare const Toggle: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}
|
|
|
3378
3405
|
|
|
3379
3406
|
declare function toggle(): void;
|
|
3380
3407
|
|
|
3408
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
3409
|
+
|
|
3410
|
+
export declare type TooltipProps = {
|
|
3411
|
+
text: string;
|
|
3412
|
+
verticalAlign?: DropdownElementProps['verticalAlign'];
|
|
3413
|
+
verticalOffset?: DropdownElementProps['verticalOffset'];
|
|
3414
|
+
behavior?: 'hover' | 'click' | 'manual';
|
|
3415
|
+
};
|
|
3416
|
+
|
|
3381
3417
|
export declare const TransitionFade: DefineComponent<ExtractPropTypes< {
|
|
3382
3418
|
appear: {
|
|
3383
3419
|
type: PropType<TransitionFadeProps["appear"]>;
|
package/dist/index.es.js
CHANGED
|
@@ -371,7 +371,7 @@ const os = {
|
|
|
371
371
|
return () => {
|
|
372
372
|
var r;
|
|
373
373
|
const t = (r = e.default) == null ? void 0 : r.call(e);
|
|
374
|
-
return
|
|
374
|
+
return Fo(
|
|
375
375
|
hn,
|
|
376
376
|
{
|
|
377
377
|
name: "fade",
|
|
@@ -20754,57 +20754,69 @@ const AB = /* @__PURE__ */ ue({
|
|
|
20754
20754
|
props: {
|
|
20755
20755
|
text: {},
|
|
20756
20756
|
verticalAlign: { default: "top" },
|
|
20757
|
-
verticalOffset: { default: 4 }
|
|
20757
|
+
verticalOffset: { default: 4 },
|
|
20758
|
+
behavior: { default: "hover" }
|
|
20758
20759
|
},
|
|
20759
|
-
setup(n) {
|
|
20760
|
-
const { isShowDropdown:
|
|
20761
|
-
function o() {
|
|
20762
|
-
t(!0);
|
|
20763
|
-
}
|
|
20760
|
+
setup(n, { expose: e }) {
|
|
20761
|
+
const { isShowDropdown: t, setIsShowDropdown: r, triggerElementRef: o } = Jo();
|
|
20764
20762
|
function i() {
|
|
20765
|
-
|
|
20763
|
+
n.behavior === "hover" && r(!0);
|
|
20766
20764
|
}
|
|
20767
|
-
|
|
20765
|
+
function s() {
|
|
20766
|
+
n.behavior === "hover" && r(!1);
|
|
20767
|
+
}
|
|
20768
|
+
function a() {
|
|
20769
|
+
n.behavior === "click" && l();
|
|
20770
|
+
}
|
|
20771
|
+
function l(u = 1e3) {
|
|
20772
|
+
r(!0), setTimeout(() => {
|
|
20773
|
+
r(!1);
|
|
20774
|
+
}, u);
|
|
20775
|
+
}
|
|
20776
|
+
return e({
|
|
20777
|
+
open: l
|
|
20778
|
+
}), (u, d) => (v(), S("div", {
|
|
20768
20779
|
ref_key: "triggerElementRef",
|
|
20769
|
-
ref:
|
|
20770
|
-
class: y(
|
|
20771
|
-
onMouseenter:
|
|
20772
|
-
onMouseleave:
|
|
20780
|
+
ref: o,
|
|
20781
|
+
class: y(u.$style.root),
|
|
20782
|
+
onMouseenter: i,
|
|
20783
|
+
onMouseleave: s,
|
|
20784
|
+
onClick: a
|
|
20773
20785
|
}, [
|
|
20774
|
-
se(
|
|
20786
|
+
se(u.$slots, "default"),
|
|
20775
20787
|
H(p(ei), {
|
|
20776
|
-
isShowDropdown: p(
|
|
20777
|
-
"onUpdate:isShowDropdown":
|
|
20778
|
-
"vertical-offset":
|
|
20788
|
+
isShowDropdown: p(t),
|
|
20789
|
+
"onUpdate:isShowDropdown": d[0] || (d[0] = (c) => gr(t) ? t.value = c : null),
|
|
20790
|
+
"vertical-offset": u.verticalOffset,
|
|
20779
20791
|
"horizontal-align": "center",
|
|
20780
|
-
"vertical-align":
|
|
20792
|
+
"vertical-align": u.verticalAlign
|
|
20781
20793
|
}, {
|
|
20782
|
-
default: P(({ align:
|
|
20794
|
+
default: P(({ align: c }) => [
|
|
20783
20795
|
W("div", {
|
|
20784
|
-
class: y([
|
|
20796
|
+
class: y([u.$style.wrapper, u.$style[`position_${c.vertical}`]])
|
|
20785
20797
|
}, [
|
|
20786
20798
|
W("div", {
|
|
20787
|
-
class: y(
|
|
20799
|
+
class: y(u.$style.balloon)
|
|
20788
20800
|
}, [
|
|
20789
20801
|
H(p(Be), {
|
|
20790
|
-
class: y(
|
|
20802
|
+
class: y(u.$style.text),
|
|
20791
20803
|
name: "caption",
|
|
20792
20804
|
color: "foreground-element-tooltip-primary"
|
|
20793
20805
|
}, {
|
|
20794
20806
|
default: P(() => [
|
|
20795
|
-
we(me(
|
|
20807
|
+
we(me(u.text), 1)
|
|
20796
20808
|
]),
|
|
20797
20809
|
_: 1
|
|
20798
20810
|
}, 8, ["class"])
|
|
20799
20811
|
], 2),
|
|
20800
20812
|
(v(), S("svg", {
|
|
20801
|
-
class: y(
|
|
20813
|
+
class: y(u.$style.shape),
|
|
20802
20814
|
width: "12",
|
|
20803
20815
|
height: "4",
|
|
20804
20816
|
viewBox: "0 0 12 4",
|
|
20805
20817
|
fill: "none",
|
|
20806
20818
|
xmlns: "http://www.w3.org/2000/svg"
|
|
20807
|
-
},
|
|
20819
|
+
}, d[1] || (d[1] = [
|
|
20808
20820
|
W("path", {
|
|
20809
20821
|
d: "M4.58579 2.58579C5.36684 3.36684 6.63317 3.36683 7.41421 2.58579L8.82843 1.17157C9.57857 0.421426 10.596 0 11.6569 0H12H0H0.343146C1.40401 0 2.42143 0.421427 3.17157 1.17157L4.58579 2.58579Z",
|
|
20810
20822
|
"fill-opacity": "0.9"
|
|
@@ -36711,6 +36723,7 @@ export {
|
|
|
36711
36723
|
t6 as Toaster,
|
|
36712
36724
|
ZP as ToasterProvider,
|
|
36713
36725
|
tp as Toggle,
|
|
36726
|
+
zB as Tooltip,
|
|
36714
36727
|
br as TransitionFade,
|
|
36715
36728
|
Cn as TransitionFadeBlur,
|
|
36716
36729
|
UP as TransitionHeight,
|