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
@@ -1,6 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const vue = require("vue");
3
4
  const core = require("../utils/core");
5
+ function mergeProps(props, globalProps) {
6
+ if (props == null) {
7
+ return globalProps ?? true;
8
+ }
9
+ if (!props) {
10
+ return false;
11
+ }
12
+ if (!globalProps || typeof globalProps !== "object") {
13
+ return props;
14
+ }
15
+ if (typeof props !== "object") {
16
+ return globalProps;
17
+ }
18
+ return { ...globalProps, ...props };
19
+ }
20
+ function getValue(data, field) {
21
+ if (typeof field === "function") {
22
+ return field(data);
23
+ }
24
+ if (!field) {
25
+ return;
26
+ }
27
+ let value = data;
28
+ field.split(".").forEach((f) => {
29
+ value = value ? value[f] : null;
30
+ });
31
+ return value;
32
+ }
4
33
  function getTablePage(pagination, globalPagination) {
5
34
  const props = getPaginationProps(void 0, pagination, globalPagination);
6
35
  return (props == null ? void 0 : props.currentPage) ?? 1;
@@ -26,21 +55,6 @@ function getPaginationProps(size, pagination, globalPagination, pageProps) {
26
55
  }
27
56
  return Object.assign(defaultProps, core.omit(props, ["autoAmend"]), pageProps);
28
57
  }
29
- function mergeProps(props, globalProps) {
30
- if (props == null) {
31
- return globalProps ?? true;
32
- }
33
- if (!props) {
34
- return false;
35
- }
36
- if (!globalProps || typeof globalProps !== "object") {
37
- return props;
38
- }
39
- if (typeof props !== "object") {
40
- return globalProps;
41
- }
42
- return { ...globalProps, ...props };
43
- }
44
58
  function isAutoAmend(pagination, globalPagination) {
45
59
  const props = mergeProps(pagination, globalPagination);
46
60
  if (!props) {
@@ -51,6 +65,18 @@ function isAutoAmend(pagination, globalPagination) {
51
65
  }
52
66
  return props === true;
53
67
  }
68
+ function getTableSize(cacheKey, size, globalSize) {
69
+ return getCacheSize(cacheKey) ?? size ?? globalSize ?? "default";
70
+ }
71
+ function getDefaultFilter(columns) {
72
+ const filter = {};
73
+ core.eachTree(columns, (d) => {
74
+ if (typeof d.columnKey === "string" && d.columnKey.length && d.filteredValue) {
75
+ filter[d.columnKey] = d.filteredValue;
76
+ }
77
+ });
78
+ return filter;
79
+ }
54
80
  function getRequestName(globalRequest, request) {
55
81
  const defaultRequest = {
56
82
  sortName: "sort",
@@ -67,22 +93,6 @@ function getResponseName(globalResponse, response) {
67
93
  };
68
94
  return Object.assign(defaultResponse, globalResponse, response);
69
95
  }
70
- function getTableSize(cacheKey, size, globalSize) {
71
- return getCacheSize(cacheKey) ?? size ?? globalSize ?? "default";
72
- }
73
- function getValue(data, field) {
74
- if (typeof field === "function") {
75
- return field(data);
76
- }
77
- if (!field) {
78
- return;
79
- }
80
- let value = data;
81
- field.split(".").forEach((f) => {
82
- value = value ? value[f] : null;
83
- });
84
- return value;
85
- }
86
96
  function getOrderItems(sorter) {
87
97
  var _a, _b;
88
98
  const orders = [];
@@ -106,6 +116,71 @@ function getOrderItems(sorter) {
106
116
  }
107
117
  return orders;
108
118
  }
119
+ function getRequestOrders(sorter, request, globalRequest) {
120
+ const orders = {};
121
+ const { sortName, orderName, ascValue, descValue } = getRequestName(
122
+ globalRequest,
123
+ request
124
+ );
125
+ if (!sortName || !orderName) {
126
+ return orders;
127
+ }
128
+ const items = getOrderItems(sorter);
129
+ if (items.length === 1) {
130
+ orders[sortName] = items[0].field;
131
+ orders[orderName] = items[0].descend ? descValue : ascValue;
132
+ } else if (items.length) {
133
+ orders[sortName] = items.map((d) => [d.field, d.descend ? descValue : ascValue].join(" ")).join(",");
134
+ }
135
+ return orders;
136
+ }
137
+ function getRequestFilters(filter) {
138
+ const filters = {};
139
+ if (filter) {
140
+ Object.keys(filter).forEach((key) => {
141
+ const value = filter[key];
142
+ if (value == null) {
143
+ return;
144
+ }
145
+ if (typeof value === "string") {
146
+ if (value) {
147
+ filters[key] = value;
148
+ }
149
+ } else if (Array.isArray(value)) {
150
+ if (value.length) {
151
+ filters[key] = value.join(",");
152
+ }
153
+ } else {
154
+ filters[key] = value;
155
+ }
156
+ });
157
+ }
158
+ return filters;
159
+ }
160
+ function getResponseResult(data, response, globalResponse, lazy, treeOpt) {
161
+ if (!data || Array.isArray(data)) {
162
+ return { data: getResponseData(data, lazy, treeOpt) };
163
+ }
164
+ const { dataName, countName } = getResponseName(globalResponse, response);
165
+ if (!dataName) {
166
+ return {};
167
+ }
168
+ return {
169
+ data: getResponseData(getValue(data, dataName), lazy, treeOpt),
170
+ total: (countName ? getValue(data, countName) : void 0) ?? 0
171
+ };
172
+ }
173
+ function getResponseData(data, lazy, treeProps) {
174
+ if (!data || !lazy) {
175
+ return data;
176
+ }
177
+ const name = (treeProps == null ? void 0 : treeProps.hasChildren) ?? "hasChildren";
178
+ return data.map((d) => {
179
+ const temp = { ...d };
180
+ temp[name] = temp[name] ?? true;
181
+ return temp;
182
+ });
183
+ }
109
184
  function reloadData(datasource, sorter, page, limit) {
110
185
  const data = sortData(datasource, sorter);
111
186
  const total = data.length;
@@ -140,30 +215,6 @@ function sortData(datasource, sorter) {
140
215
  });
141
216
  return data;
142
217
  }
143
- function getRequestFilters(filter) {
144
- const filters = {};
145
- Object.keys(filter).forEach((key) => {
146
- const value = filter[key];
147
- if (value == null) {
148
- return;
149
- }
150
- if (typeof value === "string") {
151
- if (value) {
152
- filters[key] = value;
153
- }
154
- } else if (Array.isArray(value)) {
155
- if (value.length) {
156
- filters[key] = value.join(",");
157
- }
158
- } else {
159
- filters[key] = value;
160
- }
161
- });
162
- return filters;
163
- }
164
- function selectionIsChange(rows, selections) {
165
- return rows !== selections && (selections == null || rows.length !== selections.length || rows.some((t) => !(selections && selections.includes(t))));
166
- }
167
218
  function getColId(column) {
168
219
  return column ? column.columnKey || column.prop : void 0;
169
220
  }
@@ -201,12 +252,12 @@ function getCheckedColumns(columns, cols, checkedIds, sortable) {
201
252
  if (colId == null) {
202
253
  return;
203
254
  }
204
- const temp = cols.find((c) => c.id === colId);
255
+ const temp = cols.find((c) => c.uid === colId);
205
256
  if (temp && !checkedIds.includes(colId)) {
206
257
  return;
207
258
  }
208
259
  const fixed = (temp == null ? void 0 : temp.fixed) ?? d.fixed;
209
- const id = core.uuid(8);
260
+ const uid = core.uuid(8);
210
261
  if (d.children) {
211
262
  const children = getCheckedColumns(
212
263
  d.children,
@@ -215,10 +266,10 @@ function getCheckedColumns(columns, cols, checkedIds, sortable) {
215
266
  sortable
216
267
  );
217
268
  if (children.length) {
218
- data.push({ ...d, fixed, id, children });
269
+ data.push({ ...d, fixed, uid, children });
219
270
  }
220
271
  } else {
221
- data.push({ ...d, fixed, id });
272
+ data.push({ ...d, fixed, uid });
222
273
  }
223
274
  });
224
275
  if (!sortable || !data.length) {
@@ -228,15 +279,15 @@ function getCheckedColumns(columns, cols, checkedIds, sortable) {
228
279
  var _a, _b;
229
280
  const aColId = getColId(a);
230
281
  const bColId = getColId(b);
231
- let ai = cols.findIndex((c) => c.id === aColId);
232
- let bi = cols.findIndex((c) => c.id === bColId);
282
+ let ai = cols.findIndex((c) => c.uid === aColId);
283
+ let bi = cols.findIndex((c) => c.uid === bColId);
233
284
  if (ai === -1 && ((_a = a.children) == null ? void 0 : _a.length)) {
234
285
  const colId = getColId(a.children[0]);
235
- ai = cols.findIndex((c) => c.id === colId);
286
+ ai = cols.findIndex((c) => c.uid === colId);
236
287
  }
237
288
  if (bi === -1 && ((_b = b.children) == null ? void 0 : _b.length)) {
238
289
  const colId = getColId(b.children[0]);
239
- bi = cols.findIndex((c) => c.id === colId);
290
+ bi = cols.findIndex((c) => c.uid === colId);
240
291
  }
241
292
  if (ai === -1 && a.hideInSetting && a.fixed === "right") {
242
293
  ai = cols.length;
@@ -270,7 +321,7 @@ function getSettingCols(columns, untitledText, cacheKey) {
270
321
  const colId = getColId(d);
271
322
  if (colId && !((_a = d.children) == null ? void 0 : _a.length) && !d.hideInSetting && !(d.type && hideTypes.includes(d.type))) {
272
323
  data.push({
273
- id: colId,
324
+ uid: colId,
274
325
  prop: d.prop,
275
326
  columnKey: d.columnKey,
276
327
  label: d.label || untitledText,
@@ -279,14 +330,35 @@ function getSettingCols(columns, untitledText, cacheKey) {
279
330
  });
280
331
  }
281
332
  });
282
- const checkedIds = data.filter((d) => d.checked).map((d) => d.id);
333
+ return getColsResult(data);
334
+ }
335
+ function getColsResult(cols) {
336
+ const ids = cols.filter((d) => d.checked).map((d) => d.uid);
283
337
  return {
284
- data,
285
- checkedIds,
286
- isChecked: data.length > 0 && data.length === checkedIds.length,
287
- isIndeterminate: checkedIds.length !== 0 && data.length !== checkedIds.length
338
+ data: sortCols(cols),
339
+ checkedIds: ids,
340
+ isChecked: cols.length > 0 && cols.length === ids.length,
341
+ isIndeterminate: ids.length !== 0 && cols.length !== ids.length
288
342
  };
289
343
  }
344
+ function sortCols(cols) {
345
+ cols.sort((a, b) => {
346
+ let ai = cols.indexOf(a);
347
+ let bi = cols.indexOf(b);
348
+ if (a.fixed === true || a.fixed === "left") {
349
+ ai -= cols.length;
350
+ } else if (a.fixed === "right") {
351
+ ai += cols.length;
352
+ }
353
+ if (b.fixed === true || b.fixed === "left") {
354
+ bi -= cols.length;
355
+ } else if (b.fixed === "right") {
356
+ bi += cols.length;
357
+ }
358
+ return ai - bi;
359
+ });
360
+ return cols;
361
+ }
290
362
  function getCacheCols(cacheKey) {
291
363
  if (!cacheKey) {
292
364
  return;
@@ -300,14 +372,14 @@ function getCacheCols(cacheKey) {
300
372
  if (!Array.isArray(data)) {
301
373
  return;
302
374
  }
303
- const checkedIds = data.filter((d) => d.checked).map((d) => d.id);
304
- return {
305
- data,
306
- checkedIds,
307
- isChecked: data.length > 0 && data.length === checkedIds.length,
308
- isIndeterminate: checkedIds.length !== 0 && data.length !== checkedIds.length
309
- };
310
- } catch (_e) {
375
+ data.forEach((d) => {
376
+ if (d.uid == null && d.id != null) {
377
+ d.uid = d.id;
378
+ }
379
+ });
380
+ return getColsResult(data);
381
+ } catch (e) {
382
+ console.error(e);
311
383
  }
312
384
  }
313
385
  function getColsCacheKey(cacheKey) {
@@ -324,6 +396,9 @@ function getCacheSize(cacheKey) {
324
396
  }
325
397
  }
326
398
  }
399
+ function selectionIsChange(rows, selections) {
400
+ return rows !== selections && (selections == null || rows.length !== selections.length || rows.some((t) => !(selections && selections.includes(t))));
401
+ }
327
402
  function isDisableRow(row, index, columns) {
328
403
  let disabled = false;
329
404
  core.eachTree(columns, (col) => {
@@ -334,6 +409,38 @@ function isDisableRow(row, index, columns) {
334
409
  });
335
410
  return disabled;
336
411
  }
412
+ function getTableFilter(tableRef) {
413
+ var _a, _b;
414
+ const states = (_b = (_a = vue.unref(tableRef)) == null ? void 0 : _a.store) == null ? void 0 : _b.states;
415
+ const columns = vue.unref(states == null ? void 0 : states.columns);
416
+ const filters = vue.unref(states == null ? void 0 : states.filters);
417
+ if (!filters || !columns) {
418
+ return;
419
+ }
420
+ const keys = Object.keys(filters);
421
+ const filter = {};
422
+ columns.forEach((col) => {
423
+ if (keys.includes(col.id)) {
424
+ filter[col.columnKey || col.id] = filters[col.id];
425
+ }
426
+ });
427
+ return filter;
428
+ }
429
+ function getTableState(cols, data) {
430
+ const { sorter, filter } = data;
431
+ const filterKeys = filter == null ? [] : Object.keys(filter);
432
+ const hasSorter = sorter != null && sorter.prop != null && sorter.prop != "";
433
+ let hasSortCol = false;
434
+ const result = core.mapTree(cols, (col) => {
435
+ if (hasSorter && col.prop === sorter.prop) {
436
+ hasSortCol = true;
437
+ }
438
+ const t = col.columnKey && filterKeys.includes(col.columnKey);
439
+ const filteredValue = t ? filter[col.columnKey] : [];
440
+ return { ...col, filteredValue };
441
+ });
442
+ return { cols: result, sorter: hasSorter && hasSortCol ? sorter : void 0 };
443
+ }
337
444
  function useTableMethods(getIns) {
338
445
  return {
339
446
  clearSelection: () => {
@@ -455,24 +562,32 @@ exports.getCacheSize = getCacheSize;
455
562
  exports.getCheckedColumns = getCheckedColumns;
456
563
  exports.getColId = getColId;
457
564
  exports.getColsCacheKey = getColsCacheKey;
565
+ exports.getColsResult = getColsResult;
566
+ exports.getDefaultFilter = getDefaultFilter;
458
567
  exports.getInitCacheColumns = getInitCacheColumns;
459
568
  exports.getInitColumns = getInitColumns;
460
569
  exports.getOrderItems = getOrderItems;
461
570
  exports.getPaginationProps = getPaginationProps;
462
571
  exports.getRequestFilters = getRequestFilters;
463
572
  exports.getRequestName = getRequestName;
573
+ exports.getRequestOrders = getRequestOrders;
574
+ exports.getResponseData = getResponseData;
464
575
  exports.getResponseName = getResponseName;
576
+ exports.getResponseResult = getResponseResult;
465
577
  exports.getSettingCols = getSettingCols;
466
578
  exports.getSizeCacheKey = getSizeCacheKey;
579
+ exports.getTableFilter = getTableFilter;
467
580
  exports.getTableLimit = getTableLimit;
468
581
  exports.getTablePage = getTablePage;
469
582
  exports.getTableSize = getTableSize;
583
+ exports.getTableState = getTableState;
470
584
  exports.getValue = getValue;
471
585
  exports.isAutoAmend = isAutoAmend;
472
586
  exports.isDisableRow = isDisableRow;
473
587
  exports.mergeProps = mergeProps;
474
588
  exports.reloadData = reloadData;
475
589
  exports.selectionIsChange = selectionIsChange;
590
+ exports.sortCols = sortCols;
476
591
  exports.sortData = sortData;
477
592
  exports.useTableEvents = useTableEvents;
478
593
  exports.useTableMethods = useTableMethods;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  default: number;
23
23
  };
24
24
  imageSettings: import("vue").PropType<import("./types").ImageSettings>;
25
- customStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
25
+ customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
26
26
  }, {
27
27
  canvasRef: import("vue").Ref<HTMLCanvasElement | null>;
28
28
  imageRef: import("vue").Ref<HTMLImageElement | null>;
@@ -54,14 +54,14 @@ declare const _default: import("vue").DefineComponent<{
54
54
  default: number;
55
55
  };
56
56
  imageSettings: import("vue").PropType<import("./types").ImageSettings>;
57
- customStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
57
+ customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
58
58
  }>> & {
59
59
  onDone?: (() => any) | undefined;
60
60
  }, {
61
61
  size: number;
62
+ margin: number;
62
63
  level: import("./types").Level;
63
64
  bgColor: string;
64
65
  fgColor: string;
65
- margin: number;
66
66
  }, {}>;
67
67
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  import type { Level, ImageSettings } from './types';
4
3
  /**
5
4
  * 属性
@@ -27,7 +26,7 @@ export declare const qrCodeProps: {
27
26
  default: number;
28
27
  };
29
28
  imageSettings: PropType<ImageSettings>;
30
- customStyle: PropType<StyleValue>;
29
+ customStyle: PropType<Partial<import("vue").CSSProperties>>;
31
30
  };
32
31
  export type QrCodeProps = ExtractPropTypes<typeof qrCodeProps>;
33
32
  /**
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  default: number;
22
22
  };
23
23
  imageSettings: import("vue").PropType<import("../ele-qr-code/types").ImageSettings>;
24
- customStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
24
+ customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
25
25
  }, {
26
26
  viewBox: import("vue").Ref<string>;
27
27
  path: import("vue").Ref<string>;
@@ -57,14 +57,14 @@ declare const _default: import("vue").DefineComponent<{
57
57
  default: number;
58
58
  };
59
59
  imageSettings: import("vue").PropType<import("../ele-qr-code/types").ImageSettings>;
60
- customStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
60
+ customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
61
61
  }>> & {
62
62
  onDone?: (() => any) | undefined;
63
63
  }, {
64
64
  size: number;
65
+ margin: number;
65
66
  level: import("../ele-qr-code/types").Level;
66
67
  bgColor: string;
67
68
  fgColor: string;
68
- margin: number;
69
69
  }, {}>;
70
70
  export default _default;
@@ -3,10 +3,10 @@ declare const _default: import("vue").DefineComponent<{
3
3
  minSize: NumberConstructor;
4
4
  maxSize: NumberConstructor;
5
5
  space: StringConstructor;
6
- customStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
7
- bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
6
+ customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
7
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
8
8
  allowCollapse: BooleanConstructor;
9
- collapseStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
9
+ collapseStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
10
10
  collapse: BooleanConstructor;
11
11
  vertical: BooleanConstructor;
12
12
  reverse: BooleanConstructor;
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  minSize: NumberConstructor;
34
34
  maxSize: NumberConstructor;
35
35
  space: StringConstructor;
36
- customStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
37
- bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
36
+ customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
37
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
38
38
  allowCollapse: BooleanConstructor;
39
- collapseStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
39
+ collapseStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
40
40
  collapse: BooleanConstructor;
41
41
  vertical: BooleanConstructor;
42
42
  reverse: BooleanConstructor;
@@ -1,5 +1,4 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  /**
4
3
  * 属性
5
4
  */
@@ -8,10 +7,10 @@ export declare const splitPanelProps: {
8
7
  minSize: NumberConstructor;
9
8
  maxSize: NumberConstructor;
10
9
  space: StringConstructor;
11
- customStyle: PropType<StyleValue>;
12
- bodyStyle: PropType<StyleValue>;
10
+ customStyle: PropType<Partial<import("vue").CSSProperties>>;
11
+ bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
13
12
  allowCollapse: BooleanConstructor;
14
- collapseStyle: PropType<StyleValue>;
13
+ collapseStyle: PropType<Partial<import("vue").CSSProperties>>;
15
14
  collapse: BooleanConstructor;
16
15
  vertical: BooleanConstructor;
17
16
  reverse: BooleanConstructor;
@@ -29,6 +29,7 @@
29
29
  border-color: eleVar('table', 'border-color');
30
30
  border-bottom-width: 1px;
31
31
  vertical-align: middle;
32
+ box-sizing: border-box;
32
33
  text-align: left;
33
34
  }
34
35
 
@@ -106,6 +106,7 @@ const _sfc_main = vue.defineComponent({
106
106
  };
107
107
  const unbindDragSort = () => {
108
108
  current.sortIns && current.sortIns.destroy();
109
+ current.sortIns = null;
109
110
  };
110
111
  const onContextmenu = (e) => {
111
112
  const el = e.target;
@@ -232,7 +233,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
232
233
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.items, (item, index2) => {
233
234
  return vue.openBlock(), vue.createBlock(_component_ElTabPane, vue.mergeProps({
234
235
  key: index2 + "-" + item.name
235
- }, _ctx.omit(item, ["meta"])), vue.createSlots({
236
+ }, _ctx.omit(item, ["slot", "meta"])), vue.createSlots({
236
237
  label: vue.withCtx(() => [
237
238
  vue.createVNode(_component_TabTitle, {
238
239
  ref_for: true,
@@ -266,10 +267,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
266
267
  ]),
267
268
  _: 2
268
269
  }, [
269
- item.name && _ctx.$slots[item.name] ? {
270
+ item.name && _ctx.$slots[item.slot || item.name] ? {
270
271
  name: "default",
271
272
  fn: vue.withCtx(() => [
272
- vue.renderSlot(_ctx.$slots, item.name, { item })
273
+ vue.renderSlot(_ctx.$slots, item.slot || item.name, { item })
273
274
  ]),
274
275
  key: "0"
275
276
  } : void 0
@@ -5,6 +5,9 @@ import type { DropdownItem } from '../../ele-dropdown/types';
5
5
  * 页签数据
6
6
  */
7
7
  export interface TabPaneItem extends ElTabPaneProps {
8
+ /** 插槽名称 */
9
+ slot?: string;
10
+ /** 元数据 */
8
11
  meta?: any;
9
12
  }
10
13
  /**
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  italic: BooleanConstructor;
12
12
  icon: import("vue").PropType<import("./types").TextIcon>;
13
13
  iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
14
- iconStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
14
+ iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
15
15
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  tag: {
17
17
  type: StringConstructor;
@@ -25,11 +25,11 @@ declare const _default: import("vue").DefineComponent<{
25
25
  italic: BooleanConstructor;
26
26
  icon: import("vue").PropType<import("./types").TextIcon>;
27
27
  iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
28
- iconStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
28
+ iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
29
29
  }>>, {
30
30
  tag: string;
31
- deleted: boolean;
32
31
  underline: boolean;
32
+ deleted: boolean;
33
33
  strong: boolean;
34
34
  italic: boolean;
35
35
  }, {}>;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue, ElIconProps } from '../ele-app/types';
2
+ import type { ElIconProps } from '../ele-app/types';
3
3
  import type { TextType, TextSize, TextIcon } from './types';
4
4
  /**
5
5
  * 属性
@@ -17,7 +17,7 @@ export declare const textProps: {
17
17
  italic: BooleanConstructor;
18
18
  icon: PropType<TextIcon>;
19
19
  iconProps: PropType<ElIconProps>;
20
- iconStyle: PropType<StyleValue>;
20
+ iconStyle: PropType<Partial<import("vue").CSSProperties>>;
21
21
  };
22
22
  export type TextProps = ExtractPropTypes<typeof textProps>;
23
23
  export type TextPropKeys = Array<keyof typeof textProps>;
@@ -5,9 +5,9 @@ declare const _default: import("vue").DefineComponent<{
5
5
  type: import("vue").PropType<import("./types").ToolbarTheme>;
6
6
  default: string;
7
7
  };
8
- titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
9
- bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
10
- toolsStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
8
+ titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
9
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
10
+ toolsStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
11
11
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  title: StringConstructor;
13
13
  subtitle: StringConstructor;
@@ -15,9 +15,9 @@ declare const _default: import("vue").DefineComponent<{
15
15
  type: import("vue").PropType<import("./types").ToolbarTheme>;
16
16
  default: string;
17
17
  };
18
- titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
19
- bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
20
- toolsStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
18
+ titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
19
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
20
+ toolsStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
21
21
  }>>, {
22
22
  theme: import("./types").ToolbarTheme;
23
23
  }, {}>;
@@ -1,5 +1,4 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { StyleValue } from '../ele-app/types';
3
2
  import type { ToolbarTheme } from './types';
4
3
  /**
5
4
  * 属性
@@ -11,8 +10,8 @@ export declare const toolbarProps: {
11
10
  type: PropType<ToolbarTheme>;
12
11
  default: string;
13
12
  };
14
- titleStyle: PropType<StyleValue>;
15
- bodyStyle: PropType<StyleValue>;
16
- toolsStyle: PropType<StyleValue>;
13
+ titleStyle: PropType<Partial<import("vue").CSSProperties>>;
14
+ bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
15
+ toolsStyle: PropType<Partial<import("vue").CSSProperties>>;
17
16
  };
18
17
  export type ToolbarProps = ExtractPropTypes<typeof toolbarProps>;
@@ -1,7 +1,7 @@
1
- import type { StyleValue, ElTooltipProps, ElTooltipInstance, ElPopperInstance } from '../ele-app/types';
1
+ import type { ElTooltipProps, ElTooltipInstance, ElPopperInstance } from '../ele-app/types';
2
2
  import type { TooltipEmits } from './props';
3
3
  declare const _default: import("vue").DefineComponent<{
4
- bodyStyle: import("vue").PropType<StyleValue>;
4
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
5
5
  bg: StringConstructor;
6
6
  arrowBg: StringConstructor;
7
7
  keepAlive: BooleanConstructor;
@@ -130,7 +130,7 @@ declare const _default: import("vue").DefineComponent<{
130
130
  onPopOpen: (e: any) => void;
131
131
  onPopClose: (e: any) => void;
132
132
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, TooltipEmits, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
133
- bodyStyle: import("vue").PropType<StyleValue>;
133
+ bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
134
134
  bg: StringConstructor;
135
135
  arrowBg: StringConstructor;
136
136
  keepAlive: BooleanConstructor;