ele-admin-plus 1.1.3 → 1.1.4-beta.2

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 (284) hide show
  1. package/es/ele-alert/index.d.ts +10 -10
  2. package/es/ele-alert/props.d.ts +6 -6
  3. package/es/ele-app/style/message.scss +1 -0
  4. package/es/ele-app/style/overwrite.scss +84 -3
  5. package/es/ele-app/types/index.d.ts +7 -6
  6. package/es/ele-avatar-group/index.d.ts +7 -8
  7. package/es/ele-avatar-group/props.d.ts +3 -4
  8. package/es/ele-basic-select/style/index.scss +4 -6
  9. package/es/ele-bottom-bar/index.d.ts +4 -4
  10. package/es/ele-bottom-bar/props.d.ts +2 -3
  11. package/es/ele-card/index.d.ts +6 -6
  12. package/es/ele-card/props.d.ts +3 -4
  13. package/es/ele-check-card/components/card-item.d.ts +2 -3
  14. package/es/ele-check-card/index.d.ts +4 -4
  15. package/es/ele-check-card/props.d.ts +3 -3
  16. package/es/ele-config-provider/receiver.d.ts +1 -1
  17. package/es/ele-config-provider/receiver.js +29 -29
  18. package/es/ele-copyable/index.d.ts +8 -8
  19. package/es/ele-copyable/index.js +5 -4
  20. package/es/ele-copyable/props.d.ts +5 -5
  21. package/es/ele-copyable/style/index.scss +4 -0
  22. package/es/ele-count-up/index.d.ts +2 -2
  23. package/es/ele-count-up/index.js +2 -1
  24. package/es/ele-count-up/props.d.ts +1 -1
  25. package/es/ele-cropper/index.js +2 -2
  26. package/es/ele-dashboard/index.d.ts +1 -2
  27. package/es/ele-drawer/index.d.ts +16 -10
  28. package/es/ele-drawer/props.d.ts +7 -6
  29. package/es/ele-dropdown/index.d.ts +2 -2
  30. package/es/ele-dropdown/props.d.ts +1 -2
  31. package/es/ele-edit-tag/index.d.ts +4 -4
  32. package/es/ele-edit-tag/props.d.ts +2 -3
  33. package/es/ele-ellipsis/index.d.ts +4 -5
  34. package/es/ele-ellipsis/props.d.ts +1 -1
  35. package/es/ele-ellipsis/style/index.scss +4 -0
  36. package/es/ele-file-list/index.d.ts +2 -7
  37. package/es/ele-file-list/index.js +2 -2
  38. package/es/ele-file-list/types/index.d.ts +0 -4
  39. package/es/ele-icon-select/components/icon-grid.d.ts +5 -5
  40. package/es/ele-icon-select/components/icon-popper.d.ts +15 -15
  41. package/es/ele-icon-select/index.d.ts +15 -16
  42. package/es/ele-icon-select/props.d.ts +8 -8
  43. package/es/ele-loading/index.d.ts +26 -1
  44. package/es/ele-loading/index.js +53 -11
  45. package/es/ele-loading/props.d.ts +11 -1
  46. package/es/ele-loading/props.js +16 -1
  47. package/es/ele-loading/style/css-var.scss +7 -0
  48. package/es/ele-loading/style/index.js +1 -0
  49. package/es/ele-loading/style/index.scss +90 -0
  50. package/es/ele-loading/types/index.d.ts +17 -0
  51. package/es/ele-map-picker/components/map-view.d.ts +2 -2
  52. package/es/ele-map-picker/index.d.ts +2 -2
  53. package/es/ele-map-picker/props.d.ts +3 -3
  54. package/es/ele-menus/index.d.ts +2 -0
  55. package/es/ele-menus/index.js +11 -5
  56. package/es/ele-menus/props.d.ts +10 -0
  57. package/es/ele-menus/props.js +7 -1
  58. package/es/ele-menus/style/index.scss +18 -18
  59. package/es/ele-menus/types/index.d.ts +4 -0
  60. package/es/ele-menus/util.d.ts +4 -3
  61. package/es/ele-menus/util.js +23 -12
  62. package/es/ele-modal/index.d.ts +19 -13
  63. package/es/ele-modal/props.d.ts +8 -7
  64. package/es/ele-modal/types/index.d.ts +9 -0
  65. package/es/ele-modal/util.js +45 -32
  66. package/es/ele-pagination/index.d.ts +1 -1
  67. package/es/ele-popconfirm/index.d.ts +10 -10
  68. package/es/ele-popconfirm/index.js +8 -2
  69. package/es/ele-popconfirm/props.d.ts +6 -6
  70. package/es/ele-popover/index.d.ts +6 -6
  71. package/es/ele-popover/props.d.ts +3 -4
  72. package/es/ele-printer/index.d.ts +7 -6
  73. package/es/ele-printer/index.js +11 -4
  74. package/es/ele-printer/props.d.ts +3 -4
  75. package/es/ele-pro-layout/components/pro-header.d.ts +7 -2
  76. package/es/ele-pro-layout/components/pro-header.js +15 -5
  77. package/es/ele-pro-layout/components/pro-iframe.js +10 -7
  78. package/es/ele-pro-layout/components/pro-sidebar.d.ts +7 -2
  79. package/es/ele-pro-layout/components/pro-sidebar.js +14 -5
  80. package/es/ele-pro-layout/components/pro-sidebox.d.ts +11 -4
  81. package/es/ele-pro-layout/components/pro-sidebox.js +16 -5
  82. package/es/ele-pro-layout/components/tab-dropdown.js +1 -4
  83. package/es/ele-pro-layout/index.d.ts +17 -3
  84. package/es/ele-pro-layout/index.js +208 -105
  85. package/es/ele-pro-layout/props.d.ts +6 -1
  86. package/es/ele-pro-layout/props.js +10 -0
  87. package/es/ele-pro-layout/style/collapse.scss +9 -10
  88. package/es/ele-pro-layout/style/index.js +0 -1
  89. package/es/ele-pro-layout/style/layout-mobile.scss +1 -0
  90. package/es/ele-pro-layout/types/index.d.ts +9 -0
  91. package/es/ele-pro-layout/util.d.ts +4 -2
  92. package/es/ele-pro-layout/util.js +20 -17
  93. package/es/ele-pro-table/components/table-view.d.ts +9 -3
  94. package/es/ele-pro-table/components/table-view.js +27 -24
  95. package/es/ele-pro-table/components/tool-column.d.ts +2 -1
  96. package/es/ele-pro-table/components/tool-column.js +26 -18
  97. package/es/ele-pro-table/index.d.ts +46 -25
  98. package/es/ele-pro-table/index.js +182 -196
  99. package/es/ele-pro-table/props.d.ts +27 -15
  100. package/es/ele-pro-table/props.js +15 -3
  101. package/es/ele-pro-table/style/index.js +1 -1
  102. package/es/ele-pro-table/style/index.scss +64 -8
  103. package/es/ele-pro-table/types/index.d.ts +39 -5
  104. package/es/ele-pro-table/util.d.ts +84 -49
  105. package/es/ele-pro-table/util.js +193 -78
  106. package/es/ele-qr-code/index.d.ts +3 -3
  107. package/es/ele-qr-code/props.d.ts +1 -2
  108. package/es/ele-qr-code-svg/index.d.ts +3 -3
  109. package/es/ele-split-panel/index.d.ts +6 -6
  110. package/es/ele-split-panel/props.d.ts +3 -4
  111. package/es/ele-table/style/index.scss +1 -0
  112. package/es/ele-tabs/index.js +4 -3
  113. package/es/ele-tabs/types/index.d.ts +3 -0
  114. package/es/ele-text/index.d.ts +3 -3
  115. package/es/ele-text/props.d.ts +2 -2
  116. package/es/ele-toolbar/index.d.ts +6 -6
  117. package/es/ele-toolbar/props.d.ts +3 -4
  118. package/es/ele-tooltip/index.d.ts +3 -3
  119. package/es/ele-tooltip/props.d.ts +1 -2
  120. package/es/ele-tour/index.d.ts +2 -3
  121. package/es/ele-tour/style/index.scss +1 -1
  122. package/es/ele-tour/util.js +3 -3
  123. package/es/ele-upload-list/index.d.ts +8 -7
  124. package/es/ele-upload-list/index.js +18 -11
  125. package/es/ele-upload-list/props.d.ts +4 -4
  126. package/es/ele-upload-list/props.js +1 -1
  127. package/es/ele-watermark/index.d.ts +16 -8
  128. package/es/ele-watermark/index.js +18 -12
  129. package/es/ele-watermark/props.d.ts +3 -1
  130. package/es/ele-watermark/props.js +5 -1
  131. package/es/ele-watermark/util.js +1 -1
  132. package/es/ele-xg-player/index.js +1 -0
  133. package/es/style/index.scss +1 -0
  134. package/es/style/nprogress.scss +2 -2
  135. package/es/style/themes/default.scss +36 -12
  136. package/es/style/themes/rounded.scss +4 -2
  137. package/es/style/themes/theme-util.scss +2 -0
  138. package/es/utils/core.d.ts +1 -1
  139. package/es/utils/core.js +17 -15
  140. package/es/utils/resolvers.js +2 -2
  141. package/lib/ele-alert/index.d.ts +10 -10
  142. package/lib/ele-alert/props.d.ts +6 -6
  143. package/lib/ele-app/style/message.scss +1 -0
  144. package/lib/ele-app/style/overwrite.scss +84 -3
  145. package/lib/ele-app/types/index.d.ts +7 -6
  146. package/lib/ele-avatar-group/index.d.ts +7 -8
  147. package/lib/ele-avatar-group/props.d.ts +3 -4
  148. package/lib/ele-basic-select/style/index.scss +4 -6
  149. package/lib/ele-bottom-bar/index.d.ts +4 -4
  150. package/lib/ele-bottom-bar/props.d.ts +2 -3
  151. package/lib/ele-card/index.d.ts +6 -6
  152. package/lib/ele-card/props.d.ts +3 -4
  153. package/lib/ele-check-card/components/card-item.d.ts +2 -3
  154. package/lib/ele-check-card/index.d.ts +4 -4
  155. package/lib/ele-check-card/props.d.ts +3 -3
  156. package/lib/ele-config-provider/receiver.d.ts +1 -1
  157. package/lib/ele-config-provider/receiver.js +2 -2
  158. package/lib/ele-copyable/index.d.ts +8 -8
  159. package/lib/ele-copyable/index.js +4 -3
  160. package/lib/ele-copyable/props.d.ts +5 -5
  161. package/lib/ele-copyable/style/index.scss +4 -0
  162. package/lib/ele-count-up/index.d.ts +2 -2
  163. package/lib/ele-count-up/index.js +2 -1
  164. package/lib/ele-count-up/props.d.ts +1 -1
  165. package/lib/ele-cropper/index.js +2 -2
  166. package/lib/ele-dashboard/index.d.ts +1 -2
  167. package/lib/ele-drawer/index.d.ts +16 -10
  168. package/lib/ele-drawer/props.d.ts +7 -6
  169. package/lib/ele-dropdown/index.d.ts +2 -2
  170. package/lib/ele-dropdown/props.d.ts +1 -2
  171. package/lib/ele-edit-tag/index.d.ts +4 -4
  172. package/lib/ele-edit-tag/props.d.ts +2 -3
  173. package/lib/ele-ellipsis/index.d.ts +4 -5
  174. package/lib/ele-ellipsis/props.d.ts +1 -1
  175. package/lib/ele-ellipsis/style/index.scss +4 -0
  176. package/lib/ele-file-list/index.d.ts +2 -7
  177. package/lib/ele-file-list/index.js +2 -2
  178. package/lib/ele-file-list/types/index.d.ts +0 -4
  179. package/lib/ele-icon-select/components/icon-grid.d.ts +5 -5
  180. package/lib/ele-icon-select/components/icon-popper.d.ts +15 -15
  181. package/lib/ele-icon-select/index.d.ts +15 -16
  182. package/lib/ele-icon-select/props.d.ts +8 -8
  183. package/lib/ele-loading/index.d.ts +26 -1
  184. package/lib/ele-loading/index.js +52 -10
  185. package/lib/ele-loading/props.d.ts +11 -1
  186. package/lib/ele-loading/props.js +16 -1
  187. package/lib/ele-loading/style/css-var.scss +7 -0
  188. package/lib/ele-loading/style/index.js +1 -0
  189. package/lib/ele-loading/style/index.scss +90 -0
  190. package/lib/ele-loading/types/index.d.ts +17 -0
  191. package/lib/ele-map-picker/components/map-view.d.ts +2 -2
  192. package/lib/ele-map-picker/index.d.ts +2 -2
  193. package/lib/ele-map-picker/props.d.ts +3 -3
  194. package/lib/ele-menus/index.d.ts +2 -0
  195. package/lib/ele-menus/index.js +9 -3
  196. package/lib/ele-menus/props.d.ts +10 -0
  197. package/lib/ele-menus/props.js +6 -0
  198. package/lib/ele-menus/style/index.scss +18 -18
  199. package/lib/ele-menus/types/index.d.ts +4 -0
  200. package/lib/ele-menus/util.d.ts +4 -3
  201. package/lib/ele-menus/util.js +23 -12
  202. package/lib/ele-modal/index.d.ts +19 -13
  203. package/lib/ele-modal/props.d.ts +8 -7
  204. package/lib/ele-modal/types/index.d.ts +9 -0
  205. package/lib/ele-modal/util.js +45 -32
  206. package/lib/ele-pagination/index.d.ts +1 -1
  207. package/lib/ele-popconfirm/index.d.ts +10 -10
  208. package/lib/ele-popconfirm/index.js +8 -2
  209. package/lib/ele-popconfirm/props.d.ts +6 -6
  210. package/lib/ele-popover/index.d.ts +6 -6
  211. package/lib/ele-popover/props.d.ts +3 -4
  212. package/lib/ele-printer/index.d.ts +7 -6
  213. package/lib/ele-printer/index.js +10 -3
  214. package/lib/ele-printer/props.d.ts +3 -4
  215. package/lib/ele-pro-layout/components/pro-header.d.ts +7 -2
  216. package/lib/ele-pro-layout/components/pro-header.js +15 -5
  217. package/lib/ele-pro-layout/components/pro-iframe.js +10 -7
  218. package/lib/ele-pro-layout/components/pro-sidebar.d.ts +7 -2
  219. package/lib/ele-pro-layout/components/pro-sidebar.js +14 -5
  220. package/lib/ele-pro-layout/components/pro-sidebox.d.ts +11 -4
  221. package/lib/ele-pro-layout/components/pro-sidebox.js +16 -5
  222. package/lib/ele-pro-layout/components/tab-dropdown.js +1 -4
  223. package/lib/ele-pro-layout/index.d.ts +17 -3
  224. package/lib/ele-pro-layout/index.js +205 -102
  225. package/lib/ele-pro-layout/props.d.ts +6 -1
  226. package/lib/ele-pro-layout/props.js +10 -0
  227. package/lib/ele-pro-layout/style/collapse.scss +9 -10
  228. package/lib/ele-pro-layout/style/index.js +0 -1
  229. package/lib/ele-pro-layout/style/layout-mobile.scss +1 -0
  230. package/lib/ele-pro-layout/types/index.d.ts +9 -0
  231. package/lib/ele-pro-layout/util.d.ts +4 -2
  232. package/lib/ele-pro-layout/util.js +19 -16
  233. package/lib/ele-pro-table/components/table-view.d.ts +9 -3
  234. package/lib/ele-pro-table/components/table-view.js +25 -22
  235. package/lib/ele-pro-table/components/tool-column.d.ts +2 -1
  236. package/lib/ele-pro-table/components/tool-column.js +25 -17
  237. package/lib/ele-pro-table/index.d.ts +46 -25
  238. package/lib/ele-pro-table/index.js +180 -194
  239. package/lib/ele-pro-table/props.d.ts +27 -15
  240. package/lib/ele-pro-table/props.js +15 -3
  241. package/lib/ele-pro-table/style/index.js +1 -1
  242. package/lib/ele-pro-table/style/index.scss +64 -8
  243. package/lib/ele-pro-table/types/index.d.ts +39 -5
  244. package/lib/ele-pro-table/util.d.ts +84 -49
  245. package/lib/ele-pro-table/util.js +192 -77
  246. package/lib/ele-qr-code/index.d.ts +3 -3
  247. package/lib/ele-qr-code/props.d.ts +1 -2
  248. package/lib/ele-qr-code-svg/index.d.ts +3 -3
  249. package/lib/ele-split-panel/index.d.ts +6 -6
  250. package/lib/ele-split-panel/props.d.ts +3 -4
  251. package/lib/ele-table/style/index.scss +1 -0
  252. package/lib/ele-tabs/index.js +4 -3
  253. package/lib/ele-tabs/types/index.d.ts +3 -0
  254. package/lib/ele-text/index.d.ts +3 -3
  255. package/lib/ele-text/props.d.ts +2 -2
  256. package/lib/ele-toolbar/index.d.ts +6 -6
  257. package/lib/ele-toolbar/props.d.ts +3 -4
  258. package/lib/ele-tooltip/index.d.ts +3 -3
  259. package/lib/ele-tooltip/props.d.ts +1 -2
  260. package/lib/ele-tour/index.d.ts +2 -3
  261. package/lib/ele-tour/style/index.scss +1 -1
  262. package/lib/ele-tour/util.js +3 -3
  263. package/lib/ele-upload-list/index.d.ts +8 -7
  264. package/lib/ele-upload-list/index.js +17 -10
  265. package/lib/ele-upload-list/props.d.ts +4 -4
  266. package/lib/ele-upload-list/props.js +1 -1
  267. package/lib/ele-watermark/index.d.ts +16 -8
  268. package/lib/ele-watermark/index.js +17 -11
  269. package/lib/ele-watermark/props.d.ts +3 -1
  270. package/lib/ele-watermark/props.js +5 -1
  271. package/lib/ele-watermark/util.js +1 -1
  272. package/lib/ele-xg-player/index.js +1 -0
  273. package/lib/style/index.scss +1 -0
  274. package/lib/style/nprogress.scss +2 -2
  275. package/lib/style/themes/default.scss +36 -12
  276. package/lib/style/themes/rounded.scss +4 -2
  277. package/lib/style/themes/theme-util.scss +2 -0
  278. package/lib/utils/core.d.ts +1 -1
  279. package/lib/utils/core.js +17 -15
  280. package/lib/utils/resolvers.js +2 -2
  281. package/package.json +25 -23
  282. package/typings/global.d.ts +52 -52
  283. package/es/ele-alert/types/index.d.ts +0 -0
  284. package/lib/ele-alert/types/index.d.ts +0 -0
@@ -178,8 +178,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
178
178
  vue.createElementVNode("img", {
179
179
  ref: "imageRef",
180
180
  src: _ctx.src,
181
- style: vue.normalizeStyle(_ctx.src ? void 0 : { display: "none" })
182
- }, null, 12, _hoisted_2)
181
+ style: { display: "none" }
182
+ }, null, 8, _hoisted_2)
183
183
  ], 4),
184
184
  _ctx.preview ? (vue.openBlock(), vue.createBlock(_component_CropperPreview, {
185
185
  key: 0,
@@ -1,4 +1,3 @@
1
- import type { StyleValue } from '../ele-app/types';
2
1
  declare const _default: import("vue").DefineComponent<{
3
2
  type: import("vue").PropType<import("./types").DashboardType>;
4
3
  color: StringConstructor;
@@ -6,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
6
5
  space: (StringConstructor | NumberConstructor)[];
7
6
  }, {
8
7
  authenticated: import("vue").Ref<boolean>;
9
- rootStyle: import("vue").ComputedRef<StyleValue>;
8
+ rootStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties>>;
10
9
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
10
  type: import("vue").PropType<import("./types").DashboardType>;
12
11
  color: StringConstructor;
@@ -1,14 +1,15 @@
1
1
  import type { ElDrawerInstance } from '../ele-app/types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- headerStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
4
- titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
5
- bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
6
- footerStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
7
- closeBtnStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
3
+ headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
4
+ titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
5
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
6
+ footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
7
+ closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
8
8
  direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
9
9
  size: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
10
10
  withHeader: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
11
11
  modalFade: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12
+ headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
12
13
  appendToBody: BooleanConstructor;
13
14
  beforeClose: {
14
15
  readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
@@ -57,6 +58,7 @@ declare const _default: import("vue").DefineComponent<{
57
58
  fullscreen: BooleanConstructor;
58
59
  showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
59
60
  title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
61
+ ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
60
62
  }, {
61
63
  drawerRef: import("vue").Ref<ElDrawerInstance>;
62
64
  handleClose: () => void;
@@ -74,15 +76,16 @@ declare const _default: import("vue").DefineComponent<{
74
76
  openAutoFocus: () => boolean;
75
77
  closeAutoFocus: () => boolean;
76
78
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
77
- headerStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
78
- titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
79
- bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
80
- footerStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
81
- closeBtnStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
79
+ headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
80
+ titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
81
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
82
+ footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
83
+ closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
82
84
  direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
83
85
  size: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
84
86
  withHeader: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
85
87
  modalFade: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
88
+ headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
86
89
  appendToBody: BooleanConstructor;
87
90
  beforeClose: {
88
91
  readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
@@ -131,6 +134,7 @@ declare const _default: import("vue").DefineComponent<{
131
134
  fullscreen: BooleanConstructor;
132
135
  showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
133
136
  title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
137
+ ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
134
138
  }>> & {
135
139
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
136
140
  onOpen?: (() => any) | undefined;
@@ -153,11 +157,13 @@ declare const _default: import("vue").DefineComponent<{
153
157
  openDelay: number;
154
158
  closeDelay: number;
155
159
  trapFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
160
+ headerAriaLevel: string;
156
161
  alignCenter: boolean;
157
162
  customClass: string;
158
163
  draggable: boolean;
159
164
  fullscreen: boolean;
160
165
  showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
166
+ ariaLevel: string;
161
167
  direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
162
168
  withHeader: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
163
169
  modalFade: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -1,18 +1,18 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  /**
4
3
  * 属性
5
4
  */
6
5
  export declare const drawerProps: {
7
- headerStyle: PropType<StyleValue>;
8
- titleStyle: PropType<StyleValue>;
9
- bodyStyle: PropType<StyleValue>;
10
- footerStyle: PropType<StyleValue>;
11
- closeBtnStyle: PropType<StyleValue>;
6
+ headerStyle: PropType<Partial<import("vue").CSSProperties>>;
7
+ titleStyle: PropType<Partial<import("vue").CSSProperties>>;
8
+ bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
9
+ footerStyle: PropType<Partial<import("vue").CSSProperties>>;
10
+ closeBtnStyle: PropType<Partial<import("vue").CSSProperties>>;
12
11
  direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
13
12
  size: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
14
13
  withHeader: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15
14
  modalFade: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15
+ headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
16
16
  appendToBody: BooleanConstructor;
17
17
  beforeClose: {
18
18
  readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
@@ -61,5 +61,6 @@ export declare const drawerProps: {
61
61
  fullscreen: BooleanConstructor;
62
62
  showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
63
63
  title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
64
+ ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
64
65
  };
65
66
  export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
@@ -4,7 +4,7 @@ import type { DropdownItem } from './types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  items: import("vue").PropType<DropdownItem[]>;
6
6
  modelValue: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
7
- menuStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
7
+ menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
8
8
  trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
9
9
  effect: {
10
10
  readonly default: "light";
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
59
59
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
60
  items: import("vue").PropType<DropdownItem[]>;
61
61
  modelValue: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
62
- menuStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
62
+ menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
63
63
  trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
64
64
  effect: {
65
65
  readonly default: "light";
@@ -1,5 +1,4 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  import type { DropdownItem } from './types';
4
3
  /**
5
4
  * 属性
@@ -7,7 +6,7 @@ import type { DropdownItem } from './types';
7
6
  export declare const dropdownProps: {
8
7
  items: PropType<DropdownItem[]>;
9
8
  modelValue: PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
10
- menuStyle: PropType<StyleValue>;
9
+ menuStyle: PropType<Partial<import("vue").CSSProperties>>;
11
10
  trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
12
11
  effect: {
13
12
  readonly default: "light";
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<{
11
11
  effect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
12
12
  round: BooleanConstructor;
13
13
  placeholder: StringConstructor;
14
- inputStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
15
- buttonStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
14
+ inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
15
+ buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
16
16
  validator: import("vue").PropType<import("./types").Validator>;
17
17
  beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
18
18
  tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
@@ -40,8 +40,8 @@ declare const _default: import("vue").DefineComponent<{
40
40
  effect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
41
41
  round: BooleanConstructor;
42
42
  placeholder: StringConstructor;
43
- inputStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
44
- buttonStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
43
+ inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
44
+ buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
45
45
  validator: import("vue").PropType<import("./types").Validator>;
46
46
  beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
47
47
  tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
@@ -1,5 +1,4 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  import type { EleTooltipProps } from '../ele-avatar-group/types';
4
3
  import { Validator, BeforeRemove } from './types';
5
4
  /**
@@ -17,8 +16,8 @@ export declare const editTagProps: {
17
16
  effect: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
18
17
  round: BooleanConstructor;
19
18
  placeholder: StringConstructor;
20
- inputStyle: PropType<StyleValue>;
21
- buttonStyle: PropType<StyleValue>;
19
+ inputStyle: PropType<Partial<import("vue").CSSProperties>>;
20
+ buttonStyle: PropType<Partial<import("vue").CSSProperties>>;
22
21
  validator: PropType<Validator>;
23
22
  beforeRemove: PropType<BeforeRemove>;
24
23
  tooltipProps: PropType<EleTooltipProps>;
@@ -1,5 +1,4 @@
1
1
  import type { EleTooltipProps } from '../ele-avatar-group/types';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  import type { TextProps } from '../ele-text/props';
4
3
  import type { EllipsisTooltip, EleTextInstance } from './types';
5
4
  declare const _default: import("vue").DefineComponent<{
@@ -23,14 +22,14 @@ declare const _default: import("vue").DefineComponent<{
23
22
  italic: BooleanConstructor;
24
23
  icon: import("vue").PropType<import("../ele-text/types").TextIcon>;
25
24
  iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
26
- iconStyle: import("vue").PropType<StyleValue>;
25
+ iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
27
26
  }, {
28
27
  textRef: import("vue").Ref<EleTextInstance>;
29
28
  virtualRef: import("vue").Ref<HTMLElement | undefined>;
30
29
  tooltipProps: import("vue").ComputedRef<EleTooltipProps>;
31
30
  multiLine: import("vue").ComputedRef<boolean>;
32
31
  textProps: import("vue").ComputedRef<Partial<TextProps>>;
33
- rootStyle: import("vue").ComputedRef<StyleValue>;
32
+ rootStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties>>;
34
33
  onHover: (e: MouseEvent) => void;
35
34
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
35
  maxLine: NumberConstructor;
@@ -53,13 +52,13 @@ declare const _default: import("vue").DefineComponent<{
53
52
  italic: BooleanConstructor;
54
53
  icon: import("vue").PropType<import("../ele-text/types").TextIcon>;
55
54
  iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
56
- iconStyle: import("vue").PropType<StyleValue>;
55
+ iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
57
56
  }>>, {
58
57
  tag: string;
59
58
  tooltip: boolean | EllipsisTooltip;
59
+ underline: boolean;
60
60
  strong: boolean;
61
61
  italic: boolean;
62
- underline: boolean;
63
62
  deleted: boolean;
64
63
  }, {}>;
65
64
  export default _default;
@@ -24,6 +24,6 @@ export declare const ellipsisProps: {
24
24
  italic: BooleanConstructor;
25
25
  icon: PropType<import("../ele-text/types").TextIcon>;
26
26
  iconProps: PropType<import("../ele-app/types").ElIconProps>;
27
- iconStyle: PropType<import("../ele-app/types").StyleValue>;
27
+ iconStyle: PropType<Partial<import("vue").CSSProperties>>;
28
28
  };
29
29
  export type EllipsisProps = ExtractPropTypes<typeof ellipsisProps>;
@@ -18,6 +18,10 @@
18
18
  & > .el-link__inner {
19
19
  display: inline;
20
20
  }
21
+
22
+ & > .el-icon {
23
+ vertical-align: -1.7px;
24
+ }
21
25
  }
22
26
  }
23
27
  }
@@ -1,3 +1,4 @@
1
+ import type { Ref } from 'vue';
1
2
  import type { FileItem, SortValue, ItemContextMenuOption, FileListLocale } from './types';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  data: {
@@ -29,13 +30,7 @@ declare const _default: import("vue").DefineComponent<{
29
30
  locale: import("vue").PropType<Partial<FileListLocale>>;
30
31
  }, {
31
32
  lang: import("vue").ComputedRef<FileListLocale>;
32
- selectorStyle: import("vue").Ref<{
33
- top: string;
34
- left: string;
35
- width: string;
36
- height: string;
37
- display: string;
38
- }>;
33
+ selectorStyle: Ref<Partial<import("vue").CSSProperties>>;
39
34
  isCheckAll: import("vue").ComputedRef<boolean>;
40
35
  isIndeterminate: import("vue").ComputedRef<boolean>;
41
36
  onCheckAllChange: () => void;
@@ -24,8 +24,8 @@ const _sfc_main = vue.defineComponent({
24
24
  const isCheckAll = vue.computed(() => {
25
25
  return !!(props2.data && props2.data.length && props2.selections && props2.selections.length && !props2.data.some(
26
26
  (d) => {
27
- var _a;
28
- return !((_a = props2.selections) == null ? void 0 : _a.some((t) => d.key === t.key));
27
+ var _a, _b;
28
+ return !((_b = (_a = props2.selections) == null ? void 0 : _a.some) == null ? void 0 : _b.call(_a, (t) => d.key === t.key));
29
29
  }
30
30
  ));
31
31
  });
@@ -93,10 +93,6 @@ export type EleDropdownProps = ComponentProps<DropdownProps>;
93
93
  * 下拉菜单实例
94
94
  */
95
95
  export type DropdownInstance = InstanceType<typeof EleDropdown> | null;
96
- /**
97
- * 选择框样式
98
- */
99
- export type SelectorStyle = Exclude<StyleValue, string>;
100
96
  /**
101
97
  * 国际化
102
98
  */
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { StyleValue, ElEmptyProps } from '../../ele-app/types';
2
+ import type { ElEmptyProps } from '../../ele-app/types';
3
3
  import type { EleTooltipProps } from '../../ele-avatar-group/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  icon: StringConstructor;
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<{
11
11
  tooltip: BooleanConstructor;
12
12
  tooltipProps: PropType<EleTooltipProps>;
13
13
  popperVisible: BooleanConstructor;
14
- gridStyle: PropType<StyleValue>;
15
- itemStyle: PropType<StyleValue>;
14
+ gridStyle: PropType<Partial<import("vue").CSSProperties>>;
15
+ itemStyle: PropType<Partial<import("vue").CSSProperties>>;
16
16
  }, {
17
17
  tooltipContent: import("vue").Ref<string>;
18
18
  virtualRef: import("vue").Ref<any>;
@@ -30,8 +30,8 @@ declare const _default: import("vue").DefineComponent<{
30
30
  tooltip: BooleanConstructor;
31
31
  tooltipProps: PropType<EleTooltipProps>;
32
32
  popperVisible: BooleanConstructor;
33
- gridStyle: PropType<StyleValue>;
34
- itemStyle: PropType<StyleValue>;
33
+ gridStyle: PropType<Partial<import("vue").CSSProperties>>;
34
+ itemStyle: PropType<Partial<import("vue").CSSProperties>>;
35
35
  }>> & {
36
36
  onSelect?: ((_icon: string) => any) | undefined;
37
37
  }, {
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { StyleValue, ElEmptyProps } from '../../ele-app/types';
2
+ import type { ElEmptyProps } from '../../ele-app/types';
3
3
  import type { EleTooltipProps } from '../../ele-avatar-group/types';
4
4
  import type { IconItem } from '../types';
5
5
  declare const _default: import("vue").DefineComponent<{
@@ -12,13 +12,13 @@ declare const _default: import("vue").DefineComponent<{
12
12
  tooltip: BooleanConstructor;
13
13
  tooltipProps: PropType<EleTooltipProps>;
14
14
  popperVisible: BooleanConstructor;
15
- headerStyle: PropType<StyleValue>;
16
- tabsStyle: PropType<StyleValue>;
17
- searchStyle: PropType<StyleValue>;
18
- menusStyle: PropType<StyleValue>;
19
- bodyStyle: PropType<StyleValue>;
20
- gridStyle: PropType<StyleValue>;
21
- itemStyle: PropType<StyleValue>;
15
+ headerStyle: PropType<Partial<import("vue").CSSProperties>>;
16
+ tabsStyle: PropType<Partial<import("vue").CSSProperties>>;
17
+ searchStyle: PropType<Partial<import("vue").CSSProperties>>;
18
+ menusStyle: PropType<Partial<import("vue").CSSProperties>>;
19
+ bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
20
+ gridStyle: PropType<Partial<import("vue").CSSProperties>>;
21
+ itemStyle: PropType<Partial<import("vue").CSSProperties>>;
22
22
  }, {
23
23
  Search: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
24
24
  tabs: import("vue").Ref<string[]>;
@@ -44,13 +44,13 @@ declare const _default: import("vue").DefineComponent<{
44
44
  tooltip: BooleanConstructor;
45
45
  tooltipProps: PropType<EleTooltipProps>;
46
46
  popperVisible: BooleanConstructor;
47
- headerStyle: PropType<StyleValue>;
48
- tabsStyle: PropType<StyleValue>;
49
- searchStyle: PropType<StyleValue>;
50
- menusStyle: PropType<StyleValue>;
51
- bodyStyle: PropType<StyleValue>;
52
- gridStyle: PropType<StyleValue>;
53
- itemStyle: PropType<StyleValue>;
47
+ headerStyle: PropType<Partial<import("vue").CSSProperties>>;
48
+ tabsStyle: PropType<Partial<import("vue").CSSProperties>>;
49
+ searchStyle: PropType<Partial<import("vue").CSSProperties>>;
50
+ menusStyle: PropType<Partial<import("vue").CSSProperties>>;
51
+ bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
52
+ gridStyle: PropType<Partial<import("vue").CSSProperties>>;
53
+ itemStyle: PropType<Partial<import("vue").CSSProperties>>;
54
54
  }>> & {
55
55
  onSelect?: ((_icon: string) => any) | undefined;
56
56
  }, {
@@ -1,4 +1,3 @@
1
- import type { StyleValue } from '../ele-app/types';
2
1
  declare const _default: import("vue").DefineComponent<{
3
2
  modelValue: StringConstructor;
4
3
  data: {
@@ -49,13 +48,13 @@ declare const _default: import("vue").DefineComponent<{
49
48
  default: boolean;
50
49
  };
51
50
  tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
52
- headerStyle: import("vue").PropType<StyleValue>;
53
- tabsStyle: import("vue").PropType<StyleValue>;
54
- searchStyle: import("vue").PropType<StyleValue>;
55
- menusStyle: import("vue").PropType<StyleValue>;
56
- bodyStyle: import("vue").PropType<StyleValue>;
57
- gridStyle: import("vue").PropType<StyleValue>;
58
- itemStyle: import("vue").PropType<StyleValue>;
51
+ headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
52
+ tabsStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
53
+ searchStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
54
+ menusStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
55
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
56
+ gridStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
57
+ itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
59
58
  responsive: {
60
59
  type: BooleanConstructor;
61
60
  default: null;
@@ -63,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
63
62
  }, {
64
63
  visible: import("vue").Ref<boolean>;
65
64
  popupClass: import("vue").ComputedRef<string>;
66
- popupStyle: import("vue").ComputedRef<StyleValue | undefined>;
65
+ popupStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties> | undefined>;
67
66
  updateVisible: (value: boolean) => void;
68
67
  onClear: () => void;
69
68
  onFocus: (e: FocusEvent) => void;
@@ -126,13 +125,13 @@ declare const _default: import("vue").DefineComponent<{
126
125
  default: boolean;
127
126
  };
128
127
  tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
129
- headerStyle: import("vue").PropType<StyleValue>;
130
- tabsStyle: import("vue").PropType<StyleValue>;
131
- searchStyle: import("vue").PropType<StyleValue>;
132
- menusStyle: import("vue").PropType<StyleValue>;
133
- bodyStyle: import("vue").PropType<StyleValue>;
134
- gridStyle: import("vue").PropType<StyleValue>;
135
- itemStyle: import("vue").PropType<StyleValue>;
128
+ headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
129
+ tabsStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
130
+ searchStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
131
+ menusStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
132
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
133
+ gridStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
134
+ itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
136
135
  responsive: {
137
136
  type: BooleanConstructor;
138
137
  default: null;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue, ElEmptyProps } from '../ele-app/types';
2
+ import type { ElEmptyProps } from '../ele-app/types';
3
3
  import type { EleTooltipProps } from '../ele-avatar-group/types';
4
4
  import type { IconItem } from './types';
5
5
  /**
@@ -55,13 +55,13 @@ export declare const iconSelectProps: {
55
55
  default: boolean;
56
56
  };
57
57
  tooltipProps: PropType<EleTooltipProps>;
58
- headerStyle: PropType<StyleValue>;
59
- tabsStyle: PropType<StyleValue>;
60
- searchStyle: PropType<StyleValue>;
61
- menusStyle: PropType<StyleValue>;
62
- bodyStyle: PropType<StyleValue>;
63
- gridStyle: PropType<StyleValue>;
64
- itemStyle: PropType<StyleValue>;
58
+ headerStyle: PropType<Partial<import("vue").CSSProperties>>;
59
+ tabsStyle: PropType<Partial<import("vue").CSSProperties>>;
60
+ searchStyle: PropType<Partial<import("vue").CSSProperties>>;
61
+ menusStyle: PropType<Partial<import("vue").CSSProperties>>;
62
+ bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
63
+ gridStyle: PropType<Partial<import("vue").CSSProperties>>;
64
+ itemStyle: PropType<Partial<import("vue").CSSProperties>>;
65
65
  responsive: {
66
66
  type: BooleanConstructor;
67
67
  default: null;
@@ -1,14 +1,39 @@
1
+ import { ComponentProps } from '../ele-app/types';
2
+ import type { CircleProps } from './types';
1
3
  declare const _default: import("vue").DefineComponent<{
2
4
  loading: BooleanConstructor;
3
5
  text: StringConstructor;
4
6
  background: StringConstructor;
5
7
  spinner: StringConstructor;
6
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ svgViewBox: StringConstructor;
9
+ type: {
10
+ type: import("vue").PropType<import("./types").LoadingType>;
11
+ default: string;
12
+ };
13
+ blur: BooleanConstructor;
14
+ size: import("vue").PropType<import("./types").LoadingSize>;
15
+ spinnerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
16
+ textStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
17
+ }, {
18
+ isCircle: import("vue").ComputedRef<boolean>;
19
+ rootProps: import("vue").ComputedRef<ComponentProps<CircleProps>>;
20
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
21
  loading: BooleanConstructor;
8
22
  text: StringConstructor;
9
23
  background: StringConstructor;
10
24
  spinner: StringConstructor;
25
+ svgViewBox: StringConstructor;
26
+ type: {
27
+ type: import("vue").PropType<import("./types").LoadingType>;
28
+ default: string;
29
+ };
30
+ blur: BooleanConstructor;
31
+ size: import("vue").PropType<import("./types").LoadingSize>;
32
+ spinnerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
33
+ textStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
11
34
  }>>, {
35
+ type: import("./types").LoadingType;
12
36
  loading: boolean;
37
+ blur: boolean;
13
38
  }, {}>;
14
39
  export default _default;
@@ -1,13 +1,33 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
3
  const elementPlus = require("element-plus");
4
+ const receiver = require("../ele-config-provider/receiver");
4
5
  const props = require("./props");
5
6
  const _sfc_main = vue.defineComponent({
6
7
  name: "EleLoading",
7
8
  directives: {
8
9
  loading: elementPlus.vLoading
9
10
  },
10
- props: props.loadingProps
11
+ props: props.loadingProps,
12
+ setup(props2) {
13
+ const { authenticated } = receiver.useLicense();
14
+ const isCircle = vue.computed(() => {
15
+ return !authenticated.value || props2.type === "circle";
16
+ });
17
+ const rootProps = vue.computed(() => {
18
+ const obj = {
19
+ class: ["ele-loading", { "ele-loading-show": props2.loading }]
20
+ };
21
+ if (isCircle.value) {
22
+ obj["element-loading-text"] = props2.text;
23
+ obj["element-loading-background"] = props2.background;
24
+ obj["element-loading-spinner"] = props2.spinner;
25
+ obj["element-loading-svg-view-box"] = props2.svgViewBox;
26
+ }
27
+ return obj;
28
+ });
29
+ return { isCircle, rootProps };
30
+ }
11
31
  });
12
32
  const _export_sfc = (sfc, props2) => {
13
33
  const target = sfc.__vccOpts || sfc;
@@ -16,17 +36,39 @@ const _export_sfc = (sfc, props2) => {
16
36
  }
17
37
  return target;
18
38
  };
19
- const _hoisted_1 = ["element-loading-text", "element-loading-background", "element-loading-spinner"];
39
+ const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "ele-loading-dot" }, [
40
+ /* @__PURE__ */ vue.createElementVNode("i"),
41
+ /* @__PURE__ */ vue.createElementVNode("i"),
42
+ /* @__PURE__ */ vue.createElementVNode("i"),
43
+ /* @__PURE__ */ vue.createElementVNode("i")
44
+ ], -1);
20
45
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
21
46
  const _directive_loading = vue.resolveDirective("loading");
22
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
23
- "element-loading-text": _ctx.text,
24
- "element-loading-background": _ctx.background,
25
- "element-loading-spinner": _ctx.spinner
26
- }, [
27
- vue.renderSlot(_ctx.$slots, "default")
28
- ], 8, _hoisted_1)), [
29
- [_directive_loading, _ctx.loading]
47
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.guardReactiveProps(_ctx.rootProps)), [
48
+ vue.renderSlot(_ctx.$slots, "default"),
49
+ !_ctx.isCircle ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
50
+ key: 0,
51
+ style: vue.normalizeStyle(_ctx.spinnerStyle),
52
+ class: vue.normalizeClass([
53
+ "ele-loading-spinner",
54
+ { "ele-loading-blur": _ctx.blur },
55
+ { "ele-loading-small": _ctx.size === "small" },
56
+ { "ele-loading-large": _ctx.size === "large" }
57
+ ])
58
+ }, [
59
+ vue.renderSlot(_ctx.$slots, "spinner", {}, () => [
60
+ _hoisted_1
61
+ ]),
62
+ _ctx.text ? (vue.openBlock(), vue.createElementBlock("div", {
63
+ key: 0,
64
+ class: "ele-loading-text",
65
+ style: vue.normalizeStyle(_ctx.textStyle)
66
+ }, vue.toDisplayString(_ctx.text), 5)) : vue.createCommentVNode("", true)
67
+ ], 6)), [
68
+ [vue.vShow, _ctx.loading]
69
+ ]) : vue.createCommentVNode("", true)
70
+ ], 16)), [
71
+ [_directive_loading, _ctx.isCircle && _ctx.loading]
30
72
  ]);
31
73
  }
32
74
  const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);