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
package/form/index.es.js CHANGED
@@ -6149,9 +6149,17 @@ function WarningIcon() {
6149
6149
  "fill": "none",
6150
6150
  "fill-rule": "evenodd"
6151
6151
  }, [createVNode("polygon", {
6152
- "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"
6152
+ "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"
6153
6153
  }, null), createVNode("path", {
6154
- "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"
6154
+ "d": `M8.51325441,0.127397589 C8.70423071,0.228333932
6155
+ 8.8605922,0.383286648 8.96244623,0.57254229 L15.8714442,13.4101975
6156
+ C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158
6157
+ C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15
6158
+ C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684
6159
+ 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987
6160
+ 8.51325441,0.127397589 Z M8.87894737,11.2105263 L7.08947368,11.2105263 L7.08947368,13
6161
+ L8.87894737,13 L8.87894737,11.2105263 Z M8.96842105,4.5 L7,4.5 L7.08947368,9.86842105
6162
+ L8.87894737,9.86842105 L8.96842105,4.5 Z`
6155
6163
  }, null)])]);
6156
6164
  }
6157
6165
  function InfoIcon() {
@@ -6172,7 +6180,7 @@ function InfoIcon() {
6172
6180
  }, null), createVNode("g", {
6173
6181
  "stroke-width": "1"
6174
6182
  }, [createVNode("path", {
6175
- "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"
6183
+ "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"
6176
6184
  }, null)])])]);
6177
6185
  }
6178
6186
  function ErrorIcon$1() {
@@ -6193,7 +6201,7 @@ function ErrorIcon$1() {
6193
6201
  "cy": "8",
6194
6202
  "r": "7"
6195
6203
  }, null), createVNode("path", {
6196
- "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",
6204
+ "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",
6197
6205
  "fill-rule": "nonzero"
6198
6206
  }, null)])]);
6199
6207
  }
@@ -6302,7 +6310,14 @@ function HelpTipsIcon() {
6302
6310
  "fill": "none",
6303
6311
  "fill-rule": "evenodd"
6304
6312
  }, [createVNode("g", null, [createVNode("path", {
6305
- "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",
6313
+ "d": `M8.5,8.95852078 L8.5,11 L7.5,11 L7.5,8.5 C7.5,8.22385763
6314
+ 7.72385763,8 8,8 C9.1045695,8 10,7.1045695 10,6 C10,4.8954305
6315
+ 9.1045695,4 8,4 C6.8954305,4 6,4.8954305 6,6 L5,6 C5,4.34314575
6316
+ 6.34314575,3 8,3 C9.65685425,3 11,4.34314575 11,6 C11,7.48649814
6317
+ 9.91885667,8.72048173 8.5,8.95852078 L8.5,8.95852078 Z M8,16 C3.581722,16
6318
+ 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278
6319
+ 12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1
6320
+ 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`,
6306
6321
  "fill": "#293040",
6307
6322
  "fill-rule": "nonzero"
6308
6323
  }, null)])])]);
@@ -6322,7 +6337,10 @@ function ErrorIcon() {
6322
6337
  "cy": "8",
6323
6338
  "r": "8"
6324
6339
  }, null), createVNode("polygon", {
6325
- "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"
6340
+ "points": `8.07106781 6.65685425 10.8994949 3.82842712 12.3137085
6341
+ 5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085
6342
+ 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425
6343
+ 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712`
6326
6344
  }, null)])]);
6327
6345
  }
6328
6346
  function SuccessIcon() {
@@ -6340,7 +6358,7 @@ function SuccessIcon() {
6340
6358
  "cy": "8",
6341
6359
  "r": "8"
6342
6360
  }, null), createVNode("polygon", {
6343
- "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"
6361
+ "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"
6344
6362
  }, null)])]);
6345
6363
  }
6346
6364
  function PendingIcon() {
@@ -6355,7 +6373,7 @@ function PendingIcon() {
6355
6373
  "fill": "none",
6356
6374
  "fill-rule": "evenodd"
6357
6375
  }, [createVNode("path", {
6358
- "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",
6376
+ "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",
6359
6377
  "fill-rule": "nonzero"
6360
6378
  }, null), createVNode("path", {
6361
6379
  "d": "M8,0 C12.4,0 16,3.6 16,8 L15,8 C15,4.15 11.85,1 8,1 L8,0 Z",
@@ -7698,7 +7716,7 @@ var FormItem = defineComponent({
7698
7716
  }, [createVNode(FormLabel, {
7699
7717
  "help-tips": helpTips.value
7700
7718
  }, {
7701
- default: () => [label == null ? void 0 : label.value]
7719
+ default: () => [ctx.slots.label ? ctx.slots.label() : label == null ? void 0 : label.value]
7702
7720
  }), createVNode(FormControl, {
7703
7721
  "feedback-status": feedbackStatus == null ? void 0 : feedbackStatus.value,
7704
7722
  "extra-info": extraInfo.value