naive-ui 2.40.2 → 2.40.4

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 (271) hide show
  1. package/dist/index.js +427 -368
  2. package/dist/index.mjs +427 -368
  3. package/dist/index.prod.js +1 -1
  4. package/dist/index.prod.mjs +1 -1
  5. package/es/_internal/icons/Attach.mjs +1 -1
  6. package/es/_internal/icons/Cancel.mjs +1 -1
  7. package/es/_internal/icons/Clear.mjs +1 -1
  8. package/es/_internal/icons/Close.mjs +1 -1
  9. package/es/_internal/icons/Date.mjs +1 -1
  10. package/es/_internal/icons/Download.mjs +1 -1
  11. package/es/_internal/icons/Error.mjs +1 -1
  12. package/es/_internal/icons/Info.mjs +1 -1
  13. package/es/_internal/icons/Retry.mjs +1 -1
  14. package/es/_internal/icons/RotateClockwise.mjs +1 -1
  15. package/es/_internal/icons/RotateCounterclockwise.mjs +1 -1
  16. package/es/_internal/icons/Success.mjs +1 -1
  17. package/es/_internal/icons/Time.mjs +1 -1
  18. package/es/_internal/icons/To.mjs +1 -1
  19. package/es/_internal/icons/Trash.mjs +1 -1
  20. package/es/_internal/icons/Warning.mjs +1 -1
  21. package/es/_internal/icons/ZoomIn.mjs +1 -1
  22. package/es/_internal/icons/ZoomOut.mjs +1 -1
  23. package/es/_internal/icons/replaceable.d.ts +2 -1
  24. package/es/_internal/icons/replaceable.mjs +7 -2
  25. package/es/_internal/scrollbar/src/Scrollbar.d.ts +16 -4
  26. package/es/_internal/scrollbar/src/Scrollbar.mjs +41 -5
  27. package/es/_internal/scrollbar/src/styles/index.cssr.mjs +16 -4
  28. package/es/_mixins/index.d.ts +1 -1
  29. package/es/_mixins/index.mjs +1 -1
  30. package/es/_utils/composable/use-resize.mjs +9 -1
  31. package/es/_utils/css/rtl-inset.mjs +1 -1
  32. package/es/back-top/src/BackTop.mjs +2 -2
  33. package/es/back-top/src/BackTopIcon.d.ts +1 -1
  34. package/es/back-top/src/BackTopIcon.mjs +1 -1
  35. package/es/carousel/src/CarouselArrow.mjs +24 -20
  36. package/es/checkbox/src/CheckMark.d.ts +2 -1
  37. package/es/checkbox/src/CheckMark.mjs +1 -1
  38. package/es/checkbox/src/Checkbox.mjs +4 -4
  39. package/es/checkbox/src/LineMark.d.ts +2 -1
  40. package/es/checkbox/src/LineMark.mjs +1 -1
  41. package/es/config-provider/src/internal-interface.d.ts +7 -7
  42. package/es/data-table/index.d.ts +1 -1
  43. package/es/descriptions/index.d.ts +2 -2
  44. package/es/descriptions/index.mjs +2 -2
  45. package/es/divider/index.d.ts +1 -1
  46. package/es/divider/index.mjs +1 -1
  47. package/es/drawer/index.d.ts +2 -2
  48. package/es/drawer/index.mjs +2 -2
  49. package/es/drawer/src/DrawerBodyWrapper.mjs +1 -1
  50. package/es/dropdown/index.d.ts +2 -2
  51. package/es/dropdown/index.mjs +1 -1
  52. package/es/dynamic-input/index.d.ts +1 -1
  53. package/es/dynamic-input/index.mjs +1 -1
  54. package/es/dynamic-input/styles/rtl.mjs +2 -2
  55. package/es/dynamic-tags/index.d.ts +1 -1
  56. package/es/dynamic-tags/index.mjs +1 -1
  57. package/es/element/index.d.ts +1 -1
  58. package/es/element/index.mjs +1 -1
  59. package/es/ellipsis/index.d.ts +1 -1
  60. package/es/ellipsis/index.mjs +1 -1
  61. package/es/empty/index.d.ts +1 -1
  62. package/es/empty/index.mjs +1 -1
  63. package/es/equation/index.d.ts +1 -1
  64. package/es/equation/index.mjs +1 -1
  65. package/es/flex/index.d.ts +1 -1
  66. package/es/flex/index.mjs +1 -1
  67. package/es/float-button/index.d.ts +1 -1
  68. package/es/float-button/index.mjs +1 -1
  69. package/es/float-button/src/styles/index.cssr.mjs +8 -2
  70. package/es/float-button-group/index.d.ts +1 -1
  71. package/es/float-button-group/index.mjs +1 -1
  72. package/es/float-button-group/src/styles/index.cssr.mjs +7 -1
  73. package/es/form/index.d.ts +3 -3
  74. package/es/form/index.mjs +3 -3
  75. package/es/gradient-text/index.d.ts +1 -1
  76. package/es/gradient-text/index.mjs +1 -1
  77. package/es/grid/index.d.ts +3 -3
  78. package/es/grid/index.mjs +3 -3
  79. package/es/highlight/index.d.ts +1 -1
  80. package/es/highlight/index.mjs +1 -1
  81. package/es/image/index.d.ts +2 -2
  82. package/es/image/index.mjs +2 -2
  83. package/es/image/src/ImagePreview.mjs +4 -4
  84. package/es/image/src/icons.d.ts +3 -3
  85. package/es/image/src/icons.mjs +30 -24
  86. package/es/image/src/styles/index.cssr.mjs +1 -1
  87. package/es/infinite-scroll/index.d.ts +1 -1
  88. package/es/infinite-scroll/index.mjs +1 -1
  89. package/es/input/index.d.ts +3 -3
  90. package/es/input/index.mjs +3 -3
  91. package/es/input-number/index.d.ts +1 -1
  92. package/es/input-number/index.mjs +1 -1
  93. package/es/layout/index.d.ts +6 -6
  94. package/es/layout/index.mjs +4 -4
  95. package/es/legacy-transfer/index.d.ts +1 -1
  96. package/es/legacy-transfer/index.mjs +1 -1
  97. package/es/list/index.d.ts +1 -1
  98. package/es/list/index.mjs +1 -1
  99. package/es/loading-bar/index.d.ts +1 -1
  100. package/es/loading-bar/index.mjs +1 -1
  101. package/es/log/index.d.ts +1 -1
  102. package/es/log/index.mjs +1 -1
  103. package/es/marquee/index.d.ts +1 -1
  104. package/es/marquee/index.mjs +1 -1
  105. package/es/mention/index.d.ts +1 -1
  106. package/es/mention/index.mjs +1 -1
  107. package/es/menu/index.d.ts +1 -1
  108. package/es/menu/index.mjs +1 -1
  109. package/es/message/index.d.ts +1 -1
  110. package/es/message/index.mjs +1 -1
  111. package/es/modal/index.d.ts +1 -1
  112. package/es/modal/index.mjs +1 -1
  113. package/es/modal/src/styles/index.cssr.mjs +1 -1
  114. package/es/popover/src/Popover.mjs +4 -1
  115. package/es/rate/src/Rate.mjs +2 -2
  116. package/es/rate/src/StarIcon.d.ts +1 -1
  117. package/es/rate/src/StarIcon.mjs +1 -1
  118. package/es/result/src/403.d.ts +1 -2
  119. package/es/result/src/403.mjs +12 -10
  120. package/es/result/src/404.d.ts +1 -2
  121. package/es/result/src/404.mjs +32 -30
  122. package/es/result/src/418.d.ts +1 -2
  123. package/es/result/src/418.mjs +33 -31
  124. package/es/result/src/500.d.ts +1 -2
  125. package/es/result/src/500.mjs +18 -16
  126. package/es/result/src/Result.mjs +8 -8
  127. package/es/styles.d.ts +5 -5
  128. package/es/styles.mjs +5 -5
  129. package/es/theme-editor/src/ThemeEditor.mjs +25 -23
  130. package/es/themes/dark.mjs +7 -7
  131. package/es/themes/light.mjs +7 -7
  132. package/es/upload/src/UploadFile.mjs +3 -3
  133. package/es/upload/src/icons.d.ts +2 -2
  134. package/es/upload/src/icons.mjs +2 -2
  135. package/es/version.d.ts +1 -1
  136. package/es/version.mjs +1 -1
  137. package/lib/_internal/icons/Attach.js +2 -2
  138. package/lib/_internal/icons/Cancel.js +2 -2
  139. package/lib/_internal/icons/Clear.js +2 -2
  140. package/lib/_internal/icons/Close.js +2 -2
  141. package/lib/_internal/icons/Date.js +2 -2
  142. package/lib/_internal/icons/Download.js +2 -2
  143. package/lib/_internal/icons/Error.js +2 -2
  144. package/lib/_internal/icons/Info.js +2 -2
  145. package/lib/_internal/icons/Retry.js +2 -2
  146. package/lib/_internal/icons/RotateClockwise.js +2 -2
  147. package/lib/_internal/icons/RotateCounterclockwise.js +2 -2
  148. package/lib/_internal/icons/Success.js +2 -2
  149. package/lib/_internal/icons/Time.js +2 -2
  150. package/lib/_internal/icons/To.js +2 -2
  151. package/lib/_internal/icons/Trash.js +2 -2
  152. package/lib/_internal/icons/Warning.js +2 -2
  153. package/lib/_internal/icons/ZoomIn.js +2 -2
  154. package/lib/_internal/icons/ZoomOut.js +2 -2
  155. package/lib/_internal/icons/replaceable.d.ts +2 -1
  156. package/lib/_internal/icons/replaceable.js +6 -1
  157. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +16 -4
  158. package/lib/_internal/scrollbar/src/Scrollbar.js +24 -8
  159. package/lib/_internal/scrollbar/src/styles/index.cssr.js +16 -4
  160. package/lib/_mixins/index.d.ts +1 -1
  161. package/lib/_mixins/index.js +2 -2
  162. package/lib/_utils/composable/use-resize.js +8 -0
  163. package/lib/_utils/css/rtl-inset.js +1 -1
  164. package/lib/back-top/src/BackTop.js +1 -1
  165. package/lib/back-top/src/BackTopIcon.d.ts +1 -1
  166. package/lib/back-top/src/BackTopIcon.js +1 -1
  167. package/lib/carousel/src/CarouselArrow.js +12 -8
  168. package/lib/checkbox/src/CheckMark.d.ts +2 -1
  169. package/lib/checkbox/src/CheckMark.js +1 -1
  170. package/lib/checkbox/src/Checkbox.js +1 -1
  171. package/lib/checkbox/src/LineMark.d.ts +2 -1
  172. package/lib/checkbox/src/LineMark.js +1 -1
  173. package/lib/config-provider/src/internal-interface.d.ts +7 -7
  174. package/lib/data-table/index.d.ts +1 -1
  175. package/lib/descriptions/index.d.ts +2 -2
  176. package/lib/descriptions/index.js +3 -3
  177. package/lib/divider/index.d.ts +1 -1
  178. package/lib/divider/index.js +2 -2
  179. package/lib/drawer/index.d.ts +2 -2
  180. package/lib/drawer/index.js +3 -3
  181. package/lib/drawer/src/DrawerBodyWrapper.js +1 -1
  182. package/lib/dropdown/index.d.ts +2 -2
  183. package/lib/dropdown/index.js +2 -2
  184. package/lib/dynamic-input/index.d.ts +1 -1
  185. package/lib/dynamic-input/index.js +2 -2
  186. package/lib/dynamic-input/styles/rtl.js +5 -5
  187. package/lib/dynamic-tags/index.d.ts +1 -1
  188. package/lib/dynamic-tags/index.js +2 -2
  189. package/lib/element/index.d.ts +1 -1
  190. package/lib/element/index.js +2 -2
  191. package/lib/ellipsis/index.d.ts +1 -1
  192. package/lib/ellipsis/index.js +2 -2
  193. package/lib/empty/index.d.ts +1 -1
  194. package/lib/empty/index.js +2 -2
  195. package/lib/equation/index.d.ts +1 -1
  196. package/lib/equation/index.js +2 -2
  197. package/lib/flex/index.d.ts +1 -1
  198. package/lib/flex/index.js +2 -2
  199. package/lib/float-button/index.d.ts +1 -1
  200. package/lib/float-button/index.js +2 -2
  201. package/lib/float-button/src/styles/index.cssr.js +8 -2
  202. package/lib/float-button-group/index.d.ts +1 -1
  203. package/lib/float-button-group/index.js +2 -2
  204. package/lib/float-button-group/src/styles/index.cssr.js +7 -1
  205. package/lib/form/index.d.ts +3 -3
  206. package/lib/form/index.js +5 -5
  207. package/lib/gradient-text/index.d.ts +1 -1
  208. package/lib/gradient-text/index.js +2 -2
  209. package/lib/grid/index.d.ts +3 -3
  210. package/lib/grid/index.js +4 -4
  211. package/lib/highlight/index.d.ts +1 -1
  212. package/lib/highlight/index.js +2 -2
  213. package/lib/image/index.d.ts +2 -2
  214. package/lib/image/index.js +3 -3
  215. package/lib/image/src/ImagePreview.js +3 -3
  216. package/lib/image/src/icons.d.ts +3 -3
  217. package/lib/image/src/icons.js +15 -7
  218. package/lib/image/src/styles/index.cssr.js +1 -1
  219. package/lib/infinite-scroll/index.d.ts +1 -1
  220. package/lib/infinite-scroll/index.js +2 -2
  221. package/lib/input/index.d.ts +3 -3
  222. package/lib/input/index.js +4 -4
  223. package/lib/input-number/index.d.ts +1 -1
  224. package/lib/input-number/index.js +2 -2
  225. package/lib/layout/index.d.ts +6 -6
  226. package/lib/layout/index.js +6 -6
  227. package/lib/legacy-transfer/index.d.ts +1 -1
  228. package/lib/legacy-transfer/index.js +2 -2
  229. package/lib/list/index.d.ts +1 -1
  230. package/lib/list/index.js +2 -2
  231. package/lib/loading-bar/index.d.ts +1 -1
  232. package/lib/loading-bar/index.js +2 -2
  233. package/lib/log/index.d.ts +1 -1
  234. package/lib/log/index.js +2 -2
  235. package/lib/marquee/index.d.ts +1 -1
  236. package/lib/marquee/index.js +2 -2
  237. package/lib/mention/index.d.ts +1 -1
  238. package/lib/mention/index.js +2 -2
  239. package/lib/menu/index.d.ts +1 -1
  240. package/lib/menu/index.js +2 -2
  241. package/lib/message/index.d.ts +1 -1
  242. package/lib/message/index.js +2 -2
  243. package/lib/modal/index.d.ts +1 -1
  244. package/lib/modal/index.js +2 -2
  245. package/lib/modal/src/styles/index.cssr.js +1 -1
  246. package/lib/popover/src/Popover.js +7 -1
  247. package/lib/rate/src/Rate.js +1 -1
  248. package/lib/rate/src/StarIcon.d.ts +1 -1
  249. package/lib/rate/src/StarIcon.js +1 -1
  250. package/lib/result/src/403.d.ts +1 -2
  251. package/lib/result/src/403.js +6 -3
  252. package/lib/result/src/404.d.ts +1 -2
  253. package/lib/result/src/404.js +10 -7
  254. package/lib/result/src/418.d.ts +1 -2
  255. package/lib/result/src/418.js +10 -7
  256. package/lib/result/src/500.d.ts +1 -2
  257. package/lib/result/src/500.js +7 -4
  258. package/lib/result/src/Result.js +8 -8
  259. package/lib/styles.d.ts +5 -5
  260. package/lib/styles.js +29 -29
  261. package/lib/theme-editor/src/ThemeEditor.js +8 -6
  262. package/lib/themes/dark.js +28 -28
  263. package/lib/themes/light.js +28 -28
  264. package/lib/upload/src/UploadFile.js +1 -1
  265. package/lib/upload/src/icons.d.ts +2 -2
  266. package/lib/upload/src/icons.js +3 -3
  267. package/lib/version.d.ts +1 -1
  268. package/lib/version.js +1 -1
  269. package/package.json +4 -4
  270. package/volar.d.ts +1 -1
  271. package/web-types.json +7 -7
@@ -1,5 +1,5 @@
1
1
  import { h } from 'vue';
2
- export default h("svg", {
2
+ export default () => h("svg", {
3
3
  viewBox: "0 0 512 512"
4
4
  }, h("path", {
5
5
  d: "M394 480a16 16 0 01-9.39-3L256 383.76 127.39 477a16 16 0 01-24.55-18.08L153 310.35 23 221.2a16 16 0 019-29.2h160.38l48.4-148.95a16 16 0 0130.44 0l48.4 149H480a16 16 0 019.05 29.2L359 310.35l50.13 148.53A16 16 0 01394 480z"
@@ -1,2 +1 @@
1
- declare const _default: JSX.Element;
2
- export default _default;
1
+ export declare function render403(): JSX.Element;
@@ -1,11 +1,13 @@
1
1
  import { h } from 'vue';
2
- export default h("svg", {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 36 36"
5
- }, h("path", {
6
- fill: "#EF9645",
7
- d: "M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"
8
- }), h("path", {
9
- fill: "#FFDC5D",
10
- d: "M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"
11
- }));
2
+ export function render403() {
3
+ return h("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 36 36"
6
+ }, h("path", {
7
+ fill: "#EF9645",
8
+ d: "M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"
9
+ }), h("path", {
10
+ fill: "#FFDC5D",
11
+ d: "M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"
12
+ }));
13
+ }
@@ -1,2 +1 @@
1
- declare const _default: JSX.Element;
2
- export default _default;
1
+ export declare function render404(): JSX.Element;
@@ -1,31 +1,33 @@
1
1
  import { h } from 'vue';
2
- export default h("svg", {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 36 36"
5
- }, h("circle", {
6
- fill: "#FFCB4C",
7
- cx: "18",
8
- cy: "17.018",
9
- r: "17"
10
- }), h("path", {
11
- fill: "#65471B",
12
- d: "M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"
13
- }), h("ellipse", {
14
- fill: "#65471B",
15
- cx: "13.119",
16
- cy: "11.174",
17
- rx: "2.125",
18
- ry: "2.656"
19
- }), h("ellipse", {
20
- fill: "#65471B",
21
- cx: "24.375",
22
- cy: "12.236",
23
- rx: "2.125",
24
- ry: "2.656"
25
- }), h("path", {
26
- fill: "#F19020",
27
- d: "M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"
28
- }), h("path", {
29
- fill: "#65471B",
30
- d: "M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"
31
- }));
2
+ export function render404() {
3
+ return h("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 36 36"
6
+ }, h("circle", {
7
+ fill: "#FFCB4C",
8
+ cx: "18",
9
+ cy: "17.018",
10
+ r: "17"
11
+ }), h("path", {
12
+ fill: "#65471B",
13
+ d: "M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"
14
+ }), h("ellipse", {
15
+ fill: "#65471B",
16
+ cx: "13.119",
17
+ cy: "11.174",
18
+ rx: "2.125",
19
+ ry: "2.656"
20
+ }), h("ellipse", {
21
+ fill: "#65471B",
22
+ cx: "24.375",
23
+ cy: "12.236",
24
+ rx: "2.125",
25
+ ry: "2.656"
26
+ }), h("path", {
27
+ fill: "#F19020",
28
+ d: "M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"
29
+ }), h("path", {
30
+ fill: "#65471B",
31
+ d: "M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"
32
+ }));
33
+ }
@@ -1,2 +1 @@
1
- declare const _default: JSX.Element;
2
- export default _default;
1
+ export declare function render418(): JSX.Element;
@@ -1,32 +1,34 @@
1
1
  import { h } from 'vue';
2
- export default h("svg", {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 36 36"
5
- }, h("ellipse", {
6
- fill: "#292F33",
7
- cx: "18",
8
- cy: "26",
9
- rx: "18",
10
- ry: "10"
11
- }), h("ellipse", {
12
- fill: "#66757F",
13
- cx: "18",
14
- cy: "24",
15
- rx: "18",
16
- ry: "10"
17
- }), h("path", {
18
- fill: "#E1E8ED",
19
- d: "M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"
20
- }), h("path", {
21
- fill: "#77B255",
22
- d: "M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"
23
- }), h("ellipse", {
24
- fill: "#A6D388",
25
- cx: "18",
26
- cy: "13",
27
- rx: "15",
28
- ry: "7"
29
- }), h("path", {
30
- d: "M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",
31
- fill: "#5C913B"
32
- }));
2
+ export function render418() {
3
+ return h("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 36 36"
6
+ }, h("ellipse", {
7
+ fill: "#292F33",
8
+ cx: "18",
9
+ cy: "26",
10
+ rx: "18",
11
+ ry: "10"
12
+ }), h("ellipse", {
13
+ fill: "#66757F",
14
+ cx: "18",
15
+ cy: "24",
16
+ rx: "18",
17
+ ry: "10"
18
+ }), h("path", {
19
+ fill: "#E1E8ED",
20
+ d: "M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"
21
+ }), h("path", {
22
+ fill: "#77B255",
23
+ d: "M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"
24
+ }), h("ellipse", {
25
+ fill: "#A6D388",
26
+ cx: "18",
27
+ cy: "13",
28
+ rx: "15",
29
+ ry: "7"
30
+ }), h("path", {
31
+ d: "M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",
32
+ fill: "#5C913B"
33
+ }));
34
+ }
@@ -1,2 +1 @@
1
- declare const _default: JSX.Element;
2
- export default _default;
1
+ export declare function render500(): JSX.Element;
@@ -1,17 +1,19 @@
1
1
  import { h } from 'vue';
2
- export default h("svg", {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 36 36"
5
- }, h("path", {
6
- fill: "#FFCC4D",
7
- d: "M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"
8
- }), h("ellipse", {
9
- fill: "#664500",
10
- cx: "18",
11
- cy: "27",
12
- rx: "5",
13
- ry: "6"
14
- }), h("path", {
15
- fill: "#664500",
16
- d: "M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"
17
- }));
2
+ export function render500() {
3
+ return h("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 36 36"
6
+ }, h("path", {
7
+ fill: "#FFCC4D",
8
+ d: "M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"
9
+ }), h("ellipse", {
10
+ fill: "#664500",
11
+ cx: "18",
12
+ cy: "27",
13
+ rx: "5",
14
+ ry: "6"
15
+ }), h("path", {
16
+ fill: "#664500",
17
+ d: "M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"
18
+ }));
19
+ }
@@ -4,16 +4,16 @@ import { ErrorIcon, InfoIcon, SuccessIcon, WarningIcon } from "../../_internal/i
4
4
  import { useConfig, useTheme, useThemeClass } from "../../_mixins/index.mjs";
5
5
  import { createKey } from "../../_utils/index.mjs";
6
6
  import { resultLight } from "../styles/index.mjs";
7
- import image403 from "./403.mjs";
8
- import image404 from "./404.mjs";
9
- import image418 from "./418.mjs";
10
- import image500 from "./500.mjs";
7
+ import { render403 } from "./403.mjs";
8
+ import { render404 } from "./404.mjs";
9
+ import { render418 } from "./418.mjs";
10
+ import { render500 } from "./500.mjs";
11
11
  import style from "./styles/index.cssr.mjs";
12
12
  const iconRenderMap = {
13
- 403: () => image403,
14
- 404: () => image404,
15
- 418: () => image418,
16
- 500: () => image500,
13
+ 403: render403,
14
+ 404: render404,
15
+ 418: render418,
16
+ 500: render500,
17
17
  info: () => h(InfoIcon, null),
18
18
  success: () => h(SuccessIcon, null),
19
19
  warning: () => h(WarningIcon, null),
package/es/styles.d.ts CHANGED
@@ -6,19 +6,19 @@ export { commonDark, commonLight } from './_styles/common';
6
6
  export { alertDark, alertRtl as unstableAlertRtl } from './alert/styles';
7
7
  export { anchorDark } from './anchor/styles';
8
8
  export { autoCompleteDark } from './auto-complete/styles';
9
- export { avatarDark } from './avatar/styles';
10
9
  export { avatarGroupRtl as unstableAvatarGroupRtl } from './avatar-group/styles';
10
+ export { avatarDark } from './avatar/styles';
11
11
  export { backTopDark } from './back-top/styles';
12
12
  export { badgeDark, badgeRtl as unstableBadgeRtl } from './badge/styles';
13
13
  export { breadcrumbDark } from './breadcrumb/styles';
14
- export { buttonDark, buttonRtl as unstableButtonRtl } from './button/styles';
15
14
  export { buttonGroupDark, buttonGroupRtl as unstableButtonGroupRtl } from './button-group/styles';
15
+ export { buttonDark, buttonRtl as unstableButtonRtl } from './button/styles';
16
16
  export { cardDark, cardRtl as unstableCardRtl } from './card/styles';
17
17
  export { cascaderDark } from './cascader/styles';
18
18
  export { checkboxDark, checkboxRtl as unstableCheckboxRtl } from './checkbox/styles';
19
19
  export { codeDark } from './code/styles';
20
- export { collapseDark, collapseRtl as unstableCollapseRtl } from './collapse/styles';
21
20
  export { collapseTransitionRtl as unstableCollapseTransitionRtl } from './collapse-transition/styles';
21
+ export { collapseDark, collapseRtl as unstableCollapseRtl } from './collapse/styles';
22
22
  export { DataTableRtl as unstableDataTableRtl } from './data-table/styles';
23
23
  export { dataTableDark } from './data-table/styles';
24
24
  export { datePickerDark } from './date-picker/styles';
@@ -35,8 +35,8 @@ export { flexDark, flexRtl as unstableFlexRtl } from './flex/styles';
35
35
  export { formDark } from './form/styles';
36
36
  export { gradientTextDark } from './gradient-text/styles';
37
37
  export { iconDark } from './icon/styles';
38
- export { inputDark, inputRtl as unstableInputRtl } from './input/styles';
39
38
  export { inputNumberDark, inputNumberRtl as unstableInputNumberRtl } from './input-number/styles';
39
+ export { inputDark, inputRtl as unstableInputRtl } from './input/styles';
40
40
  export { layoutDark } from './layout/styles';
41
41
  export { rowRtl as unstableRowRtl } from './legacy-grid/styles';
42
42
  export { listDark, listRtl as unstableListRtl } from './list/styles';
@@ -73,8 +73,8 @@ export { timePickerDark } from './time-picker/styles';
73
73
  export { timelineDark } from './timeline/styles';
74
74
  export { tooltipDark } from './tooltip/styles';
75
75
  export { transferDark } from './transfer/styles';
76
- export { treeDark, treeRtl as unstableTreeRtl } from './tree/styles';
77
76
  export { treeSelectDark } from './tree-select/styles';
77
+ export { treeDark, treeRtl as unstableTreeRtl } from './tree/styles';
78
78
  export { typographyDark } from './typography/styles';
79
79
  export { uploadDark } from './upload/styles';
80
80
  export { watermarkDark } from './watermark/styles';
package/es/styles.mjs CHANGED
@@ -7,19 +7,19 @@ export { commonDark, commonLight } from "./_styles/common/index.mjs";
7
7
  export { alertDark, alertRtl as unstableAlertRtl } from "./alert/styles/index.mjs";
8
8
  export { anchorDark } from "./anchor/styles/index.mjs";
9
9
  export { autoCompleteDark } from "./auto-complete/styles/index.mjs";
10
- export { avatarDark } from "./avatar/styles/index.mjs";
11
10
  export { avatarGroupRtl as unstableAvatarGroupRtl } from "./avatar-group/styles/index.mjs";
11
+ export { avatarDark } from "./avatar/styles/index.mjs";
12
12
  export { backTopDark } from "./back-top/styles/index.mjs";
13
13
  export { badgeDark, badgeRtl as unstableBadgeRtl } from "./badge/styles/index.mjs";
14
14
  export { breadcrumbDark } from "./breadcrumb/styles/index.mjs";
15
- export { buttonDark, buttonRtl as unstableButtonRtl } from "./button/styles/index.mjs";
16
15
  export { buttonGroupDark, buttonGroupRtl as unstableButtonGroupRtl } from "./button-group/styles/index.mjs";
16
+ export { buttonDark, buttonRtl as unstableButtonRtl } from "./button/styles/index.mjs";
17
17
  export { cardDark, cardRtl as unstableCardRtl } from "./card/styles/index.mjs";
18
18
  export { cascaderDark } from "./cascader/styles/index.mjs";
19
19
  export { checkboxDark, checkboxRtl as unstableCheckboxRtl } from "./checkbox/styles/index.mjs";
20
20
  export { codeDark } from "./code/styles/index.mjs";
21
- export { collapseDark, collapseRtl as unstableCollapseRtl } from "./collapse/styles/index.mjs";
22
21
  export { collapseTransitionRtl as unstableCollapseTransitionRtl } from "./collapse-transition/styles/index.mjs";
22
+ export { collapseDark, collapseRtl as unstableCollapseRtl } from "./collapse/styles/index.mjs";
23
23
  export { DataTableRtl as unstableDataTableRtl } from "./data-table/styles/index.mjs";
24
24
  export { dataTableDark } from "./data-table/styles/index.mjs";
25
25
  export { datePickerDark } from "./date-picker/styles/index.mjs";
@@ -36,8 +36,8 @@ export { flexDark, flexRtl as unstableFlexRtl } from "./flex/styles/index.mjs";
36
36
  export { formDark } from "./form/styles/index.mjs";
37
37
  export { gradientTextDark } from "./gradient-text/styles/index.mjs";
38
38
  export { iconDark } from "./icon/styles/index.mjs";
39
- export { inputDark, inputRtl as unstableInputRtl } from "./input/styles/index.mjs";
40
39
  export { inputNumberDark, inputNumberRtl as unstableInputNumberRtl } from "./input-number/styles/index.mjs";
40
+ export { inputDark, inputRtl as unstableInputRtl } from "./input/styles/index.mjs";
41
41
  export { layoutDark } from "./layout/styles/index.mjs";
42
42
  export { rowRtl as unstableRowRtl } from "./legacy-grid/styles/index.mjs";
43
43
  export { listDark, listRtl as unstableListRtl } from "./list/styles/index.mjs";
@@ -74,8 +74,8 @@ export { timePickerDark } from "./time-picker/styles/index.mjs";
74
74
  export { timelineDark } from "./timeline/styles/index.mjs";
75
75
  export { tooltipDark } from "./tooltip/styles/index.mjs";
76
76
  export { transferDark } from "./transfer/styles/index.mjs";
77
- export { treeDark, treeRtl as unstableTreeRtl } from "./tree/styles/index.mjs";
78
77
  export { treeSelectDark } from "./tree-select/styles/index.mjs";
78
+ export { treeDark, treeRtl as unstableTreeRtl } from "./tree/styles/index.mjs";
79
79
  export { typographyDark } from "./typography/styles/index.mjs";
80
80
  export { uploadDark } from "./upload/styles/index.mjs";
81
81
  export { watermarkDark } from "./watermark/styles/index.mjs";
@@ -18,28 +18,30 @@ import { NSpace } from "../../space/index.mjs";
18
18
  import { lightTheme } from "../../themes/light.mjs";
19
19
  import { MaximizeIcon } from "./MaximizeIcon.mjs";
20
20
  import { MinimizeIcon } from "./MinimizeIcon.mjs";
21
- const ColorWandIcon = h("svg", {
22
- viewBox: "0 0 16 16",
23
- fill: "none",
24
- xmlns: "http://www.w3.org/2000/svg",
25
- style: {
26
- width: '1em',
27
- height: '1em',
28
- color: 'currentColor'
29
- }
30
- }, h("path", {
31
- d: "M13.5 1C13.7761 1 14 1.22386 14 1.5V2H14.5C14.7761 2 15 2.22386 15 2.5C15 2.77614 14.7761 3 14.5 3H14V3.5C14 3.77614 13.7761 4 13.5 4C13.2239 4 13 3.77614 13 3.5V3H12.5C12.2239 3 12 2.77614 12 2.5C12 2.22386 12.2239 2 12.5 2H13V1.5C13 1.22386 13.2239 1 13.5 1Z",
32
- fill: "currentColor"
33
- }), h("path", {
34
- d: "M3.5 3C3.77615 3 4 3.22386 4 3.5V4H4.5C4.77615 4 5 4.22386 5 4.5C5 4.77614 4.77615 5 4.5 5H4V5.5C4 5.77614 3.77615 6 3.5 6C3.22386 6 3 5.77614 3 5.5V5H2.5C2.22386 5 2 4.77614 2 4.5C2 4.22386 2.22386 4 2.5 4H3V3.5C3 3.22386 3.22386 3 3.5 3Z",
35
- fill: "currentColor"
36
- }), h("path", {
37
- d: "M12.5 12C12.7761 12 13 11.7761 13 11.5C13 11.2239 12.7761 11 12.5 11H12V10.5C12 10.2239 11.7761 10 11.5 10C11.2239 10 11 10.2239 11 10.5V11H10.5C10.2239 11 10 11.2239 10 11.5C10 11.7761 10.2239 12 10.5 12H11V12.5C11 12.7761 11.2239 13 11.5 13C11.7761 13 12 12.7761 12 12.5V12H12.5Z",
38
- fill: "currentColor"
39
- }), h("path", {
40
- d: "M8.72956 4.56346C9.4771 3.81592 10.6891 3.81592 11.4367 4.56347C12.1842 5.31102 12.1842 6.52303 11.4367 7.27058L4.26679 14.4404C3.51924 15.1879 2.30723 15.1879 1.55968 14.4404C0.812134 13.6928 0.812138 12.4808 1.55969 11.7333L8.72956 4.56346ZM8.25002 6.4572L2.26679 12.4404C1.90977 12.7974 1.90977 13.3763 2.26679 13.7333C2.62381 14.0903 3.20266 14.0903 3.55968 13.7333L9.54292 7.75009L8.25002 6.4572ZM10.25 7.04299L10.7295 6.56347C11.0866 6.20645 11.0866 5.6276 10.7296 5.27057C10.3725 4.91355 9.79368 4.91355 9.43666 5.27057L8.95713 5.7501L10.25 7.04299Z",
41
- fill: "currentColor"
42
- }));
21
+ function renderColorWandIcon() {
22
+ return h("svg", {
23
+ viewBox: "0 0 16 16",
24
+ fill: "none",
25
+ xmlns: "http://www.w3.org/2000/svg",
26
+ style: {
27
+ width: '1em',
28
+ height: '1em',
29
+ color: 'currentColor'
30
+ }
31
+ }, h("path", {
32
+ d: "M13.5 1C13.7761 1 14 1.22386 14 1.5V2H14.5C14.7761 2 15 2.22386 15 2.5C15 2.77614 14.7761 3 14.5 3H14V3.5C14 3.77614 13.7761 4 13.5 4C13.2239 4 13 3.77614 13 3.5V3H12.5C12.2239 3 12 2.77614 12 2.5C12 2.22386 12.2239 2 12.5 2H13V1.5C13 1.22386 13.2239 1 13.5 1Z",
33
+ fill: "currentColor"
34
+ }), h("path", {
35
+ d: "M3.5 3C3.77615 3 4 3.22386 4 3.5V4H4.5C4.77615 4 5 4.22386 5 4.5C5 4.77614 4.77615 5 4.5 5H4V5.5C4 5.77614 3.77615 6 3.5 6C3.22386 6 3 5.77614 3 5.5V5H2.5C2.22386 5 2 4.77614 2 4.5C2 4.22386 2.22386 4 2.5 4H3V3.5C3 3.22386 3.22386 3 3.5 3Z",
36
+ fill: "currentColor"
37
+ }), h("path", {
38
+ d: "M12.5 12C12.7761 12 13 11.7761 13 11.5C13 11.2239 12.7761 11 12.5 11H12V10.5C12 10.2239 11.7761 10 11.5 10C11.2239 10 11 10.2239 11 10.5V11H10.5C10.2239 11 10 11.2239 10 11.5C10 11.7761 10.2239 12 10.5 12H11V12.5C11 12.7761 11.2239 13 11.5 13C11.7761 13 12 12.7761 12 12.5V12H12.5Z",
39
+ fill: "currentColor"
40
+ }), h("path", {
41
+ d: "M8.72956 4.56346C9.4771 3.81592 10.6891 3.81592 11.4367 4.56347C12.1842 5.31102 12.1842 6.52303 11.4367 7.27058L4.26679 14.4404C3.51924 15.1879 2.30723 15.1879 1.55968 14.4404C0.812134 13.6928 0.812138 12.4808 1.55969 11.7333L8.72956 4.56346ZM8.25002 6.4572L2.26679 12.4404C1.90977 12.7974 1.90977 13.3763 2.26679 13.7333C2.62381 14.0903 3.20266 14.0903 3.55968 13.7333L9.54292 7.75009L8.25002 6.4572ZM10.25 7.04299L10.7295 6.56347C11.0866 6.20645 11.0866 5.6276 10.7296 5.27057C10.3725 4.91355 9.79368 4.91355 9.43666 5.27057L8.95713 5.7501L10.25 7.04299Z",
42
+ fill: "currentColor"
43
+ }));
44
+ }
43
45
  // button colorOpacitySecondary var is not color
44
46
  function showColorPicker(key) {
45
47
  if (key.includes('pacity')) return false;
@@ -208,7 +210,7 @@ export default defineComponent({
208
210
  this.showPanel = !this.showPanel;
209
211
  }
210
212
  }, {
211
- default: () => ColorWandIcon
213
+ default: renderColorWandIcon
212
214
  }),
213
215
  default: () => h(Fragment, null, h("input", {
214
216
  type: "file",
@@ -3,21 +3,21 @@ import { commonDark } from "../_styles/common/index.mjs";
3
3
  import { alertDark } from "../alert/styles/index.mjs";
4
4
  import { anchorDark } from "../anchor/styles/index.mjs";
5
5
  import { autoCompleteDark } from "../auto-complete/styles/index.mjs";
6
- import { avatarDark } from "../avatar/styles/index.mjs";
7
6
  import { avatarGroupDark } from "../avatar-group/styles/index.mjs";
7
+ import { avatarDark } from "../avatar/styles/index.mjs";
8
8
  import { backTopDark } from "../back-top/styles/index.mjs";
9
9
  import { badgeDark } from "../badge/styles/index.mjs";
10
10
  import { breadcrumbDark } from "../breadcrumb/styles/index.mjs";
11
- import { buttonDark } from "../button/styles/index.mjs";
12
11
  import { buttonGroupDark } from "../button-group/styles/index.mjs";
12
+ import { buttonDark } from "../button/styles/index.mjs";
13
13
  import { calendarDark } from "../calendar/styles/index.mjs";
14
14
  import { cardDark } from "../card/styles/index.mjs";
15
15
  import { carouselDark } from "../carousel/styles/index.mjs";
16
16
  import { cascaderDark } from "../cascader/styles/index.mjs";
17
17
  import { checkboxDark } from "../checkbox/styles/index.mjs";
18
18
  import { codeDark } from "../code/styles/index.mjs";
19
- import { collapseDark } from "../collapse/styles/index.mjs";
20
19
  import { collapseTransitionDark } from "../collapse-transition/styles/index.mjs";
20
+ import { collapseDark } from "../collapse/styles/index.mjs";
21
21
  import { colorPickerDark } from "../color-picker/styles/index.mjs";
22
22
  import { dataTableDark } from "../data-table/styles/index.mjs";
23
23
  import { datePickerDark } from "../date-picker/styles/index.mjs";
@@ -32,15 +32,15 @@ import { elementDark } from "../element/styles/index.mjs";
32
32
  import { ellipsisDark } from "../ellipsis/styles/index.mjs";
33
33
  import { emptyDark } from "../empty/styles/index.mjs";
34
34
  import { equationDark } from "../equation/styles/index.mjs";
35
- import { floatButtonDark } from "../float-button/styles/index.mjs";
36
35
  import { floatButtonGroupDark } from "../float-button-group/styles/index.mjs";
36
+ import { floatButtonDark } from "../float-button/styles/index.mjs";
37
37
  import { formDark } from "../form/styles/index.mjs";
38
38
  import { gradientTextDark } from "../gradient-text/styles/index.mjs";
39
- import { iconDark } from "../icon/styles/index.mjs";
40
39
  import { iconWrapperDark } from "../icon-wrapper/styles/index.mjs";
40
+ import { iconDark } from "../icon/styles/index.mjs";
41
41
  import { imageDark } from "../image/styles/index.mjs";
42
- import { inputDark } from "../input/styles/index.mjs";
43
42
  import { inputNumberDark } from "../input-number/styles/index.mjs";
43
+ import { inputDark } from "../input/styles/index.mjs";
44
44
  import { layoutDark } from "../layout/styles/index.mjs";
45
45
  import { rowDark } from "../legacy-grid/styles/index.mjs";
46
46
  import { legacyTransferDark } from "../legacy-transfer/styles/index.mjs";
@@ -81,8 +81,8 @@ import { timePickerDark } from "../time-picker/styles/index.mjs";
81
81
  import { timelineDark } from "../timeline/styles/index.mjs";
82
82
  import { tooltipDark } from "../tooltip/styles/index.mjs";
83
83
  import { transferDark } from "../transfer/styles/index.mjs";
84
- import { treeDark } from "../tree/styles/index.mjs";
85
84
  import { treeSelectDark } from "../tree-select/styles/index.mjs";
85
+ import { treeDark } from "../tree/styles/index.mjs";
86
86
  import { typographyDark } from "../typography/styles/index.mjs";
87
87
  import { uploadDark } from "../upload/styles/index.mjs";
88
88
  import { watermarkDark } from "../watermark/styles/index.mjs";
@@ -5,21 +5,21 @@ import { commonLight } from "../_styles/common/index.mjs";
5
5
  import { alertLight } from "../alert/styles/index.mjs";
6
6
  import { anchorLight } from "../anchor/styles/index.mjs";
7
7
  import { autoCompleteLight } from "../auto-complete/styles/index.mjs";
8
- import { avatarLight } from "../avatar/styles/index.mjs";
9
8
  import { avatarGroupLight } from "../avatar-group/styles/index.mjs";
9
+ import { avatarLight } from "../avatar/styles/index.mjs";
10
10
  import { backTopLight } from "../back-top/styles/index.mjs";
11
11
  import { badgeLight } from "../badge/styles/index.mjs";
12
12
  import { breadcrumbLight } from "../breadcrumb/styles/index.mjs";
13
- import { buttonLight } from "../button/styles/index.mjs";
14
13
  import { buttonGroupLight } from "../button-group/styles/index.mjs";
14
+ import { buttonLight } from "../button/styles/index.mjs";
15
15
  import { calendarLight } from "../calendar/styles/index.mjs";
16
16
  import { cardLight } from "../card/styles/index.mjs";
17
17
  import { carouselLight } from "../carousel/styles/index.mjs";
18
18
  import { cascaderLight } from "../cascader/styles/index.mjs";
19
19
  import { checkboxLight } from "../checkbox/styles/index.mjs";
20
20
  import { codeLight } from "../code/styles/index.mjs";
21
- import { collapseLight } from "../collapse/styles/index.mjs";
22
21
  import { collapseTransitionLight } from "../collapse-transition/styles/index.mjs";
22
+ import { collapseLight } from "../collapse/styles/index.mjs";
23
23
  import { colorPickerLight } from "../color-picker/styles/index.mjs";
24
24
  import { dataTableLight } from "../data-table/styles/index.mjs";
25
25
  import { datePickerLight } from "../date-picker/styles/index.mjs";
@@ -35,15 +35,15 @@ import { ellipsisLight } from "../ellipsis/styles/index.mjs";
35
35
  import { emptyLight } from "../empty/styles/index.mjs";
36
36
  import { equationLight } from "../equation/styles/index.mjs";
37
37
  import { flexLight } from "../flex/styles/index.mjs";
38
- import { floatButtonLight } from "../float-button/styles/index.mjs";
39
38
  import { floatButtonGroupLight } from "../float-button-group/styles/index.mjs";
39
+ import { floatButtonLight } from "../float-button/styles/index.mjs";
40
40
  import { formLight } from "../form/styles/index.mjs";
41
41
  import { gradientTextLight } from "../gradient-text/styles/index.mjs";
42
- import { iconLight } from "../icon/styles/index.mjs";
43
42
  import { iconWrapperLight } from "../icon-wrapper/styles/index.mjs";
43
+ import { iconLight } from "../icon/styles/index.mjs";
44
44
  import { imageLight } from "../image/styles/index.mjs";
45
- import { inputLight } from "../input/styles/index.mjs";
46
45
  import { inputNumberLight } from "../input-number/styles/index.mjs";
46
+ import { inputLight } from "../input/styles/index.mjs";
47
47
  import { layoutLight } from "../layout/styles/index.mjs";
48
48
  import { rowLight } from "../legacy-grid/styles/index.mjs";
49
49
  import { legacyTransferLight } from "../legacy-transfer/styles/index.mjs";
@@ -83,8 +83,8 @@ import { timePickerLight } from "../time-picker/styles/index.mjs";
83
83
  import { timelineLight } from "../timeline/styles/index.mjs";
84
84
  import { tooltipLight } from "../tooltip/styles/index.mjs";
85
85
  import { transferLight } from "../transfer/styles/index.mjs";
86
- import { treeLight } from "../tree/styles/index.mjs";
87
86
  import { treeSelectLight } from "../tree-select/styles/index.mjs";
87
+ import { treeLight } from "../tree/styles/index.mjs";
88
88
  import { typographyLight } from "../typography/styles/index.mjs";
89
89
  import { uploadLight } from "../upload/styles/index.mjs";
90
90
  import { watermarkLight } from "../watermark/styles/index.mjs";
@@ -32,7 +32,7 @@ import { AttachIcon, CancelIcon, DownloadIcon, EyeIcon, RetryIcon, TrashIcon } f
32
32
  import { download, warn } from "../../_utils/index.mjs";
33
33
  import { NButton } from "../../button/index.mjs";
34
34
  import { NImage } from "../../image/index.mjs";
35
- import { documentIcon, imageIcon } from "./icons.mjs";
35
+ import { renderDocumentIcon, renderImageIcon } from "./icons.mjs";
36
36
  import { uploadInjectionKey } from "./interface.mjs";
37
37
  import NUploadProgress from "./UploadProgress.mjs";
38
38
  import { isImageFile } from "./utils.mjs";
@@ -275,11 +275,11 @@ export default defineComponent({
275
275
  }, renderIcon ? renderIcon(file) : isImageFile(file) ? h(NBaseIcon, {
276
276
  clsPrefix: clsPrefix
277
277
  }, {
278
- default: () => imageIcon
278
+ default: renderImageIcon
279
279
  }) : h(NBaseIcon, {
280
280
  clsPrefix: clsPrefix
281
281
  }, {
282
- default: () => documentIcon
282
+ default: renderDocumentIcon
283
283
  })) : h("a", {
284
284
  rel: "noopener noreferer",
285
285
  target: "_blank",
@@ -2,5 +2,5 @@
2
2
  * Since image is too large compared with normal icons, we keep it inside upload
3
3
  * now.
4
4
  */
5
- export declare const imageIcon: JSX.Element;
6
- export declare const documentIcon: JSX.Element;
5
+ export declare const renderImageIcon: JSX.Element;
6
+ export declare const renderDocumentIcon: JSX.Element;
@@ -3,7 +3,7 @@ import { h } from 'vue';
3
3
  * Since image is too large compared with normal icons, we keep it inside upload
4
4
  * now.
5
5
  */
6
- export const imageIcon = h("svg", {
6
+ export const renderImageIcon = h("svg", {
7
7
  xmlns: "http://www.w3.org/2000/svg",
8
8
  viewBox: "0 0 28 28"
9
9
  }, h("g", {
@@ -12,7 +12,7 @@ export const imageIcon = h("svg", {
12
12
  d: "M21.75 3A3.25 3.25 0 0 1 25 6.25v15.5A3.25 3.25 0 0 1 21.75 25H6.25A3.25 3.25 0 0 1 3 21.75V6.25A3.25 3.25 0 0 1 6.25 3h15.5zm.583 20.4l-7.807-7.68a.75.75 0 0 0-.968-.07l-.084.07l-7.808 7.68c.183.065.38.1.584.1h15.5c.204 0 .4-.035.583-.1l-7.807-7.68l7.807 7.68zM21.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v15.5c0 .208.036.408.103.593l7.82-7.692a2.25 2.25 0 0 1 3.026-.117l.129.117l7.82 7.692c.066-.185.102-.385.102-.593V6.25a1.75 1.75 0 0 0-1.75-1.75zm-3.25 3a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm0 1.5a1 1 0 1 0 0 2a1 1 0 0 0 0-2z",
13
13
  fill: "currentColor"
14
14
  })));
15
- export const documentIcon = h("svg", {
15
+ export const renderDocumentIcon = h("svg", {
16
16
  xmlns: "http://www.w3.org/2000/svg",
17
17
  viewBox: "0 0 28 28"
18
18
  }, h("g", {
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.40.2";
1
+ declare const _default: "2.40.4";
2
2
  export default _default;
package/es/version.mjs CHANGED
@@ -1 +1 @@
1
- export default '2.40.2';
1
+ export default '2.40.4';
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const vue_1 = require("vue");
4
4
  const replaceable_1 = require("./replaceable");
5
- exports.default = (0, replaceable_1.replaceable)('attach', (0, vue_1.h)("svg", { viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
5
+ exports.default = (0, replaceable_1.replaceable)('attach', () => ((0, vue_1.h)("svg", { viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
6
6
  (0, vue_1.h)("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
7
7
  (0, vue_1.h)("g", { fill: "currentColor", "fill-rule": "nonzero" },
8
- (0, vue_1.h)("path", { d: "M3.25735931,8.70710678 L7.85355339,4.1109127 C8.82986412,3.13460197 10.4127766,3.13460197 11.3890873,4.1109127 C12.365398,5.08722343 12.365398,6.67013588 11.3890873,7.64644661 L6.08578644,12.9497475 C5.69526215,13.3402718 5.06209717,13.3402718 4.67157288,12.9497475 C4.28104858,12.5592232 4.28104858,11.9260582 4.67157288,11.5355339 L9.97487373,6.23223305 C10.1701359,6.0369709 10.1701359,5.72038841 9.97487373,5.52512627 C9.77961159,5.32986412 9.4630291,5.32986412 9.26776695,5.52512627 L3.96446609,10.8284271 C3.18341751,11.6094757 3.18341751,12.8758057 3.96446609,13.6568542 C4.74551468,14.4379028 6.01184464,14.4379028 6.79289322,13.6568542 L12.0961941,8.35355339 C13.4630291,6.98671837 13.4630291,4.77064094 12.0961941,3.40380592 C10.7293591,2.0369709 8.51328163,2.0369709 7.14644661,3.40380592 L2.55025253,8 C2.35499039,8.19526215 2.35499039,8.51184464 2.55025253,8.70710678 C2.74551468,8.90236893 3.06209717,8.90236893 3.25735931,8.70710678 Z" })))));
8
+ (0, vue_1.h)("path", { d: "M3.25735931,8.70710678 L7.85355339,4.1109127 C8.82986412,3.13460197 10.4127766,3.13460197 11.3890873,4.1109127 C12.365398,5.08722343 12.365398,6.67013588 11.3890873,7.64644661 L6.08578644,12.9497475 C5.69526215,13.3402718 5.06209717,13.3402718 4.67157288,12.9497475 C4.28104858,12.5592232 4.28104858,11.9260582 4.67157288,11.5355339 L9.97487373,6.23223305 C10.1701359,6.0369709 10.1701359,5.72038841 9.97487373,5.52512627 C9.77961159,5.32986412 9.4630291,5.32986412 9.26776695,5.52512627 L3.96446609,10.8284271 C3.18341751,11.6094757 3.18341751,12.8758057 3.96446609,13.6568542 C4.74551468,14.4379028 6.01184464,14.4379028 6.79289322,13.6568542 L12.0961941,8.35355339 C13.4630291,6.98671837 13.4630291,4.77064094 12.0961941,3.40380592 C10.7293591,2.0369709 8.51328163,2.0369709 7.14644661,3.40380592 L2.55025253,8 C2.35499039,8.19526215 2.35499039,8.51184464 2.55025253,8.70710678 C2.74551468,8.90236893 3.06209717,8.90236893 3.25735931,8.70710678 Z" }))))));
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const vue_1 = require("vue");
4
4
  const replaceable_1 = require("./replaceable");
5
- exports.default = (0, replaceable_1.replaceable)('cancel', (0, vue_1.h)("svg", { viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
5
+ exports.default = (0, replaceable_1.replaceable)('cancel', () => ((0, vue_1.h)("svg", { viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
6
6
  (0, vue_1.h)("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
7
7
  (0, vue_1.h)("g", { fill: "currentColor", "fill-rule": "nonzero" },
8
- (0, vue_1.h)("path", { d: "M2.58859116,2.7156945 L2.64644661,2.64644661 C2.82001296,2.47288026 3.08943736,2.45359511 3.2843055,2.58859116 L3.35355339,2.64644661 L8,7.293 L12.6464466,2.64644661 C12.8417088,2.45118446 13.1582912,2.45118446 13.3535534,2.64644661 C13.5488155,2.84170876 13.5488155,3.15829124 13.3535534,3.35355339 L8.707,8 L13.3535534,12.6464466 C13.5271197,12.820013 13.5464049,13.0894374 13.4114088,13.2843055 L13.3535534,13.3535534 C13.179987,13.5271197 12.9105626,13.5464049 12.7156945,13.4114088 L12.6464466,13.3535534 L8,8.707 L3.35355339,13.3535534 C3.15829124,13.5488155 2.84170876,13.5488155 2.64644661,13.3535534 C2.45118446,13.1582912 2.45118446,12.8417088 2.64644661,12.6464466 L7.293,8 L2.64644661,3.35355339 C2.47288026,3.17998704 2.45359511,2.91056264 2.58859116,2.7156945 L2.64644661,2.64644661 L2.58859116,2.7156945 Z" })))));
8
+ (0, vue_1.h)("path", { d: "M2.58859116,2.7156945 L2.64644661,2.64644661 C2.82001296,2.47288026 3.08943736,2.45359511 3.2843055,2.58859116 L3.35355339,2.64644661 L8,7.293 L12.6464466,2.64644661 C12.8417088,2.45118446 13.1582912,2.45118446 13.3535534,2.64644661 C13.5488155,2.84170876 13.5488155,3.15829124 13.3535534,3.35355339 L8.707,8 L13.3535534,12.6464466 C13.5271197,12.820013 13.5464049,13.0894374 13.4114088,13.2843055 L13.3535534,13.3535534 C13.179987,13.5271197 12.9105626,13.5464049 12.7156945,13.4114088 L12.6464466,13.3535534 L8,8.707 L3.35355339,13.3535534 C3.15829124,13.5488155 2.84170876,13.5488155 2.64644661,13.3535534 C2.45118446,13.1582912 2.45118446,12.8417088 2.64644661,12.6464466 L7.293,8 L2.64644661,3.35355339 C2.47288026,3.17998704 2.45359511,2.91056264 2.58859116,2.7156945 L2.64644661,2.64644661 L2.58859116,2.7156945 Z" }))))));