vue-devui 1.5.4 → 1.5.6

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 (120) hide show
  1. package/alert/index.es.js +3 -3
  2. package/alert/index.umd.js +1 -1
  3. package/auto-complete/index.es.js +27 -9
  4. package/auto-complete/index.umd.js +19 -1
  5. package/avatar/index.es.js +77 -3
  6. package/avatar/index.umd.js +75 -1
  7. package/carousel/index.es.js +448 -0
  8. package/carousel/index.umd.js +1 -0
  9. package/carousel/package.json +8 -0
  10. package/carousel/style.css +1 -0
  11. package/checkbox/index.es.js +27 -9
  12. package/checkbox/index.umd.js +19 -1
  13. package/code-review/index.es.js +73 -0
  14. package/code-review/index.umd.js +1 -0
  15. package/code-review/package.json +8 -0
  16. package/code-review/style.css +1 -0
  17. package/collapse/index.es.js +5 -1
  18. package/collapse/index.umd.js +5 -1
  19. package/date-picker-pro/index.es.js +54 -11
  20. package/date-picker-pro/index.umd.js +44 -1
  21. package/echarts/index.es.js +395 -0
  22. package/echarts/index.umd.js +1 -0
  23. package/echarts/package.json +8 -0
  24. package/editor-md/index.es.js +9173 -0
  25. package/editor-md/index.umd.js +142 -0
  26. package/editor-md/package.json +8 -0
  27. package/editor-md/style.css +1 -0
  28. package/form/index.es.js +27 -9
  29. package/form/index.umd.js +22 -4
  30. package/global.d.ts +6 -0
  31. package/grid/index.es.js +25 -1
  32. package/grid/index.umd.js +1 -1
  33. package/image-preview/index.es.js +34 -9
  34. package/image-preview/index.umd.js +26 -1
  35. package/input/index.es.js +27 -9
  36. package/input/index.umd.js +19 -1
  37. package/input-number/index.es.js +35 -11
  38. package/input-number/index.umd.js +30 -6
  39. package/mention/index.es.js +27 -9
  40. package/mention/index.umd.js +19 -1
  41. package/notification/index.es.js +11 -4
  42. package/notification/index.umd.js +8 -1
  43. package/nuxt/components/Carousel.js +3 -0
  44. package/nuxt/components/CarouselItem.js +3 -0
  45. package/nuxt/components/CodeReview.js +3 -0
  46. package/nuxt/components/DChart.js +2 -0
  47. package/nuxt/components/EditorMd.js +3 -0
  48. package/nuxt/components/EditorMdInjectionKey.js +3 -0
  49. package/nuxt/components/MdRender.js +3 -0
  50. package/nuxt/components/codeReviewProps.js +3 -0
  51. package/nuxt/components/devuiChartProps.js +2 -0
  52. package/nuxt/components/editorMdProps.js +3 -0
  53. package/nuxt/components/mdRenderProps.js +3 -0
  54. package/nuxt/components/mdToolbarItemProps.js +3 -0
  55. package/package.json +11 -3
  56. package/pagination/index.es.js +34 -13
  57. package/pagination/index.umd.js +22 -1
  58. package/popover/index.es.js +12 -4
  59. package/popover/index.umd.js +9 -1
  60. package/radio/index.es.js +27 -9
  61. package/radio/index.umd.js +30 -12
  62. package/rate/index.es.js +2 -2
  63. package/rate/index.umd.js +1 -1
  64. package/search/index.es.js +31 -11
  65. package/search/index.umd.js +21 -1
  66. package/select/index.es.js +32 -11
  67. package/select/index.umd.js +22 -1
  68. package/skeleton/index.es.js +17 -1
  69. package/skeleton/index.umd.js +17 -1
  70. package/style.css +1 -1
  71. package/switch/index.es.js +27 -9
  72. package/switch/index.umd.js +25 -7
  73. package/table/index.es.js +27 -9
  74. package/table/index.umd.js +19 -1
  75. package/textarea/index.es.js +27 -9
  76. package/textarea/index.umd.js +19 -1
  77. package/time-picker/index.es.js +27 -9
  78. package/time-picker/index.umd.js +19 -1
  79. package/time-select/index.es.js +32 -11
  80. package/time-select/index.umd.js +27 -6
  81. package/tree/index.es.js +27 -9
  82. package/tree/index.umd.js +19 -1
  83. package/types/avatar/src/components/icon-nobody.d.ts +1 -1
  84. package/types/code-review/index.d.ts +11 -0
  85. package/types/code-review/src/code-review-types.d.ts +14 -0
  86. package/types/code-review/src/code-review.d.ts +27 -0
  87. package/types/code-review/src/composables/use-code-review.d.ts +4 -0
  88. package/types/echarts/index.d.ts +11 -0
  89. package/types/echarts/src/echarts-theme.d.ts +351 -0
  90. package/types/echarts/src/echarts-types.d.ts +8 -0
  91. package/types/echarts/src/echarts.d.ts +16 -0
  92. package/types/editor-md/index.d.ts +12 -0
  93. package/types/editor-md/src/components/font-color.d.ts +2 -0
  94. package/types/editor-md/src/components/font-size.d.ts +2 -0
  95. package/types/editor-md/src/components/md-render.d.ts +95 -0
  96. package/types/editor-md/src/components/toolbar-item.d.ts +14 -0
  97. package/types/editor-md/src/components/toolbar.d.ts +3 -0
  98. package/types/editor-md/src/composables/helper.d.ts +2 -0
  99. package/types/editor-md/src/composables/md-render-service.d.ts +26 -0
  100. package/types/editor-md/src/composables/use-editor-md-render.d.ts +10 -0
  101. package/types/editor-md/src/composables/use-editor-md-theme.d.ts +3 -0
  102. package/types/editor-md/src/composables/use-editor-md-toolbar.d.ts +4 -0
  103. package/types/editor-md/src/composables/use-editor-md.d.ts +15 -0
  104. package/types/editor-md/src/editor-md-types.d.ts +172 -0
  105. package/types/editor-md/src/editor-md.d.ts +198 -0
  106. package/types/editor-md/src/icons-config.d.ts +23 -0
  107. package/types/editor-md/src/plugins/mermaid.d.ts +2 -0
  108. package/types/editor-md/src/plugins/toc.d.ts +1 -0
  109. package/types/editor-md/src/toolbar-config.d.ts +22 -0
  110. package/types/editor-md/src/utils.d.ts +2 -0
  111. package/types/grid/src/grid-types.d.ts +4 -0
  112. package/types/grid/src/row.d.ts +9 -0
  113. package/types/menu/src/menu.d.ts +1 -1
  114. package/types/nav-sprite/src/nav-sprite.d.ts +1 -1
  115. package/types/timeline/src/components/timeline-item.d.ts +1 -1
  116. package/types/vue-devui.d.ts +4 -1
  117. package/upload/index.es.js +11 -4
  118. package/upload/index.umd.js +8 -1
  119. package/vue-devui.es.js +16564 -14195
  120. package/vue-devui.umd.js +315 -20
@@ -6463,9 +6463,17 @@ function WarningIcon() {
6463
6463
  "fill": "none",
6464
6464
  "fill-rule": "evenodd"
6465
6465
  }, [createVNode("polygon", {
6466
- "points": "7.5 1.74501946 1.39184847 13.5954649 7.08947368 14.2207621 13.9973698 13.5954649 10.9383683 5.61273879 8.40084114 1.27624313"
6466
+ "points": "7.5 1.74501946 1.39184847 13.5954649 7.08947368 14.2207621 13.9973698 13.5954649 10.9383683 5.61273879 8.40084114 1.27624313"
6467
6467
  }, null), createVNode("path", {
6468
- "d": "M8.51325441,0.127397589 C8.70423071,0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 Z M8.87894737,11.2105263 L7.08947368,11.2105263 L7.08947368,13 L8.87894737,13 L8.87894737,11.2105263 Z M8.96842105,4.5 L7,4.5 L7.08947368,9.86842105 L8.87894737,9.86842105 L8.96842105,4.5 Z"
6468
+ "d": `M8.51325441,0.127397589 C8.70423071,0.228333932
6469
+ 8.8605922,0.383286648 8.96244623,0.57254229 L15.8714442,13.4101975
6470
+ C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158
6471
+ C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15
6472
+ C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684
6473
+ 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987
6474
+ 8.51325441,0.127397589 Z M8.87894737,11.2105263 L7.08947368,11.2105263 L7.08947368,13
6475
+ L8.87894737,13 L8.87894737,11.2105263 Z M8.96842105,4.5 L7,4.5 L7.08947368,9.86842105
6476
+ L8.87894737,9.86842105 L8.96842105,4.5 Z`
6469
6477
  }, null)])]);
6470
6478
  }
6471
6479
  function InfoIcon() {
@@ -6486,7 +6494,7 @@ function InfoIcon() {
6486
6494
  }, null), createVNode("g", {
6487
6495
  "stroke-width": "1"
6488
6496
  }, [createVNode("path", {
6489
- "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,5 L7,5 L7,3 L9,3 L9,5 Z M9,12.6 L7,12.6 L7,6.6 L9,6.6 L9,12.6 Z"
6497
+ "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,5 L7,5 L7,3 L9,3 L9,5 Z M9,12.6 L7,12.6 L7,6.6 L9,6.6 L9,12.6 Z"
6490
6498
  }, null)])])]);
6491
6499
  }
6492
6500
  function ErrorIcon$1() {
@@ -6507,7 +6515,7 @@ function ErrorIcon$1() {
6507
6515
  "cy": "8",
6508
6516
  "r": "7"
6509
6517
  }, null), createVNode("path", {
6510
- "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,12.6 L7,12.6 L7,10.6 L9,10.6 L9,12.6 Z M9,9.1 L7,9.1 L6.9,3.1 L9.1,3.1 L9,9.1 Z",
6518
+ "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,12.6 L7,12.6 L7,10.6 L9,10.6 L9,12.6 Z M9,9.1 L7,9.1 L6.9,3.1 L9.1,3.1 L9,9.1 Z",
6511
6519
  "fill-rule": "nonzero"
6512
6520
  }, null)])]);
6513
6521
  }
@@ -6616,7 +6624,14 @@ function HelpTipsIcon() {
6616
6624
  "fill": "none",
6617
6625
  "fill-rule": "evenodd"
6618
6626
  }, [createVNode("g", null, [createVNode("path", {
6619
- "d": "M8.5,8.95852078 L8.5,11 L7.5,11 L7.5,8.5 C7.5,8.22385763 7.72385763,8 8,8 C9.1045695,8 10,7.1045695 10,6 C10,4.8954305 9.1045695,4 8,4 C6.8954305,4 6,4.8954305 6,6 L5,6 C5,4.34314575 6.34314575,3 8,3 C9.65685425,3 11,4.34314575 11,6 C11,7.48649814 9.91885667,8.72048173 8.5,8.95852078 L8.5,8.95852078 Z M8,16 C3.581722,16 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278 12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1 C4.13400675,1 1,4.13400675 1,8 C1,11.8659932 4.13400675,15 8,15 Z M7.5,12 L8.5,12 L8.5,13 L7.5,13 L7.5,12 Z",
6627
+ "d": `M8.5,8.95852078 L8.5,11 L7.5,11 L7.5,8.5 C7.5,8.22385763
6628
+ 7.72385763,8 8,8 C9.1045695,8 10,7.1045695 10,6 C10,4.8954305
6629
+ 9.1045695,4 8,4 C6.8954305,4 6,4.8954305 6,6 L5,6 C5,4.34314575
6630
+ 6.34314575,3 8,3 C9.65685425,3 11,4.34314575 11,6 C11,7.48649814
6631
+ 9.91885667,8.72048173 8.5,8.95852078 L8.5,8.95852078 Z M8,16 C3.581722,16
6632
+ 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278
6633
+ 12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1
6634
+ C4.13400675,1 1,4.13400675 1,8 C1,11.8659932 4.13400675,15 8,15 Z M7.5,12 L8.5,12 L8.5,13 L7.5,13 L7.5,12 Z`,
6620
6635
  "fill": "#293040",
6621
6636
  "fill-rule": "nonzero"
6622
6637
  }, null)])])]);
@@ -6636,7 +6651,10 @@ function ErrorIcon() {
6636
6651
  "cy": "8",
6637
6652
  "r": "8"
6638
6653
  }, null), createVNode("polygon", {
6639
- "points": "8.07106781 6.65685425 10.8994949 3.82842712 12.3137085 5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712"
6654
+ "points": `8.07106781 6.65685425 10.8994949 3.82842712 12.3137085
6655
+ 5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085
6656
+ 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425
6657
+ 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712`
6640
6658
  }, null)])]);
6641
6659
  }
6642
6660
  function SuccessIcon() {
@@ -6654,7 +6672,7 @@ function SuccessIcon() {
6654
6672
  "cy": "8",
6655
6673
  "r": "8"
6656
6674
  }, null), createVNode("polygon", {
6657
- "points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
6675
+ "points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
6658
6676
  }, null)])]);
6659
6677
  }
6660
6678
  function PendingIcon() {
@@ -6669,7 +6687,7 @@ function PendingIcon() {
6669
6687
  "fill": "none",
6670
6688
  "fill-rule": "evenodd"
6671
6689
  }, [createVNode("path", {
6672
- "d": "M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z M8,1 C4.15,1 1,4.15 1,8 C1,11.85 4.15,15 8,15 C11.85,15 15,11.85 15,8 C15,4.15 11.85,1 8,1 Z",
6690
+ "d": "M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z M8,1 C4.15,1 1,4.15 1,8 C1,11.85 4.15,15 8,15 C11.85,15 15,11.85 15,8 C15,4.15 11.85,1 8,1 Z",
6673
6691
  "fill-rule": "nonzero"
6674
6692
  }, null), createVNode("path", {
6675
6693
  "d": "M8,0 C12.4,0 16,3.6 16,8 L15,8 C15,4.15 11.85,1 8,1 L8,0 Z",
@@ -8012,7 +8030,7 @@ defineComponent({
8012
8030
  }, [createVNode(FormLabel, {
8013
8031
  "help-tips": helpTips.value
8014
8032
  }, {
8015
- default: () => [label == null ? void 0 : label.value]
8033
+ default: () => [ctx.slots.label ? ctx.slots.label() : label == null ? void 0 : label.value]
8016
8034
  }), createVNode(FormControl, {
8017
8035
  "feedback-status": feedbackStatus == null ? void 0 : feedbackStatus.value,
8018
8036
  "extra-info": extraInfo.value
@@ -11667,7 +11685,17 @@ const IconCalendar = () => createVNode("svg", {
11667
11685
  "fill": "none",
11668
11686
  "fill-rule": "evenodd"
11669
11687
  }, [createVNode("path", {
11670
- "d": "M5,0 L5,1 L11,1 L11,0 L12,0 L12,1 L14,1 C15.1045695, 1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14, 16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0, 1.8954305 0.8954305,1 2,1 L4,1 L4,0 L5,0 Z M15,5 L1, 5 L1,14 C1,14.5522847 1.44771525,15 2,15 L14,15 C14.5522847, 15 15,14.5522847 15,14 L15,5 Z M6,7 C6.55228475,7 7,7.44771525 7, 8 L7,10 C7,10.5522847 6.55228475,11 6,11 L4,11 C3.44771525,11 3, 10.5522847 3,10 L3,8 C3,7.44771525 3.44771525,7 4,7 L6,7 Z M6, 8 L4,8 L4,10 L6,10 L6,8 Z M4,2 L2,2 C1.44771525,2 1,2.44771525 1, 3 L1,4 L15,4 L15,3 C15,2.44771525 14.5522847,2 14,2 L12,2 L12, 3 L11,3 L11,2 L5,2 L5,3 L4,3 L4,2 Z",
11688
+ "d": `M5,0 L5,1 L11,1 L11,0 L12,0 L12,1 L14,1 C15.1045695,
11689
+ 1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14,
11690
+ 16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0,
11691
+ 1.8954305 0.8954305,1 2,1 L4,1 L4,0 L5,0 Z M15,5 L1,
11692
+ 5 L1,14 C1,14.5522847 1.44771525,15 2,15 L14,15 C14.5522847,
11693
+ 15 15,14.5522847 15,14 L15,5 Z M6,7 C6.55228475,7 7,7.44771525 7,
11694
+ 8 L7,10 C7,10.5522847 6.55228475,11 6,11 L4,11 C3.44771525,11 3,
11695
+ 10.5522847 3,10 L3,8 C3,7.44771525 3.44771525,7 4,7 L6,7 Z M6,
11696
+ 8 L4,8 L4,10 L6,10 L6,8 Z M4,2 L2,2 C1.44771525,2 1,2.44771525 1,
11697
+ 3 L1,4 L15,4 L15,3 C15,2.44771525 14.5522847,2 14,2 L12,2 L12,
11698
+ 3 L11,3 L11,2 L5,2 L5,3 L4,3 L4,2 Z`,
11671
11699
  "fill": "#BABBC0"
11672
11700
  }, null)])]);
11673
11701
  const IconClose = () => createVNode("svg", {
@@ -11682,7 +11710,22 @@ const IconClose = () => createVNode("svg", {
11682
11710
  "fill": "none",
11683
11711
  "fill-rule": "evenodd"
11684
11712
  }, [createVNode("path", {
11685
- "d": "M8,1 C11.8659932,1 15,4.13400675 15,8 C15, 11.8659932 11.8659932,15 8,15 C4.13400675,15 1, 11.8659932 1,8 C1,4.13400675 4.13400675,1 8, 1 Z M5.87867966,5.17157288 C5.68341751,4.97631073 5.36683502, 4.97631073 5.17157288,5.17157288 C4.99800652,5.34513923 4.97872137, 5.61456363 5.11371742,5.80943177 L5.17157288,5.87867966 L7.29218611, 7.99929289 L5.17157288,10.1213203 C4.97631073,10.3165825 4.97631073, 10.633165 5.17157288,10.8284271 C5.34513923,11.0019935 5.61456363, 11.0212786 5.80943177,10.8862826 L5.87867966,10.8284271 L7.99929289, 8.70639967 L10.1213203,10.8284271 C10.3165825,11.0236893 10.633165, 11.0236893 10.8284271,10.8284271 C11.0019935,10.6548608 11.0212786, 10.3854364 10.8862826,10.1905682 L10.8284271,10.1213203 L8.70710678, 8 L10.8284271,5.87867966 C11.0236893,5.68341751 11.0236893, 5.36683502 10.8284271,5.17157288 C10.6548608,4.99800652 10.3854364, 4.97872137 10.1905682,5.11371742 L10.1213203,5.17157288 L8, 7.29289322 L5.87867966,5.17157288 Z",
11713
+ "d": `M8,1 C11.8659932,1 15,4.13400675 15,8 C15,
11714
+ 11.8659932 11.8659932,15 8,15 C4.13400675,15 1,
11715
+ 11.8659932 1,8 C1,4.13400675 4.13400675,1 8,
11716
+ 1 Z M5.87867966,5.17157288 C5.68341751,4.97631073 5.36683502,
11717
+ 4.97631073 5.17157288,5.17157288 C4.99800652,5.34513923 4.97872137,
11718
+ 5.61456363 5.11371742,5.80943177 L5.17157288,5.87867966 L7.29218611,
11719
+ 7.99929289 L5.17157288,10.1213203 C4.97631073,10.3165825 4.97631073,
11720
+ 10.633165 5.17157288,10.8284271 C5.34513923,11.0019935 5.61456363,
11721
+ 11.0212786 5.80943177,10.8862826 L5.87867966,10.8284271 L7.99929289,
11722
+ 8.70639967 L10.1213203,10.8284271 C10.3165825,11.0236893 10.633165,
11723
+ 11.0236893 10.8284271,10.8284271 C11.0019935,10.6548608 11.0212786,
11724
+ 10.3854364 10.8862826,10.1905682 L10.8284271,10.1213203 L8.70710678,
11725
+ 8 L10.8284271,5.87867966 C11.0236893,5.68341751 11.0236893,
11726
+ 5.36683502 10.8284271,5.17157288 C10.6548608,4.99800652 10.3854364,
11727
+ 4.97872137 10.1905682,5.11371742 L10.1213203,5.17157288 L8,
11728
+ 7.29289322 L5.87867966,5.17157288 Z`,
11686
11729
  "fill-rule": "nonzero"
11687
11730
  }, null)])]);
11688
11731
  var datePickerPro = "";