@namba_one/ui-kit-2 1.0.100 → 1.0.102
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 +100 -15
- package/dist/index.es.js +7415 -6983
- package/dist/index.umd.js +8 -8
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -78,7 +78,13 @@ rootRef: HTMLDivElement;
|
|
|
78
78
|
toastersRef: HTMLDivElement[];
|
|
79
79
|
}, any>;
|
|
80
80
|
|
|
81
|
-
declare const __VLS_component_21: DefineComponent<
|
|
81
|
+
declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
82
|
+
|
|
83
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
84
|
+
containerRef: HTMLDivElement;
|
|
85
|
+
}, HTMLDivElement>;
|
|
86
|
+
|
|
87
|
+
declare const __VLS_component_23: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
82
88
|
"update:values": (value: FilterValue[]) => any;
|
|
83
89
|
}, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
|
|
84
90
|
"onUpdate:values"?: ((value: FilterValue[]) => any) | undefined;
|
|
@@ -146,9 +152,9 @@ default?(_: {}): any;
|
|
|
146
152
|
triggerElementRef: HTMLDivElement;
|
|
147
153
|
}, HTMLDivElement>;
|
|
148
154
|
|
|
149
|
-
declare const
|
|
155
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
150
156
|
apply: (value: string[] | null) => any;
|
|
151
|
-
}, string, PublicProps, Readonly<
|
|
157
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
152
158
|
onApply?: ((value: string[] | null) => any) | undefined;
|
|
153
159
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
154
160
|
|
|
@@ -203,6 +209,10 @@ click: () => any;
|
|
|
203
209
|
onClick?: (() => any) | undefined;
|
|
204
210
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
205
211
|
|
|
212
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
213
|
+
[K in keyof T]: T[K];
|
|
214
|
+
} & {};
|
|
215
|
+
|
|
206
216
|
/**
|
|
207
217
|
* @author Sokolov D <ds@burno.tech>
|
|
208
218
|
*/
|
|
@@ -216,19 +226,24 @@ declare type __VLS_Props_11 = DropdownElementProps;
|
|
|
216
226
|
|
|
217
227
|
declare type __VLS_Props_12 = ThemePickerProps;
|
|
218
228
|
|
|
219
|
-
declare type __VLS_Props_13 =
|
|
229
|
+
declare type __VLS_Props_13 = {
|
|
230
|
+
isHeight?: boolean;
|
|
231
|
+
duration?: number | string;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
declare type __VLS_Props_14 = FilterHubProps;
|
|
220
235
|
|
|
221
|
-
declare type
|
|
236
|
+
declare type __VLS_Props_15 = {
|
|
222
237
|
list: CheckboxFilterItem[];
|
|
223
238
|
initialValue: string[];
|
|
224
239
|
};
|
|
225
240
|
|
|
226
|
-
declare type
|
|
241
|
+
declare type __VLS_Props_16 = {
|
|
227
242
|
filter: CheckboxGroupFilter;
|
|
228
243
|
value: CheckboxGroupFilterValue;
|
|
229
244
|
};
|
|
230
245
|
|
|
231
|
-
declare type
|
|
246
|
+
declare type __VLS_Props_17 = {
|
|
232
247
|
filter: DatepickerFilter_2;
|
|
233
248
|
value: DatepickerFilterValue;
|
|
234
249
|
};
|
|
@@ -267,7 +282,7 @@ declare type __VLS_PublicProps_12 = {
|
|
|
267
282
|
|
|
268
283
|
declare type __VLS_PublicProps_13 = {
|
|
269
284
|
'values': FilterValue[];
|
|
270
|
-
} &
|
|
285
|
+
} & __VLS_Props_14;
|
|
271
286
|
|
|
272
287
|
declare type __VLS_PublicProps_2 = {
|
|
273
288
|
'list': CardContentListProps['list'];
|
|
@@ -435,6 +450,26 @@ declare function __VLS_template_20(): {
|
|
|
435
450
|
};
|
|
436
451
|
|
|
437
452
|
declare function __VLS_template_21(): {
|
|
453
|
+
attrs: Partial<{}>;
|
|
454
|
+
slots: {
|
|
455
|
+
default?(_: {}): any;
|
|
456
|
+
};
|
|
457
|
+
refs: {};
|
|
458
|
+
rootEl: HTMLDivElement;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
declare function __VLS_template_22(): {
|
|
462
|
+
attrs: Partial<{}>;
|
|
463
|
+
slots: {
|
|
464
|
+
default?(_: {}): any;
|
|
465
|
+
};
|
|
466
|
+
refs: {
|
|
467
|
+
containerRef: HTMLDivElement;
|
|
468
|
+
};
|
|
469
|
+
rootEl: HTMLDivElement;
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
declare function __VLS_template_23(): {
|
|
438
473
|
attrs: Partial<{}>;
|
|
439
474
|
slots: {
|
|
440
475
|
before?(_: {}): any;
|
|
@@ -519,7 +554,7 @@ declare function __VLS_template_21(): {
|
|
|
519
554
|
rootEl: HTMLDivElement;
|
|
520
555
|
};
|
|
521
556
|
|
|
522
|
-
declare function
|
|
557
|
+
declare function __VLS_template_24(): {
|
|
523
558
|
attrs: Partial<{}>;
|
|
524
559
|
slots: {
|
|
525
560
|
renderItem?(_: {
|
|
@@ -627,6 +662,10 @@ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
|
627
662
|
|
|
628
663
|
declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
|
|
629
664
|
|
|
665
|
+
declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
666
|
+
|
|
667
|
+
declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
|
|
668
|
+
|
|
630
669
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
631
670
|
|
|
632
671
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -731,6 +770,18 @@ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
|
|
|
731
770
|
};
|
|
732
771
|
};
|
|
733
772
|
|
|
773
|
+
declare type __VLS_WithTemplateSlots_23<T, S> = T & {
|
|
774
|
+
new (): {
|
|
775
|
+
$slots: S;
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
declare type __VLS_WithTemplateSlots_24<T, S> = T & {
|
|
780
|
+
new (): {
|
|
781
|
+
$slots: S;
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
|
|
734
785
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
735
786
|
new (): {
|
|
736
787
|
$slots: S;
|
|
@@ -777,6 +828,8 @@ declare const aligns: readonly ["left", "center", "right"];
|
|
|
777
828
|
|
|
778
829
|
declare const allAcceptTypes: readonly string[];
|
|
779
830
|
|
|
831
|
+
export declare const AnimationFadeBlur: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
832
|
+
|
|
780
833
|
export declare const Avatar: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
781
834
|
|
|
782
835
|
export declare type AvatarProps = {
|
|
@@ -946,10 +999,10 @@ export declare type CheckboxGroupFilter = {
|
|
|
946
999
|
}[];
|
|
947
1000
|
};
|
|
948
1001
|
|
|
949
|
-
export declare const CheckboxGroupFilterChip: DefineComponent<
|
|
1002
|
+
export declare const CheckboxGroupFilterChip: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
950
1003
|
drop: (value: CheckboxGroupFilterValue) => any;
|
|
951
1004
|
apply: (value: CheckboxGroupFilterValue) => any;
|
|
952
|
-
}, string, PublicProps, Readonly<
|
|
1005
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
953
1006
|
onDrop?: ((value: CheckboxGroupFilterValue) => any) | undefined;
|
|
954
1007
|
onApply?: ((value: CheckboxGroupFilterValue) => any) | undefined;
|
|
955
1008
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -1158,7 +1211,7 @@ export declare type CheckboxGroupFilterProps = {};
|
|
|
1158
1211
|
|
|
1159
1212
|
export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
1160
1213
|
|
|
1161
|
-
export declare const CheckboxGroupFilterView:
|
|
1214
|
+
export declare const CheckboxGroupFilterView: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1162
1215
|
|
|
1163
1216
|
export declare type CheckboxProps = {
|
|
1164
1217
|
value: boolean;
|
|
@@ -1214,10 +1267,10 @@ declare type DatepickerFilter_2 = {
|
|
|
1214
1267
|
kind: 'datepicker';
|
|
1215
1268
|
};
|
|
1216
1269
|
|
|
1217
|
-
export declare const DatepickerFilterChip: DefineComponent<
|
|
1270
|
+
export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1218
1271
|
drop: (value: DatepickerFilterValue) => any;
|
|
1219
1272
|
apply: (value: DatepickerFilterValue) => any;
|
|
1220
|
-
}, string, PublicProps, Readonly<
|
|
1273
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1221
1274
|
onDrop?: ((value: DatepickerFilterValue) => any) | undefined;
|
|
1222
1275
|
onApply?: ((value: DatepickerFilterValue) => any) | undefined;
|
|
1223
1276
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -1614,7 +1667,7 @@ declare type EmptyResponseProps = ResponseBaseProps & {
|
|
|
1614
1667
|
|
|
1615
1668
|
export declare type Filter = CheckboxGroupFilter | DatepickerFilter_2;
|
|
1616
1669
|
|
|
1617
|
-
export declare const FilterHub:
|
|
1670
|
+
export declare const FilterHub: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1618
1671
|
|
|
1619
1672
|
export declare type FilterHubProps = {
|
|
1620
1673
|
list: Filter[];
|
|
@@ -2046,6 +2099,38 @@ export declare type StepsProps = {
|
|
|
2046
2099
|
list: StepItemProps['text'][];
|
|
2047
2100
|
};
|
|
2048
2101
|
|
|
2102
|
+
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;
|
|
2111
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
2112
|
+
attrs: any;
|
|
2113
|
+
slots: {
|
|
2114
|
+
renderSkeletonRow?(_: {
|
|
2115
|
+
key: number;
|
|
2116
|
+
}): any;
|
|
2117
|
+
renderTableRow?(_: {
|
|
2118
|
+
item: T;
|
|
2119
|
+
index: number;
|
|
2120
|
+
}): any;
|
|
2121
|
+
renderEmpty?(_: {}): any;
|
|
2122
|
+
};
|
|
2123
|
+
emit: {};
|
|
2124
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
2125
|
+
[key: string]: any;
|
|
2126
|
+
}> & {
|
|
2127
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2128
|
+
};
|
|
2129
|
+
|
|
2130
|
+
export declare type TableProps = {};
|
|
2131
|
+
|
|
2132
|
+
export declare const TableRow: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
2133
|
+
|
|
2049
2134
|
export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2050
2135
|
"update:value": (value: Maybe<string | number> | undefined) => any;
|
|
2051
2136
|
}, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
|