@unizhen/ui 0.0.27 → 0.0.29
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/lib/components/back/index.vue.d.ts +1 -1
- package/lib/components/camera/index.vue.d.ts +23 -11
- package/lib/components/circle/index.vue.d.ts +94 -13
- package/lib/components/components.d.ts +0 -1
- package/lib/components/fetch.d.ts +1 -1
- package/lib/components/form/draggable.vue.d.ts +1153 -152
- package/lib/components/form/image.vue.d.ts +311 -46
- package/lib/components/form/index.vue.d.ts +1153 -152
- package/lib/components/form/interface.d.ts +1 -0
- package/lib/components/form/item.vue.d.ts +1145 -152
- package/lib/components/form/upload.vue.d.ts +304 -46
- package/lib/components/searchBar/components/timePickRange.vue.d.ts +114 -12
- package/lib/components/searchBar/index.vue.d.ts +1459 -213
- package/lib/components/searchBar/mobile.vue.d.ts +1241 -177
- package/lib/components/spin/index.vue.d.ts +113 -9
- package/lib/components/table/child.vue.d.ts +677 -56
- package/lib/components/table/child_quest.vue.d.ts +675 -54
- package/lib/components/table/drawer.vue.d.ts +7 -6
- package/lib/components/table/index.vue.d.ts +892 -88
- package/lib/components/table/mobile.vue.d.ts +334 -24
- package/lib/components/table/ocr.vue.d.ts +2 -1
- package/lib/components/thumbnail/index.vue.d.ts +126 -25
- package/lib/components/wrap/index.vue.d.ts +7 -1
- package/lib/ui.css +1 -1
- package/lib/ui.js +2472 -2518
- package/package.json +14 -13
- package/volar.d.ts +0 -1
- package/lib/components/numberRoll/index.d.ts +0 -1
- package/lib/components/numberRoll/index.vue.d.ts +0 -47
|
@@ -1419,10 +1419,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1419
1419
|
readonly focusable: boolean;
|
|
1420
1420
|
readonly bordered: boolean;
|
|
1421
1421
|
readonly tertiary: boolean;
|
|
1422
|
-
readonly keyboard: boolean;
|
|
1423
1422
|
readonly ghost: boolean;
|
|
1424
1423
|
readonly secondary: boolean;
|
|
1425
1424
|
readonly quaternary: boolean;
|
|
1425
|
+
readonly keyboard: boolean;
|
|
1426
1426
|
readonly iconPlacement: "left" | "right";
|
|
1427
1427
|
readonly attrType: "reset" | "submit" | "button";
|
|
1428
1428
|
readonly nativeFocusBehavior: boolean;
|
|
@@ -1452,10 +1452,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1452
1452
|
readonly focusable: boolean;
|
|
1453
1453
|
readonly bordered: boolean;
|
|
1454
1454
|
readonly tertiary: boolean;
|
|
1455
|
-
readonly keyboard: boolean;
|
|
1456
1455
|
readonly ghost: boolean;
|
|
1457
1456
|
readonly secondary: boolean;
|
|
1458
1457
|
readonly quaternary: boolean;
|
|
1458
|
+
readonly keyboard: boolean;
|
|
1459
1459
|
readonly iconPlacement: "left" | "right";
|
|
1460
1460
|
readonly attrType: "reset" | "submit" | "button";
|
|
1461
1461
|
readonly nativeFocusBehavior: boolean;
|
|
@@ -1482,6 +1482,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1482
1482
|
onBeforeHide: PropType<() => void>;
|
|
1483
1483
|
onAfterHide: PropType<() => void>;
|
|
1484
1484
|
onHide: PropType<(value: false) => void>;
|
|
1485
|
+
unstableShowMask: {
|
|
1486
|
+
type: BooleanConstructor;
|
|
1487
|
+
default: undefined;
|
|
1488
|
+
};
|
|
1485
1489
|
icon: PropType<() => VNodeChild>;
|
|
1486
1490
|
type: {
|
|
1487
1491
|
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
@@ -1511,6 +1515,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1511
1515
|
contentStyle: PropType<string | CSSProperties>;
|
|
1512
1516
|
actionClass: PropType<string | Array<string | undefined>>;
|
|
1513
1517
|
actionStyle: PropType<string | CSSProperties>;
|
|
1518
|
+
closeFocusable: BooleanConstructor;
|
|
1514
1519
|
headerClass: StringConstructor;
|
|
1515
1520
|
headerStyle: PropType< CSSProperties | string>;
|
|
1516
1521
|
headerExtraClass: StringConstructor;
|
|
@@ -1536,7 +1541,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1536
1541
|
footer: PropType<() => VNodeChild>;
|
|
1537
1542
|
headerExtra: PropType<() => VNodeChild>;
|
|
1538
1543
|
show: BooleanConstructor;
|
|
1539
|
-
|
|
1544
|
+
showMask: {
|
|
1540
1545
|
type: BooleanConstructor;
|
|
1541
1546
|
default: boolean;
|
|
1542
1547
|
};
|
|
@@ -2491,6 +2496,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
2491
2496
|
onBeforeHide: PropType<() => void>;
|
|
2492
2497
|
onAfterHide: PropType<() => void>;
|
|
2493
2498
|
onHide: PropType<(value: false) => void>;
|
|
2499
|
+
unstableShowMask: {
|
|
2500
|
+
type: BooleanConstructor;
|
|
2501
|
+
default: undefined;
|
|
2502
|
+
};
|
|
2494
2503
|
icon: PropType<() => VNodeChild>;
|
|
2495
2504
|
type: {
|
|
2496
2505
|
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
@@ -2520,6 +2529,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
2520
2529
|
contentStyle: PropType<string | CSSProperties>;
|
|
2521
2530
|
actionClass: PropType<string | Array<string | undefined>>;
|
|
2522
2531
|
actionStyle: PropType<string | CSSProperties>;
|
|
2532
|
+
closeFocusable: BooleanConstructor;
|
|
2523
2533
|
headerClass: StringConstructor;
|
|
2524
2534
|
headerStyle: PropType< CSSProperties | string>;
|
|
2525
2535
|
headerExtraClass: StringConstructor;
|
|
@@ -2545,7 +2555,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
2545
2555
|
footer: PropType<() => VNodeChild>;
|
|
2546
2556
|
headerExtra: PropType<() => VNodeChild>;
|
|
2547
2557
|
show: BooleanConstructor;
|
|
2548
|
-
|
|
2558
|
+
showMask: {
|
|
2549
2559
|
type: BooleanConstructor;
|
|
2550
2560
|
default: boolean;
|
|
2551
2561
|
};
|
|
@@ -3457,28 +3467,30 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
3457
3467
|
}, any>;
|
|
3458
3468
|
}>>>;
|
|
3459
3469
|
}>> & Readonly<{}>, {
|
|
3460
|
-
type: "
|
|
3470
|
+
type: "default" | "error" | "info" | "warning" | "success";
|
|
3461
3471
|
tag: keyof HTMLElementTagNameMap;
|
|
3462
3472
|
size: "small" | "medium" | "large" | "huge";
|
|
3463
3473
|
show: boolean;
|
|
3464
3474
|
transformOrigin: "center" | "mouse";
|
|
3465
3475
|
loading: boolean;
|
|
3466
3476
|
autoFocus: boolean;
|
|
3467
|
-
bordered: boolean;
|
|
3468
3477
|
showIcon: boolean;
|
|
3478
|
+
bordered: boolean;
|
|
3469
3479
|
closable: boolean;
|
|
3470
|
-
displayDirective: "show" | "if";
|
|
3471
|
-
hoverable: boolean;
|
|
3472
3480
|
embedded: boolean;
|
|
3473
3481
|
segmented: boolean | CardSegmented;
|
|
3482
|
+
hoverable: boolean;
|
|
3483
|
+
closeFocusable: boolean;
|
|
3484
|
+
displayDirective: "show" | "if";
|
|
3485
|
+
blockScroll: boolean;
|
|
3486
|
+
closeOnEsc: boolean;
|
|
3487
|
+
maskClosable: boolean;
|
|
3488
|
+
showMask: boolean;
|
|
3489
|
+
trapFocus: boolean;
|
|
3474
3490
|
internalDialog: boolean;
|
|
3475
3491
|
internalModal: boolean;
|
|
3476
3492
|
internalAppear: boolean | undefined;
|
|
3477
3493
|
unstableShowMask: boolean;
|
|
3478
|
-
maskClosable: boolean;
|
|
3479
|
-
trapFocus: boolean;
|
|
3480
|
-
closeOnEsc: boolean;
|
|
3481
|
-
blockScroll: boolean;
|
|
3482
3494
|
}, SlotsType<ModalSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3483
3495
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3484
3496
|
export default _default;
|
|
@@ -7,6 +7,7 @@ import { Theme } from 'naive-ui/es/_mixins';
|
|
|
7
7
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
8
8
|
import { BinderInst } from 'vueuc';
|
|
9
9
|
type ICircle = {
|
|
10
|
+
fill: string;
|
|
10
11
|
backgroundBg: string;
|
|
11
12
|
processBg: string;
|
|
12
13
|
pointBg: string;
|
|
@@ -28,6 +29,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
28
29
|
styles: {
|
|
29
30
|
type: PropType<ICircle>;
|
|
30
31
|
default: () => {
|
|
32
|
+
fill: string;
|
|
31
33
|
backgroundBg: string;
|
|
32
34
|
processBg: string;
|
|
33
35
|
pointBg: string;
|
|
@@ -69,6 +71,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
69
71
|
styles: {
|
|
70
72
|
type: PropType<ICircle>;
|
|
71
73
|
default: () => {
|
|
74
|
+
fill: string;
|
|
72
75
|
backgroundBg: string;
|
|
73
76
|
processBg: string;
|
|
74
77
|
pointBg: string;
|
|
@@ -186,7 +189,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
186
189
|
arrowOffsetVertical: string;
|
|
187
190
|
arrowHeight: string;
|
|
188
191
|
padding: string;
|
|
189
|
-
},
|
|
192
|
+
}, {
|
|
193
|
+
Scrollbar: Theme<"Scrollbar", {
|
|
194
|
+
height: string;
|
|
195
|
+
width: string;
|
|
196
|
+
borderRadius: string;
|
|
197
|
+
color: string;
|
|
198
|
+
colorHover: string;
|
|
199
|
+
railInsetHorizontalBottom: string;
|
|
200
|
+
railInsetHorizontalTop: string;
|
|
201
|
+
railInsetVerticalRight: string;
|
|
202
|
+
railInsetVerticalLeft: string;
|
|
203
|
+
railColor: string;
|
|
204
|
+
}, any>;
|
|
205
|
+
}>>;
|
|
190
206
|
themeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
|
|
191
207
|
fontSize: string;
|
|
192
208
|
borderRadius: string;
|
|
@@ -200,7 +216,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
200
216
|
arrowOffsetVertical: string;
|
|
201
217
|
arrowHeight: string;
|
|
202
218
|
padding: string;
|
|
203
|
-
},
|
|
219
|
+
}, {
|
|
220
|
+
Scrollbar: Theme<"Scrollbar", {
|
|
221
|
+
height: string;
|
|
222
|
+
width: string;
|
|
223
|
+
borderRadius: string;
|
|
224
|
+
color: string;
|
|
225
|
+
colorHover: string;
|
|
226
|
+
railInsetHorizontalBottom: string;
|
|
227
|
+
railInsetHorizontalTop: string;
|
|
228
|
+
railInsetVerticalRight: string;
|
|
229
|
+
railInsetVerticalLeft: string;
|
|
230
|
+
railColor: string;
|
|
231
|
+
}, any>;
|
|
232
|
+
}>>>;
|
|
204
233
|
builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
|
|
205
234
|
fontSize: string;
|
|
206
235
|
borderRadius: string;
|
|
@@ -214,7 +243,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
214
243
|
arrowOffsetVertical: string;
|
|
215
244
|
arrowHeight: string;
|
|
216
245
|
padding: string;
|
|
217
|
-
},
|
|
246
|
+
}, {
|
|
247
|
+
Scrollbar: Theme<"Scrollbar", {
|
|
248
|
+
height: string;
|
|
249
|
+
width: string;
|
|
250
|
+
borderRadius: string;
|
|
251
|
+
color: string;
|
|
252
|
+
colorHover: string;
|
|
253
|
+
railInsetHorizontalBottom: string;
|
|
254
|
+
railInsetHorizontalTop: string;
|
|
255
|
+
railInsetVerticalRight: string;
|
|
256
|
+
railInsetVerticalLeft: string;
|
|
257
|
+
railColor: string;
|
|
258
|
+
}, any>;
|
|
259
|
+
}>>>;
|
|
218
260
|
}>, {
|
|
219
261
|
binderInstRef: Ref<{
|
|
220
262
|
targetRef: HTMLElement | null;
|
|
@@ -339,7 +381,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
339
381
|
arrowOffsetVertical: string;
|
|
340
382
|
arrowHeight: string;
|
|
341
383
|
padding: string;
|
|
342
|
-
},
|
|
384
|
+
}, {
|
|
385
|
+
Scrollbar: Theme<"Scrollbar", {
|
|
386
|
+
height: string;
|
|
387
|
+
width: string;
|
|
388
|
+
borderRadius: string;
|
|
389
|
+
color: string;
|
|
390
|
+
colorHover: string;
|
|
391
|
+
railInsetHorizontalBottom: string;
|
|
392
|
+
railInsetHorizontalTop: string;
|
|
393
|
+
railInsetVerticalRight: string;
|
|
394
|
+
railInsetVerticalLeft: string;
|
|
395
|
+
railColor: string;
|
|
396
|
+
}, any>;
|
|
397
|
+
}>>;
|
|
343
398
|
themeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
|
|
344
399
|
fontSize: string;
|
|
345
400
|
borderRadius: string;
|
|
@@ -353,7 +408,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
353
408
|
arrowOffsetVertical: string;
|
|
354
409
|
arrowHeight: string;
|
|
355
410
|
padding: string;
|
|
356
|
-
},
|
|
411
|
+
}, {
|
|
412
|
+
Scrollbar: Theme<"Scrollbar", {
|
|
413
|
+
height: string;
|
|
414
|
+
width: string;
|
|
415
|
+
borderRadius: string;
|
|
416
|
+
color: string;
|
|
417
|
+
colorHover: string;
|
|
418
|
+
railInsetHorizontalBottom: string;
|
|
419
|
+
railInsetHorizontalTop: string;
|
|
420
|
+
railInsetVerticalRight: string;
|
|
421
|
+
railInsetVerticalLeft: string;
|
|
422
|
+
railColor: string;
|
|
423
|
+
}, any>;
|
|
424
|
+
}>>>;
|
|
357
425
|
builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
|
|
358
426
|
fontSize: string;
|
|
359
427
|
borderRadius: string;
|
|
@@ -367,7 +435,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
367
435
|
arrowOffsetVertical: string;
|
|
368
436
|
arrowHeight: string;
|
|
369
437
|
padding: string;
|
|
370
|
-
},
|
|
438
|
+
}, {
|
|
439
|
+
Scrollbar: Theme<"Scrollbar", {
|
|
440
|
+
height: string;
|
|
441
|
+
width: string;
|
|
442
|
+
borderRadius: string;
|
|
443
|
+
color: string;
|
|
444
|
+
colorHover: string;
|
|
445
|
+
railInsetHorizontalBottom: string;
|
|
446
|
+
railInsetHorizontalTop: string;
|
|
447
|
+
railInsetVerticalRight: string;
|
|
448
|
+
railInsetVerticalLeft: string;
|
|
449
|
+
railColor: string;
|
|
450
|
+
}, any>;
|
|
451
|
+
}>>>;
|
|
371
452
|
}>> & Readonly<{}>, {
|
|
372
453
|
to: string | boolean | HTMLElement;
|
|
373
454
|
disabled: boolean;
|
|
@@ -377,22 +458,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
377
458
|
duration: number;
|
|
378
459
|
raw: boolean;
|
|
379
460
|
placement: PopoverPlacement;
|
|
380
|
-
overlap: boolean;
|
|
381
|
-
scrollable: boolean;
|
|
382
|
-
trigger: PopoverTrigger;
|
|
383
461
|
showArrow: boolean;
|
|
462
|
+
trigger: PopoverTrigger;
|
|
463
|
+
arrow: boolean | undefined;
|
|
464
|
+
defaultShow: boolean;
|
|
384
465
|
delay: number;
|
|
385
466
|
arrowPointToCenter: boolean;
|
|
386
467
|
displayDirective: "show" | "if";
|
|
468
|
+
animated: boolean;
|
|
469
|
+
overlap: boolean;
|
|
387
470
|
keepAliveOnHover: boolean;
|
|
471
|
+
scrollable: boolean;
|
|
388
472
|
internalDeactivateImmediately: boolean;
|
|
389
|
-
animated: boolean;
|
|
390
|
-
internalTrapFocus: boolean;
|
|
391
|
-
defaultShow: boolean;
|
|
392
473
|
internalSyncTargetWithParent: boolean;
|
|
393
474
|
internalInheritedEventHandlers: TriggerEventHandlers[];
|
|
475
|
+
internalTrapFocus: boolean;
|
|
394
476
|
internalExtraClass: string[];
|
|
395
|
-
arrow: boolean | undefined;
|
|
396
477
|
}, SlotsType<PopoverSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
397
478
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
398
479
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare const fnCancelFetch: () => void;
|
|
|
4
4
|
export declare const GET: Fetch;
|
|
5
5
|
export declare const POST: Fetch;
|
|
6
6
|
export declare const BLOB: Fetch;
|
|
7
|
-
export declare const CUSTOM: (options: AxiosRequestConfig) => Promise<AxiosResponse<any, any>>;
|
|
7
|
+
export declare const CUSTOM: (options: AxiosRequestConfig) => Promise<AxiosResponse<any, any, {}>>;
|
|
8
8
|
export declare const FILE: Fetch;
|