@aplus-frontend/ui 0.6.0-beta.12 → 0.6.0-beta.13

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 (227) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  9. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  10. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  11. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  12. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  13. package/es/src/ap-field/date/index.vue.mjs +4 -4
  14. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  15. package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
  16. package/es/src/ap-field/index.mjs +36 -36
  17. package/es/src/ap-field/number/index.vue.mjs +8 -8
  18. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  19. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  20. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  21. package/es/src/ap-field/select/index.vue.mjs +2 -2
  22. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  29. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  30. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  31. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  32. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  33. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  34. package/es/src/ap-form/interface.d.ts +3 -3
  35. package/es/src/ap-form/item/index.vue.mjs +38 -34
  36. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  37. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  43. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  47. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  48. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  50. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  51. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  52. package/es/src/ap-form/render/item.vue.mjs +2 -2
  53. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
  54. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  55. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  56. package/es/src/ap-form/search-form/index.vue.d.ts +9 -6
  57. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  58. package/es/src/ap-form/set/index.vue.mjs +1 -1
  59. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  60. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  61. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  62. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  63. package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
  64. package/es/src/ap-grid/index.vue.d.ts +2 -4
  65. package/es/src/ap-grid/index.vue.mjs +5 -5
  66. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  67. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  68. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  69. package/es/src/ap-list/index.vue.d.ts +2 -4
  70. package/es/src/ap-list/index.vue.mjs +1 -1
  71. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  72. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  73. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  74. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  75. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  76. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  77. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  78. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  79. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  80. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  81. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  82. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  83. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  84. package/es/src/ap-table/constants.d.ts +23 -23
  85. package/es/src/ap-table/constants.mjs +45 -45
  86. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  87. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  88. package/es/src/ap-table/utils.d.ts +23 -23
  89. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  90. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  91. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  92. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  93. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  94. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  95. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  96. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  97. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  98. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  99. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  100. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  101. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  102. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  103. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  104. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  105. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  106. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  107. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  108. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
  109. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  110. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  111. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  112. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  113. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  114. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  115. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  116. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  117. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  118. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +23 -23
  119. package/es/src/business/ap-radio-group/index.d.ts +5 -0
  120. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  121. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  122. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  123. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  124. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  125. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  126. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  127. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  128. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  129. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  130. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  131. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  132. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  133. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  134. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  135. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  136. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  137. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  138. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  139. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  140. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  141. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  142. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  143. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  144. package/es/src/check-card/index.vue2.mjs +3 -3
  145. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  146. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  147. package/es/src/editable-table/form-item.vue.mjs +2 -2
  148. package/es/src/editable-table/index.vue.d.ts +2 -4
  149. package/es/src/editable-table/index.vue.mjs +2 -2
  150. package/es/src/full-screen/index.vue.mjs +3 -3
  151. package/es/src/hooks/useFullScreen.mjs +5 -5
  152. package/es/src/mask/index.vue.mjs +10 -10
  153. package/es/src/portal/index.vue.mjs +2 -2
  154. package/es/src/scroll-bar/index.vue.mjs +3 -3
  155. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  156. package/es/src/scroll-view/index.vue.d.ts +5 -5
  157. package/es/src/scroll-view/index.vue.mjs +9 -9
  158. package/es/src/splitter/Panel.vue2.mjs +4 -4
  159. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  160. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  161. package/es/src/tests/wrapper.d.ts +4 -4
  162. package/es/src/text/group.vue.mjs +2 -2
  163. package/es/src/text/index.vue.mjs +4 -4
  164. package/es/src/version.d.ts +1 -1
  165. package/es/src/version.mjs +1 -1
  166. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  167. package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  168. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  169. package/es/test/setup.d.ts +5 -0
  170. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  171. package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
  172. package/lib/src/ap-field/index.js +1 -1
  173. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  174. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  175. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  176. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  177. package/lib/src/ap-form/interface.d.ts +3 -3
  178. package/lib/src/ap-form/item/index.vue.js +1 -1
  179. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  180. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  181. package/lib/src/ap-form/search-form/index.vue.d.ts +9 -6
  182. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  183. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  184. package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
  185. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  186. package/lib/src/ap-grid/index.vue.js +1 -1
  187. package/lib/src/ap-list/index.vue.d.ts +2 -4
  188. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  189. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  190. package/lib/src/ap-table/constants.d.ts +23 -23
  191. package/lib/src/ap-table/constants.js +1 -1
  192. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  193. package/lib/src/ap-table/utils.d.ts +23 -23
  194. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  195. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  196. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  197. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  198. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  199. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  200. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  201. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  202. package/lib/src/business/ap-radio-group/index.d.ts +5 -0
  203. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  204. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  205. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  206. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  207. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  208. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  209. package/lib/src/editable-table/index.vue.d.ts +2 -4
  210. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  211. package/lib/src/tests/wrapper.d.ts +4 -4
  212. package/lib/src/version.d.ts +1 -1
  213. package/lib/src/version.js +1 -1
  214. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  215. package/lib/test/setup.d.ts +5 -0
  216. package/package.json +3 -3
  217. package/theme/ap-action/item.css +12 -1
  218. package/theme/ap-action/item.less +13 -1
  219. package/theme/ap-grid/index.css +12 -1
  220. package/theme/ap-radio-group/ap-radio-group.css +2 -1
  221. package/theme/ap-radio-group/ap-radio-group.less +3 -1
  222. package/theme/ap-table/ap-table.css +12 -1
  223. package/theme/ap-table-modal/index.css +12 -1
  224. package/theme/editable-table/index.css +12 -1
  225. package/theme/index.css +23 -3
  226. package/theme/ui-mode.css +9 -1
  227. package/theme/ui-mode.less +17 -1
@@ -1,4 +1,4 @@
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, openBlock as u, createBlock as d, mergeProps as k, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as W, createElementVNode as o, normalizeClass as _, normalizeStyle as T, createElementBlock as E, Fragment as F, renderList as I, createCommentVNode 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";
@@ -79,8 +79,8 @@ const ce = /* @__PURE__ */ D({
79
79
  window.removeEventListener("resize", w);
80
80
  }), (e, t) => (u(), d(f(q), k({ trigger: "hover" }, B.value), {
81
81
  title: g(() => [
82
- R(e.$slots, "tooltip", { tags: e.list }, () => [
83
- A(W(L.value), 1)
82
+ I(e.$slots, "tooltip", { tags: e.list }, () => [
83
+ U(E(L.value), 1)
84
84
  ])
85
85
  ]),
86
86
  default: g(() => [
@@ -88,12 +88,12 @@ const ce = /* @__PURE__ */ D({
88
88
  ref_key: "container",
89
89
  ref: c,
90
90
  class: _(M.value),
91
- style: T({
91
+ style: W({
92
92
  pointerEvents: p.value ? "auto" : "none"
93
93
  // opacity: isUpdating ? '0' : '1'
94
94
  })
95
95
  }, [
96
- (u(!0), E(F, null, I(e.list, (s, l) => (u(), d(X, k({ 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",
@@ -102,7 +102,7 @@ const ce = /* @__PURE__ */ D({
102
102
  }), null, 16, ["style"]))), 128)),
103
103
  p.value && r.value.symbol === "icon" ? (u(), d(f(H), {
104
104
  key: 0,
105
- style: T({
105
+ style: W({
106
106
  color: e.ellipsisColor || r.value.iconColor,
107
107
  cursor: "pointer"
108
108
  })
@@ -163,11 +163,11 @@ const ce = /* @__PURE__ */ D({
163
163
  ], -1)
164
164
  ])),
165
165
  _: 1
166
- }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (u(), E("span", {
166
+ }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (u(), T("span", {
167
167
  key: 1,
168
168
  class: _(P.value),
169
169
  style: { cursor: "pointer" }
170
- }, W(r.value.text), 3)) : U("", !0)
170
+ }, E(r.value.text), 3)) : R("", !0)
171
171
  ], 6)
172
172
  ]),
173
173
  _: 3
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, computed as n, openBlock as S, createElementBlock as b, normalizeStyle as w, normalizeClass as i, 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";
@@ -32,7 +32,7 @@ const A = /* @__PURE__ */ $({
32
32
  const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
33
33
  return e.disabled && (l.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
34
34
  });
35
- return (t, s) => (S(), b("span", {
35
+ return (t, s) => (b(), S("span", {
36
36
  style: w(c.value),
37
37
  class: i(u.value)
38
38
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as g, computed as v, provide as t, openBlock as y, createElementBlock as R, normalizeClass as U, unref as $, createBlock as k, resolveDynamicComponent as T, mergeProps as B, createSlots as L, renderList as q, withCtx as P, renderSlot as V, normalizeProps as w, guardReactiveProps as D } from "vue";
1
+ import { defineComponent as A, ref as g, computed as v, provide as t, createElementBlock as R, openBlock as y, normalizeClass as U, unref as $, createBlock as k, resolveDynamicComponent as T, mergeProps as B, createSlots as L, renderList as q, withCtx as P, renderSlot as V, normalizeProps as w, guardReactiveProps as D } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import "./components/SingleFile.vue.mjs";
4
4
  import "./components/MultipleFile.vue.mjs";
@@ -8,9 +8,9 @@ import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
8
8
  import { Form as H } from "@aplus-frontend/antdv";
9
9
  import { useLocale as J } from "../config-provider/hooks/use-locale.mjs";
10
10
  import { useNamespace as K } from "../config-provider/hooks/use-namespace.mjs";
11
- import Q from "./components/SingleFile.vue2.mjs";
11
+ import Q from "./components/Picture.vue2.mjs";
12
12
  import W from "./components/MultipleFile.vue2.mjs";
13
- import X from "./components/Picture.vue2.mjs";
13
+ import X from "./components/SingleFile.vue2.mjs";
14
14
  import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.mjs";
15
15
  const pe = /* @__PURE__ */ A({
16
16
  name: "AplusFileUpload",
@@ -91,9 +91,9 @@ const pe = /* @__PURE__ */ A({
91
91
  const { t: u, lang: F } = J();
92
92
  G(u), I(u, F);
93
93
  const { b: M } = K("ap-upload"), n = g(null), e = S, N = x, _ = {
94
- singleFile: Q,
94
+ singleFile: X,
95
95
  multipleFile: W,
96
- picture: X
96
+ picture: Q
97
97
  }, s = H.useInjectFormItemContext(), E = v({
98
98
  get() {
99
99
  return e.value;
@@ -1,6 +1,6 @@
1
1
  import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadChangeParam, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
3
+ import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
4
4
  import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
5
5
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
6
6
  declare function setValue(val: (string | Record<string, any>)[]): void;
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K, openBlock as h, createElementBlock as C, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createBlock as Z, resolveDynamicComponent as ee, createCommentVNode as te } from "vue";
1
+ import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K, createElementBlock as C, openBlock as h, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createCommentVNode as Z, createBlock as ee, resolveDynamicComponent as te } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getPath as oe, getName as se, getReturnData as M } from "../utils/returnData.mjs";
4
4
  import { useOss as ae, getOssInstance as ne } from "../hooks/useOss.mjs";
@@ -201,8 +201,8 @@ const de = { class: "multiple-file-context" }, fe = { key: 0 }, ge = { key: 1 },
201
201
  }, ["stop"]))
202
202
  }, [
203
203
  typeof n(f) == "string" ? (h(), C("div", fe, L(n(f) || `${n(r)("ap.apUpload.supportExtension")}:${n(ce)(n(y))}`), 1)) : n(f) ? (h(), C("div", ge, [
204
- (h(), Z(ee(n(f))))
205
- ])) : te("", !0)
204
+ (h(), ee(te(n(f))))
205
+ ])) : Z("", !0)
206
206
  ])
207
207
  ])
208
208
  ]),
@@ -1,4 +1,5 @@
1
1
  import { Oss } from '../hooks/useOss';
2
+ import { actionResponse } from '@aplus-frontend/oss';
2
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
4
  declare function setValue(val?: (string | Record<string, any>)[]): void;
4
5
  interface UploadFile extends File {
@@ -17,13 +18,7 @@ declare function __VLS_template(): {
17
18
  pictureContext?(_: {
18
19
  fileList: {
19
20
  oss: {
20
- pauseUpload: (() => Promise<{
21
- status: number;
22
- previewUrl?: string;
23
- saveUrl?: string;
24
- originalFileName?: string;
25
- message: string;
26
- }>) | undefined;
21
+ pauseUpload: (() => Promise< actionResponse>) | undefined;
27
22
  };
28
23
  }[];
29
24
  remove: typeof handleRemove;
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F, openBlock as g, createElementBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, createCommentVNode as I, vShow as oe, toDisplayString as C } from "vue";
1
+ import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F, createElementBlock as g, openBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, createCommentVNode as I, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, vShow as oe, toDisplayString as C } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getPath as ie, getName as re, getReturnData as M } from "../utils/returnData.mjs";
4
4
  import { CloseOutlined as ce, PlusOutlined as ue } from "@ant-design/icons-vue";
@@ -191,7 +191,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
191
191
  );
192
192
  return o.value.splice(a, 1), Promise.resolve(!0);
193
193
  }
194
- return (e, a) => (g(), h("div", {
194
+ return (e, a) => (h(), g("div", {
195
195
  class: ee({
196
196
  [i(S)()]: !0,
197
197
  [i(S)("admin")]: i(B) === "admin"
@@ -218,7 +218,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
218
218
  }),
219
219
  remove: R
220
220
  }, () => [
221
- (g(!0), h(ne, null, ae(i(o), (t) => (g(), h("div", {
221
+ (h(!0), g(ne, null, ae(i(o), (t) => (h(), g("div", {
222
222
  key: t.uid,
223
223
  class: "picture-item"
224
224
  }, [
@@ -234,7 +234,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
234
234
  }, [
235
235
  k(i(ce))
236
236
  ], 8, Ue),
237
- t.status === "uploading" ? (g(), h("div", ke, [
237
+ t.status === "uploading" ? (h(), g("div", ke, [
238
238
  k(i(me), {
239
239
  percent: t.percent,
240
240
  "stroke-color": "#ffffff",
@@ -249,7 +249,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
249
249
  ])
250
250
  ]))), 128))
251
251
  ]),
252
- i(p) === void 0 || i(o).length < i(p) ? (g(), h("div", {
252
+ i(p) === void 0 || i(o).length < i(p) ? (h(), g("div", {
253
253
  key: 0,
254
254
  class: "picture-upload",
255
255
  onClick: G
@@ -259,7 +259,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
259
259
  ])) : I("", !0)
260
260
  ]),
261
261
  d("div", Ce, [
262
- i(E) ? (g(), h("div", Se, C(i(E)), 1)) : (g(), h("div", Ee, C(`${i(l)("ap.apUpload.supportExtension")}:${i(de)(i(w))},${i(l)(
262
+ i(E) ? (h(), g("div", Se, C(i(E)), 1)) : (h(), g("div", Ee, C(`${i(l)("ap.apUpload.supportExtension")}:${i(de)(i(w))},${i(l)(
263
263
  "ap.apUpload.maxUploadPictureSize",
264
264
  { maxSize: i(U) }
265
265
  )}`), 1))
@@ -1,4 +1,4 @@
1
- import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se, openBlock as k, createElementBlock as z, normalizeClass as re, unref as a, createElementVNode as i, toDisplayString as A, createCommentVNode as b, normalizeStyle as ie, createBlock as ce, withModifiers as ue, createVNode as pe } from "vue";
1
+ import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se, createElementBlock as z, openBlock as k, normalizeClass as re, unref as a, createElementVNode as i, createCommentVNode as A, toDisplayString as b, normalizeStyle as ie, createBlock as ce, withModifiers as ue, createVNode as pe } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getName as ve, getReturnData as I } from "../utils/returnData.mjs";
4
4
  import { useOss as de, useOssInit as fe } from "../hooks/useOss.mjs";
@@ -184,13 +184,13 @@ const we = ["accept"], De = {
184
184
  class: "state-un-icon",
185
185
  src: a(j)
186
186
  }, null, 8, Ue),
187
- i("div", Fe, A(a(J)), 1),
188
- i("div", Ce, A(typeof a(F) == "string" && a(F).length > 0 ? a(F) : `${a(r)("ap.apUpload.supportExtension")}:${a(ge)(
187
+ i("div", Fe, b(a(J)), 1),
188
+ i("div", Ce, b(typeof a(F) == "string" && a(F).length > 0 ? a(F) : `${a(r)("ap.apUpload.supportExtension")}:${a(ge)(
189
189
  a(D)
190
190
  )},${a(r)("ap.apUpload.maxWarnUploadFileSize", {
191
191
  maxSize: a(U)
192
192
  })}`), 1)
193
- ])) : b("", !0),
193
+ ])) : A("", !0),
194
194
  [2, 3].includes(s.value) ? (k(), z("div", Ee, [
195
195
  i("div", Se, [
196
196
  i("img", { src: a(j) }, null, 8, Ne)
@@ -201,9 +201,9 @@ const we = ["accept"], De = {
201
201
  style: ie({
202
202
  color: P.value ? "#0070FF" : "#182948"
203
203
  })
204
- }, A((c = n.value) == null ? void 0 : c.name), 5),
204
+ }, b((c = n.value) == null ? void 0 : c.name), 5),
205
205
  i("div", ze, [
206
- P.value ? b("", !0) : (k(), ce(a(he), {
206
+ P.value ? A("", !0) : (k(), ce(a(he), {
207
207
  key: 0,
208
208
  percent: m.value,
209
209
  size: 4,
@@ -219,7 +219,7 @@ const we = ["accept"], De = {
219
219
  }, [
220
220
  pe(a(_e))
221
221
  ])
222
- ])) : b("", !0)
222
+ ])) : A("", !0)
223
223
  ], 34);
224
224
  };
225
225
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as d, ref as V, openBlock as s, createElementBlock as u, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
1
+ import { defineComponent as T, computed as d, ref as V, createElementBlock as u, openBlock as s, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
2
2
  import G from "./icons/file-icon.vue.mjs";
3
3
  import { Tooltip as P, TypographyText as q } from "@aplus-frontend/antdv";
4
4
  import { IconVariantDownload as H } from "@aplus-frontend/icon";
@@ -1,4 +1,4 @@
1
- import { openBlock as t, createElementBlock as e, createStaticVNode as r } from "vue";
1
+ import { createElementBlock as t, openBlock as e, createStaticVNode as r } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const i = {}, o = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const i = {}, o = {
8
8
  viewBox: "0 0 16 16"
9
9
  };
10
10
  function c(n, Q) {
11
- return t(), e("svg", o, Q[0] || (Q[0] = [
11
+ return e(), t("svg", o, Q[0] || (Q[0] = [
12
12
  r('<defs><clipPath id="master_svg0_183_82058/183_76208"><rect x="0" y="0" width="16" height="16" rx="0"></rect></clipPath></defs><g clip-path="url(#master_svg0_183_82058/183_76208)"><g><rect x="0" y="0" width="16" height="16" rx="0" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough;"></rect></g><g><path d="M6.4678965625,11.32002357421875L11.4176265625,6.37025357421875Q11.4879565625,6.29993357421875,11.5260165625,6.20804357421875Q11.5640765625,6.11616357421875,11.5640765625,6.0167035742187505Q11.5640765625,5.967463574218749,11.5544665625,5.91916357421875Q11.5448565625,5.87086357421875,11.5260165625,5.82536357421875Q11.5071665625,5.77986357421875,11.4798065625,5.7389235742187505Q11.4524465625,5.69797357421875,11.4176265625,5.66315357421875Q11.3828065625,5.62833357421875,11.3418565625,5.6009735742187505Q11.3009165625,5.57361357421875,11.2554165625,5.55476357421875Q11.2099165625,5.535923574218749,11.1616165625,5.52631357421875Q11.1133165625,5.5167035742187505,11.0640765625,5.5167035742187505Q10.9646165625,5.5167035742187505,10.8727365625,5.55476357421875Q10.7808465625,5.59282357421875,10.7105265625,5.66315357421875L10.7102665625,5.66341357421875L5.7607865625,10.612923574218751Q5.4072265625,10.96648357421875,5.0536665625,10.612923574218751Q4.7001265624999995,10.25935357421875,5.0536765625,9.905773574218749L10.9462265625,4.01326057421875Q11.3855665625,3.57391357421875,12.0068765625,3.57391357421875Q12.6282265625,3.57391357421875,13.0675265625,4.01326157421875Q13.5069265625,4.45258357421875,13.5069265625,5.07391357421875Q13.5069265625,5.69523357421875,13.0675265625,6.13459357421875L7.1749865625,12.02712357421875Q6.4427665625,12.75934357421875,5.4072265625,12.75934357421875Q4.3716865625,12.75934357421875,3.6394565625,12.02712357421875Q2.9072265625,11.29489357421875,2.9072265625,10.25935357421875Q2.9072265625,9.22382357421875,3.6394565625,8.49159357421875L8.5891965625,3.5418455742187502Q8.6595265625,3.47151957421875,8.6975865625,3.37963357421875Q8.735646562500001,3.28774857421875,8.735646562500001,3.18829257421875Q8.735646562500001,3.13904677421875,8.7260365625,3.09074737421875Q8.7164265625,3.04244787421875,8.6975865625,2.99695077421875Q8.6787365625,2.95145357421875,8.651376562500001,2.91050757421875Q8.6240165625,2.86956157421875,8.5891965625,2.83473957421875Q8.5543765625,2.79991757421875,8.513426562500001,2.77255757421875Q8.472476562499999,2.74519857421875,8.4269865625,2.72635257421875Q8.381486562500001,2.70750757421875,8.3331865625,2.69789957421875Q8.284886562499999,2.68829257421875,8.235646562500001,2.68829257421875Q8.1361865625,2.68829257421875,8.0442965625,2.72635257421875Q7.9524165625,2.76441257421875,7.8820865625,2.83473957421875L7.8816965625,2.83512857421875L2.9323545625,7.78448357421875Q1.9072265625,8.80960357421875,1.9072265625,10.25935357421875Q1.9072265625,11.70910357421875,2.9323525625,12.73422357421875Q3.9574765625,13.75931357421875,5.4072265625,13.75931357421875Q6.8569765625,13.75931357421875,7.8820965625,12.73422357421875L13.7746265625,6.8416835742187505Q14.5069265625,6.10944357421875,14.5069265625,5.07391357421875Q14.5069265625,4.03837257421875,13.7746265625,3.30615057421875Q13.0424265625,2.57391357421875,12.0068765625,2.57391357421875Q10.9713365625,2.57391357421875,10.239126562500001,3.30615157421875L4.3465365625,9.19870357421875Q3.9072365625,9.638043574218749,3.9072365625,10.25935357421875Q3.9072365625,10.880663574218751,4.3465565625,11.32002357421875Q4.7859065625,11.75937357421875,5.4072265625,11.75937357421875Q6.0285465625,11.75937357421875,6.4678965625,11.32002357421875Z" fill-rule="evenodd" fill="currentColor" fill-opacity="1"></path></g></g>', 2)
13
13
  ]));
14
14
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V, openBlock as E, createElementBlock as K, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as a, createVNode as F, withCtx as O } from "vue";
1
+ import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V, createElementBlock as E, openBlock as K, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as a, createVNode as F, withCtx as O } from "vue";
2
2
  import { Button as j } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { useNamespace as q } from "../../config-provider/hooks/use-namespace.mjs";
@@ -29,7 +29,7 @@ const I = { class: "selected-desc" }, J = { class: "selected-desc-conut" }, M =
29
29
  {
30
30
  immediate: !0
31
31
  }
32
- ), (e, l) => (E(), K("div", {
32
+ ), (e, l) => (K(), E("div", {
33
33
  class: f([t(n)()])
34
34
  }, [
35
35
  T(c("div", {
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, useSlots as O, computed as n, openBlock as m, createBlock as d, unref as s, mergeProps as b, createSlots as g, withCtx as r, createVNode as i, createElementVNode as j, normalizeStyle as x, resolveDynamicComponent as k, h as A, renderList as B, renderSlot as C, normalizeProps as v, guardReactiveProps as y, normalizeClass as E, createCommentVNode as I } from "vue";
1
+ import { defineComponent as F, useSlots as O, computed as n, createBlock as m, createCommentVNode as j, openBlock as d, unref as s, mergeProps as b, createSlots as g, withCtx as r, createElementVNode as x, normalizeStyle as E, resolveDynamicComponent as k, h as A, createVNode as i, renderList as B, renderSlot as C, normalizeProps as v, guardReactiveProps as y, normalizeClass as I } from "vue";
2
2
  import { DropdownButton as q, Dropdown as H } from "@aplus-frontend/antdv";
3
3
  import "../../ap-button/index.mjs";
4
4
  import "./MenuItemGroup.vue.mjs";
@@ -61,7 +61,7 @@ const ie = /* @__PURE__ */ F({
61
61
  return D({
62
62
  columns: T,
63
63
  dataSource: N
64
- }), (t, o) => c.value.length && P.value === "dropdown" ? (m(), d(s(q), b({
64
+ }), (t, o) => c.value.length && P.value === "dropdown" ? (d(), m(s(q), b({
65
65
  key: 0,
66
66
  class: [s(h)()]
67
67
  }, {
@@ -75,12 +75,12 @@ const ie = /* @__PURE__ */ F({
75
75
  }, { "menu-list": c.value }), null, 16, ["menu-list"])
76
76
  ]),
77
77
  default: r(() => [
78
- j("span", {
79
- style: x({
78
+ x("span", {
79
+ style: E({
80
80
  color: V.value
81
81
  })
82
82
  }, [
83
- (m(), d(k(A("span", [_.value]))))
83
+ (d(), m(k(A("span", [_.value]))))
84
84
  ], 4)
85
85
  ]),
86
86
  _: 2
@@ -91,9 +91,9 @@ const ie = /* @__PURE__ */ F({
91
91
  C(t.$slots, l, v(y(f || {})))
92
92
  ])
93
93
  }))
94
- ]), 1040, ["class"])) : c.value.length && P.value === "default" ? (m(), d(s(H), {
94
+ ]), 1040, ["class"])) : c.value.length && P.value === "default" ? (d(), m(s(H), {
95
95
  key: 1,
96
- class: E([s(h)()]),
96
+ class: I([s(h)()]),
97
97
  disabled: p.value
98
98
  }, g({
99
99
  overlay: r(() => [
@@ -108,7 +108,7 @@ const ie = /* @__PURE__ */ F({
108
108
  type: u.value
109
109
  })), {
110
110
  default: r(() => [
111
- (m(), d(k(A("span", [_.value])))),
111
+ (d(), m(k(A("span", [_.value])))),
112
112
  i(s(J))
113
113
  ]),
114
114
  _: 1
@@ -122,7 +122,7 @@ const ie = /* @__PURE__ */ F({
122
122
  C(t.$slots, l, v(y(f || {})))
123
123
  ])
124
124
  }))
125
- ]), 1032, ["class", "disabled"])) : I("", !0);
125
+ ]), 1032, ["class", "disabled"])) : j("", !0);
126
126
  }
127
127
  });
128
128
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, ref as v, openBlock as s, createBlock as a, unref as u, withCtx as d, createElementBlock as h, Fragment as t, renderList as y, mergeProps as k, createElementVNode as w, withDirectives as g, createVNode as C, vShow as b, resolveDynamicComponent as L, h as M } from "vue";
1
+ import { defineComponent as _, ref as v, createBlock as a, openBlock as s, unref as u, withCtx as d, createElementBlock as h, Fragment as t, renderList as y, mergeProps as k, createElementVNode as w, withDirectives as g, createVNode as C, vShow as b, resolveDynamicComponent as L, h as M } from "vue";
2
2
  import { LoadingOutlined as B } from "@ant-design/icons-vue";
3
3
  import { Menu as R, MenuItem as x } from "@aplus-frontend/antdv";
4
4
  const D = { style: { display: "flex", "align-items": "center" } }, P = /* @__PURE__ */ _({
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
3
3
  import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
4
4
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
5
5
  import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
6
- import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
7
6
  import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
7
+ import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
8
8
  import { Key } from '@aplus-frontend/antdv/es/_util/type';
9
9
  import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
10
10
  import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
@@ -63,7 +63,7 @@ declare const ApBatchActionGroup: {
63
63
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
64
64
  };
65
65
  }>>, "type" | "onClick"> & {
66
- type?: ButtonProps["type"] | "borderLink";
66
+ type?: ( ButtonType | undefined) | "borderLink";
67
67
  borderLinkColor?: string;
68
68
  minWidth?: boolean | number | string;
69
69
  lazy?: boolean | number;
@@ -364,7 +364,7 @@ declare const ApBatchActionGroup: {
364
364
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
365
365
  };
366
366
  }>>, "type" | "onClick"> & {
367
- type?: ButtonProps["type"] | "borderLink";
367
+ type?: ( ButtonType | undefined) | "borderLink";
368
368
  borderLinkColor?: string;
369
369
  minWidth?: boolean | number | string;
370
370
  lazy?: boolean | number;
@@ -1,4 +1,4 @@
1
- import { defineComponent as k, computed as T, openBlock as t, createBlock as u, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, mergeProps as l, resolveDynamicComponent as f, h as y, createCommentVNode as B } from "vue";
1
+ import { defineComponent as k, computed as T, createBlock as u, openBlock as t, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, createCommentVNode as B, mergeProps as l, resolveDynamicComponent as f, h as y } from "vue";
2
2
  import { Space as x } from "@aplus-frontend/antdv";
3
3
  import "../../ap-button/ap-button.vue2.mjs";
4
4
  import "../../ap-button/ap-action-button.vue2.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, computed as r, openBlock as t, createElementBlock as s, normalizeClass as C, unref as u, normalizeStyle as h, createBlock as a, mergeProps as S, createSlots as B, withCtx as x, isVNode as P, resolveDynamicComponent as y, toDisplayString as _, createCommentVNode as N, renderSlot as $ } from "vue";
1
+ import { defineComponent as g, computed as r, createElementBlock as s, openBlock as t, normalizeStyle as C, normalizeClass as h, unref as u, createBlock as a, createCommentVNode as S, renderSlot as B, mergeProps as N, createSlots as $, withCtx as x, isVNode as P, resolveDynamicComponent as y, toDisplayString as _ } from "vue";
2
2
  import "../ap-title/ApTitle.vue.mjs";
3
3
  import { omit as b } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
@@ -20,17 +20,17 @@ const V = { key: 1 }, j = { key: 1 }, G = /* @__PURE__ */ g({
20
20
  return (n, w) => {
21
21
  var m, d;
22
22
  return t(), s("div", {
23
- class: C([u(f)()]),
24
- style: h({
23
+ class: h([u(f)()]),
24
+ style: C({
25
25
  padding: p.value
26
26
  })
27
27
  }, [
28
- c.value ? (t(), a(D, S({
28
+ c.value ? (t(), a(D, N({
29
29
  key: 0,
30
30
  class: [`${u(f)()}-title`]
31
31
  }, {
32
32
  ...v.value
33
- }), B({ _: 2 }, [
33
+ }), $({ _: 2 }, [
34
34
  (m = e == null ? void 0 : e.titleProps) != null && m.suffix ? {
35
35
  name: "suffix",
36
36
  fn: x(() => {
@@ -51,8 +51,8 @@ const V = { key: 1 }, j = { key: 1 }, G = /* @__PURE__ */ g({
51
51
  }),
52
52
  key: "1"
53
53
  } : void 0
54
- ]), 1040, ["class"])) : N("", !0),
55
- $(n.$slots, "default")
54
+ ]), 1040, ["class"])) : S("", !0),
55
+ B(n.$slots, "default")
56
56
  ], 6);
57
57
  };
58
58
  }
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
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
5
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
@@ -23,9 +23,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
23
23
  }): any;
24
24
  };
25
25
  emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
26
- }>) => VNode<RendererNode, RendererElement, {
27
- [key: string]: any;
28
- }> & {
26
+ }>) => VNode & {
29
27
  __ctx?: Awaited<typeof __VLS_setup>;
30
28
  };
31
29
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, openBlock as a, createElementBlock as i, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createBlock as S, createElementVNode as $, toDisplayString as u, createCommentVNode as H, normalizeStyle as y, renderSlot as I, resolveDynamicComponent as L, Fragment as C, renderList as j, createTextVNode as J } from "vue";
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
2
  import { DownOutlined as P } from "@ant-design/icons-vue";
3
3
  import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
4
4
  import { ApActionItem as X } from "../../ap-action/index.mjs";
@@ -102,14 +102,14 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
102
102
  class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
103
103
  }, {
104
104
  action: m(() => [
105
- h.value ? (a(), S(t(X), {
105
+ h.value ? (a(), $(t(X), {
106
106
  key: 0,
107
107
  size: "small",
108
108
  style: { "font-size": "12px", "padding-left": "16px" },
109
109
  onClick: r[0] || (r[0] = (s) => q())
110
110
  }, {
111
111
  default: m(() => [
112
- $("span", {
112
+ S("span", {
113
113
  class: n(t(o)("expandText"))
114
114
  }, u(F.value), 3),
115
115
  b(t(P), {
@@ -117,21 +117,21 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
117
117
  }, null, 8, ["class"])
118
118
  ]),
119
119
  _: 1
120
- })) : H("", !0)
120
+ })) : L("", !0)
121
121
  ]),
122
122
  message: m(() => [
123
- $("div", {
123
+ S("div", {
124
124
  ref_key: "ellipsisBoxRef",
125
125
  ref: d,
126
126
  style: y({ ...R.value, ...e.contentStyle }),
127
127
  class: n(t(o)("alertContent"))
128
128
  }, [
129
- I(e.$slots, "default", {}, () => [
129
+ H(e.$slots, "default", {}, () => [
130
130
  t(E)(e.prefix) ? (a(), i("span", {
131
131
  key: 0,
132
132
  class: n(t(o)("prefix")),
133
133
  style: y(e.prefixStyle)
134
- }, u(e.prefix), 7)) : (a(), S(L(e.prefix), {
134
+ }, u(e.prefix), 7)) : (a(), $(I(e.prefix), {
135
135
  key: 1,
136
136
  style: y(e.prefixStyle)
137
137
  }, null, 8, ["style"])),
@@ -143,11 +143,11 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
143
143
  title: e.tipTitle ? e.tipTitle : null
144
144
  }, {
145
145
  default: m(() => [
146
- I(e.$slots, "item", {
146
+ H(e.$slots, "item", {
147
147
  record: s,
148
148
  index: w
149
149
  }, () => [
150
- $("span", {
150
+ S("span", {
151
151
  class: n(t(o)("showItem")),
152
152
  onClick: (ae) => e.$emit("choose", s)
153
153
  }, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
@@ -162,8 +162,8 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
162
162
  }, [
163
163
  t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
164
164
  J(u(e.separator), 1)
165
- ], 64)) : (a(), S(L(e.separator), { key: 1 }))
166
- ], 6)) : H("", !0)
165
+ ], 64)) : (a(), $(I(e.separator), { key: 1 }))
166
+ ], 6)) : L("", !0)
167
167
  ], 64))), 128))
168
168
  ])
169
169
  ], 6)
@@ -1,4 +1,4 @@
1
- import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
1
+ import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
2
2
  export * from './interface';
3
3
  declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
4
4
  attrs: any;
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
20
20
  props: {
21
21
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
22
22
  readonly onChoose?: ((args_0: T) => any) | undefined;
23
- type?: "warning" | "error" | "success" | "info" | "card" | undefined;
23
+ type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
24
24
  data?: string | T[] | undefined;
25
25
  prefix?: string | undefined;
26
26
  tipTitle?: string | undefined;
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
29
29
  separatorStyle?: CSSProperties | undefined;
30
30
  contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
31
31
  prefixStyle?: CSSProperties | undefined;
32
- rows?: (string | number) | undefined;
32
+ rows?: string | number | undefined;
33
33
  defaultExpand?: boolean | undefined;
34
34
  showIcon?: boolean | undefined;
35
35
  } & PublicProps;
@@ -51,9 +51,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
51
51
  }): any;
52
52
  };
53
53
  emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
54
- }>) => VNode<RendererNode, RendererElement, {
55
- [key: string]: any;
56
- }> & {
54
+ }>) => VNode & {
57
55
  __ctx?: Awaited<typeof __VLS_setup>;
58
56
  }) & ( Plugin & (new (...args: any[]) => {
59
57
  $props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, ref as A, computed as s, watch as V, openBlock as d, createElementBlock as $, Fragment as q, createBlock as y, unref as a, mergeProps as M, withCtx as n, createTextVNode as x, toDisplayString as g, createCommentVNode as B, normalizeClass as z, createVNode as h } from "vue";
1
+ import { defineComponent as O, ref as A, computed as s, watch as V, createElementBlock as $, openBlock as d, Fragment as q, createBlock as y, createCommentVNode as M, unref as a, mergeProps as B, withCtx as n, createTextVNode as x, toDisplayString as g, normalizeClass as z, createVNode as h } from "vue";
2
2
  import { DownOutlined as U } from "@ant-design/icons-vue";
3
3
  import { message as H, Dropdown as J, Menu as Q, MenuItem as G } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
@@ -90,7 +90,7 @@ const ge = /* @__PURE__ */ O({
90
90
  }
91
91
  }
92
92
  return (t, l) => (d(), $(q, null, [
93
- L.value && e.type === "button" ? (d(), y(a(P), M({ key: 0 }, {
93
+ L.value && e.type === "button" ? (d(), y(a(P), B({ key: 0 }, {
94
94
  ...t.$attrs
95
95
  }, {
96
96
  disabled: m.value,
@@ -102,7 +102,7 @@ const ge = /* @__PURE__ */ O({
102
102
  x(g((e == null ? void 0 : e.text) ?? a(r)("ap.apExportGroup.export")), 1)
103
103
  ]),
104
104
  _: 1
105
- }, 16, ["disabled", "loading"])) : B("", !0),
105
+ }, 16, ["disabled", "loading"])) : M("", !0),
106
106
  L.value && e.type === "dropdown" ? (d(), y(a(J), {
107
107
  key: 1,
108
108
  open: p.value,
@@ -139,7 +139,7 @@ const ge = /* @__PURE__ */ O({
139
139
  })
140
140
  ]),
141
141
  default: n(() => [
142
- h(a(P), M({
142
+ h(a(P), B({
143
143
  ...t.$attrs
144
144
  }, { loading: u.value }), {
145
145
  default: n(() => [
@@ -150,7 +150,7 @@ const ge = /* @__PURE__ */ O({
150
150
  }, 16, ["loading"])
151
151
  ]),
152
152
  _: 1
153
- }, 8, ["open", "class", "disabled"])) : B("", !0)
153
+ }, 8, ["open", "class", "disabled"])) : M("", !0)
154
154
  ], 64));
155
155
  }
156
156
  });