lew-ui 2.4.9 → 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.
Files changed (33) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +46 -46
  3. package/README.zh-CN.md +48 -48
  4. package/dist/components/button/src/LewButton.vue.d.ts +1 -1
  5. package/dist/components/cascader/src/LewCascader.vue.d.ts +15 -2
  6. package/dist/components/cascader/src/props.d.ts +7 -1
  7. package/dist/components/drawer/src/LewDrawer.vue.d.ts +2 -2
  8. package/dist/components/form/src/LewForm.vue.d.ts +11 -0
  9. package/dist/components/form/src/LewFormItem.vue.d.ts +3 -3
  10. package/dist/components/form/src/props.d.ts +6 -1
  11. package/dist/components/image/src/LewImage.vue.d.ts +1 -1
  12. package/dist/components/modal/src/LewModal.vue.d.ts +2 -2
  13. package/dist/components/popok/src/LewPopok.vue.d.ts +2 -2
  14. package/dist/components/popover/src/LewPopover.vue.d.ts +1 -1
  15. package/dist/components/select/src/LewSelect.vue.d.ts +15 -2
  16. package/dist/components/select/src/props.d.ts +7 -1
  17. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +13 -0
  18. package/dist/components/select-multiple/src/props.d.ts +6 -0
  19. package/dist/components/switch/src/LewSwitch.vue.d.ts +1 -1
  20. package/dist/components/tree/src/LewTree.vue.d.ts +3 -3
  21. package/dist/components/tree/src/props.d.ts +1 -1
  22. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +3 -3
  23. package/dist/components/tree-select/src/props.d.ts +1 -1
  24. package/dist/components/upload/src/LewUpload.vue.d.ts +18 -5
  25. package/dist/components/upload/src/props.d.ts +11 -3
  26. package/dist/confetti.browser.min.js +456 -456
  27. package/dist/docs/views/form-engine/schema/compoments-menus.d.ts +33 -4
  28. package/dist/docs/views/form-engine/schema/components/upload.d.ts +18 -0
  29. package/dist/index.mjs +245 -153
  30. package/dist/index.umd.js +2 -2
  31. package/dist/style.css +1 -1
  32. package/dist/utils/Icon.vue.d.ts +3 -3
  33. package/package.json +3 -3
@@ -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
  } | {
@@ -425,6 +431,7 @@ export declare const componentsMenusSchema: ({
425
431
  valueTextSplit?: undefined;
426
432
  valueLayout?: undefined;
427
433
  free?: undefined;
434
+ viewMode?: undefined;
428
435
  };
429
436
  field?: undefined;
430
437
  } | {
@@ -487,6 +494,7 @@ export declare const componentsMenusSchema: ({
487
494
  iconable?: undefined;
488
495
  label?: undefined;
489
496
  free?: undefined;
497
+ viewMode?: undefined;
490
498
  };
491
499
  } | {
492
500
  label: string;
@@ -537,6 +545,7 @@ export declare const componentsMenusSchema: ({
537
545
  showCheckIcon?: undefined;
538
546
  valueTextSplit?: undefined;
539
547
  valueLayout?: undefined;
548
+ viewMode?: undefined;
540
549
  };
541
550
  field?: undefined;
542
551
  } | {
@@ -609,6 +618,7 @@ export declare const componentsMenusSchema: ({
609
618
  valueTextSplit?: undefined;
610
619
  valueLayout?: undefined;
611
620
  free?: undefined;
621
+ viewMode?: undefined;
612
622
  };
613
623
  field?: undefined;
614
624
  } | {
@@ -630,10 +640,6 @@ export declare const componentsMenusSchema: ({
630
640
  })[];
631
641
  props: {
632
642
  clearable: boolean;
633
- options: {
634
- label: string;
635
- value: string;
636
- }[];
637
643
  type?: undefined;
638
644
  align?: undefined;
639
645
  showCount?: undefined;
@@ -642,12 +648,14 @@ export declare const componentsMenusSchema: ({
642
648
  round?: undefined;
643
649
  direction?: undefined;
644
650
  iconable?: undefined;
651
+ options?: undefined;
645
652
  label?: undefined;
646
653
  trigger?: undefined;
647
654
  showCheckIcon?: undefined;
648
655
  valueTextSplit?: undefined;
649
656
  valueLayout?: undefined;
650
657
  free?: undefined;
658
+ viewMode?: undefined;
651
659
  };
652
660
  field?: undefined;
653
661
  } | {
@@ -676,6 +684,7 @@ export declare const componentsMenusSchema: ({
676
684
  valueTextSplit?: undefined;
677
685
  valueLayout?: undefined;
678
686
  free?: undefined;
687
+ viewMode?: undefined;
679
688
  };
680
689
  field?: undefined;
681
690
  } | {
@@ -711,6 +720,7 @@ export declare const componentsMenusSchema: ({
711
720
  valueTextSplit?: undefined;
712
721
  valueLayout?: undefined;
713
722
  free?: undefined;
723
+ viewMode?: undefined;
714
724
  };
715
725
  field?: undefined;
716
726
  } | {
@@ -721,9 +731,25 @@ export declare const componentsMenusSchema: ({
721
731
  label: string;
722
732
  as: string;
723
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
+ };
724
744
  componentWidth?: undefined;
725
745
  tips?: undefined;
746
+ } | {
747
+ label: string;
748
+ as: string;
749
+ field: string;
726
750
  props?: undefined;
751
+ componentWidth?: undefined;
752
+ tips?: undefined;
727
753
  } | {
728
754
  label: string;
729
755
  as: string;
@@ -733,10 +759,13 @@ export declare const componentsMenusSchema: ({
733
759
  min: number;
734
760
  align: string;
735
761
  placeholder: string;
762
+ itemWidth?: undefined;
763
+ options?: undefined;
736
764
  };
737
765
  field: string;
738
766
  })[];
739
767
  props: {
768
+ viewMode: string;
740
769
  clearable?: undefined;
741
770
  type?: undefined;
742
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
  })[];