vue-devui 1.0.0-rc.3 → 1.0.0-rc.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 (134) hide show
  1. package/README.md +144 -129
  2. package/auto-complete/index.es.js +45 -16
  3. package/auto-complete/index.umd.js +3 -3
  4. package/auto-complete/style.css +1 -1
  5. package/button/index.es.js +20 -13
  6. package/button/index.umd.js +1 -1
  7. package/button/style.css +1 -1
  8. package/comment/index.es.js +2 -1
  9. package/comment/index.umd.js +1 -1
  10. package/{tag-input → date-picker}/index.d.ts +0 -0
  11. package/date-picker/index.es.js +1145 -0
  12. package/date-picker/index.umd.js +1 -0
  13. package/date-picker/package.json +7 -0
  14. package/date-picker/style.css +1 -0
  15. package/drawer/index.d.ts +7 -0
  16. package/drawer/index.es.js +236 -0
  17. package/drawer/index.umd.js +1 -0
  18. package/{tag-input → drawer}/package.json +1 -1
  19. package/drawer/style.css +1 -0
  20. package/dropdown/index.d.ts +7 -0
  21. package/dropdown/index.es.js +718 -0
  22. package/dropdown/index.umd.js +1 -0
  23. package/dropdown/package.json +7 -0
  24. package/dropdown/style.css +1 -0
  25. package/form/index.d.ts +7 -0
  26. package/form/index.es.js +7881 -0
  27. package/form/index.umd.js +27 -0
  28. package/form/package.json +7 -0
  29. package/form/style.css +1 -0
  30. package/input/index.es.js +13 -19
  31. package/input/index.umd.js +1 -1
  32. package/input/style.css +1 -1
  33. package/input-number/index.d.ts +7 -0
  34. package/input-number/index.es.js +251 -0
  35. package/input-number/index.umd.js +1 -0
  36. package/input-number/package.json +7 -0
  37. package/input-number/style.css +1 -0
  38. package/layout/index.es.js +3 -1
  39. package/layout/index.umd.js +1 -1
  40. package/loading/index.es.js +20 -13
  41. package/loading/index.umd.js +1 -1
  42. package/modal/index.es.js +16 -4
  43. package/modal/index.umd.js +1 -1
  44. package/notification/index.es.js +100 -10
  45. package/notification/index.umd.js +1 -1
  46. package/notification/style.css +1 -1
  47. package/nuxt/components/Column.js +3 -0
  48. package/nuxt/components/DatePicker.js +3 -0
  49. package/nuxt/components/Drawer.js +3 -0
  50. package/nuxt/components/DrawerService.js +3 -0
  51. package/nuxt/components/Dropdown.js +3 -0
  52. package/nuxt/components/DropdownMenu.js +3 -0
  53. package/nuxt/components/Form.js +3 -0
  54. package/nuxt/components/FormControl.js +3 -0
  55. package/nuxt/components/FormItem.js +3 -0
  56. package/nuxt/components/FormLabel.js +3 -0
  57. package/nuxt/components/FormOperation.js +3 -0
  58. package/nuxt/components/InputNumber.js +3 -0
  59. package/nuxt/components/LoadingOptions.js +3 -0
  60. package/nuxt/components/Select.js +3 -0
  61. package/nuxt/components/StickSlider.js +3 -0
  62. package/nuxt/components/Tab.js +3 -0
  63. package/nuxt/components/Table.js +3 -0
  64. package/nuxt/components/Tabs.js +3 -0
  65. package/nuxt/components/Tooltip.js +3 -0
  66. package/nuxt/components/Tree.js +3 -0
  67. package/nuxt/components/dropdownMenuProps.js +3 -0
  68. package/nuxt/components/loadingProps.js +3 -0
  69. package/nuxt/components/modalProps.js +3 -0
  70. package/nuxt/components/sliderProps.js +3 -0
  71. package/nuxt/components/tabsProps.js +3 -0
  72. package/nuxt/components/tooltipProps.js +3 -0
  73. package/nuxt/components/treeProps.js +3 -0
  74. package/overlay/index.es.js +15 -3
  75. package/overlay/index.umd.js +1 -1
  76. package/package.json +2 -2
  77. package/popover/index.es.js +15 -3
  78. package/popover/index.umd.js +9 -9
  79. package/popover/style.css +1 -1
  80. package/rate/index.es.js +27 -34
  81. package/rate/index.umd.js +1 -1
  82. package/read-tip/index.es.js +32 -29
  83. package/read-tip/index.umd.js +1 -1
  84. package/read-tip/style.css +1 -1
  85. package/search/index.es.js +13 -19
  86. package/search/index.umd.js +12 -12
  87. package/search/style.css +1 -1
  88. package/select/index.d.ts +7 -0
  89. package/select/index.es.js +696 -0
  90. package/select/index.umd.js +1 -0
  91. package/select/package.json +7 -0
  92. package/select/style.css +1 -0
  93. package/skeleton/index.es.js +6 -6
  94. package/skeleton/index.umd.js +1 -1
  95. package/slider/index.es.js +19 -10
  96. package/slider/index.umd.js +1 -1
  97. package/splitter/index.es.js +15 -3
  98. package/splitter/index.umd.js +11 -11
  99. package/style.css +1 -1
  100. package/switch/index.es.js +1 -1
  101. package/switch/index.umd.js +1 -1
  102. package/switch/style.css +1 -1
  103. package/table/index.d.ts +7 -0
  104. package/table/index.es.js +2661 -0
  105. package/table/index.umd.js +1 -0
  106. package/table/package.json +7 -0
  107. package/table/style.css +1 -0
  108. package/tabs/index.d.ts +7 -0
  109. package/tabs/index.es.js +194 -0
  110. package/tabs/index.umd.js +1 -0
  111. package/tabs/package.json +7 -0
  112. package/tabs/style.css +1 -0
  113. package/timeline/index.es.js +2 -2
  114. package/timeline/index.umd.js +1 -1
  115. package/tooltip/index.d.ts +7 -0
  116. package/tooltip/index.es.js +5847 -0
  117. package/tooltip/index.umd.js +27 -0
  118. package/tooltip/package.json +7 -0
  119. package/tooltip/style.css +1 -0
  120. package/tree/index.d.ts +7 -0
  121. package/tree/index.es.js +1021 -0
  122. package/tree/index.umd.js +1 -0
  123. package/tree/package.json +7 -0
  124. package/tree/style.css +1 -0
  125. package/upload/index.es.js +100 -10
  126. package/upload/index.umd.js +1 -1
  127. package/upload/style.css +1 -1
  128. package/vue-devui.es.js +13211 -7394
  129. package/vue-devui.umd.js +24 -24
  130. package/nuxt/components/TagInput.js +0 -3
  131. package/nuxt/components/tagInputProps.js +0 -3
  132. package/tag-input/index.es.js +0 -328
  133. package/tag-input/index.umd.js +0 -1
  134. package/tag-input/style.css +0 -1
package/README.md CHANGED
@@ -1,129 +1,144 @@
1
- <p align="center">
2
- <a href="https://devui.design/home" target="_blank" rel="noopener noreferrer">
3
- <img alt="DevUI Logo" src="https://github.com/DevCloudFE/vue-devui/raw/dev/packages/devui-vue/public/logo.svg" width="180" style="max-width:100%;">
4
- </a>
5
- </p>
6
-
7
- <h1 align="center">Vue DevUI</h1>
8
-
9
- <p align="center">Vue3 component library based on <a href="https://devui.design/" target="_blank" rel="noopener noreferrer">DevUI Design</a></p>
10
-
11
- English | [简体中文](README.zh-CN.md)
12
-
13
- 🌈 Features:
14
-
15
- - 📦 40 high-quality components that are simple, easy to use, and flexible.
16
- - 🔑 Support for TypeScript.
17
- - ⛰️ Support for Nuxt3.
18
- - ⚡ Support for on-demand import.
19
- - 🌍 Support internationalization.
20
- - 🎨 Support theme customization, and built-in seven beautiful themes such as `Galaxy`, `Sweet` and `Provence`.
21
-
22
- ## 🔧 Usage
23
-
24
- The first step is to install vue devui:
25
-
26
- ```
27
- npm i vue-devui
28
- ```
29
-
30
- Then import `DevUI` in the `main.ts` file:
31
-
32
- ```ts
33
- import { createApp } from 'vue'
34
- import App from './App.vue'
35
-
36
- // Import Vue DevUI component and style
37
- import DevUI from 'vue-devui'
38
- import 'vue-devui/style.css'
39
-
40
- createApp(App).use(DevUI).mount('#app')
41
- ```
42
-
43
- Then you can use the vue devui component(such as `<d-button>`) in the `App.vue` file:
44
-
45
- ```vue
46
- <template>
47
- <d-button>Button</d-button>
48
- </template>
49
- ```
50
-
51
- ## 🖥️ Development
52
-
53
- ```shell
54
- git clone git@github.com:DevCloudFE/vue-devui.git
55
- cd vue-devui
56
- pnpm i
57
- pnpm dev
58
- ```
59
-
60
- Open your browser and visit: [http://localhost:3000/](http://localhost:3000/).
61
-
62
- ## 🤝 Contributing
63
-
64
- Welcome to join our Vue DevUI open source project!🎉
65
-
66
- By participating in the Vue DevUI project, we can together:
67
- - 🔥 Learn the latest cool `Vite` + `Vue3` + `TypeScript` + `JSX` technology.
68
- - 🎁 Learn how to design and develop UI components.
69
- - ⭐ Hone programming skills and learn excellent programming practice.
70
- - 🎊 Meet a group of friends who love learning and open source.
71
-
72
- If you don't know how to start, please read our [contributing guide](https://vue-devui.github.io/contributing/)
73
-
74
- ## ✨ Contributors
75
-
76
- Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
77
-
78
- <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
79
- <!-- prettier-ignore-start -->
80
- <!-- markdownlint-disable -->
81
- <table>
82
- <tr>
83
- <td align="center"><a href="https://juejin.cn/user/712139267650141"><img src="https://avatars.githubusercontent.com/u/9566362?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kagol</b></sub></a><br /><a href="#maintenance-kagol" title="Maintenance">🚧</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=kagol" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=kagol" title="Documentation">📖</a></td>
84
- <td align="center"><a href="https://github.com/TinsFox"><img src="https://avatars.githubusercontent.com/u/33956589?v=4?s=100" width="100px;" alt=""/><br /><sub><b>TinsFox</b></sub></a><br /><a href="#maintenance-TinsFox" title="Maintenance">🚧</a> <a href="#infra-TinsFox" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
85
- <td align="center"><a href="https://github.com/lnzhangsong"><img src="https://avatars.githubusercontent.com/u/15092594?v=4?s=100" width="100px;" alt=""/><br /><sub><b>nif</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=lnzhangsong" title="Code">💻</a></td>
86
- <td align="center"><a href="https://github.com/Zcating"><img src="https://avatars.githubusercontent.com/u/13329558?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Zcating</b></sub></a><br /><a href="#maintenance-Zcating" title="Maintenance">🚧</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=Zcating" title="Code">💻</a></td>
87
- <td align="center"><a href="https://github.com/sufuwang"><img src="https://avatars.githubusercontent.com/u/46395105?v=4?s=100" width="100px;" alt=""/><br /><sub><b>王凯</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=sufuwang" title="Code">💻</a></td>
88
- <td align="center"><a href="https://github.com/iel-h"><img src="https://avatars.githubusercontent.com/u/53589602?v=4?s=100" width="100px;" alt=""/><br /><sub><b>iel</b></sub></a><br /><a href="#maintenance-iel-h" title="Maintenance">🚧</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=iel-h" title="Code">💻</a></td>
89
- <td align="center"><a href="https://github.com/chenxi24"><img src="https://avatars.githubusercontent.com/u/40349890?v=4?s=100" width="100px;" alt=""/><br /><sub><b>chenxi24</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=chenxi24" title="Code">💻</a></td>
90
- </tr>
91
- <tr>
92
- <td align="center"><a href="https://github.com/asdlml6"><img src="https://avatars.githubusercontent.com/u/61737780?v=4?s=100" width="100px;" alt=""/><br /><sub><b>小九九</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=asdlml6" title="Code">💻</a></td>
93
- <td align="center"><a href="http://blog.alanlee.top"><img src="https://avatars.githubusercontent.com/u/42601044?v=4?s=100" width="100px;" alt=""/><br /><sub><b>AlanLee</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=AlanLee97" title="Code">💻</a></td>
94
- <td align="center"><a href="https://github.com/ForeseeBear"><img src="https://avatars.githubusercontent.com/u/15258339?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Echo</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=ForeseeBear" title="Code">💻</a></td>
95
- <td align="center"><a href="https://github.com/GaoNeng-wWw"><img src="https://avatars.githubusercontent.com/u/31283122?v=4?s=100" width="100px;" alt=""/><br /><sub><b>GaoNeng</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=GaoNeng-wWw" title="Code">💻</a></td>
96
- <td align="center"><a href="https://github.com/xingyan95"><img src="https://avatars.githubusercontent.com/u/11143986?v=4?s=100" width="100px;" alt=""/><br /><sub><b>行言</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=xingyan95" title="Code">💻</a></td>
97
- <td align="center"><a href="https://devin974.github.io/"><img src="https://avatars.githubusercontent.com/u/67035714?v=4?s=100" width="100px;" alt=""/><br /><sub><b>devin</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=devin974" title="Code">💻</a></td>
98
- <td align="center"><a href="https://juejin.cn/user/1618116899507735/posts"><img src="https://avatars.githubusercontent.com/u/70649502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>无声</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=ivestszheng" title="Code">💻</a></td>
99
- </tr>
100
- <tr>
101
- <td align="center"><a href="https://github.com/zxlfly"><img src="https://avatars.githubusercontent.com/u/26324442?v=4?s=100" width="100px;" alt=""/><br /><sub><b>sleep_fish</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=zxlfly" title="Code">💻</a></td>
102
- <td align="center"><a href="https://github.com/whylost"><img src="https://avatars.githubusercontent.com/u/62528887?v=4?s=100" width="100px;" alt=""/><br /><sub><b>迷心whylost</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=whylost" title="Code">💻</a></td>
103
- <td align="center"><a href="https://juejin.im/user/5c15d35fe51d4545ae495e43"><img src="https://avatars.githubusercontent.com/u/31237954?v=4?s=100" width="100px;" alt=""/><br /><sub><b>X.Q. Chen</b></sub></a><br /><a href="#infra-brenner8023" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=brenner8023" title="Code">💻</a></td>
104
- <td align="center"><a href="https://github.com/git-Where"><img src="https://avatars.githubusercontent.com/u/16344566?v=4?s=100" width="100px;" alt=""/><br /><sub><b>葉家男孩</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=git-Where" title="Code">💻</a></td>
105
- <td align="center"><a href="https://github.com/CatsAndMice"><img src="https://avatars.githubusercontent.com/u/58327088?v=4?s=100" width="100px;" alt=""/><br /><sub><b>lihai</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=CatsAndMice" title="Code">💻</a></td>
106
- <td align="center"><a href="http://www.naluduo.vip"><img src="https://avatars.githubusercontent.com/u/28448589?v=4?s=100" width="100px;" alt=""/><br /><sub><b>纳撸多</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=naluduo233" title="Code">💻</a></td>
107
- <td align="center"><a href="https://github.com/ElsaOOo"><img src="https://avatars.githubusercontent.com/u/48074435?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ElsaOOo</b></sub></a><br /><a href="#maintenance-ElsaOOo" title="Maintenance">🚧</a> <a href="#infra-ElsaOOo" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=ElsaOOo" title="Code">💻</a></td>
108
- </tr>
109
- <tr>
110
- <td align="center"><a href="https://github.com/liuxdi"><img src="https://avatars.githubusercontent.com/u/10958003?v=4?s=100" width="100px;" alt=""/><br /><sub><b>刘小迪</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=liuxdi" title="Code">💻</a></td>
111
- <td align="center"><a href="https://github.com/unfound"><img src="https://avatars.githubusercontent.com/u/32935349?v=4?s=100" width="100px;" alt=""/><br /><sub><b>unfound</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=unfound" title="Code">💻</a></td>
112
- <td align="center"><a href="https://github.com/Roading"><img src="https://avatars.githubusercontent.com/u/7751774?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Roading</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=Roading" title="Code">💻</a></td>
113
- <td align="center"><a href="http://inreasons.cn"><img src="https://avatars.githubusercontent.com/u/47918504?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chestnut</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=banlify" title="Code">💻</a></td>
114
- <td align="center"><a href="https://github.com/c0dedance"><img src="https://avatars.githubusercontent.com/u/38075730?v=4?s=100" width="100px;" alt=""/><br /><sub><b>c0dedance</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=c0dedance" title="Code">💻</a></td>
115
- <td align="center"><a href="https://github.com/duqingyu"><img src="https://avatars.githubusercontent.com/u/30541930?v=4?s=100" width="100px;" alt=""/><br /><sub><b>杜庆愉</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=duqingyu" title="Code">💻</a></td>
116
- <td align="center"><a href="https://github.com/linxiang07"><img src="https://avatars.githubusercontent.com/u/40119767?v=4?s=100" width="100px;" alt=""/><br /><sub><b>linxiang</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=linxiang07" title="Code">💻</a></td>
117
- </tr>
118
- </table>
119
-
120
- <!-- markdownlint-restore -->
121
- <!-- prettier-ignore-end -->
122
-
123
- <!-- ALL-CONTRIBUTORS-LIST:END -->
124
-
125
- This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
126
-
127
- ## License
128
-
129
- [MIT](https://github.com/DevCloudFE/vue-devui/blob/dev/LICENSE)
1
+ <p align="center">
2
+ <a href="https://devui.design/home" target="_blank" rel="noopener noreferrer">
3
+ <img alt="DevUI Logo" src="https://github.com/DevCloudFE/vue-devui/raw/dev/packages/devui-vue/public/logo.svg" width="180" style="max-width:100%;">
4
+ </a>
5
+ </p>
6
+
7
+ <h1 align="center">Vue DevUI</h1>
8
+
9
+ <p align="center">Vue3 component library based on <a href="https://devui.design/" target="_blank" rel="noopener noreferrer">DevUI Design</a></p>
10
+
11
+ English | [简体中文](README.zh-CN.md)
12
+
13
+ 🌈 Features:
14
+
15
+ - 📦 40 high-quality components that are simple, easy to use, and flexible.
16
+ - 🔑 Support for TypeScript.
17
+ - ⛰️ Support for Nuxt3.
18
+ - ⚡ Support for on-demand import.
19
+ - 🌍 Support internationalization.
20
+ - 🎨 Support theme customization, and built-in seven beautiful themes such as `Galaxy`, `Sweet` and `Provence`.
21
+
22
+ ## 🔧 Usage
23
+
24
+ The first step is to install vue devui:
25
+
26
+ ```
27
+ npm i vue-devui
28
+ ```
29
+
30
+ Then import `DevUI` in the `main.ts` file:
31
+
32
+ ```ts
33
+ import { createApp } from 'vue'
34
+ import App from './App.vue'
35
+
36
+ // Import Vue DevUI component and style
37
+ import DevUI from 'vue-devui'
38
+ import 'vue-devui/style.css'
39
+
40
+ createApp(App).use(DevUI).mount('#app')
41
+ ```
42
+
43
+ Then you can use the vue devui component(such as `<d-button>`) in the `App.vue` file:
44
+
45
+ ```vue
46
+ <template>
47
+ <d-button>Button</d-button>
48
+ </template>
49
+ ```
50
+
51
+ ## 🖥️ Development
52
+
53
+ ```shell
54
+ git clone git@github.com:DevCloudFE/vue-devui.git
55
+ cd vue-devui
56
+ pnpm i
57
+ pnpm dev
58
+ ```
59
+
60
+ Open your browser and visit: [http://localhost:3000/](http://localhost:3000/).
61
+
62
+ ## 🤝 Contributing
63
+
64
+ Welcome to join our Vue DevUI open source project!🎉
65
+
66
+ By participating in the Vue DevUI project, we can together:
67
+ - 🔥 Learn the latest cool `Vite` + `Vue3` + `TypeScript` + `JSX` technology.
68
+ - 🎁 Learn how to design and develop UI components.
69
+ - ⭐ Hone programming skills and learn excellent programming practice.
70
+ - 🎊 Meet a group of friends who love learning and open source.
71
+
72
+ If you don't know how to start, please read our [contributing guide](https://vue-devui.github.io/contributing/)
73
+
74
+ ## ✨ Contributors
75
+
76
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
77
+
78
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
79
+ <!-- prettier-ignore-start -->
80
+ <!-- markdownlint-disable -->
81
+ <table>
82
+ <tr>
83
+ <td align="center"><a href="https://juejin.cn/user/712139267650141"><img src="https://avatars.githubusercontent.com/u/9566362?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kagol</b></sub></a><br /><a href="#maintenance-kagol" title="Maintenance">🚧</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=kagol" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=kagol" title="Documentation">📖</a></td>
84
+ <td align="center"><a href="https://github.com/TinsFox"><img src="https://avatars.githubusercontent.com/u/33956589?v=4?s=100" width="100px;" alt=""/><br /><sub><b>TinsFox</b></sub></a><br /><a href="#maintenance-TinsFox" title="Maintenance">🚧</a> <a href="#infra-TinsFox" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
85
+ <td align="center"><a href="https://github.com/lnzhangsong"><img src="https://avatars.githubusercontent.com/u/15092594?v=4?s=100" width="100px;" alt=""/><br /><sub><b>nif</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=lnzhangsong" title="Code">💻</a></td>
86
+ <td align="center"><a href="https://github.com/Zcating"><img src="https://avatars.githubusercontent.com/u/13329558?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Zcating</b></sub></a><br /><a href="#maintenance-Zcating" title="Maintenance">🚧</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=Zcating" title="Code">💻</a></td>
87
+ <td align="center"><a href="https://github.com/sufuwang"><img src="https://avatars.githubusercontent.com/u/46395105?v=4?s=100" width="100px;" alt=""/><br /><sub><b>王凯</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=sufuwang" title="Code">💻</a></td>
88
+ <td align="center"><a href="https://github.com/iel-h"><img src="https://avatars.githubusercontent.com/u/53589602?v=4?s=100" width="100px;" alt=""/><br /><sub><b>iel</b></sub></a><br /><a href="#maintenance-iel-h" title="Maintenance">🚧</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=iel-h" title="Code">💻</a></td>
89
+ <td align="center"><a href="https://github.com/chenxi24"><img src="https://avatars.githubusercontent.com/u/40349890?v=4?s=100" width="100px;" alt=""/><br /><sub><b>chenxi24</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=chenxi24" title="Code">💻</a></td>
90
+ <td align="center"><a href="https://github.com/asdlml6"><img src="https://avatars.githubusercontent.com/u/61737780?v=4?s=100" width="100px;" alt=""/><br /><sub><b>小九九</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=asdlml6" title="Code">💻</a></td>
91
+ <td align="center"><a href="http://blog.alanlee.top"><img src="https://avatars.githubusercontent.com/u/42601044?v=4?s=100" width="100px;" alt=""/><br /><sub><b>AlanLee</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=AlanLee97" title="Code">💻</a></td>
92
+ <td align="center"><a href="https://github.com/ForeseeBear"><img src="https://avatars.githubusercontent.com/u/15258339?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Echo</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=ForeseeBear" title="Code">💻</a></td>
93
+ </tr>
94
+ <tr>
95
+ <td align="center"><a href="https://github.com/GaoNeng-wWw"><img src="https://avatars.githubusercontent.com/u/31283122?v=4?s=100" width="100px;" alt=""/><br /><sub><b>GaoNeng</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=GaoNeng-wWw" title="Code">💻</a></td>
96
+ <td align="center"><a href="https://github.com/xingyan95"><img src="https://avatars.githubusercontent.com/u/11143986?v=4?s=100" width="100px;" alt=""/><br /><sub><b>行言</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=xingyan95" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/issues?q=author%3Axingyan95" title="Bug reports">🐛</a></td>
97
+ <td align="center"><a href="https://devin974.github.io/"><img src="https://avatars.githubusercontent.com/u/67035714?v=4?s=100" width="100px;" alt=""/><br /><sub><b>devin</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=devin974" title="Code">💻</a></td>
98
+ <td align="center"><a href="https://juejin.cn/user/1618116899507735/posts"><img src="https://avatars.githubusercontent.com/u/70649502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>无声</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=ivestszheng" title="Code">💻</a></td>
99
+ <td align="center"><a href="https://github.com/zxlfly"><img src="https://avatars.githubusercontent.com/u/26324442?v=4?s=100" width="100px;" alt=""/><br /><sub><b>sleep_fish</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=zxlfly" title="Code">💻</a></td>
100
+ <td align="center"><a href="https://github.com/whylost"><img src="https://avatars.githubusercontent.com/u/62528887?v=4?s=100" width="100px;" alt=""/><br /><sub><b>迷心whylost</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=whylost" title="Code">💻</a></td>
101
+ <td align="center"><a href="https://juejin.im/user/5c15d35fe51d4545ae495e43"><img src="https://avatars.githubusercontent.com/u/31237954?v=4?s=100" width="100px;" alt=""/><br /><sub><b>X.Q. Chen</b></sub></a><br /><a href="#infra-brenner8023" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=brenner8023" title="Code">💻</a></td>
102
+ <td align="center"><a href="https://github.com/git-Where"><img src="https://avatars.githubusercontent.com/u/16344566?v=4?s=100" width="100px;" alt=""/><br /><sub><b>葉家男孩</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=git-Where" title="Code">💻</a></td>
103
+ <td align="center"><a href="https://github.com/CatsAndMice"><img src="https://avatars.githubusercontent.com/u/58327088?v=4?s=100" width="100px;" alt=""/><br /><sub><b>lihai</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=CatsAndMice" title="Code">💻</a></td>
104
+ <td align="center"><a href="http://www.naluduo.vip"><img src="https://avatars.githubusercontent.com/u/28448589?v=4?s=100" width="100px;" alt=""/><br /><sub><b>纳撸多</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=naluduo233" title="Code">💻</a></td>
105
+ </tr>
106
+ <tr>
107
+ <td align="center"><a href="https://github.com/ElsaOOo"><img src="https://avatars.githubusercontent.com/u/48074435?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ElsaOOo</b></sub></a><br /><a href="#maintenance-ElsaOOo" title="Maintenance">🚧</a> <a href="#infra-ElsaOOo" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=ElsaOOo" title="Code">💻</a></td>
108
+ <td align="center"><a href="https://github.com/liuxdi"><img src="https://avatars.githubusercontent.com/u/10958003?v=4?s=100" width="100px;" alt=""/><br /><sub><b>刘小迪</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=liuxdi" title="Code">💻</a></td>
109
+ <td align="center"><a href="https://github.com/unfound"><img src="https://avatars.githubusercontent.com/u/32935349?v=4?s=100" width="100px;" alt=""/><br /><sub><b>unfound</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=unfound" title="Code">💻</a></td>
110
+ <td align="center"><a href="https://github.com/Roading"><img src="https://avatars.githubusercontent.com/u/7751774?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Roading</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=Roading" title="Code">💻</a></td>
111
+ <td align="center"><a href="http://inreasons.cn"><img src="https://avatars.githubusercontent.com/u/47918504?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chestnut</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=banlify" title="Code">💻</a></td>
112
+ <td align="center"><a href="https://github.com/c0dedance"><img src="https://avatars.githubusercontent.com/u/38075730?v=4?s=100" width="100px;" alt=""/><br /><sub><b>c0dedance</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=c0dedance" title="Code">💻</a></td>
113
+ <td align="center"><a href="https://github.com/duqingyu"><img src="https://avatars.githubusercontent.com/u/30541930?v=4?s=100" width="100px;" alt=""/><br /><sub><b>杜庆愉</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=duqingyu" title="Code">💻</a></td>
114
+ <td align="center"><a href="https://github.com/linxiang07"><img src="https://avatars.githubusercontent.com/u/40119767?v=4?s=100" width="100px;" alt=""/><br /><sub><b>linxiang</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=linxiang07" title="Code">💻</a></td>
115
+ <td align="center"><a href="https://github.com/nextniko"><img src="https://avatars.githubusercontent.com/u/40553790?v=4?s=100" width="100px;" alt=""/><br /><sub><b>掘墓忍者</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=nextniko" title="Code">💻</a></td>
116
+ <td align="center"><a href="https://github.com/zcj996"><img src="https://avatars.githubusercontent.com/u/52314078?v=4?s=100" width="100px;" alt=""/><br /><sub><b>一个大胖子</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=zcj996" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=zcj996" title="Documentation">📖</a></td>
117
+ </tr>
118
+ <tr>
119
+ <td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=eltociear" title="Documentation">📖</a></td>
120
+ <td align="center"><a href="https://xiaoborao.github.io/"><img src="https://avatars.githubusercontent.com/u/27467603?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bob</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=xiaoboRao" title="Code">💻</a></td>
121
+ <td align="center"><a href="https://github.com/NidusP"><img src="https://avatars.githubusercontent.com/u/30283065?v=4?s=100" width="100px;" alt=""/><br /><sub><b>populus</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=NidusP" title="Code">💻</a></td>
122
+ <td align="center"><a href="https://github.com/554246839"><img src="https://avatars.githubusercontent.com/u/24663941?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tohalf</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=554246839" title="Code">💻</a></td>
123
+ <td align="center"><a href="https://github.com/Lonely-shang"><img src="https://avatars.githubusercontent.com/u/34124930?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Miliky</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=Lonely-shang" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/commits?author=Lonely-shang" title="Tests">⚠️</a></td>
124
+ <td align="center"><a href="https://github.com/MICD0704"><img src="https://avatars.githubusercontent.com/u/20532893?v=4?s=100" width="100px;" alt=""/><br /><sub><b>MICD</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=MICD0704" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/issues?q=author%3AMICD0704" title="Bug reports">🐛</a></td>
125
+ <td align="center"><a href="https://github.com/ming-bin"><img src="https://avatars.githubusercontent.com/u/54826175?v=4?s=100" width="100px;" alt=""/><br /><sub><b>mingBin</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=ming-bin" title="Code">💻</a> <a href="https://github.com/DevCloudFE/vue-devui/issues?q=author%3Aming-bin" title="Bug reports">🐛</a></td>
126
+ <td align="center"><a href="https://github.com/icjs-cc"><img src="https://avatars.githubusercontent.com/u/27618209?v=4?s=100" width="100px;" alt=""/><br /><sub><b>陈剑术</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/commits?author=icjs-cc" title="Code">💻</a></td>
127
+ <td align="center"><a href="https://www.merlin218.top/"><img src="https://avatars.githubusercontent.com/u/61051874?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Merlin218</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/issues?q=author%3AMerlin218" title="Bug reports">🐛</a></td>
128
+ <td align="center"><a href="https://github.com/jingyiliu"><img src="https://avatars.githubusercontent.com/u/6957175?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Johnny.Liu</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/issues?q=author%3Ajingyiliu" title="Bug reports">🐛</a></td>
129
+ </tr>
130
+ <tr>
131
+ <td align="center"><a href="https://github.com/Yangxfeng"><img src="https://avatars.githubusercontent.com/u/35209766?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yangxfeng</b></sub></a><br /><a href="https://github.com/DevCloudFE/vue-devui/issues?q=author%3AYangxfeng" title="Bug reports">🐛</a></td>
132
+ </tr>
133
+ </table>
134
+
135
+ <!-- markdownlint-restore -->
136
+ <!-- prettier-ignore-end -->
137
+
138
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
139
+
140
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
141
+
142
+ ## License
143
+
144
+ [MIT](https://github.com/DevCloudFE/vue-devui/blob/dev/LICENSE)
@@ -19,7 +19,7 @@ var __publicField = (obj, key, value) => {
19
19
  return value;
20
20
  };
21
21
  import { ref, nextTick, defineComponent, createVNode, h, render, inject, withDirectives, createTextVNode, resolveDirective, vShow, unref, watch, onUnmounted, mergeProps, toRefs, provide, Teleport, Transition, isVNode } from "vue";
22
- import { shift, offset, autoPlacement, arrow, computePosition } from "@floating-ui/dom";
22
+ import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
23
23
  const defaultFormatter = (item) => {
24
24
  if (typeof item === "string") {
25
25
  return item;
@@ -205,6 +205,7 @@ function useInputHandle(ctx2, searchList, showNoResultItemTemplate, modelValue,
205
205
  const visible = ref(false);
206
206
  const inputRef = ref();
207
207
  const searchStatus = ref(false);
208
+ const isFocus = ref(false);
208
209
  const debounce = (cb, time) => {
209
210
  let timer;
210
211
  return (arg) => {
@@ -231,10 +232,14 @@ function useInputHandle(ctx2, searchList, showNoResultItemTemplate, modelValue,
231
232
  onInputDebounce(inp.value);
232
233
  };
233
234
  const onFocus = () => {
235
+ isFocus.value = true;
234
236
  handleSearch(modelValue.value);
235
237
  recentlyFocus(latestSource == null ? void 0 : latestSource.value);
236
238
  transInputFocusEmit.value && transInputFocusEmit.value();
237
239
  };
240
+ const onBlur = () => {
241
+ isFocus.value = false;
242
+ };
238
243
  const handleClose = () => {
239
244
  visible.value = false;
240
245
  searchStatus.value = false;
@@ -257,6 +262,8 @@ function useInputHandle(ctx2, searchList, showNoResultItemTemplate, modelValue,
257
262
  toggleMenu,
258
263
  onInput,
259
264
  onFocus,
265
+ onBlur,
266
+ isFocus,
260
267
  inputRef,
261
268
  visible,
262
269
  searchStatus
@@ -375,14 +382,13 @@ function useKeyBoardHandle(dropDownRef, visible, searchList, selectedIndex, sear
375
382
  handlekeyDown
376
383
  };
377
384
  }
378
- var autoComplete = "";
379
385
  class View {
380
386
  constructor() {
381
387
  __publicField(this, "top", "50%");
382
388
  __publicField(this, "left", "50%");
383
389
  }
384
390
  }
385
- const componentProps = {
391
+ const loadingProps = {
386
392
  message: String,
387
393
  backdrop: Boolean,
388
394
  view: {
@@ -395,7 +401,7 @@ const componentProps = {
395
401
  default: false
396
402
  }
397
403
  };
398
- class LoadingProps {
404
+ class LoadingOptions {
399
405
  constructor() {
400
406
  __publicField(this, "target");
401
407
  __publicField(this, "message");
@@ -410,7 +416,7 @@ var loading = "";
410
416
  var Loading = defineComponent({
411
417
  name: "DLoading",
412
418
  inheritAttrs: false,
413
- props: componentProps,
419
+ props: loadingProps,
414
420
  setup(props) {
415
421
  const style = {
416
422
  top: props.view.top,
@@ -482,14 +488,18 @@ function unmountComponent(ComponnetInstance) {
482
488
  const loadingConstructor = defineComponent(Loading);
483
489
  const cacheInstance = /* @__PURE__ */ new WeakSet();
484
490
  const isEmpty = (val) => {
485
- if (!val)
491
+ if (!val) {
486
492
  return true;
487
- if (Array.isArray(val))
493
+ }
494
+ if (Array.isArray(val)) {
488
495
  return val.length === 0;
489
- if (val instanceof Set || val instanceof Map)
496
+ }
497
+ if (val instanceof Set || val instanceof Map) {
490
498
  return val.size === 0;
491
- if (val instanceof Promise)
499
+ }
500
+ if (val instanceof Promise) {
492
501
  return false;
502
+ }
493
503
  if (typeof val === "object") {
494
504
  try {
495
505
  return Object.keys(val).length === 0;
@@ -523,11 +533,13 @@ const unmount = (el) => {
523
533
  unmountComponent(el.instance);
524
534
  };
525
535
  const toggleLoading = (el, binding) => {
536
+ var _a, _b, _c;
526
537
  if (binding.value) {
527
538
  const vals = isPromise(binding.value);
528
- if (vals === "error")
539
+ if (vals === "error") {
529
540
  return;
530
- el.instance.proxy.open();
541
+ }
542
+ (_c = (_b = (_a = el == null ? void 0 : el.instance) == null ? void 0 : _a.proxy) == null ? void 0 : _b.open) == null ? void 0 : _c.call(_b);
531
543
  el.appendChild(el.mask);
532
544
  cacheInstance.add(el);
533
545
  if (vals) {
@@ -551,7 +563,7 @@ const removeAttribute = (el) => {
551
563
  };
552
564
  const handleProps = (el, vprops) => {
553
565
  var _a;
554
- const props = __spreadValues(__spreadValues({}, new LoadingProps()), vprops);
566
+ const props = __spreadValues(__spreadValues({}, new LoadingOptions()), vprops);
555
567
  const loadingTemplateRef = props.loadingTemplateRef;
556
568
  const loadingInstance = createComponent(loadingConstructor, __spreadValues({}, props), loadingTemplateRef ? () => loadingTemplateRef : null);
557
569
  el.style.position = props.positionType;
@@ -566,8 +578,9 @@ const loadingDirective = {
566
578
  !isEmpty(binding.value) && toggleLoading(el, binding);
567
579
  },
568
580
  updated: function(el, binding, vnode) {
569
- if (!isEmpty(binding.value) && cacheInstance.has(el) || isEmpty(binding.value) && !cacheInstance.has(el))
581
+ if (!isEmpty(binding.value) && cacheInstance.has(el) || isEmpty(binding.value) && !cacheInstance.has(el)) {
570
582
  return;
583
+ }
571
584
  !cacheInstance.has(el) && handleProps(el, vnode.props);
572
585
  removeAttribute(el);
573
586
  toggleLoading(el, binding);
@@ -716,6 +729,9 @@ const flexibleOverlayProps = {
716
729
  type: [Number, Object],
717
730
  default: 8
718
731
  },
732
+ shiftOffset: {
733
+ type: Number
734
+ },
719
735
  align: {
720
736
  type: String,
721
737
  default: null
@@ -783,7 +799,6 @@ function useOverlay(props, emit) {
783
799
  const overlayEl = unref(overlayRef.value);
784
800
  const arrowEl = unref(arrowRef.value);
785
801
  const middleware = [
786
- shift(),
787
802
  offset(props.offset),
788
803
  autoPlacement({
789
804
  alignment: props.align,
@@ -791,12 +806,22 @@ function useOverlay(props, emit) {
791
806
  })
792
807
  ];
793
808
  props.showArrow && middleware.push(arrow({ element: arrowEl }));
809
+ props.shiftOffset !== void 0 && middleware.push(shift());
794
810
  const { x, y, placement, middlewareData } = await computePosition(hostEl, overlayEl, {
795
811
  strategy: "fixed",
796
812
  middleware
797
813
  });
814
+ let applyX = x;
815
+ let applyY = y;
816
+ if (props.shiftOffset !== void 0) {
817
+ const { x: shiftX, y: shiftY } = middlewareData.shift;
818
+ shiftX < 0 && (applyX -= props.shiftOffset);
819
+ shiftX > 0 && (applyX += props.shiftOffset);
820
+ shiftY < 0 && (applyY -= props.shiftOffset);
821
+ shiftY > 0 && (applyY += props.shiftOffset);
822
+ }
798
823
  emit("positionChange", placement);
799
- Object.assign(overlayEl.style, { top: `${y}px`, left: `${x}px` });
824
+ Object.assign(overlayEl.style, { top: `${applyY}px`, left: `${applyX}px` });
800
825
  props.showArrow && updateArrowPosition(arrowEl, placement, middlewareData.arrow, overlayEl);
801
826
  };
802
827
  watch(() => props.modelValue, () => {
@@ -851,6 +876,7 @@ const FlexibleOverlay = defineComponent({
851
876
  };
852
877
  }
853
878
  });
879
+ var autoComplete = "";
854
880
  function _isSlot(s) {
855
881
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
856
882
  }
@@ -888,7 +914,9 @@ var AutoComplete = defineComponent({
888
914
  const {
889
915
  onInput,
890
916
  onFocus,
917
+ onBlur,
891
918
  inputRef,
919
+ isFocus,
892
920
  visible,
893
921
  searchStatus,
894
922
  handleClose,
@@ -994,10 +1022,11 @@ var AutoComplete = defineComponent({
994
1022
  "disabled": disabled.value,
995
1023
  "type": "text",
996
1024
  "onClick": toggleMenu,
997
- "class": ["devui-form-control", "devui-dropdown-origin", "devui-dropdown-origin-open", disabled.value && "disabled"],
1025
+ "class": ["devui-form-control", "devui-dropdown-origin", isFocus.value && "devui-dropdown-origin-open", disabled.value && "disabled"],
998
1026
  "placeholder": "Search",
999
1027
  "onInput": onInput,
1000
1028
  "onFocus": onFocus,
1029
+ "onBlur": onBlur,
1001
1030
  "value": modelValue.value,
1002
1031
  "ref": inputRef,
1003
1032
  "onKeydown": handlekeyDown