@aplus-frontend/ui 0.6.0-beta.1 → 0.6.0-beta.10

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 (292) hide show
  1. package/es/src/ap-action/group/index.vue.d.ts +1 -1
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  3. package/es/src/ap-button/ap-button.vue.mjs +1 -1
  4. package/es/src/ap-field/date/helper.mjs +12 -12
  5. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  6. package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
  7. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  8. package/es/src/ap-field/rate/index.vue.d.ts +1 -1
  9. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  10. package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
  11. package/es/src/ap-form/interface.d.ts +4 -0
  12. package/es/src/ap-form/item/index.vue.d.ts +1 -1
  13. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  14. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  15. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  16. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  17. package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  18. package/es/src/ap-form/render/item.vue.d.ts +1 -1
  19. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  20. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
  21. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
  22. package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
  23. package/es/src/ap-form/search-form/index.vue.mjs +77 -76
  24. package/es/src/ap-grid/constants.d.ts +3 -3
  25. package/es/src/ap-grid/constants.mjs +9 -9
  26. package/es/src/ap-grid/editable/form-item.vue.mjs +94 -83
  27. package/es/src/ap-grid/editable/index.vue.mjs +89 -78
  28. package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  29. package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
  30. package/es/src/ap-grid/index.vue.mjs +161 -139
  31. package/es/src/ap-grid/interface.d.ts +2 -2
  32. package/es/src/ap-grid/utils/table.mjs +32 -32
  33. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  34. package/es/src/ap-table/ap-table.vue2.mjs +209 -198
  35. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  36. package/es/src/ap-table/constants.d.ts +30 -30
  37. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  38. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
  39. package/es/src/ap-table/utils.d.ts +14 -14
  40. package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
  41. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  42. package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
  43. package/es/src/ap-tag/interface.d.ts +4 -0
  44. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  45. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
  46. package/es/src/business/ap-expand-alert/index.d.ts +4 -4
  47. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  48. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
  49. package/es/src/business/ap-export-group/index.d.ts +3 -0
  50. package/es/src/business/ap-export-group/interface.d.ts +7 -2
  51. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
  52. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  53. package/es/src/business/ap-label/constans.mjs +1 -1
  54. package/es/src/business/ap-label/index.d.ts +3 -3
  55. package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
  56. package/es/src/business/ap-ladder/index.d.ts +3 -3
  57. package/es/src/business/ap-status/interface.d.ts +1 -1
  58. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  59. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
  60. package/es/src/business/ap-view/ap-view.vue2.mjs +128 -112
  61. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +64 -54
  62. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
  63. package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  64. package/es/src/business/ap-view/index.d.ts +3 -0
  65. package/es/src/business/ap-view/interface.d.ts +8 -0
  66. package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  67. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  68. package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
  69. package/es/src/check-card/group.vue.d.ts +1 -1
  70. package/es/src/config-provider/config-provider-props.d.ts +0 -5
  71. package/es/src/config-provider/config-provider-props.mjs +0 -4
  72. package/es/src/config-provider/config-provider.d.ts +0 -138
  73. package/es/src/config-provider/config-provider.mjs +21 -26
  74. package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
  75. package/es/src/config-provider/index.d.ts +0 -652
  76. package/es/src/editable-table/form-item.vue.d.ts +2 -14
  77. package/es/src/editable-table/form-item.vue.mjs +84 -76
  78. package/es/src/editable-table/index.vue.d.ts +2 -16
  79. package/es/src/editable-table/index.vue.mjs +91 -83
  80. package/es/src/editable-table/interface.d.ts +7 -0
  81. package/es/src/locale/lang/en.mjs +1 -1
  82. package/es/src/locale/lang/zh-cn.mjs +1 -1
  83. package/lib/src/ap-action/group/index.vue.d.ts +1 -1
  84. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  85. package/lib/src/ap-button/ap-button.vue.js +1 -1
  86. package/lib/src/ap-field/date/helper.js +1 -1
  87. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  88. package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
  89. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  90. package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
  91. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  92. package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
  93. package/lib/src/ap-form/interface.d.ts +4 -0
  94. package/lib/src/ap-form/item/index.vue.d.ts +1 -1
  95. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  96. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  97. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  98. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  99. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  100. package/lib/src/ap-form/render/item.vue.d.ts +1 -1
  101. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  102. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  103. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  104. package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
  105. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  106. package/lib/src/ap-grid/constants.d.ts +3 -3
  107. package/lib/src/ap-grid/constants.js +1 -1
  108. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  109. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  110. package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  111. package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
  112. package/lib/src/ap-grid/index.vue.js +1 -1
  113. package/lib/src/ap-grid/interface.d.ts +2 -2
  114. package/lib/src/ap-grid/utils/table.js +1 -1
  115. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  116. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  117. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  118. package/lib/src/ap-table/constants.d.ts +30 -30
  119. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  120. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  121. package/lib/src/ap-table/utils.d.ts +14 -14
  122. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  123. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  124. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  125. package/lib/src/ap-tag/interface.d.ts +4 -0
  126. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  127. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  128. package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
  129. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  130. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  131. package/lib/src/business/ap-export-group/index.d.ts +3 -0
  132. package/lib/src/business/ap-export-group/interface.d.ts +7 -2
  133. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  134. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  135. package/lib/src/business/ap-label/constans.js +1 -1
  136. package/lib/src/business/ap-label/index.d.ts +3 -3
  137. package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
  138. package/lib/src/business/ap-ladder/index.d.ts +3 -3
  139. package/lib/src/business/ap-status/interface.d.ts +1 -1
  140. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  141. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
  142. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  143. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  144. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  145. package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  146. package/lib/src/business/ap-view/index.d.ts +3 -0
  147. package/lib/src/business/ap-view/interface.d.ts +8 -0
  148. package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  149. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  150. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  151. package/lib/src/check-card/group.vue.d.ts +1 -1
  152. package/lib/src/config-provider/config-provider-props.d.ts +0 -5
  153. package/lib/src/config-provider/config-provider-props.js +1 -1
  154. package/lib/src/config-provider/config-provider.d.ts +0 -138
  155. package/lib/src/config-provider/config-provider.js +1 -1
  156. package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
  157. package/lib/src/config-provider/index.d.ts +0 -652
  158. package/lib/src/editable-table/form-item.vue.d.ts +2 -14
  159. package/lib/src/editable-table/form-item.vue.js +1 -1
  160. package/lib/src/editable-table/index.vue.d.ts +2 -16
  161. package/lib/src/editable-table/index.vue.js +1 -1
  162. package/lib/src/editable-table/interface.d.ts +7 -0
  163. package/lib/src/locale/lang/en.js +1 -1
  164. package/lib/src/locale/lang/zh-cn.js +1 -1
  165. package/package.json +4 -4
  166. package/theme/antd-global-overwrite/admin/index.css +14 -27
  167. package/theme/antd-global-overwrite/admin/index.less +1 -0
  168. package/theme/antd-global-overwrite/admin/modal.css +8 -24
  169. package/theme/antd-global-overwrite/admin/modal.less +9 -24
  170. package/theme/antd-global-overwrite/admin/table.css +3 -3
  171. package/theme/antd-global-overwrite/admin/table.less +3 -3
  172. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  173. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  174. package/theme/antd-global-overwrite/aplus/index.css +13 -20
  175. package/theme/antd-global-overwrite/aplus/index.less +1 -0
  176. package/theme/antd-global-overwrite/aplus/modal.css +7 -17
  177. package/theme/antd-global-overwrite/aplus/modal.less +8 -18
  178. package/theme/antd-global-overwrite/aplus/table.css +3 -3
  179. package/theme/antd-global-overwrite/aplus/table.less +3 -3
  180. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  181. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  182. package/theme/ap-action/item-dropdown.css +19 -1
  183. package/theme/ap-action/item.css +20 -2
  184. package/theme/ap-appendix/ap-appendix.css +25 -5
  185. package/theme/ap-appendix/ap-appendix.less +6 -4
  186. package/theme/ap-attachment/ap-attachment.css +25 -6
  187. package/theme/ap-attachment/ap-attachment.less +6 -6
  188. package/theme/ap-batch-action/ap-batch-action.css +25 -4
  189. package/theme/ap-batch-action/ap-batch-action.less +6 -3
  190. package/theme/ap-button/ap-button.css +19 -1
  191. package/theme/ap-card/ap-card.css +19 -1
  192. package/theme/ap-descriptions/ap-descriptions.css +24 -6
  193. package/theme/ap-descriptions/ap-descriptions.less +5 -5
  194. package/theme/ap-download/ap-download.css +26 -11
  195. package/theme/ap-download/ap-download.less +8 -11
  196. package/theme/ap-expand-alert/ap-expand-alert.css +21 -3
  197. package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
  198. package/theme/ap-field/checkbox.css +19 -1
  199. package/theme/ap-field/index.css +19 -1
  200. package/theme/ap-field/number.css +19 -1
  201. package/theme/ap-field/radio.css +19 -1
  202. package/theme/ap-field/text-area.css +19 -1
  203. package/theme/ap-form/ap-form-item-group.css +19 -1
  204. package/theme/ap-form/ap-form-item.css +26 -5
  205. package/theme/ap-form/ap-form-item.less +11 -5
  206. package/theme/ap-form/drawer-form.css +19 -1
  207. package/theme/ap-form/index.css +43 -10
  208. package/theme/ap-form/item-text-group.css +19 -1
  209. package/theme/ap-form/item-text.css +19 -1
  210. package/theme/ap-form/modal-form.css +19 -1
  211. package/theme/ap-form/search-form-sorter.css +24 -5
  212. package/theme/ap-form/search-form-sorter.less +1 -0
  213. package/theme/ap-form/search-form.css +43 -10
  214. package/theme/ap-form/search-form.less +12 -1
  215. package/theme/ap-grid/editable.css +19 -1
  216. package/theme/ap-grid/editable.less +3 -2
  217. package/theme/ap-grid/index.css +78 -15
  218. package/theme/ap-grid/index.less +21 -6
  219. package/theme/ap-group-search/ap-extension-select.css +19 -1
  220. package/theme/ap-group-search/ap-group-search.css +19 -1
  221. package/theme/ap-group-search/ap-popover-select.css +19 -1
  222. package/theme/ap-image/ap-image.css +19 -1
  223. package/theme/ap-input-radio/ap-input-radio.css +19 -1
  224. package/theme/ap-label/ap-label.css +19 -1
  225. package/theme/ap-ladder/ap-ladder.css +23 -4
  226. package/theme/ap-ladder/ap-ladder.less +4 -3
  227. package/theme/ap-layout/ap-info-layout.css +19 -1
  228. package/theme/ap-list/index.css +19 -1
  229. package/theme/ap-product-info/ap-product-info.css +19 -1
  230. package/theme/ap-select-layout/ap-select-layout.css +27 -9
  231. package/theme/ap-select-layout/ap-select-layout.less +8 -8
  232. package/theme/ap-size-input/ap-size-input.css +19 -1
  233. package/theme/ap-status/ap-status.css +21 -4
  234. package/theme/ap-status/ap-status.less +2 -4
  235. package/theme/ap-summary/index.css +22 -4
  236. package/theme/ap-summary/index.less +3 -3
  237. package/theme/ap-table/ap-table-index.css +24 -6
  238. package/theme/ap-table/ap-table-index.less +5 -5
  239. package/theme/ap-table/ap-table-paragraph-ellipsis.css +19 -1
  240. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  241. package/theme/ap-table/ap-table.css +77 -29
  242. package/theme/ap-table/ap-table.less +7 -9
  243. package/theme/ap-table/setting/index.css +23 -6
  244. package/theme/ap-table/setting/modal.css +21 -4
  245. package/theme/ap-table/setting/modal.less +1 -2
  246. package/theme/ap-table/setting/select-group.css +21 -2
  247. package/theme/ap-table/setting/select-group.less +2 -1
  248. package/theme/ap-table/setting/sortable-item-meta.css +19 -1
  249. package/theme/ap-table/setting/sortable-item.css +19 -1
  250. package/theme/ap-table/setting/sorter.css +19 -2
  251. package/theme/ap-table-modal/index.css +77 -29
  252. package/theme/ap-tag/ap-tag-group.css +21 -3
  253. package/theme/ap-tag/ap-tag-group.less +4 -5
  254. package/theme/ap-tag/ap-tag.css +42 -15
  255. package/theme/ap-tag/ap-tag.less +37 -24
  256. package/theme/ap-title/ap-title.css +26 -6
  257. package/theme/ap-title/ap-title.less +7 -5
  258. package/theme/ap-upload/index.css +27 -9
  259. package/theme/ap-upload/multiple-file.css +21 -3
  260. package/theme/ap-upload/multiple-file.less +2 -2
  261. package/theme/ap-upload/picture.css +23 -5
  262. package/theme/ap-upload/picture.less +4 -4
  263. package/theme/ap-upload/single-file.css +21 -3
  264. package/theme/ap-upload/single-file.less +2 -2
  265. package/theme/ap-upload/upload.css +19 -1
  266. package/theme/ap-upload-single/index.css +19 -1
  267. package/theme/ap-view/ap-view.css +23 -1
  268. package/theme/ap-view/ap-view.less +4 -0
  269. package/theme/batch-input-group/index.css +20 -1
  270. package/theme/batch-input-group/popover-input.css +20 -1
  271. package/theme/batch-input-group/popover-input.less +1 -0
  272. package/theme/check-card/index.css +22 -4
  273. package/theme/editable-table/index.css +44 -11
  274. package/theme/full-screen/index.css +19 -1
  275. package/theme/index.css +305 -114
  276. package/theme/index.less +1 -0
  277. package/theme/mask/index.css +19 -1
  278. package/theme/mixins/config.less +1 -1
  279. package/theme/mixins/mixins.css +19 -1
  280. package/theme/mixins/mixins.less +25 -0
  281. package/theme/scroll-bar/index.css +19 -1
  282. package/theme/scroll-view/index.css +19 -1
  283. package/theme/splitter/index.css +21 -3
  284. package/theme/text/group.css +19 -1
  285. package/theme/text/index.css +20 -2
  286. package/theme/ui-mode.css +94 -0
  287. package/theme/ui-mode.less +95 -0
  288. package/theme/work-order-modal/index.css +19 -1
  289. package/es/src/config-provider/css-var.d.ts +0 -139
  290. package/es/src/config-provider/css-var.mjs +0 -278
  291. package/lib/src/config-provider/css-var.d.ts +0 -139
  292. package/lib/src/config-provider/css-var.js +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, ref as C, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, createBlock as d, openBlock as c, mergeProps as b, withCtx as g, createElementVNode as o, normalizeStyle as k, normalizeClass as W, createElementBlock as _, createCommentVNode as R, Fragment as A, renderList as F, toDisplayString as T, renderSlot as I, createTextVNode as U } from "vue";
1
+ import { defineComponent as D, ref as b, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, createBlock as d, openBlock as u, mergeProps as k, withCtx as g, createElementVNode as o, normalizeStyle as W, normalizeClass as _, createElementBlock as T, createCommentVNode as R, Fragment as A, renderList as F, toDisplayString as E, renderSlot as I, createTextVNode as U } from "vue";
2
2
  import { Tooltip as q } from "@aplus-frontend/antdv";
3
3
  import H from "@ant-design/icons-vue";
4
4
  import "./ap-tag.vue2.mjs";
@@ -8,7 +8,7 @@ import { useLocale as K } from "../config-provider/hooks/use-locale.mjs";
8
8
  import { useGlobalConfig as O } from "../config-provider/hooks/use-global-config.mjs";
9
9
  import { useNamespace as Q } from "../config-provider/hooks/use-namespace.mjs";
10
10
  import X from "./ap-tag.vue.mjs";
11
- const ue = /* @__PURE__ */ D({
11
+ const ce = /* @__PURE__ */ D({
12
12
  __name: "ap-tag-group",
13
13
  props: {
14
14
  list: { default: () => [] },
@@ -16,15 +16,15 @@ const ue = /* @__PURE__ */ D({
16
16
  ellipsisColor: {},
17
17
  ellipsis: { default: () => ({}) }
18
18
  },
19
- setup(E) {
20
- const { t: z } = K(), i = E, B = O("uiMode"), { b: V, bm: v } = Q("tag-group"), u = C(), r = n(() => ({
19
+ setup(z) {
20
+ const { t: V } = K(), i = z, v = O("uiMode"), { b: $, bm: h } = Q("tag-group"), c = b(), r = n(() => ({
21
21
  ...{
22
- iconColor: "#34B77C",
22
+ iconColor: v.value === "aplus" ? "#182948" : "#333",
23
23
  symbol: "icon",
24
- text: z("ap.common.more")
24
+ text: V("ap.common.more")
25
25
  },
26
26
  ...i.ellipsis
27
- })), $ = n(() => r.value.tooltip && typeof r.value.tooltip == "object" ? J(r.value.tooltip, ["trigger", "title"]) : {}), p = n(() => f(m) < i.list.length), m = C(0), L = n(() => i.list.map((e) => e.text).join("、")), M = n(() => [V()].filter(Boolean)), P = n(() => B.value === "aplus" ? [v("ellipsis-text", "aplus")] : [v("ellipsis-text", "admin")]), h = (e, t) => {
27
+ })), B = n(() => r.value.tooltip && typeof r.value.tooltip == "object" ? J(r.value.tooltip, ["trigger", "title"]) : {}), p = n(() => f(m) < i.list.length), m = b(0), L = n(() => i.list.map((e) => e.text).join("、")), M = n(() => [$()].filter(Boolean)), P = n(() => v.value === "aplus" ? [h("ellipsis-text", "aplus")] : [h("ellipsis-text", "admin")]), y = (e, t) => {
28
28
  let s = document.createElement("canvas");
29
29
  const l = s.getContext("2d");
30
30
  l.font = `${e}px system-ui`;
@@ -34,21 +34,21 @@ const ue = /* @__PURE__ */ D({
34
34
  }, 0), a.width;
35
35
  }, x = () => {
36
36
  let e = 0, t = 0;
37
- if (!u.value) return;
38
- const s = u.value.offsetWidth;
37
+ if (!c.value) return;
38
+ const s = c.value.offsetWidth;
39
39
  for (let l of i.list) {
40
- const a = l.size === "large" ? 16 : 12, w = h(
40
+ const a = l.size === "large" ? 16 : 12, C = y(
41
41
  l.size === "large" ? 14 : 12,
42
42
  l.text
43
43
  ) + a + 2 + i.space;
44
- if (e += w, e > s) {
45
- e -= w;
44
+ if (e += C, e > s) {
45
+ e -= C;
46
46
  break;
47
47
  }
48
48
  t++;
49
49
  }
50
50
  if (t < i.list.length) {
51
- const a = h(12, r.value.text);
51
+ const a = y(12, r.value.text);
52
52
  i.ellipsis.symbol === "icon" ? e += 16 : e += a, e > s && t--;
53
53
  }
54
54
  m.value = t;
@@ -64,7 +64,7 @@ const ue = /* @__PURE__ */ D({
64
64
  immediate: !0
65
65
  }
66
66
  );
67
- const y = () => {
67
+ const w = () => {
68
68
  x();
69
69
  };
70
70
  return j(() => {
@@ -74,35 +74,38 @@ const ue = /* @__PURE__ */ D({
74
74
  `[ApTagGroup]: \`${e}\` is deprecated, please use \`${t}\` instead.`
75
75
  );
76
76
  }
77
- ), window.addEventListener("resize", y);
77
+ ), window.addEventListener("resize", w);
78
78
  }), G(() => {
79
- window.removeEventListener("resize", y);
80
- }), (e, t) => (c(), d(f(q), b({ trigger: "hover" }, $.value), {
79
+ window.removeEventListener("resize", w);
80
+ }), (e, t) => (u(), d(f(q), k({ trigger: "hover" }, B.value), {
81
81
  title: g(() => [
82
82
  I(e.$slots, "tooltip", { tags: e.list }, () => [
83
- U(T(L.value), 1)
83
+ U(E(L.value), 1)
84
84
  ])
85
85
  ]),
86
86
  default: g(() => [
87
87
  o("div", {
88
88
  ref_key: "container",
89
- ref: u,
90
- class: W(M.value),
91
- style: k({
89
+ ref: c,
90
+ class: _(M.value),
91
+ style: W({
92
92
  pointerEvents: p.value ? "auto" : "none"
93
93
  // opacity: isUpdating ? '0' : '1'
94
94
  })
95
95
  }, [
96
- (c(!0), _(A, null, F(e.list, (s, l) => (c(), d(X, b({ ref_for: !0 }, s, {
96
+ (u(!0), T(A, null, F(e.list, (s, l) => (u(), d(X, k({ ref_for: !0 }, s, {
97
97
  key: l,
98
98
  style: {
99
99
  display: l >= m.value ? "none" : "inline-block",
100
100
  marginRight: `${e.space}px`
101
101
  }
102
102
  }), null, 16, ["style"]))), 128)),
103
- p.value && r.value.symbol === "icon" ? (c(), d(f(H), {
103
+ p.value && r.value.symbol === "icon" ? (u(), d(f(H), {
104
104
  key: 0,
105
- style: k({ color: e.ellipsisColor || r.value.iconColor })
105
+ style: W({
106
+ color: e.ellipsisColor || r.value.iconColor,
107
+ cursor: "pointer"
108
+ })
106
109
  }, {
107
110
  component: g(() => t[0] || (t[0] = [
108
111
  o("svg", {
@@ -160,10 +163,11 @@ const ue = /* @__PURE__ */ D({
160
163
  ], -1)
161
164
  ])),
162
165
  _: 1
163
- }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(), _("span", {
166
+ }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (u(), T("span", {
164
167
  key: 1,
165
- class: W(P.value)
166
- }, T(r.value.text), 3)) : R("", !0)
168
+ class: _(P.value),
169
+ style: { cursor: "pointer" }
170
+ }, E(r.value.text), 3)) : R("", !0)
167
171
  ], 6)
168
172
  ]),
169
173
  _: 3
@@ -171,5 +175,5 @@ const ue = /* @__PURE__ */ D({
171
175
  }
172
176
  });
173
177
  export {
174
- ue as default
178
+ ce as default
175
179
  };
@@ -2,6 +2,7 @@ import { ApTagProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagProps> & Readonly<{}>, {
4
4
  size: "small" | "middle" | "large";
5
+ type: "purely" | "border";
5
6
  color: string;
6
7
  disabled: boolean;
7
8
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, computed as n, createElementBlock as b, openBlock as y, normalizeClass as p, normalizeStyle as w, createVNode as z, unref as B } from "vue";
1
+ import { defineComponent as $, computed as n, createElementBlock as S, openBlock as b, normalizeClass as i, normalizeStyle as w, createVNode as z, unref as B } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { TypographyText as v } from "@aplus-frontend/antdv";
4
4
  import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
@@ -7,31 +7,37 @@ const A = /* @__PURE__ */ $({
7
7
  name: "ApTag",
8
8
  __name: "ap-tag",
9
9
  props: {
10
+ type: { default: "purely" },
10
11
  text: {},
11
12
  color: { default: "#34B77C" },
12
13
  size: { default: "middle" },
13
14
  disabled: { type: Boolean, default: !1 }
14
15
  },
15
- setup(i) {
16
- const e = i, o = I("uiMode"), { b: r, bm: a } = _("tag");
17
- function l(t, s) {
16
+ setup(o) {
17
+ const e = o, l = I("uiMode"), { b: r, bm: a } = _("tag");
18
+ function p(t, s) {
18
19
  t.length === 4 && (t = `#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`);
19
- const m = parseInt(t.slice(1, 3), 16), f = parseInt(t.slice(3, 5), 16), g = parseInt(t.slice(5, 7), 16), S = Math.round(s * 255).toString(16).padStart(2, "0");
20
- return `#${m.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${S}`;
20
+ const m = parseInt(t.slice(1, 3), 16), f = parseInt(t.slice(3, 5), 16), g = parseInt(t.slice(5, 7), 16), y = Math.round(s * 255).toString(16).padStart(2, "0");
21
+ return `#${m.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${y}`;
21
22
  }
22
23
  const c = n(() => ({
23
24
  "--tag-main-color": e.color,
24
- "--tag-main-color-opacity": l(e.color, 0.06)
25
- })), u = n(() => [r("wrapper"), a("wrapper", e.size)].filter(Boolean)), d = n(() => {
25
+ "--tag-main-color-opacity": p(e.color, 0.06),
26
+ "--tag-main-color-background": p(e.color, 0.15)
27
+ })), u = n(() => [
28
+ r("wrapper"),
29
+ r(`wrapper-${e.type}`),
30
+ a("wrapper", e.size)
31
+ ].filter(Boolean)), d = n(() => {
26
32
  const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
27
- return e.disabled && (o.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
33
+ return e.disabled && (l.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
28
34
  });
29
- return (t, s) => (y(), b("span", {
35
+ return (t, s) => (b(), S("span", {
30
36
  style: w(c.value),
31
- class: p(u.value)
37
+ class: i(u.value)
32
38
  }, [
33
39
  z(B(v), {
34
- class: p(d.value),
40
+ class: i(d.value),
35
41
  ellipsis: { tooltip: t.text },
36
42
  content: t.text
37
43
  }, null, 8, ["class", "ellipsis", "content"])
@@ -1,5 +1,9 @@
1
1
  import { TooltipProps } from '@aplus-frontend/antdv/es/tooltip';
2
2
  export interface ApTagProps {
3
+ /**
4
+ * 标签类型
5
+ */
6
+ type?: 'purely' | 'border';
3
7
  /**
4
8
  * 标签内容
5
9
  */
@@ -2,8 +2,8 @@ import { ApExpandAlertProps } from './interface';
2
2
  import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
3
  declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
- readonly onExpand?: ((...args: any[]) => any) | undefined;
6
- readonly onChoose?: ((...args: any[]) => any) | undefined;
5
+ readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
6
+ readonly onChoose?: ((args_0: T) => any) | undefined;
7
7
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExpand" | "onChoose"> & ApExpandAlertProps<T> & Partial<{}>> & PublicProps;
8
8
  expose(exposed: ShallowUnwrapRef<{
9
9
  setExpand: (state?: boolean) => void;
@@ -22,7 +22,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
22
22
  index: number;
23
23
  }): any;
24
24
  };
25
- emit: (event: "expand" | "choose", ...args: any[]) => void;
25
+ emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
26
26
  }>) => VNode & {
27
27
  __ctx?: Awaited<typeof __VLS_setup>;
28
28
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as W, computed as f, ref as h, watch as T, nextTick as w, createElementBlock as n, openBlock as a, normalizeClass as s, unref as t, createVNode as x, withCtx as m, createElementVNode as g, normalizeStyle as c, renderSlot as A, createBlock as b, toDisplayString as p, resolveDynamicComponent as N, Fragment as C, renderList as j, createCommentVNode as I, createTextVNode as q } from "vue";
2
- import { DownOutlined as J } from "@ant-design/icons-vue";
3
- import { Alert as K, Tooltip as P } from "@aplus-frontend/antdv";
4
- import { ApActionItem as Q } from "../../ap-action/index.mjs";
1
+ import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, createElementBlock as i, openBlock as a, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createElementVNode as S, normalizeStyle as y, renderSlot as H, createBlock as $, toDisplayString as u, resolveDynamicComponent as I, Fragment as C, renderList as j, createCommentVNode as L, createTextVNode as J } from "vue";
2
+ import { DownOutlined as P } from "@ant-design/icons-vue";
3
+ import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
4
+ import { ApActionItem as X } from "../../ap-action/index.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { isString as E } from "lodash-unified";
7
- import { useLocale as U } from "../../config-provider/hooks/use-locale.mjs";
8
- import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
9
- import { useGlobalConfig as Y } from "../../config-provider/hooks/use-global-config.mjs";
10
- const Z = ["onClick"], pe = /* @__PURE__ */ W({
6
+ import { isNil as Y, isString as E } from "lodash-unified";
7
+ import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
8
+ import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
9
+ import { useGlobalConfig as ee } from "../../config-provider/hooks/use-global-config.mjs";
10
+ const te = ["onClick"], ce = /* @__PURE__ */ K({
11
11
  __name: "ApExpandAlert",
12
12
  props: {
13
13
  type: { default: "warning" },
@@ -24,126 +24,146 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
24
24
  showIcon: { type: Boolean, default: !0 }
25
25
  },
26
26
  emits: ["choose", "expand"],
27
- setup(L, { expose: $, emit: H }) {
28
- const z = H, r = L, { t: S } = U(), V = f(() => {
29
- if (r.type != "card")
30
- return r.type;
31
- }), l = h(""), u = h(null), D = f(() => ({
27
+ setup(z, { expose: D, emit: M }) {
28
+ const A = M, p = z, { t: B } = Z(), V = c(() => {
29
+ if (p.type != "card")
30
+ return p.type;
31
+ }), l = g(""), d = g(null), R = c(() => ({
32
32
  fontWeight: "400",
33
33
  wordBreak: "break-all",
34
34
  overflow: "hidden",
35
35
  display: "-webkit-box",
36
36
  webkitLineClamp: l.value,
37
37
  webkitBoxOrient: "vertical",
38
- lineHeight: "22px"
38
+ lineHeight: "18px"
39
39
  }));
40
- function R() {
41
- l.value === "1" ? l.value = "" : l.value = "1", z("expand");
40
+ function q() {
41
+ l.value === "1" ? (l.value = "", A("expand", "expand")) : (l.value = "1", A("expand", "collapse"));
42
42
  }
43
- const M = f(() => l.value === "1" ? S("ap.apExpandAlert.expand") : S("ap.apExpandAlert.collapse")), y = h(!0), B = f(() => l.value !== "1");
43
+ const F = c(() => l.value === "1" ? B("ap.apExpandAlert.expand") : B("ap.apExpandAlert.collapse")), h = g(!0), N = c(() => l.value !== "1");
44
44
  function v(e) {
45
45
  e ? l.value = "" : l.value = "1";
46
46
  }
47
- T(
48
- () => r.data,
47
+ x(
48
+ () => p.data,
49
49
  () => {
50
- l.value = "", w(() => {
51
- if (u.value) {
52
- const e = Number(u.value.clientHeight), d = Number(
53
- parseInt(u.value.style.lineHeight)
50
+ l.value = "", f(() => {
51
+ if (d.value) {
52
+ const e = Number(d.value.clientHeight), r = Number(
53
+ parseInt(d.value.style.lineHeight)
54
54
  );
55
- e < d * Number(r.rows) && B.value ? y.value = !1 : y.value = !0;
55
+ e < r * Number(p.rows) && N.value ? h.value = !1 : h.value = !0;
56
56
  }
57
57
  });
58
58
  },
59
59
  {
60
60
  immediate: !0
61
61
  }
62
- ), T(
63
- () => r.defaultExpand,
62
+ ), x(
63
+ () => p.defaultExpand,
64
64
  (e) => {
65
- e ? w(() => {
65
+ e ? f(() => {
66
66
  v(e);
67
- }) : w(() => {
67
+ }) : f(() => {
68
68
  v(e);
69
69
  });
70
70
  },
71
71
  { immediate: !0 }
72
- );
73
- const { b: O, e: o, m: F } = X("ap-expand-alert"), G = Y("uiMode", "aplus");
74
- return $({
72
+ ), W(() => {
73
+ x(
74
+ () => p.contentStyle,
75
+ (e) => {
76
+ Y(e.lineHeight) || f(() => {
77
+ const r = document.querySelector(
78
+ `#${k} .ant-alert-action`
79
+ ), s = document.querySelector(
80
+ `#${k} .ant-alert-icon`
81
+ );
82
+ r && r.setAttribute("style", `line-height: ${e.lineHeight}`), s && s.setAttribute("style", `line-height: ${e.lineHeight}`);
83
+ });
84
+ },
85
+ {
86
+ deep: !0,
87
+ immediate: !0,
88
+ flush: "post"
89
+ }
90
+ );
91
+ });
92
+ const { b: T, e: o, m: O } = _("ap-expand-alert"), k = `${T()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`, G = ee("uiMode", "aplus");
93
+ return D({
75
94
  setExpand: v
76
- }), (e, d) => (a(), n("div", {
77
- class: s([t(O)(), `${t(F)(t(G))}`])
95
+ }), (e, r) => (a(), i("div", {
96
+ id: k,
97
+ class: n([t(T)(), `${t(O)(t(G))}`])
78
98
  }, [
79
- x(t(K), {
99
+ b(t(Q), {
80
100
  type: V.value,
81
101
  "show-icon": e.showIcon,
82
- class: s([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
102
+ class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
83
103
  }, {
84
104
  action: m(() => [
85
- y.value ? (a(), b(t(Q), {
105
+ h.value ? (a(), $(t(X), {
86
106
  key: 0,
87
107
  size: "small",
88
108
  style: { "font-size": "12px", "padding-left": "16px" },
89
- onClick: d[0] || (d[0] = (i) => R())
109
+ onClick: r[0] || (r[0] = (s) => q())
90
110
  }, {
91
111
  default: m(() => [
92
- g("span", {
93
- class: s(t(o)("expandText"))
94
- }, p(M.value), 3),
95
- x(t(J), {
96
- class: s(B.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
112
+ S("span", {
113
+ class: n(t(o)("expandText"))
114
+ }, u(F.value), 3),
115
+ b(t(P), {
116
+ class: n(N.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
97
117
  }, null, 8, ["class"])
98
118
  ]),
99
119
  _: 1
100
- })) : I("", !0)
120
+ })) : L("", !0)
101
121
  ]),
102
122
  message: m(() => [
103
- g("div", {
123
+ S("div", {
104
124
  ref_key: "ellipsisBoxRef",
105
- ref: u,
106
- style: c({ ...D.value, ...e.contentStyle }),
107
- class: s(t(o)("alertContent"))
125
+ ref: d,
126
+ style: y({ ...R.value, ...e.contentStyle }),
127
+ class: n(t(o)("alertContent"))
108
128
  }, [
109
- A(e.$slots, "default", {}, () => [
110
- t(E)(e.prefix) ? (a(), n("span", {
129
+ H(e.$slots, "default", {}, () => [
130
+ t(E)(e.prefix) ? (a(), i("span", {
111
131
  key: 0,
112
- class: s(t(o)("prefix")),
113
- style: c(e.prefixStyle)
114
- }, p(e.prefix), 7)) : (a(), b(N(e.prefix), {
132
+ class: n(t(o)("prefix")),
133
+ style: y(e.prefixStyle)
134
+ }, u(e.prefix), 7)) : (a(), $(I(e.prefix), {
115
135
  key: 1,
116
- style: c(e.prefixStyle)
136
+ style: y(e.prefixStyle)
117
137
  }, null, 8, ["style"])),
118
- t(E)(e.data) ? (a(), n("span", {
138
+ t(E)(e.data) ? (a(), i("span", {
119
139
  key: 2,
120
- class: s(t(o)("text"))
121
- }, p(e.data), 3)) : (a(!0), n(C, { key: 3 }, j(e.data, (i, k) => (a(), n(C, { key: k }, [
122
- x(t(P), {
140
+ class: n(t(o)("text"))
141
+ }, u(e.data), 3)) : (a(!0), i(C, { key: 3 }, j(e.data, (s, w) => (a(), i(C, { key: w }, [
142
+ b(t(U), {
123
143
  title: e.tipTitle ? e.tipTitle : null
124
144
  }, {
125
145
  default: m(() => [
126
- A(e.$slots, "item", {
127
- record: i,
128
- index: k
146
+ H(e.$slots, "item", {
147
+ record: s,
148
+ index: w
129
149
  }, () => [
130
- g("span", {
131
- class: s(t(o)("showItem")),
132
- onClick: (_) => e.$emit("choose", i)
133
- }, p(e.mapLabel ? i[e.mapLabel] : i), 11, Z)
150
+ S("span", {
151
+ class: n(t(o)("showItem")),
152
+ onClick: (ae) => e.$emit("choose", s)
153
+ }, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
134
154
  ])
135
155
  ]),
136
156
  _: 2
137
157
  }, 1032, ["title"]),
138
- k !== e.data.length - 1 ? (a(), n("span", {
158
+ w !== e.data.length - 1 ? (a(), i("span", {
139
159
  key: 0,
140
- class: s(t(o)("spliter")),
141
- style: c(e.separatorStyle)
160
+ class: n(t(o)("spliter")),
161
+ style: y(e.separatorStyle)
142
162
  }, [
143
- t(E)(e.separator) ? (a(), n(C, { key: 0 }, [
144
- q(p(e.separator), 1)
145
- ], 64)) : (a(), b(N(e.separator), { key: 1 }))
146
- ], 6)) : I("", !0)
163
+ t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
164
+ J(u(e.separator), 1)
165
+ ], 64)) : (a(), $(I(e.separator), { key: 1 }))
166
+ ], 6)) : L("", !0)
147
167
  ], 64))), 128))
148
168
  ])
149
169
  ], 6)
@@ -154,5 +174,5 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
154
174
  }
155
175
  });
156
176
  export {
157
- pe as default
177
+ ce as default
158
178
  };
@@ -15,11 +15,11 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
15
15
  index: number;
16
16
  }): any;
17
17
  };
18
- emit: (event: "expand" | "choose", ...args: any[]) => void;
18
+ emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
19
19
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
20
20
  props: {
21
- readonly onExpand?: ((...args: any[]) => any) | undefined;
22
- readonly onChoose?: ((...args: any[]) => any) | undefined;
21
+ readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
22
+ readonly onChoose?: ((args_0: T) => any) | undefined;
23
23
  type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
24
24
  data?: string | T[] | undefined;
25
25
  prefix?: string | undefined;
@@ -50,7 +50,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
50
50
  index: number;
51
51
  }): any;
52
52
  };
53
- emit: (event: "expand" | "choose", ...args: any[]) => void;
53
+ emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
54
54
  }>) => VNode & {
55
55
  __ctx?: Awaited<typeof __VLS_setup>;
56
56
  }) & ( Plugin & (new (...args: any[]) => {
@@ -1,6 +1,7 @@
1
1
  import { ApExportGroupProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<ApExportGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApExportGroupProps> & Readonly<{}>, {
4
+ type: "button" | "dropdown";
4
5
  exportField: boolean | {
5
6
  key?: string;
6
7
  convertField?: {