lew-ui 2.4.8 → 2.4.12
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/LICENSE +21 -21
- package/README.md +46 -46
- package/README.zh-CN.md +48 -48
- package/dist/components/badge/src/LewBadge.vue.d.ts +1 -1
- package/dist/components/button/src/LewButton.vue.d.ts +2 -2
- package/dist/components/cascader/src/LewCascader.vue.d.ts +15 -2
- package/dist/components/cascader/src/props.d.ts +7 -1
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +15 -4
- package/dist/components/drawer/src/props.d.ts +5 -0
- package/dist/components/form/src/LewForm.vue.d.ts +11 -0
- package/dist/components/form/src/LewFormItem.vue.d.ts +6 -5
- package/dist/components/form/src/props.d.ts +8 -2
- package/dist/components/image/src/LewImage.vue.d.ts +4 -4
- package/dist/components/image/src/props.d.ts +1 -1
- package/dist/components/mark/src/LewMark.vue.d.ts +1 -1
- package/dist/components/modal/src/LewModal.vue.d.ts +15 -4
- package/dist/components/modal/src/props.d.ts +5 -0
- package/dist/components/popok/src/LewPopok.vue.d.ts +4 -4
- package/dist/components/popover/src/LewPopover.vue.d.ts +1 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +15 -2
- package/dist/components/select/src/props.d.ts +7 -1
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +13 -0
- package/dist/components/select-multiple/src/props.d.ts +6 -0
- package/dist/components/switch/src/LewSwitch.vue.d.ts +1 -1
- package/dist/components/tag/src/LewTag.vue.d.ts +1 -1
- package/dist/components/title/src/LewTitle.vue.d.ts +1 -1
- package/dist/components/tree/src/LewTree.vue.d.ts +3 -3
- package/dist/components/tree/src/props.d.ts +1 -1
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +3 -3
- package/dist/components/tree-select/src/props.d.ts +1 -1
- package/dist/components/upload/src/LewUpload.vue.d.ts +28 -2
- package/dist/components/upload/src/LewUploadByCard.vue.d.ts +28 -0
- package/dist/components/upload/src/LewUploadByList.vue.d.ts +28 -0
- package/dist/components/upload/src/props.d.ts +32 -2
- package/dist/confetti.browser.min.js +456 -456
- package/dist/docs/docs/upload/demo/index.d.ts +3 -1
- package/dist/docs/views/form-engine/schema/compoments-menus.d.ts +38 -6
- package/dist/docs/views/form-engine/schema/components/upload.d.ts +18 -0
- package/dist/index.mjs +2995 -1920
- package/dist/index.umd.js +6 -7
- package/dist/style.css +1 -1
- package/dist/utils/Icon.vue.d.ts +12 -3
- package/dist/utils/index.d.ts +1 -10
- package/package.json +3 -3
|
@@ -2,9 +2,11 @@ import { default as DemoUpload1 } from './DemoUpload1.vue';
|
|
|
2
2
|
import { default as DemoUpload2 } from './DemoUpload2.vue';
|
|
3
3
|
import { default as DemoUpload3 } from './DemoUpload3.vue';
|
|
4
4
|
import { default as DemoUpload4 } from './DemoUpload4.vue';
|
|
5
|
+
import { default as DemoUpload5 } from './DemoUpload5.vue';
|
|
5
6
|
import { default as DemoUpload1Code } from './DemoUpload1.vue?raw';
|
|
6
7
|
import { default as DemoUpload2Code } from './DemoUpload2.vue?raw';
|
|
7
8
|
import { default as DemoUpload3Code } from './DemoUpload3.vue?raw';
|
|
8
9
|
import { default as DemoUpload4Code } from './DemoUpload4.vue?raw';
|
|
10
|
+
import { default as DemoUpload5Code } from './DemoUpload5.vue?raw';
|
|
9
11
|
|
|
10
|
-
export { DemoUpload1, DemoUpload2, DemoUpload3, DemoUpload4, DemoUpload1Code, DemoUpload2Code, DemoUpload3Code, DemoUpload4Code };
|
|
12
|
+
export { DemoUpload1, DemoUpload2, DemoUpload3, DemoUpload4, DemoUpload5, DemoUpload1Code, DemoUpload2Code, DemoUpload3Code, DemoUpload4Code, DemoUpload5Code };
|
|
@@ -79,6 +79,7 @@ export declare const componentsMenusSchema: ({
|
|
|
79
79
|
valueTextSplit?: undefined;
|
|
80
80
|
valueLayout?: undefined;
|
|
81
81
|
free?: undefined;
|
|
82
|
+
viewMode?: undefined;
|
|
82
83
|
};
|
|
83
84
|
field?: undefined;
|
|
84
85
|
} | {
|
|
@@ -143,6 +144,7 @@ export declare const componentsMenusSchema: ({
|
|
|
143
144
|
valueTextSplit?: undefined;
|
|
144
145
|
valueLayout?: undefined;
|
|
145
146
|
free?: undefined;
|
|
147
|
+
viewMode?: undefined;
|
|
146
148
|
};
|
|
147
149
|
field?: undefined;
|
|
148
150
|
} | {
|
|
@@ -208,6 +210,7 @@ export declare const componentsMenusSchema: ({
|
|
|
208
210
|
valueTextSplit?: undefined;
|
|
209
211
|
valueLayout?: undefined;
|
|
210
212
|
free?: undefined;
|
|
213
|
+
viewMode?: undefined;
|
|
211
214
|
};
|
|
212
215
|
field?: undefined;
|
|
213
216
|
} | {
|
|
@@ -269,6 +272,7 @@ export declare const componentsMenusSchema: ({
|
|
|
269
272
|
valueTextSplit?: undefined;
|
|
270
273
|
valueLayout?: undefined;
|
|
271
274
|
free?: undefined;
|
|
275
|
+
viewMode?: undefined;
|
|
272
276
|
};
|
|
273
277
|
field?: undefined;
|
|
274
278
|
} | {
|
|
@@ -303,6 +307,7 @@ export declare const componentsMenusSchema: ({
|
|
|
303
307
|
valueTextSplit?: undefined;
|
|
304
308
|
valueLayout?: undefined;
|
|
305
309
|
free?: undefined;
|
|
310
|
+
viewMode?: undefined;
|
|
306
311
|
};
|
|
307
312
|
field?: undefined;
|
|
308
313
|
} | {
|
|
@@ -364,6 +369,7 @@ export declare const componentsMenusSchema: ({
|
|
|
364
369
|
valueTextSplit?: undefined;
|
|
365
370
|
valueLayout?: undefined;
|
|
366
371
|
free?: undefined;
|
|
372
|
+
viewMode?: undefined;
|
|
367
373
|
};
|
|
368
374
|
field?: undefined;
|
|
369
375
|
} | {
|
|
@@ -410,7 +416,10 @@ export declare const componentsMenusSchema: ({
|
|
|
410
416
|
trigger: string;
|
|
411
417
|
align: string;
|
|
412
418
|
showCheckIcon: boolean;
|
|
413
|
-
options:
|
|
419
|
+
options: {
|
|
420
|
+
label: string;
|
|
421
|
+
value: string;
|
|
422
|
+
}[];
|
|
414
423
|
type?: undefined;
|
|
415
424
|
showCount?: undefined;
|
|
416
425
|
maxLength?: undefined;
|
|
@@ -422,6 +431,7 @@ export declare const componentsMenusSchema: ({
|
|
|
422
431
|
valueTextSplit?: undefined;
|
|
423
432
|
valueLayout?: undefined;
|
|
424
433
|
free?: undefined;
|
|
434
|
+
viewMode?: undefined;
|
|
425
435
|
};
|
|
426
436
|
field?: undefined;
|
|
427
437
|
} | {
|
|
@@ -484,6 +494,7 @@ export declare const componentsMenusSchema: ({
|
|
|
484
494
|
iconable?: undefined;
|
|
485
495
|
label?: undefined;
|
|
486
496
|
free?: undefined;
|
|
497
|
+
viewMode?: undefined;
|
|
487
498
|
};
|
|
488
499
|
} | {
|
|
489
500
|
label: string;
|
|
@@ -510,6 +521,7 @@ export declare const componentsMenusSchema: ({
|
|
|
510
521
|
clearable: boolean;
|
|
511
522
|
label: string;
|
|
512
523
|
free: boolean;
|
|
524
|
+
trigger: string;
|
|
513
525
|
options: {
|
|
514
526
|
value: number;
|
|
515
527
|
label: string;
|
|
@@ -530,10 +542,10 @@ export declare const componentsMenusSchema: ({
|
|
|
530
542
|
round?: undefined;
|
|
531
543
|
direction?: undefined;
|
|
532
544
|
iconable?: undefined;
|
|
533
|
-
trigger?: undefined;
|
|
534
545
|
showCheckIcon?: undefined;
|
|
535
546
|
valueTextSplit?: undefined;
|
|
536
547
|
valueLayout?: undefined;
|
|
548
|
+
viewMode?: undefined;
|
|
537
549
|
};
|
|
538
550
|
field?: undefined;
|
|
539
551
|
} | {
|
|
@@ -606,6 +618,7 @@ export declare const componentsMenusSchema: ({
|
|
|
606
618
|
valueTextSplit?: undefined;
|
|
607
619
|
valueLayout?: undefined;
|
|
608
620
|
free?: undefined;
|
|
621
|
+
viewMode?: undefined;
|
|
609
622
|
};
|
|
610
623
|
field?: undefined;
|
|
611
624
|
} | {
|
|
@@ -627,10 +640,6 @@ export declare const componentsMenusSchema: ({
|
|
|
627
640
|
})[];
|
|
628
641
|
props: {
|
|
629
642
|
clearable: boolean;
|
|
630
|
-
options: {
|
|
631
|
-
label: string;
|
|
632
|
-
value: string;
|
|
633
|
-
}[];
|
|
634
643
|
type?: undefined;
|
|
635
644
|
align?: undefined;
|
|
636
645
|
showCount?: undefined;
|
|
@@ -639,12 +648,14 @@ export declare const componentsMenusSchema: ({
|
|
|
639
648
|
round?: undefined;
|
|
640
649
|
direction?: undefined;
|
|
641
650
|
iconable?: undefined;
|
|
651
|
+
options?: undefined;
|
|
642
652
|
label?: undefined;
|
|
643
653
|
trigger?: undefined;
|
|
644
654
|
showCheckIcon?: undefined;
|
|
645
655
|
valueTextSplit?: undefined;
|
|
646
656
|
valueLayout?: undefined;
|
|
647
657
|
free?: undefined;
|
|
658
|
+
viewMode?: undefined;
|
|
648
659
|
};
|
|
649
660
|
field?: undefined;
|
|
650
661
|
} | {
|
|
@@ -673,6 +684,7 @@ export declare const componentsMenusSchema: ({
|
|
|
673
684
|
valueTextSplit?: undefined;
|
|
674
685
|
valueLayout?: undefined;
|
|
675
686
|
free?: undefined;
|
|
687
|
+
viewMode?: undefined;
|
|
676
688
|
};
|
|
677
689
|
field?: undefined;
|
|
678
690
|
} | {
|
|
@@ -708,6 +720,7 @@ export declare const componentsMenusSchema: ({
|
|
|
708
720
|
valueTextSplit?: undefined;
|
|
709
721
|
valueLayout?: undefined;
|
|
710
722
|
free?: undefined;
|
|
723
|
+
viewMode?: undefined;
|
|
711
724
|
};
|
|
712
725
|
field?: undefined;
|
|
713
726
|
} | {
|
|
@@ -718,9 +731,25 @@ export declare const componentsMenusSchema: ({
|
|
|
718
731
|
label: string;
|
|
719
732
|
as: string;
|
|
720
733
|
field: string;
|
|
734
|
+
props: {
|
|
735
|
+
itemWidth: string;
|
|
736
|
+
options: {
|
|
737
|
+
label: string;
|
|
738
|
+
value: string;
|
|
739
|
+
}[];
|
|
740
|
+
min?: undefined;
|
|
741
|
+
align?: undefined;
|
|
742
|
+
placeholder?: undefined;
|
|
743
|
+
};
|
|
721
744
|
componentWidth?: undefined;
|
|
722
745
|
tips?: undefined;
|
|
746
|
+
} | {
|
|
747
|
+
label: string;
|
|
748
|
+
as: string;
|
|
749
|
+
field: string;
|
|
723
750
|
props?: undefined;
|
|
751
|
+
componentWidth?: undefined;
|
|
752
|
+
tips?: undefined;
|
|
724
753
|
} | {
|
|
725
754
|
label: string;
|
|
726
755
|
as: string;
|
|
@@ -730,10 +759,13 @@ export declare const componentsMenusSchema: ({
|
|
|
730
759
|
min: number;
|
|
731
760
|
align: string;
|
|
732
761
|
placeholder: string;
|
|
762
|
+
itemWidth?: undefined;
|
|
763
|
+
options?: undefined;
|
|
733
764
|
};
|
|
734
765
|
field: string;
|
|
735
766
|
})[];
|
|
736
767
|
props: {
|
|
768
|
+
viewMode: string;
|
|
737
769
|
clearable?: undefined;
|
|
738
770
|
type?: undefined;
|
|
739
771
|
align?: undefined;
|
|
@@ -2,9 +2,25 @@ declare const _default: ({
|
|
|
2
2
|
label: string;
|
|
3
3
|
as: string;
|
|
4
4
|
field: string;
|
|
5
|
+
props: {
|
|
6
|
+
itemWidth: string;
|
|
7
|
+
options: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
min?: undefined;
|
|
12
|
+
align?: undefined;
|
|
13
|
+
placeholder?: undefined;
|
|
14
|
+
};
|
|
5
15
|
componentWidth?: undefined;
|
|
6
16
|
tips?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
label: string;
|
|
19
|
+
as: string;
|
|
20
|
+
field: string;
|
|
7
21
|
props?: undefined;
|
|
22
|
+
componentWidth?: undefined;
|
|
23
|
+
tips?: undefined;
|
|
8
24
|
} | {
|
|
9
25
|
label: string;
|
|
10
26
|
as: string;
|
|
@@ -14,6 +30,8 @@ declare const _default: ({
|
|
|
14
30
|
min: number;
|
|
15
31
|
align: string;
|
|
16
32
|
placeholder: string;
|
|
33
|
+
itemWidth?: undefined;
|
|
34
|
+
options?: undefined;
|
|
17
35
|
};
|
|
18
36
|
field: string;
|
|
19
37
|
})[];
|