vue-devui 1.0.0 → 1.0.1

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 (123) hide show
  1. package/README.md +31 -6
  2. package/alert/style.css +1 -1
  3. package/auto-complete/index.es.js +27 -16
  4. package/auto-complete/index.umd.js +11 -11
  5. package/auto-complete/style.css +1 -1
  6. package/button/index.es.js +7 -6
  7. package/button/index.umd.js +5 -5
  8. package/button/style.css +1 -1
  9. package/card/style.css +1 -1
  10. package/checkbox/index.es.js +14 -8
  11. package/checkbox/index.umd.js +8 -8
  12. package/checkbox/style.css +1 -1
  13. package/date-picker-pro/index.es.js +135 -133
  14. package/date-picker-pro/index.umd.js +13 -13
  15. package/date-picker-pro/style.css +1 -1
  16. package/drawer/index.es.js +22 -5
  17. package/drawer/index.umd.js +1 -1
  18. package/drawer/style.css +1 -1
  19. package/dropdown/index.es.js +16 -3
  20. package/dropdown/index.umd.js +1 -1
  21. package/dropdown/style.css +1 -1
  22. package/editable-select/index.es.js +67 -62
  23. package/editable-select/index.umd.js +1 -1
  24. package/editable-select/style.css +1 -1
  25. package/form/index.es.js +14 -8
  26. package/form/index.umd.js +5 -5
  27. package/form/style.css +1 -1
  28. package/icon/index.es.js +2 -1
  29. package/icon/index.umd.js +1 -1
  30. package/icon/style.css +1 -1
  31. package/image-preview/style.css +1 -1
  32. package/input/index.es.js +19 -11
  33. package/input/index.umd.js +4 -4
  34. package/input/style.css +1 -1
  35. package/input-number/index.es.js +26 -23
  36. package/input-number/index.umd.js +1 -1
  37. package/input-number/style.css +1 -1
  38. package/loading/index.es.js +51 -51
  39. package/loading/index.umd.js +1 -1
  40. package/mention/index.es.js +19 -10
  41. package/mention/index.umd.js +6 -6
  42. package/mention/style.css +1 -1
  43. package/menu/index.es.js +131 -144
  44. package/menu/index.umd.js +1 -1
  45. package/menu/style.css +1 -1
  46. package/message/index.es.js +2 -1
  47. package/message/index.umd.js +1 -1
  48. package/message/style.css +1 -1
  49. package/modal/index.es.js +158 -43
  50. package/modal/index.umd.js +1 -1
  51. package/modal/style.css +1 -1
  52. package/notification/index.es.js +7 -9
  53. package/notification/index.umd.js +1 -1
  54. package/notification/style.css +1 -1
  55. package/nuxt/components/paginationInjectionKey.js +3 -0
  56. package/overlay/index.es.js +12 -2
  57. package/overlay/index.umd.js +1 -1
  58. package/overlay/style.css +1 -1
  59. package/package.json +2 -2
  60. package/pagination/index.es.js +10161 -278
  61. package/pagination/index.umd.js +27 -1
  62. package/pagination/style.css +1 -1
  63. package/panel/index.es.js +4 -0
  64. package/panel/index.umd.js +1 -1
  65. package/popover/index.es.js +13 -5
  66. package/popover/index.umd.js +9 -9
  67. package/popover/style.css +1 -1
  68. package/radio/index.es.js +14 -8
  69. package/radio/index.umd.js +4 -4
  70. package/radio/style.css +1 -1
  71. package/result/index.es.js +2 -1
  72. package/result/index.umd.js +1 -1
  73. package/result/style.css +1 -1
  74. package/search/index.es.js +20 -12
  75. package/search/index.umd.js +4 -4
  76. package/search/style.css +1 -1
  77. package/select/index.es.js +126 -104
  78. package/select/index.umd.js +10 -10
  79. package/select/style.css +1 -1
  80. package/skeleton/style.css +1 -1
  81. package/splitter/index.es.js +30 -7
  82. package/splitter/index.umd.js +16 -16
  83. package/splitter/style.css +1 -1
  84. package/status/index.es.js +4 -0
  85. package/status/index.umd.js +1 -1
  86. package/steps/index.es.js +2 -1
  87. package/steps/index.umd.js +1 -1
  88. package/steps/style.css +1 -1
  89. package/style.css +1 -1
  90. package/switch/index.es.js +14 -8
  91. package/switch/index.umd.js +13 -13
  92. package/switch/style.css +1 -1
  93. package/table/index.es.js +154 -60
  94. package/table/index.umd.js +7 -7
  95. package/table/style.css +1 -1
  96. package/tabs/index.es.js +54 -42
  97. package/tabs/index.umd.js +1 -1
  98. package/tabs/style.css +1 -1
  99. package/tag/style.css +1 -1
  100. package/textarea/index.es.js +17 -9
  101. package/textarea/index.umd.js +13 -13
  102. package/textarea/style.css +1 -1
  103. package/time-picker/index.es.js +151 -151
  104. package/time-picker/index.umd.js +14 -14
  105. package/time-picker/style.css +1 -1
  106. package/time-select/index.es.js +128 -106
  107. package/time-select/index.umd.js +13 -13
  108. package/time-select/style.css +1 -1
  109. package/timeline/index.es.js +2 -1
  110. package/timeline/index.umd.js +1 -1
  111. package/timeline/style.css +1 -1
  112. package/tooltip/index.es.js +28 -6
  113. package/tooltip/index.umd.js +7 -7
  114. package/tooltip/style.css +1 -1
  115. package/tree/index.es.js +42 -32
  116. package/tree/index.umd.js +7 -7
  117. package/tree/style.css +1 -1
  118. package/upload/index.es.js +9 -10
  119. package/upload/index.umd.js +1 -1
  120. package/upload/style.css +1 -1
  121. package/vue-devui.es.js +3580 -3269
  122. package/vue-devui.umd.js +20 -20
  123. package/nuxt/components/Loading.js +0 -3
package/README.md CHANGED
@@ -19,14 +19,28 @@ English | [简体中文](README.zh-CN.md)
19
19
  - 🌍 Support internationalization.
20
20
  - 🎨 Support theme customization, and built-in seven beautiful themes such as `Galaxy`, `Sweet` and `Provence`.
21
21
 
22
- ## 🔧 Usage
22
+ ## 🌐 Installation
23
+
24
+ Install with npm
25
+
26
+ ```sh
27
+ npm install vue-devui --save
28
+ ```
23
29
 
24
- The first step is to install vue devui:
30
+ Install with yarn
25
31
 
32
+ ```sh
33
+ yarn add vue-devui
26
34
  ```
27
- npm i vue-devui
35
+
36
+ Install with pnpm
37
+
38
+ ```sh
39
+ pnpm add vue-devui
28
40
  ```
29
41
 
42
+ ## 🔧 Usage
43
+
30
44
  Then import `DevUI` in the `main.ts` file:
31
45
 
32
46
  ```ts
@@ -50,20 +64,27 @@ Then you can use the vue devui component(such as `<d-button>`) in the `App.vue`
50
64
 
51
65
  ## 🖥️ Development
52
66
 
53
- ```shell
67
+ ```sh
54
68
  git clone git@github.com:DevCloudFE/vue-devui.git
55
69
  cd vue-devui
56
- pnpm i
57
- pnpm dev
70
+ pnpm install
71
+ pnpm scripts run dev
58
72
  ```
59
73
 
60
74
  Open your browser and visit: [http://localhost:3000/](http://localhost:3000/).
61
75
 
76
+ Or you can run other command
77
+
78
+ ```sh
79
+ pnpm scripts
80
+ ```
81
+
62
82
  ## 🤝 Contributing
63
83
 
64
84
  Welcome to join our Vue DevUI open source project!🎉
65
85
 
66
86
  By participating in the Vue DevUI project, we can together:
87
+
67
88
  - 🔥 Learn the latest cool `Vite` + `Vue3` + `TypeScript` + `JSX` technology.
68
89
  - 🎁 Learn how to design and develop UI components.
69
90
  - ⭐ Hone programming skills and learn excellent programming practice.
@@ -144,6 +165,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
144
165
  <td align="center"><a href="https://github.com/79E"><img src="https://avatars.githubusercontent.com/u/71202421?v=4?s=100" width="100px;" alt=""/><br /><sub><b>79</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=79E" title="Code">💻</a></td>
145
166
  <td align="center"><a href="https://github.com/SituC"><img src="https://avatars.githubusercontent.com/u/29355875?v=4?s=100" width="100px;" alt=""/><br /><sub><b>wailen</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=SituC" title="Code">💻</a></td>
146
167
  <td align="center"><a href="https://github.com/JensonMiao"><img src="https://avatars.githubusercontent.com/u/46488783?v=4?s=100" width="100px;" alt=""/><br /><sub><b>jenson</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=JensonMiao" title="Code">💻</a></td>
168
+ <td align="center"><a href="https://github.com/dbsdaicheng"><img src="https://avatars.githubusercontent.com/u/62135142?v=4?s=100" width="100px;" alt=""/><br /><sub><b>dbsdaicheng</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=dbsdaicheng" title="Tests">⚠️</a></td>
169
+ <td align="center"><a href="https://github.com/qinwencheng"><img src="https://avatars.githubusercontent.com/u/24841685?v=4?s=100" width="100px;" alt=""/><br /><sub><b>qinwencheng</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=qinwencheng" title="Code">💻</a></td>
170
+ <td align="center"><a href="https://github.com/angelanana"><img src="https://avatars.githubusercontent.com/u/63281354?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Angelanana</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=angelanana" title="Code">💻</a></td>
171
+ <td align="center"><a href="https://github.com/joo1es"><img src="https://avatars.githubusercontent.com/u/76929557?v=4?s=100" width="100px;" alt=""/><br /><sub><b>joo1es</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=joo1es" title="Code">💻</a></td>
147
172
  </tr>
148
173
  </table>
149
174
 
package/alert/style.css CHANGED
@@ -1 +1 @@
1
- .devui-alert{color:var(--devui-text, #252b3a);font-size:var(--devui-font-size, 14px);border:1px solid transparent;padding:8px 16px;line-height:24px;border-radius:var(--devui-border-radius, 4px);display:flex;align-items:center;position:relative;width:100%;overflow:hidden}.devui-alert.devui-alert--center{justify-content:center}.devui-alert .devui-alert__content{display:flex;padding:0 16px 0 4px;word-break:normal;word-wrap:break-word}.devui-alert .devui-alert__close-icon{color:var(--devui-text, #252b3a);opacity:1;line-height:26px;height:24px;position:absolute;right:16px;top:8px}.devui-alert .devui-alert__close-icon>svg path{fill:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__close-icon span{color:var(--devui-text, #252b3a);font-size:var(--devui-font-size, 14px);font-weight:700}.devui-alert.devui-alert--success{background-color:var(--devui-success-bg, #edfff9);border-color:var(--devui-success-line, #50d4ab);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--success .devui-alert__close-icon>svg path{fill:var(--devui-success-line, #50d4ab)}.devui-alert.devui-alert--info{background-color:var(--devui-info-bg, #f2f5fc);border-color:var(--devui-info-line, #5e7ce0);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--info .devui-alert__close-icon>svg path{fill:var(--devui-info-line, #5e7ce0)}.devui-alert.devui-alert--warning{background-color:var(--devui-warning-bg, #fff3e8);border-color:var(--devui-warning-line, #fa9841);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--warning .devui-alert__close-icon>svg path{fill:var(--devui-warning-line, #fa9841)}.devui-alert.devui-alert--danger{background-color:var(--devui-danger-bg, #ffeeed);border-color:var(--devui-danger-line, #f66f6a);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--danger .devui-alert__close-icon>svg path{fill:var(--devui-danger-line, #f66f6a)}.devui-alert.devui-alert--simple{border-color:var(--devui-line, #d7d8da);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--simple .devui-alert__close-icon>svg path{fill:var(--devui-text-weak, #575d6c)}.devui-alert svg.devui-alert__icon{width:16px;height:16px;vertical-align:middle;transform:translateY(-1px)}.devui-alert .devui-alert__icon.devui-alert__icon--success>g path{fill:var(--devui-success-line, #50d4ab)}.devui-alert .devui-alert__icon.devui-alert__icon--success>g polygon{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__icon.devui-alert__icon--warning>g path.warning-outer{fill:var(--devui-warning-line, #fa9841)}.devui-alert .devui-alert__icon.devui-alert__icon--warning>g path.warning-inner{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__icon.devui-alert__icon--info>g path.info-outer{fill:var(--devui-info-line, #5e7ce0)}.devui-alert .devui-alert__icon.devui-alert__icon--info>g path.info-inner{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__icon.devui-alert__icon--error>g path.error-outer{fill:var(--devui-danger-line, #f66f6a)}.devui-alert .devui-alert__icon.devui-alert__icon--error>g path.error-inner{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert__icon-wrap{margin-right:4px}.devui-alter--close{margin:0;padding-top:0;padding-bottom:0;transform-origin:50% 0;transition:all .3s ease-in-out}.devui-alert-leave-active{animation:alertUpOut .3s ease-in-out;animation-fill-mode:both}@keyframes alertUpOut{0%{transform:scaleY(1);transform-origin:0% 0%;opacity:1}to{transform:scaleY(0);transform-origin:0% 0%;opacity:0}}
1
+ .devui-alert{color:var(--devui-text, #252b3a);font-size:var(--devui-font-size, 14px);border:1px solid transparent;padding:8px 16px;line-height:24px;border-radius:var(--devui-border-radius, 2px);display:flex;align-items:center;position:relative;width:100%;overflow:hidden}.devui-alert.devui-alert--center{justify-content:center}.devui-alert .devui-alert__content{display:flex;padding:0 16px 0 4px;word-break:normal;word-wrap:break-word}.devui-alert .devui-alert__close-icon{color:var(--devui-text, #252b3a);opacity:1;line-height:26px;height:24px;position:absolute;right:16px;top:8px}.devui-alert .devui-alert__close-icon>svg path{fill:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__close-icon span{color:var(--devui-text, #252b3a);font-size:var(--devui-font-size, 14px);font-weight:700}.devui-alert.devui-alert--success{background-color:var(--devui-success-bg, #edfff9);border-color:var(--devui-success-line, #50d4ab);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--success .devui-alert__close-icon>svg path{fill:var(--devui-success-line, #50d4ab)}.devui-alert.devui-alert--info{background-color:var(--devui-info-bg, #f2f5fc);border-color:var(--devui-info-line, #5e7ce0);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--info .devui-alert__close-icon>svg path{fill:var(--devui-info-line, #5e7ce0)}.devui-alert.devui-alert--warning{background-color:var(--devui-warning-bg, #fff3e8);border-color:var(--devui-warning-line, #fa9841);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--warning .devui-alert__close-icon>svg path{fill:var(--devui-warning-line, #fa9841)}.devui-alert.devui-alert--danger{background-color:var(--devui-danger-bg, #ffeeed);border-color:var(--devui-danger-line, #f66f6a);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--danger .devui-alert__close-icon>svg path{fill:var(--devui-danger-line, #f66f6a)}.devui-alert.devui-alert--simple{border-color:var(--devui-line, #d7d8da);color:var(--devui-text, #252b3a)}.devui-alert.devui-alert--simple .devui-alert__close-icon>svg path{fill:var(--devui-text-weak, #575d6c)}.devui-alert svg.devui-alert__icon{width:16px;height:16px;vertical-align:middle;transform:translateY(-1px)}.devui-alert .devui-alert__icon.devui-alert__icon--success>g path{fill:var(--devui-success-line, #50d4ab)}.devui-alert .devui-alert__icon.devui-alert__icon--success>g polygon{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__icon.devui-alert__icon--warning>g path.warning-outer{fill:var(--devui-warning-line, #fa9841)}.devui-alert .devui-alert__icon.devui-alert__icon--warning>g path.warning-inner{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__icon.devui-alert__icon--info>g path.info-outer{fill:var(--devui-info-line, #5e7ce0)}.devui-alert .devui-alert__icon.devui-alert__icon--info>g path.info-inner{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert .devui-alert__icon.devui-alert__icon--error>g path.error-outer{fill:var(--devui-danger-line, #f66f6a)}.devui-alert .devui-alert__icon.devui-alert__icon--error>g path.error-inner{fill:var(--devui-light-text, #ffffff);stroke:var(--devui-light-text, #ffffff)}.devui-alert__icon-wrap{margin-right:4px}.devui-alter--close{margin:0;padding-top:0;padding-bottom:0;transform-origin:50% 0;transition:all .3s ease-in-out}.devui-alert-leave-active{animation:alertUpOut .3s ease-in-out;animation-fill-mode:both}@keyframes alertUpOut{0%{transform:scaleY(1);transform-origin:0% 0%;opacity:1}to{transform:scaleY(0);transform-origin:0% 0%;opacity:0}}
@@ -33,7 +33,7 @@ var __publicField = (obj, key, value) => {
33
33
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
34
34
  return value;
35
35
  };
36
- import { ref, nextTick, defineComponent, watch, provide, reactive, toRefs, createVNode, onUnmounted, Transition, mergeProps, unref, Comment, Text, h, Fragment, inject, withDirectives, cloneVNode, computed, onMounted, Teleport, withModifiers, createTextVNode, onBeforeUnmount, render, getCurrentInstance, resolveDirective, vShow, resolveDynamicComponent, isVNode } from "vue";
36
+ import { ref, nextTick, defineComponent, watch, provide, reactive, toRefs, createVNode, onUnmounted, Transition, mergeProps, unref, withModifiers, Comment, Text, h, Fragment, inject, withDirectives, cloneVNode, computed, onMounted, Teleport, createTextVNode, onBeforeUnmount, render, getCurrentInstance, resolveDirective, vShow, resolveDynamicComponent, isVNode } from "vue";
37
37
  import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
38
38
  const defaultFormatter = (item) => {
39
39
  if (typeof item === "string") {
@@ -6171,6 +6171,10 @@ const flexibleOverlayProps = {
6171
6171
  isArrowCenter: {
6172
6172
  type: Boolean,
6173
6173
  default: true
6174
+ },
6175
+ clickEventBubble: {
6176
+ type: Boolean,
6177
+ default: false
6174
6178
  }
6175
6179
  };
6176
6180
  function getScrollParent(element) {
@@ -6285,6 +6289,9 @@ const FlexibleOverlay = defineComponent({
6285
6289
  expose
6286
6290
  }) {
6287
6291
  const ns2 = useNamespace("flexible-overlay");
6292
+ const {
6293
+ clickEventBubble
6294
+ } = toRefs(props);
6288
6295
  const {
6289
6296
  arrowRef,
6290
6297
  overlayRef,
@@ -6298,7 +6305,10 @@ const FlexibleOverlay = defineComponent({
6298
6305
  return props.modelValue && createVNode("div", mergeProps({
6299
6306
  "ref": overlayRef,
6300
6307
  "class": ns2.b()
6301
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), props.showArrow && createVNode("div", {
6308
+ }, attrs, {
6309
+ "onClick": withModifiers(() => ({}), [clickEventBubble.value ? "" : "stop"]),
6310
+ "onPointerup": withModifiers(() => ({}), ["stop"])
6311
+ }), [(_a = slots.default) == null ? void 0 : _a.call(slots), props.showArrow && createVNode("div", {
6302
6312
  "ref": arrowRef,
6303
6313
  "class": ns2.e("arrow")
6304
6314
  }, null)]);
@@ -6417,7 +6427,7 @@ const TransformOriginMap = {
6417
6427
  function usePopover(props, visible, placement, origin, popoverRef) {
6418
6428
  const { trigger, isOpen } = toRefs(props);
6419
6429
  const overlayStyles = computed(() => ({
6420
- zIndex: 1060,
6430
+ zIndex: "var(--devui-z-index-pop-up, 1060)",
6421
6431
  transformOrigin: TransformOriginMap[placement.value]
6422
6432
  }));
6423
6433
  const onDocumentClick = (e) => {
@@ -6660,8 +6670,6 @@ var Popover = defineComponent({
6660
6670
  "style": overlayStyles.value
6661
6671
  }, attrs, {
6662
6672
  "onPositionChange": handlePositionChange,
6663
- "onClick": withModifiers(() => ({}), ["stop"]),
6664
- "onPointerup": withModifiers(() => ({}), ["stop"]),
6665
6673
  "onMouseenter": onMouseenter,
6666
6674
  "onMouseleave": onMouseleave
6667
6675
  }), {
@@ -6860,9 +6868,7 @@ var FormControl = defineComponent({
6860
6868
  }, {
6861
6869
  default: () => {
6862
6870
  var _a, _b;
6863
- return [createVNode("div", {
6864
- "class": ns2.e("control-content")
6865
- }, [(_b = (_a = ctx2.slots).default) == null ? void 0 : _b.call(_a)]), createTextVNode(",")];
6871
+ return [(_b = (_a = ctx2.slots).default) == null ? void 0 : _b.call(_a)];
6866
6872
  }
6867
6873
  }), showFeedback.value && createVNode("span", {
6868
6874
  "class": [ns2.e("feedback-icon"), ns2.em("feedback-icon", feedbackStatus.value)]
@@ -8197,7 +8203,7 @@ class LoadingOptions {
8197
8203
  }
8198
8204
  var loading = "";
8199
8205
  var Loading = defineComponent({
8200
- name: "DLoading",
8206
+ name: "Loading",
8201
8207
  inheritAttrs: false,
8202
8208
  props: loadingProps,
8203
8209
  setup(props) {
@@ -8350,12 +8356,12 @@ const handleProps = (el, vprops) => {
8350
8356
  const props = __spreadValues(__spreadValues({}, new LoadingOptions()), vprops);
8351
8357
  const loadingTemplateRef = props.loadingTemplateRef;
8352
8358
  const loadingInstance = createComponent(loadingConstructor, __spreadValues({}, props), loadingTemplateRef ? () => loadingTemplateRef : null);
8353
- el.style.position = props.positionType;
8359
+ el.style.position = props.positionType || "relative";
8354
8360
  el.options = props;
8355
8361
  el.instance = loadingInstance;
8356
8362
  el.mask = (_a = loadingInstance == null ? void 0 : loadingInstance.proxy) == null ? void 0 : _a.$el;
8357
8363
  };
8358
- const loadingDirective = {
8364
+ const LoadingDirective = {
8359
8365
  mounted: function(el, binding, vnode) {
8360
8366
  handleProps(el, vnode.props);
8361
8367
  removeAttribute(el);
@@ -8390,7 +8396,8 @@ function deepAssign(...objects) {
8390
8396
  var zhCN = {
8391
8397
  pagination: {
8392
8398
  totalItemText: "\u6240\u6709\u6761\u76EE",
8393
- goToText: "\u8DF3\u81F3"
8399
+ goToText: "\u8DF3\u81F3",
8400
+ perPage: "\u6761/\u9875"
8394
8401
  },
8395
8402
  accordion: {
8396
8403
  loading: "\u52A0\u8F7D\u4E2D",
@@ -8541,7 +8548,7 @@ function createI18nTranslate(name, app, newPrefix) {
8541
8548
  var DAutoCompleteDropdown = defineComponent({
8542
8549
  name: "DAutoCompleteDropdown",
8543
8550
  directives: {
8544
- dLoading: loadingDirective
8551
+ Loading: LoadingDirective
8545
8552
  },
8546
8553
  setup(props, ctx2) {
8547
8554
  const app = getCurrentInstance();
@@ -8611,7 +8618,7 @@ var DAutoCompleteDropdown = defineComponent({
8611
8618
  "class": ns2.e("no-result-template")
8612
8619
  }, [createVNode("div", {
8613
8620
  "class": noDataNs.b()
8614
- }, [ctx2.slots.noResultItemTemplate()])])])]), [[resolveDirective("dLoading"), showLoading.value], [vShow, visible.value && searchList.value.length > 0 || ctx2.slots.noResultItemTemplate && showNoResultItemTemplate.value || isSearching && ctx2.slots.searchingTemplate && (searchStatus == null ? void 0 : searchStatus.value)]]);
8621
+ }, [ctx2.slots.noResultItemTemplate()])])])]), [[resolveDirective("loading"), showLoading.value], [vShow, visible.value && searchList.value.length > 0 || ctx2.slots.noResultItemTemplate && showNoResultItemTemplate.value || isSearching && ctx2.slots.searchingTemplate && (searchStatus == null ? void 0 : searchStatus.value)]]);
8615
8622
  };
8616
8623
  }
8617
8624
  });
@@ -8824,7 +8831,8 @@ var Icon = defineComponent({
8824
8831
  const wrapClassed = computed(() => ({
8825
8832
  [ns2.e("container")]: true,
8826
8833
  [ns2.m("disabled")]: disabled.value,
8827
- [ns2.m("operable")]: operable.value
8834
+ [ns2.m("operable")]: operable.value,
8835
+ [ns2.m("no-slots")]: !Object.keys(ctx2.slots).length
8828
8836
  }));
8829
8837
  const onClick = (e) => {
8830
8838
  if (disabled.value) {
@@ -8959,7 +8967,10 @@ var AutoComplete = defineComponent({
8959
8967
  "origin": origin.value,
8960
8968
  "position": position.value,
8961
8969
  "modelValue": visible.value,
8962
- "onUpdate:modelValue": ($event) => visible.value = $event
8970
+ "onUpdate:modelValue": ($event) => visible.value = $event,
8971
+ "style": {
8972
+ zIndex: "var(--devui-z-index-dropdown, 1052)"
8973
+ }
8963
8974
  }, {
8964
8975
  default: () => [createVNode("div", {
8965
8976
  "class": ns2.e("menu"),