@namba_one/ui-kit-2 1.0.23 → 1.0.25
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 +330 -65
- package/dist/index.es.js +14209 -4960
- package/dist/index.umd.js +15 -15
- package/dist/namba-one-uikit.css +1 -1
- package/dist/sprite/sprite.svg +108 -217
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -31,9 +31,17 @@ import { WatchStopHandle } from 'vue';
|
|
|
31
31
|
|
|
32
32
|
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
33
|
|
|
34
|
-
declare const __VLS_component_10: DefineComponent<
|
|
34
|
+
declare const __VLS_component_10: DefineComponent<LinkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
35
|
+
click: () => any;
|
|
36
|
+
}, string, PublicProps, Readonly<LinkProps> & Readonly<{
|
|
37
|
+
onClick?: (() => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
|
|
40
|
+
declare const __VLS_component_11: DefineComponent<ResponseBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ResponseBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
|
|
42
|
+
declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
35
43
|
|
|
36
|
-
declare const
|
|
44
|
+
declare const __VLS_component_13: DefineComponent<SelectBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
37
45
|
close: () => any;
|
|
38
46
|
clickField: () => any;
|
|
39
47
|
clickOutside: () => any;
|
|
@@ -49,7 +57,7 @@ wrapperRef: HTMLDivElement;
|
|
|
49
57
|
dropdownRef: HTMLDivElement;
|
|
50
58
|
}, HTMLDivElement>;
|
|
51
59
|
|
|
52
|
-
declare const
|
|
60
|
+
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
53
61
|
|
|
54
62
|
declare const __VLS_component_2: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
55
63
|
|
|
@@ -85,39 +93,118 @@ close: () => any;
|
|
|
85
93
|
onClose?: (() => any) | undefined;
|
|
86
94
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
87
95
|
|
|
88
|
-
declare const __VLS_component_8: DefineComponent<
|
|
89
|
-
|
|
90
|
-
}, string, PublicProps, Readonly<
|
|
91
|
-
|
|
92
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
96
|
+
declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
97
|
+
"update:values": (value: FilterValue[]) => any;
|
|
98
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
99
|
+
"onUpdate:values"?: ((value: FilterValue[]) => any) | undefined;
|
|
100
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
101
|
+
parentElementRef: ({
|
|
102
|
+
$: ComponentInternalInstance;
|
|
103
|
+
$data: {};
|
|
104
|
+
$props: {
|
|
105
|
+
readonly tag?: tags_2[number] | undefined;
|
|
106
|
+
readonly href?: string | undefined;
|
|
107
|
+
readonly isLoading?: boolean | undefined;
|
|
108
|
+
readonly isDisabled?: boolean | undefined;
|
|
109
|
+
readonly view?: views_2[number] | undefined;
|
|
110
|
+
readonly size?: sizes_2[number] | undefined;
|
|
111
|
+
readonly isWide?: boolean | undefined;
|
|
112
|
+
readonly iconLeft?: IconName | undefined;
|
|
113
|
+
readonly iconRight?: IconName | undefined;
|
|
114
|
+
readonly onClick?: ((e: Event) => any) | undefined;
|
|
115
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
116
|
+
$attrs: {
|
|
117
|
+
[x: string]: unknown;
|
|
118
|
+
};
|
|
119
|
+
$refs: {
|
|
120
|
+
[x: string]: unknown;
|
|
121
|
+
};
|
|
122
|
+
$slots: Readonly<{
|
|
123
|
+
[name: string]: Slot<any> | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
$root: ComponentPublicInstance | null;
|
|
126
|
+
$parent: ComponentPublicInstance | null;
|
|
127
|
+
$host: Element | null;
|
|
128
|
+
$emit: (event: "click", e: Event) => void;
|
|
129
|
+
$el: any;
|
|
130
|
+
$options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
|
|
131
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
132
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
133
|
+
click: (e: Event) => any;
|
|
134
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
135
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
136
|
+
created?: (() => void) | (() => void)[];
|
|
137
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
138
|
+
mounted?: (() => void) | (() => void)[];
|
|
139
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
140
|
+
updated?: (() => void) | (() => void)[];
|
|
141
|
+
activated?: (() => void) | (() => void)[];
|
|
142
|
+
deactivated?: (() => void) | (() => void)[];
|
|
143
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
144
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
145
|
+
destroyed?: (() => void) | (() => void)[];
|
|
146
|
+
unmounted?: (() => void) | (() => void)[];
|
|
147
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
148
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
149
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
150
|
+
};
|
|
151
|
+
$forceUpdate: () => void;
|
|
152
|
+
$nextTick: nextTick;
|
|
153
|
+
$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;
|
|
154
|
+
} & Readonly<{}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
155
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
156
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
157
|
+
$slots: {
|
|
158
|
+
default?(_: {}): any;
|
|
159
|
+
};
|
|
160
|
+
}) | null;
|
|
161
|
+
triggerElementRef: HTMLDivElement;
|
|
162
|
+
}, HTMLDivElement>;
|
|
93
163
|
|
|
94
|
-
declare const __VLS_component_9: DefineComponent<
|
|
164
|
+
declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
165
|
+
"update:value": (value: string | null | undefined) => any;
|
|
166
|
+
} & {
|
|
167
|
+
"update:error": (value: boolean) => any;
|
|
168
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
169
|
+
"onUpdate:value"?: ((value: string | null | undefined) => any) | undefined;
|
|
170
|
+
"onUpdate:error"?: ((value: boolean) => any) | undefined;
|
|
171
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
172
|
+
inputRef: any;
|
|
173
|
+
}, HTMLDivElement>;
|
|
95
174
|
|
|
96
175
|
declare type __VLS_Props = CardContentProps;
|
|
97
176
|
|
|
177
|
+
declare type __VLS_Props_10 = StatusSelectProps;
|
|
178
|
+
|
|
98
179
|
declare type __VLS_Props_2 = CardContentListProps;
|
|
99
180
|
|
|
100
181
|
declare type __VLS_Props_3 = DropzoneProps;
|
|
101
182
|
|
|
102
|
-
declare type __VLS_Props_4 =
|
|
183
|
+
declare type __VLS_Props_4 = {
|
|
184
|
+
list: Filter[];
|
|
185
|
+
};
|
|
103
186
|
|
|
104
|
-
declare type __VLS_Props_5 =
|
|
187
|
+
declare type __VLS_Props_5 = InputProps;
|
|
105
188
|
|
|
106
|
-
declare type __VLS_Props_6 =
|
|
189
|
+
declare type __VLS_Props_6 = ListHeaderProps;
|
|
107
190
|
|
|
108
|
-
declare type __VLS_Props_7 =
|
|
191
|
+
declare type __VLS_Props_7 = SelectProps;
|
|
109
192
|
|
|
110
|
-
declare type __VLS_Props_8 =
|
|
193
|
+
declare type __VLS_Props_8 = ColorPickerProps;
|
|
111
194
|
|
|
112
|
-
declare type __VLS_Props_9 =
|
|
195
|
+
declare type __VLS_Props_9 = TabsProps;
|
|
113
196
|
|
|
114
197
|
declare type __VLS_PublicProps = {
|
|
115
198
|
'value': boolean;
|
|
116
199
|
} & __VLS_Props;
|
|
117
200
|
|
|
118
201
|
declare type __VLS_PublicProps_10 = {
|
|
202
|
+
'value': boolean;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
declare type __VLS_PublicProps_11 = {
|
|
119
206
|
'value': StatusSelectProps['value'];
|
|
120
|
-
} &
|
|
207
|
+
} & __VLS_Props_10;
|
|
121
208
|
|
|
122
209
|
declare type __VLS_PublicProps_2 = {
|
|
123
210
|
'list': CardContentListProps['list'];
|
|
@@ -129,28 +216,28 @@ declare type __VLS_PublicProps_3 = {
|
|
|
129
216
|
} & __VLS_Props_3;
|
|
130
217
|
|
|
131
218
|
declare type __VLS_PublicProps_4 = {
|
|
132
|
-
'
|
|
219
|
+
'values': FilterValue[];
|
|
133
220
|
} & __VLS_Props_4;
|
|
134
221
|
|
|
135
222
|
declare type __VLS_PublicProps_5 = {
|
|
136
|
-
'
|
|
223
|
+
'value'?: string | undefined | null;
|
|
137
224
|
} & __VLS_Props_5;
|
|
138
225
|
|
|
139
226
|
declare type __VLS_PublicProps_6 = {
|
|
140
|
-
'
|
|
227
|
+
'isSortable': ListHeaderProps['isSortable'];
|
|
141
228
|
} & __VLS_Props_6;
|
|
142
229
|
|
|
143
230
|
declare type __VLS_PublicProps_7 = {
|
|
144
|
-
'value'
|
|
231
|
+
'value'?: Maybe<string | number>;
|
|
145
232
|
} & __VLS_Props_7;
|
|
146
233
|
|
|
147
234
|
declare type __VLS_PublicProps_8 = {
|
|
148
|
-
'value':
|
|
235
|
+
'value': Value;
|
|
149
236
|
} & __VLS_Props_8;
|
|
150
237
|
|
|
151
238
|
declare type __VLS_PublicProps_9 = {
|
|
152
|
-
'value':
|
|
153
|
-
};
|
|
239
|
+
'value': TabsProps['value'];
|
|
240
|
+
} & __VLS_Props_9;
|
|
154
241
|
|
|
155
242
|
declare function __VLS_template(): {
|
|
156
243
|
attrs: Partial<{}>;
|
|
@@ -167,10 +254,28 @@ declare function __VLS_template_10(): {
|
|
|
167
254
|
default?(_: {}): any;
|
|
168
255
|
};
|
|
169
256
|
refs: {};
|
|
170
|
-
rootEl:
|
|
257
|
+
rootEl: any;
|
|
171
258
|
};
|
|
172
259
|
|
|
173
260
|
declare function __VLS_template_11(): {
|
|
261
|
+
attrs: Partial<{}>;
|
|
262
|
+
slots: {
|
|
263
|
+
default?(_: {}): any;
|
|
264
|
+
};
|
|
265
|
+
refs: {};
|
|
266
|
+
rootEl: HTMLDivElement;
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
declare function __VLS_template_12(): {
|
|
270
|
+
attrs: Partial<{}>;
|
|
271
|
+
slots: {
|
|
272
|
+
default?(_: {}): any;
|
|
273
|
+
};
|
|
274
|
+
refs: {};
|
|
275
|
+
rootEl: HTMLElement;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
declare function __VLS_template_13(): {
|
|
174
279
|
attrs: Partial<{}>;
|
|
175
280
|
slots: {
|
|
176
281
|
field?(_: {}): any;
|
|
@@ -184,7 +289,7 @@ declare function __VLS_template_11(): {
|
|
|
184
289
|
rootEl: HTMLDivElement;
|
|
185
290
|
};
|
|
186
291
|
|
|
187
|
-
declare function
|
|
292
|
+
declare function __VLS_template_14(): {
|
|
188
293
|
attrs: Partial<{}>;
|
|
189
294
|
slots: {
|
|
190
295
|
default?(_: {}): any;
|
|
@@ -250,10 +355,98 @@ declare function __VLS_template_7(): {
|
|
|
250
355
|
declare function __VLS_template_8(): {
|
|
251
356
|
attrs: Partial<{}>;
|
|
252
357
|
slots: {
|
|
253
|
-
|
|
358
|
+
before?(_: {}): any;
|
|
359
|
+
renderItem?(_: {
|
|
360
|
+
activeFilter: {
|
|
361
|
+
key: string;
|
|
362
|
+
label: string;
|
|
363
|
+
kind: "checkbox-group";
|
|
364
|
+
options: {
|
|
365
|
+
key: string;
|
|
366
|
+
label: string;
|
|
367
|
+
}[];
|
|
368
|
+
} | {
|
|
369
|
+
key: string;
|
|
370
|
+
label: string;
|
|
371
|
+
kind: "datepicker";
|
|
372
|
+
};
|
|
373
|
+
onApply: typeof onApply;
|
|
374
|
+
getFilterValue: typeof getFilterValue;
|
|
375
|
+
}): any;
|
|
376
|
+
renderChip?(_: {
|
|
377
|
+
item: {
|
|
378
|
+
kind: "checkbox-group" | "datepicker";
|
|
379
|
+
filter: Filter;
|
|
380
|
+
value: FilterValue;
|
|
381
|
+
};
|
|
382
|
+
apply: typeof onApply;
|
|
383
|
+
drop: typeof onDropFilter;
|
|
384
|
+
}): any;
|
|
254
385
|
};
|
|
255
|
-
refs: {
|
|
256
|
-
|
|
386
|
+
refs: {
|
|
387
|
+
parentElementRef: ({
|
|
388
|
+
$: ComponentInternalInstance;
|
|
389
|
+
$data: {};
|
|
390
|
+
$props: {
|
|
391
|
+
readonly tag?: tags_2[number] | undefined;
|
|
392
|
+
readonly href?: string | undefined;
|
|
393
|
+
readonly isLoading?: boolean | undefined;
|
|
394
|
+
readonly isDisabled?: boolean | undefined;
|
|
395
|
+
readonly view?: views_2[number] | undefined;
|
|
396
|
+
readonly size?: sizes_2[number] | undefined;
|
|
397
|
+
readonly isWide?: boolean | undefined;
|
|
398
|
+
readonly iconLeft?: IconName | undefined;
|
|
399
|
+
readonly iconRight?: IconName | undefined;
|
|
400
|
+
readonly onClick?: ((e: Event) => any) | undefined;
|
|
401
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
402
|
+
$attrs: {
|
|
403
|
+
[x: string]: unknown;
|
|
404
|
+
};
|
|
405
|
+
$refs: {
|
|
406
|
+
[x: string]: unknown;
|
|
407
|
+
};
|
|
408
|
+
$slots: Readonly<{
|
|
409
|
+
[name: string]: Slot<any> | undefined;
|
|
410
|
+
}>;
|
|
411
|
+
$root: ComponentPublicInstance | null;
|
|
412
|
+
$parent: ComponentPublicInstance | null;
|
|
413
|
+
$host: Element | null;
|
|
414
|
+
$emit: (event: "click", e: Event) => void;
|
|
415
|
+
$el: any;
|
|
416
|
+
$options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
|
|
417
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
418
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
419
|
+
click: (e: Event) => any;
|
|
420
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
421
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
422
|
+
created?: (() => void) | (() => void)[];
|
|
423
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
424
|
+
mounted?: (() => void) | (() => void)[];
|
|
425
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
426
|
+
updated?: (() => void) | (() => void)[];
|
|
427
|
+
activated?: (() => void) | (() => void)[];
|
|
428
|
+
deactivated?: (() => void) | (() => void)[];
|
|
429
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
430
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
431
|
+
destroyed?: (() => void) | (() => void)[];
|
|
432
|
+
unmounted?: (() => void) | (() => void)[];
|
|
433
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
434
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
435
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
436
|
+
};
|
|
437
|
+
$forceUpdate: () => void;
|
|
438
|
+
$nextTick: nextTick;
|
|
439
|
+
$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;
|
|
440
|
+
} & Readonly<{}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
441
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
442
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
443
|
+
$slots: {
|
|
444
|
+
default?(_: {}): any;
|
|
445
|
+
};
|
|
446
|
+
}) | null;
|
|
447
|
+
triggerElementRef: HTMLDivElement;
|
|
448
|
+
};
|
|
449
|
+
rootEl: HTMLDivElement;
|
|
257
450
|
};
|
|
258
451
|
|
|
259
452
|
declare function __VLS_template_9(): {
|
|
@@ -261,7 +454,9 @@ declare function __VLS_template_9(): {
|
|
|
261
454
|
slots: {
|
|
262
455
|
default?(_: {}): any;
|
|
263
456
|
};
|
|
264
|
-
refs: {
|
|
457
|
+
refs: {
|
|
458
|
+
inputRef: any;
|
|
459
|
+
};
|
|
265
460
|
rootEl: HTMLDivElement;
|
|
266
461
|
};
|
|
267
462
|
|
|
@@ -273,6 +468,10 @@ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
|
273
468
|
|
|
274
469
|
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
275
470
|
|
|
471
|
+
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
472
|
+
|
|
473
|
+
declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
|
|
474
|
+
|
|
276
475
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
277
476
|
|
|
278
477
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -313,6 +512,18 @@ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
|
313
512
|
};
|
|
314
513
|
};
|
|
315
514
|
|
|
515
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
516
|
+
new (): {
|
|
517
|
+
$slots: S;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
522
|
+
new (): {
|
|
523
|
+
$slots: S;
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
|
|
316
527
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
317
528
|
new (): {
|
|
318
529
|
$slots: S;
|
|
@@ -469,6 +680,18 @@ export declare type CardContentSkeletonProps = {
|
|
|
469
680
|
isShowImage?: boolean;
|
|
470
681
|
};
|
|
471
682
|
|
|
683
|
+
export declare type CheckboxGroupFilter = {
|
|
684
|
+
key: string;
|
|
685
|
+
label: string;
|
|
686
|
+
kind: 'checkbox-group';
|
|
687
|
+
options: {
|
|
688
|
+
key: string;
|
|
689
|
+
label: string;
|
|
690
|
+
}[];
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
export declare type CheckboxGroupFilterValue = FilterValueBase<string[]>;
|
|
694
|
+
|
|
472
695
|
export declare const Chip: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
473
696
|
|
|
474
697
|
export declare type ChipEmits = {
|
|
@@ -486,9 +709,9 @@ export declare type Color = typeof colors[number];
|
|
|
486
709
|
|
|
487
710
|
declare type ColorInput = string | null;
|
|
488
711
|
|
|
489
|
-
export declare const ColorPicker: DefineComponent<
|
|
712
|
+
export declare const ColorPicker: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
490
713
|
"update:value": (value: Value) => any;
|
|
491
|
-
}, string, PublicProps, Readonly<
|
|
714
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
|
|
492
715
|
"onUpdate:value"?: ((value: Value) => any) | undefined;
|
|
493
716
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
494
717
|
inputRef: any;
|
|
@@ -504,6 +727,14 @@ export declare const Currency: {
|
|
|
504
727
|
|
|
505
728
|
export declare type Currency = (typeof Currency)[keyof typeof Currency];
|
|
506
729
|
|
|
730
|
+
export declare type DatepickerFilter = {
|
|
731
|
+
key: string;
|
|
732
|
+
label: string;
|
|
733
|
+
kind: 'datepicker';
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
export declare type DatepickerFilterValue = FilterValueBase<Date[]>;
|
|
737
|
+
|
|
507
738
|
export declare const Divider: DefineComponent<DividerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
508
739
|
|
|
509
740
|
export declare type DividerProps = {
|
|
@@ -565,6 +796,21 @@ declare type EmptyResponseProps = ResponseBaseProps & {
|
|
|
565
796
|
route?: string;
|
|
566
797
|
};
|
|
567
798
|
|
|
799
|
+
export declare type Filter = CheckboxGroupFilter | DatepickerFilter;
|
|
800
|
+
|
|
801
|
+
export declare const FilterHub: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
802
|
+
|
|
803
|
+
export declare type FilterHubProps = {};
|
|
804
|
+
|
|
805
|
+
export declare type FilterValue = CheckboxGroupFilterValue | DatepickerFilterValue;
|
|
806
|
+
|
|
807
|
+
declare type FilterValueBase<T = null> = {
|
|
808
|
+
key: string;
|
|
809
|
+
value: T;
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
declare function getFilterValue<T extends FilterValue>(filter: Filter, defaultValue: T['value']): T['value'];
|
|
813
|
+
|
|
568
814
|
declare type GlobalConfig = {
|
|
569
815
|
interactionType: InteractionType;
|
|
570
816
|
};
|
|
@@ -582,6 +828,7 @@ export declare type IconBaseProps = {
|
|
|
582
828
|
name: IconName;
|
|
583
829
|
color: Color;
|
|
584
830
|
size?: number | string;
|
|
831
|
+
height?: string | number;
|
|
585
832
|
};
|
|
586
833
|
|
|
587
834
|
export declare type IconName = (typeof iconNames)[number];
|
|
@@ -592,7 +839,9 @@ export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, Co
|
|
|
592
839
|
|
|
593
840
|
export declare type IconViewProps = {
|
|
594
841
|
icon: IconName;
|
|
842
|
+
view?: (typeof views_4)[number];
|
|
595
843
|
size: (typeof sizes_4)[number];
|
|
844
|
+
isRounded?: boolean;
|
|
596
845
|
};
|
|
597
846
|
|
|
598
847
|
export declare const ImageRow: DefineComponent<ImageRowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageRowProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -603,16 +852,7 @@ export declare type ImageRowProps = {
|
|
|
603
852
|
|
|
604
853
|
export declare const ImageRowSkeleton: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
605
854
|
|
|
606
|
-
export declare const Input:
|
|
607
|
-
"update:value": (value: string | null | undefined) => any;
|
|
608
|
-
} & {
|
|
609
|
-
"update:error": (value: boolean) => any;
|
|
610
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
611
|
-
"onUpdate:value"?: ((value: string | null | undefined) => any) | undefined;
|
|
612
|
-
"onUpdate:error"?: ((value: boolean) => any) | undefined;
|
|
613
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
614
|
-
inputRef: any;
|
|
615
|
-
}, HTMLDivElement>;
|
|
855
|
+
export declare const Input: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
616
856
|
|
|
617
857
|
declare type InputProps = {
|
|
618
858
|
type?: 'text' | 'password';
|
|
@@ -631,7 +871,23 @@ declare type InputProps = {
|
|
|
631
871
|
iconRight?: IconName;
|
|
632
872
|
};
|
|
633
873
|
|
|
634
|
-
export declare const
|
|
874
|
+
export declare const isCheckboxGroupFilterValue: (data: {
|
|
875
|
+
filter: Filter;
|
|
876
|
+
value: FilterValue;
|
|
877
|
+
}) => data is {
|
|
878
|
+
filter: CheckboxGroupFilter;
|
|
879
|
+
value: CheckboxGroupFilterValue;
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
export declare const isDatepickerFilterValue: (data: {
|
|
883
|
+
filter: Filter;
|
|
884
|
+
value: FilterValue;
|
|
885
|
+
}) => data is {
|
|
886
|
+
filter: DatepickerFilter;
|
|
887
|
+
value: DatepickerFilterValue;
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
export declare const Link: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
635
891
|
|
|
636
892
|
export declare type LinkEmits = {
|
|
637
893
|
(e: 'click'): void;
|
|
@@ -640,16 +896,16 @@ export declare type LinkEmits = {
|
|
|
640
896
|
export declare type LinkProps = {
|
|
641
897
|
tag?: (typeof tags_3)[number];
|
|
642
898
|
href?: string;
|
|
643
|
-
view?: (typeof
|
|
899
|
+
view?: (typeof views_5)[number];
|
|
644
900
|
size?: (typeof sizes_5)[number];
|
|
645
901
|
weight?: (typeof weights_2)[number];
|
|
646
902
|
iconLeft?: IconName;
|
|
647
903
|
iconRight?: IconName;
|
|
648
904
|
};
|
|
649
905
|
|
|
650
|
-
export declare const ListHeader: DefineComponent<
|
|
906
|
+
export declare const ListHeader: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
651
907
|
"update:isSortable": (value: boolean) => any;
|
|
652
|
-
}, string, PublicProps, Readonly<
|
|
908
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
653
909
|
"onUpdate:isSortable"?: ((value: boolean) => any) | undefined;
|
|
654
910
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
655
911
|
|
|
@@ -804,7 +1060,7 @@ export declare type ModalConfirmationEmits = {
|
|
|
804
1060
|
};
|
|
805
1061
|
|
|
806
1062
|
export declare type ModalConfirmationProps = {
|
|
807
|
-
view: (typeof
|
|
1063
|
+
view: (typeof views_6)[number];
|
|
808
1064
|
title: string;
|
|
809
1065
|
description: string;
|
|
810
1066
|
buttonText: string;
|
|
@@ -816,6 +1072,13 @@ export default NambaOneUIKit;
|
|
|
816
1072
|
|
|
817
1073
|
declare const objectFits: readonly ["cover", "contain"];
|
|
818
1074
|
|
|
1075
|
+
declare function onApply(newValue: {
|
|
1076
|
+
key: string;
|
|
1077
|
+
value: FilterValue['value'] | null;
|
|
1078
|
+
}): void;
|
|
1079
|
+
|
|
1080
|
+
declare function onDropFilter(value: FilterValue): void;
|
|
1081
|
+
|
|
819
1082
|
declare function open_2(): void;
|
|
820
1083
|
|
|
821
1084
|
export declare const Price: DefineComponent<PriceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PriceProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -826,7 +1089,7 @@ export declare type PriceProps = {
|
|
|
826
1089
|
weight: TheTextProps['weight'];
|
|
827
1090
|
};
|
|
828
1091
|
|
|
829
|
-
export declare const ResponseBase:
|
|
1092
|
+
export declare const ResponseBase: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
830
1093
|
|
|
831
1094
|
declare type ResponseBaseProps = {
|
|
832
1095
|
img?: string;
|
|
@@ -834,15 +1097,15 @@ declare type ResponseBaseProps = {
|
|
|
834
1097
|
description?: string;
|
|
835
1098
|
};
|
|
836
1099
|
|
|
837
|
-
export declare const Section:
|
|
1100
|
+
export declare const Section: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
838
1101
|
|
|
839
|
-
export declare const Select: DefineComponent<
|
|
1102
|
+
export declare const Select: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
840
1103
|
"update:value": (value: Maybe<string | number>) => any;
|
|
841
|
-
}, string, PublicProps, Readonly<
|
|
1104
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
|
|
842
1105
|
"onUpdate:value"?: ((value: Maybe<string | number>) => any) | undefined;
|
|
843
1106
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
844
1107
|
|
|
845
|
-
export declare const SelectBase:
|
|
1108
|
+
export declare const SelectBase: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
846
1109
|
|
|
847
1110
|
export declare type SelectBaseEmits = {
|
|
848
1111
|
(event: 'clickField'): void;
|
|
@@ -877,7 +1140,7 @@ declare const sizes_2: readonly ["58", "50", "44", "40", "34", "28"];
|
|
|
877
1140
|
|
|
878
1141
|
declare const sizes_3: readonly ["58", "50", "44", "44_s", "34", "28"];
|
|
879
1142
|
|
|
880
|
-
declare const sizes_4: readonly [58, 50, 44, 34, 28];
|
|
1143
|
+
declare const sizes_4: readonly [58, 50, 44, 40, 34, 28];
|
|
881
1144
|
|
|
882
1145
|
declare const sizes_5: readonly ["subhead", "caption"];
|
|
883
1146
|
|
|
@@ -899,9 +1162,9 @@ declare class SpriteServiceImp implements SpriteService {
|
|
|
899
1162
|
install(): Promise<void>;
|
|
900
1163
|
}
|
|
901
1164
|
|
|
902
|
-
export declare const StatusSelect: DefineComponent<
|
|
1165
|
+
export declare const StatusSelect: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
903
1166
|
"update:value": (value: string | number) => any;
|
|
904
|
-
}, string, PublicProps, Readonly<
|
|
1167
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_11> & Readonly<{
|
|
905
1168
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
906
1169
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
907
1170
|
triggerElementRef: HTMLButtonElement;
|
|
@@ -925,16 +1188,16 @@ export declare type StatusSelectSkeletonProps = {
|
|
|
925
1188
|
widthRange: [number, number];
|
|
926
1189
|
};
|
|
927
1190
|
|
|
928
|
-
export declare const Tabs: DefineComponent<
|
|
1191
|
+
export declare const Tabs: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
929
1192
|
"update:value": (value: Maybe<string | number> | undefined) => any;
|
|
930
|
-
}, string, PublicProps, Readonly<
|
|
1193
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
|
|
931
1194
|
"onUpdate:value"?: ((value: Maybe<string | number> | undefined) => any) | undefined;
|
|
932
1195
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
933
1196
|
|
|
934
1197
|
export declare type TabsProps = {
|
|
935
1198
|
value?: Maybe<number | string>;
|
|
936
1199
|
label?: string;
|
|
937
|
-
view: (typeof
|
|
1200
|
+
view: (typeof views_7)[number];
|
|
938
1201
|
size: (typeof sizes_6)[number];
|
|
939
1202
|
isDisabled?: boolean;
|
|
940
1203
|
data: {
|
|
@@ -982,8 +1245,8 @@ skeleton: HTMLDivElement;
|
|
|
982
1245
|
|
|
983
1246
|
export declare type TheTextSkeletonProps = {
|
|
984
1247
|
size?: (typeof sizes_7)[number];
|
|
985
|
-
view?: (typeof views_7)[number];
|
|
986
1248
|
widthRange?: [number, number];
|
|
1249
|
+
color: Color;
|
|
987
1250
|
};
|
|
988
1251
|
|
|
989
1252
|
export declare type Toast = {
|
|
@@ -1033,9 +1296,9 @@ declare class ToastServiceImpl implements ToastService {
|
|
|
1033
1296
|
|
|
1034
1297
|
export declare const ToastServiceKey: InjectionKey<ToastService>;
|
|
1035
1298
|
|
|
1036
|
-
export declare const Toggle: DefineComponent<
|
|
1299
|
+
export declare const Toggle: DefineComponent<__VLS_PublicProps_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1037
1300
|
"update:value": (value: boolean) => any;
|
|
1038
|
-
}, string, PublicProps, Readonly<
|
|
1301
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_10> & Readonly<{
|
|
1039
1302
|
"onUpdate:value"?: ((value: boolean) => any) | undefined;
|
|
1040
1303
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1041
1304
|
|
|
@@ -1121,7 +1384,7 @@ declare type TransitionFadeProps_2 = {
|
|
|
1121
1384
|
duration?: number;
|
|
1122
1385
|
};
|
|
1123
1386
|
|
|
1124
|
-
export declare const TransitionHeight:
|
|
1387
|
+
export declare const TransitionHeight: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1125
1388
|
|
|
1126
1389
|
export declare const useDropdownAnimation: () => {
|
|
1127
1390
|
beforeEnter: (el: HTMLElement) => void;
|
|
@@ -1138,6 +1401,8 @@ export declare function useDynamicVisibleArea(name: string): {
|
|
|
1138
1401
|
toggle: () => void;
|
|
1139
1402
|
};
|
|
1140
1403
|
|
|
1404
|
+
export declare const useDynamicVisibleAreaInject: () => DynamicVisibleAreaProvider;
|
|
1405
|
+
|
|
1141
1406
|
export declare const useGlobalConfig: () => GlobalConfig;
|
|
1142
1407
|
|
|
1143
1408
|
export declare const useGlobalConfigProvide: (config: Partial<GlobalConfig>) => void;
|
|
@@ -1168,13 +1433,13 @@ declare const views_2: readonly ["critical_primary", "critical", "base_primary",
|
|
|
1168
1433
|
|
|
1169
1434
|
declare const views_3: readonly ["secondary", "critical", "primary", "surface", "base", "product_surface", "primary_flat", "base_shadow", "surface_shadow"];
|
|
1170
1435
|
|
|
1171
|
-
declare const views_4: readonly ["base", "
|
|
1436
|
+
declare const views_4: readonly ["base", "critical"];
|
|
1172
1437
|
|
|
1173
|
-
declare const views_5: readonly ["base", "
|
|
1438
|
+
declare const views_5: readonly ["base", "secondary", "brand"];
|
|
1174
1439
|
|
|
1175
|
-
declare const views_6: readonly ["
|
|
1440
|
+
declare const views_6: readonly ["base", "critical"];
|
|
1176
1441
|
|
|
1177
|
-
declare const views_7: readonly ["
|
|
1442
|
+
declare const views_7: readonly ["default", "flat", "flat-secondary"];
|
|
1178
1443
|
|
|
1179
1444
|
declare const weights: readonly ["regular", "medium", "semibold", "bold"];
|
|
1180
1445
|
|