@aplus-frontend/ui 0.5.2 → 0.5.3

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 (162) 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 +3 -3
  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/index.mjs +30 -30
  16. package/es/src/ap-field/number/index.vue.mjs +8 -8
  17. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  18. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  19. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  20. package/es/src/ap-field/select/index.vue.mjs +2 -2
  21. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  22. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  23. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  24. package/es/src/ap-field/text/password.vue.mjs +2 -2
  25. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  26. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  27. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  28. package/es/src/ap-form/item/index.vue.mjs +7 -7
  29. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  30. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  31. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  32. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  33. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  34. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  35. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  36. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  38. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  39. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  40. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  41. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  42. package/es/src/ap-form/render/item.vue.mjs +2 -2
  43. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  44. package/es/src/ap-form/set/index.vue.mjs +1 -1
  45. package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
  46. package/es/src/ap-grid/index.vue.mjs +4 -4
  47. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  48. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  49. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  50. package/es/src/ap-list/index.vue.mjs +4 -4
  51. package/es/src/ap-table/ap-table.vue2.mjs +26 -26
  52. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  53. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  54. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  55. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  56. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  57. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  58. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  59. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  60. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  61. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  62. package/es/src/ap-table/constants.mjs +40 -40
  63. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  64. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  65. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  66. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  67. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  68. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  69. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  70. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  71. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  72. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  73. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  74. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  75. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  76. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  77. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  78. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  79. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  80. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  81. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  82. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  83. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  84. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  85. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  86. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
  87. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +1 -1
  88. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  89. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  90. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  91. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  92. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  93. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  94. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  95. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  96. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  97. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  98. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  99. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  100. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  101. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  102. package/es/src/check-card/index.vue2.mjs +3 -3
  103. package/es/src/editable-table/form-item.vue.mjs +2 -2
  104. package/es/src/editable-table/index.vue.mjs +2 -2
  105. package/es/src/full-screen/index.vue.mjs +3 -3
  106. package/es/src/hooks/useFullScreen.mjs +5 -5
  107. package/es/src/portal/index.vue.mjs +2 -2
  108. package/es/src/scroll-bar/index.vue.mjs +3 -3
  109. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  110. package/es/src/scroll-view/index.vue.mjs +9 -9
  111. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  112. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  113. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  114. package/lib/src/ap-field/index.js +1 -1
  115. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  116. package/lib/src/ap-table/constants.js +1 -1
  117. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  118. package/package.json +1 -1
  119. package/theme/antd-global-overwrite/admin/index.css +54 -54
  120. package/theme/antd-global-overwrite/admin/table.css +54 -54
  121. package/theme/antd-global-overwrite/admin/table.less +4 -3
  122. package/theme/antd-global-overwrite/aplus/index.css +54 -54
  123. package/theme/antd-global-overwrite/aplus/table.css +54 -54
  124. package/theme/antd-global-overwrite/aplus/table.less +4 -3
  125. package/es/src/theme/antd-global-overwrite/admin/alert.css +0 -50
  126. package/es/src/theme/antd-global-overwrite/admin/button.css +0 -27
  127. package/es/src/theme/antd-global-overwrite/admin/form.css +0 -60
  128. package/es/src/theme/antd-global-overwrite/admin/index.css +0 -838
  129. package/es/src/theme/antd-global-overwrite/admin/message.css +0 -17
  130. package/es/src/theme/antd-global-overwrite/admin/modal.css +0 -117
  131. package/es/src/theme/antd-global-overwrite/admin/pagination.css +0 -122
  132. package/es/src/theme/antd-global-overwrite/admin/steps.css +0 -127
  133. package/es/src/theme/antd-global-overwrite/admin/table.css +0 -318
  134. package/es/src/theme/antd-global-overwrite/aplus/alert.css +0 -50
  135. package/es/src/theme/antd-global-overwrite/aplus/button.css +0 -27
  136. package/es/src/theme/antd-global-overwrite/aplus/form.css +0 -93
  137. package/es/src/theme/antd-global-overwrite/aplus/index.css +0 -873
  138. package/es/src/theme/antd-global-overwrite/aplus/message.css +0 -17
  139. package/es/src/theme/antd-global-overwrite/aplus/modal.css +0 -111
  140. package/es/src/theme/antd-global-overwrite/aplus/pagination.css +0 -147
  141. package/es/src/theme/antd-global-overwrite/aplus/steps.css +0 -125
  142. package/es/src/theme/antd-global-overwrite/aplus/table.css +0 -303
  143. package/es/src/theme/reset.css +0 -257
  144. package/lib/src/theme/antd-global-overwrite/admin/alert.css +0 -50
  145. package/lib/src/theme/antd-global-overwrite/admin/button.css +0 -27
  146. package/lib/src/theme/antd-global-overwrite/admin/form.css +0 -60
  147. package/lib/src/theme/antd-global-overwrite/admin/index.css +0 -838
  148. package/lib/src/theme/antd-global-overwrite/admin/message.css +0 -17
  149. package/lib/src/theme/antd-global-overwrite/admin/modal.css +0 -117
  150. package/lib/src/theme/antd-global-overwrite/admin/pagination.css +0 -122
  151. package/lib/src/theme/antd-global-overwrite/admin/steps.css +0 -127
  152. package/lib/src/theme/antd-global-overwrite/admin/table.css +0 -318
  153. package/lib/src/theme/antd-global-overwrite/aplus/alert.css +0 -50
  154. package/lib/src/theme/antd-global-overwrite/aplus/button.css +0 -27
  155. package/lib/src/theme/antd-global-overwrite/aplus/form.css +0 -93
  156. package/lib/src/theme/antd-global-overwrite/aplus/index.css +0 -873
  157. package/lib/src/theme/antd-global-overwrite/aplus/message.css +0 -17
  158. package/lib/src/theme/antd-global-overwrite/aplus/modal.css +0 -111
  159. package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +0 -147
  160. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +0 -125
  161. package/lib/src/theme/antd-global-overwrite/aplus/table.css +0 -303
  162. package/lib/src/theme/reset.css +0 -257
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ne, useSlots as Ie, ref as h, computed as s, unref as t, watch as I, createElementBlock as k, openBlock as f, normalizeStyle as K, normalizeClass as m, createCommentVNode as Y, createElementVNode as E, createVNode as y, mergeProps as w, createSlots as Z, withCtx as v, Fragment as ee, renderList as oe, createBlock as re, resolveDynamicComponent as Ke, renderSlot as R, normalizeProps as Ee, guardReactiveProps as Oe } from "vue";
1
+ import { defineComponent as Ne, useSlots as Ie, ref as h, computed as s, unref as t, createVNode as f, Fragment as Y, watch as I, openBlock as m, createElementBlock as k, normalizeClass as y, normalizeStyle as K, mergeProps as w, createSlots as Z, withCtx as v, renderList as ee, createBlock as oe, resolveDynamicComponent as Ke, renderSlot as R, createCommentVNode as re, createElementVNode as E, normalizeProps as Ee, guardReactiveProps as Oe } from "vue";
2
2
  import { Divider as Ve, Table as Le } from "@aplus-frontend/antdv";
3
3
  import { useToken as $e } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { ApForm as Ae } from "../ap-form/index.mjs";
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as ae } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
7
  import { useTablePaging as De } from "./hooks/use-table-paging-ng.mjs";
8
8
  import { isUndefined as b, omit as te, isBoolean as We } from "lodash-unified";
9
- import { getColumnOrder as le, updateFormProps as je, getFieldProps as _e, getSearchFormItemRenderNode as He, recursionApColumns as ne, falseToUndefined as Ue, getTableTitle as qe, getTableRenderType as Me, getTableRenderProps as Ge, getTableCellRenderNode as Je, apColumnToColumn as Qe } from "./utils.mjs";
9
+ import { getColumnOrder as le, updateFormProps as je, getFieldProps as _e, getSearchFormItemRenderNode as He, recursionApColumns as ne, apColumnToColumn as Ue, getTableTitle as qe, getTableRenderType as Me, getTableRenderProps as Ge, getTableCellRenderNode as Je, falseToUndefined as Qe } from "./utils.mjs";
10
10
  import Xe from "./hooks/use-table-content-height.mjs";
11
11
  import Ye from "./hooks/use-table-row-selection.mjs";
12
12
  import { getScrollbarSize as Ze, isDef as eo } from "../utils/index.mjs";
@@ -17,9 +17,9 @@ import "../scroll-bar/index.mjs";
17
17
  import { useStickyScroll as ro } from "./hooks/use-sticky-scroll.mjs";
18
18
  import { useNamespace as ao } from "../config-provider/hooks/use-namespace.mjs";
19
19
  import { useGlobalConfig as to } from "../config-provider/hooks/use-global-config.mjs";
20
- import lo from "./components/setting/modal/index.vue2.mjs";
21
- import no from "../scroll-bar/index.vue.mjs";
22
- import so from "./components/paragraph-ellipsis/index.vue2.mjs";
20
+ import lo from "./components/paragraph-ellipsis/index.vue2.mjs";
21
+ import no from "./components/setting/modal/index.vue2.mjs";
22
+ import so from "../scroll-bar/index.vue.mjs";
23
23
  const No = /* @__PURE__ */ Ne({
24
24
  name: "ApTable",
25
25
  __name: "ap-table",
@@ -243,7 +243,7 @@ const No = /* @__PURE__ */ Ne({
243
243
  function a(l, d) {
244
244
  return l.map((n) => ({
245
245
  resizable: eo(n.resizable) ? n.resizable : o.columnResizable,
246
- ...te(Qe(n), ["ellipsis"]),
246
+ ...te(Ue(n), ["ellipsis"]),
247
247
  // tips: 此函数内部依赖查询&筛选的相应式值
248
248
  ...he(n),
249
249
  fixed: d ? d.fixed : n.fixed,
@@ -262,7 +262,7 @@ const No = /* @__PURE__ */ Ne({
262
262
  }), ze = Je(G, Be, S.record, t(L)), J = ((Q = n.renderText) == null ? void 0 : Q.call(n, {
263
263
  value: p,
264
264
  ...S
265
- })) || p, Pe = n.renderText ? y(ee, null, [(X = n.renderText) == null ? void 0 : X.call(n, {
265
+ })) || p, Pe = n.renderText ? f(Y, null, [(X = n.renderText) == null ? void 0 : X.call(n, {
266
266
  value: p,
267
267
  ...S
268
268
  })]) : ze;
@@ -312,7 +312,7 @@ const No = /* @__PURE__ */ Ne({
312
312
  ...a,
313
313
  // tips 如果是前端分页,则默认会走缓存
314
314
  preserveSelectedRowKeys: b(o.dataSource) ? a.preserveSelectedRowKeys : !0
315
- } : Ue(o.rowSelection),
315
+ } : Qe(o.rowSelection),
316
316
  loading: b(o.loading) ? e.loading : o.loading,
317
317
  pagination: o.pagination === !1 ? !1 : e.pagination,
318
318
  scroll: t(ve)
@@ -322,7 +322,7 @@ const No = /* @__PURE__ */ Ne({
322
322
  return [c(), o.card ? null : c("wrapper"), o.adaptive ? c("adaptive") : null, D.value && ((e = i.value) != null && e.visible) ? ie(`sticky-${j === 0 ? "absolute" : "relative"}`) : null].filter(Boolean);
323
323
  });
324
324
  function Te(e, a, r) {
325
- return ae.includes(e.valueType) ? r : e.copyable || e.ellipsis ? y(so, {
325
+ return ae.includes(e.valueType) ? r : e.copyable || e.ellipsis ? f(lo, {
326
326
  copyable: e.copyable,
327
327
  ellipsis: e.ellipsis ? We(e.ellipsis) ? {
328
328
  tooltip: r,
@@ -379,18 +379,18 @@ const No = /* @__PURE__ */ Ne({
379
379
  },
380
380
  y: void 0
381
381
  }
382
- }), (e, a) => (f(), k("div", {
382
+ }), (e, a) => (m(), k("div", {
383
383
  ref_key: "tableWrapperRef",
384
384
  ref: $,
385
- class: m(Ce.value),
385
+ class: y(Ce.value),
386
386
  style: K(t(ce)({
387
387
  "scroll-bar-width": `${t(j)}px`
388
388
  }))
389
- }, [t(b)(e.dataSource) && e.searchForm !== !1 && _.value.length > 0 ? (f(), k("div", {
389
+ }, [t(b)(e.dataSource) && e.searchForm !== !1 && _.value.length > 0 ? (m(), k("div", {
390
390
  key: 0,
391
- class: m(e.card ? t(B)("search-wrapper") : null),
391
+ class: y(e.card ? t(B)("search-wrapper") : null),
392
392
  style: K(e.searchFormWrapperStyle)
393
- }, [y(t(Ae).SearchForm, w(e.searchForm || {}, {
393
+ }, [f(t(Ae).SearchForm, w(e.searchForm || {}, {
394
394
  ref_key: "formRef",
395
395
  ref: P,
396
396
  "custom-reset": "",
@@ -398,7 +398,7 @@ const No = /* @__PURE__ */ Ne({
398
398
  onSubmit: t(H),
399
399
  onReset: t(U)
400
400
  }), Z({
401
- default: v(() => [(f(!0), k(ee, null, oe(_.value, (r) => (f(), re(Ke(r.renderNode.Comp), w({
401
+ default: v(() => [(m(!0), k(Y, null, ee(_.value, (r) => (m(), oe(Ke(r.renderNode.Comp), w({
402
402
  key: r.dataIndex,
403
403
  item: r,
404
404
  ref_for: !0
@@ -411,33 +411,33 @@ const No = /* @__PURE__ */ Ne({
411
411
  name: "extra",
412
412
  fn: v(() => [R(e.$slots, "searchFormExtra")]),
413
413
  key: "0"
414
- } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : Y("", !0), E("div", {
414
+ } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : re("", !0), E("div", {
415
415
  ref_key: "contentRef",
416
416
  ref: fe,
417
- class: m([t(B)("table-wrapper"), e.card ? t(B)("table-wrapper-card") : null]),
417
+ class: y([t(B)("table-wrapper"), e.card ? t(B)("table-wrapper-card") : null]),
418
418
  style: K(e.tableWrapperStyle)
419
419
  }, [E("div", {
420
- class: m(t(c)("header-wrapper"))
421
- }, [e.settings ? (f(), k("div", {
420
+ class: y(t(c)("header-wrapper"))
421
+ }, [e.settings ? (m(), k("div", {
422
422
  key: 0,
423
- class: m(t(c)("header"))
423
+ class: y(t(c)("header"))
424
424
  }, [E("div", {
425
- class: m(t(V)("header", "title"))
425
+ class: y(t(V)("header", "title"))
426
426
  }, [R(e.$slots, "title", w({
427
427
  selectedRows: t(F),
428
428
  selectedRowKeys: t(T).selectedRowKeys,
429
429
  shownColumns: u.value
430
- }, x))], 2), C.title ? (f(), re(t(Ve), {
430
+ }, x))], 2), C.title ? (m(), oe(t(Ve), {
431
431
  key: 0,
432
432
  type: "vertical"
433
- })) : Y("", !0), y(lo, {
433
+ })) : re("", !0), f(no, {
434
434
  config: e.settings === !0 ? {} : e.settings
435
435
  }, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
436
436
  key: 1,
437
437
  selectedRows: t(F),
438
438
  selectedRowKeys: t(T).selectedRowKeys,
439
439
  shownColumns: u.value
440
- }, x))], 2), y(t(Le), w({
440
+ }, x))], 2), f(t(Le), w({
441
441
  ref_key: "antdTableRef",
442
442
  ref: A,
443
443
  class: t(c)("table")
@@ -457,7 +457,7 @@ const No = /* @__PURE__ */ Ne({
457
457
  name: "bottomPaginationTop",
458
458
  fn: v(() => {
459
459
  var r, l;
460
- return [y(t(no), {
460
+ return [f(t(so), {
461
461
  ref_key: "scrollBarRef",
462
462
  ref: i,
463
463
  "scroll-container": (l = (r = A.value) == null ? void 0 : r.table) == null ? void 0 : l.scrollBodyRef,
@@ -465,7 +465,7 @@ const No = /* @__PURE__ */ Ne({
465
465
  }, null, 8, ["scroll-container"])];
466
466
  }),
467
467
  key: "0"
468
- } : void 0, oe(t(te)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, l) => ({
468
+ } : void 0, ee(t(te)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, l) => ({
469
469
  name: l,
470
470
  fn: v((d) => [R(e.$slots, l, Ee(Oe(d || {})))])
471
471
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, createBlock as o, openBlock as t, resolveDynamicComponent as r } from "vue";
1
+ import { defineComponent as n, openBlock as o, createBlock as t, resolveDynamicComponent as r } from "vue";
2
2
  const s = /* @__PURE__ */ n({
3
3
  name: "ApTableDynamicComponent",
4
4
  inheritAttrs: !1,
@@ -7,7 +7,7 @@ const s = /* @__PURE__ */ n({
7
7
  customRender: { type: Function }
8
8
  },
9
9
  setup(p) {
10
- return (e, a) => (t(), o(r(e.customRender(e.$attrs))));
10
+ return (e, a) => (o(), t(r(e.customRender(e.$attrs))));
11
11
  }
12
12
  });
13
13
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as l, createElementBlock as s, openBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
1
+ import { defineComponent as n, computed as l, openBlock as s, createElementBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
4
4
  const _ = /* @__PURE__ */ n({
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ n({
10
10
  },
11
11
  setup(e) {
12
12
  const o = e, { m: a } = c("ap-table-index"), r = l(() => [o.bordered ? a("bordered") : null].filter(Boolean));
13
- return (t, i) => (p(), s("div", {
13
+ return (t, i) => (s(), p("div", {
14
14
  class: d(r.value)
15
15
  }, m(t.value), 3));
16
16
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, ref as _, computed as B, createElementBlock as f, openBlock as i, mergeProps as E, unref as l, createElementVNode as O, createCommentVNode as N, normalizeClass as y, createVNode as v, createSlots as j, withCtx as m, createBlock as c, resolveDynamicComponent as b, h } from "vue";
1
+ import { defineComponent as x, ref as _, computed as B, openBlock as i, createElementBlock as f, mergeProps as E, unref as l, createElementVNode as O, normalizeClass as y, createVNode as v, createSlots as N, withCtx as m, createBlock as c, resolveDynamicComponent as b, h, createCommentVNode as j } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { Tooltip as w } from "@aplus-frontend/antdv";
4
4
  import { CopyOutlined as S, CheckOutlined as V } from "@ant-design/icons-vue";
@@ -65,7 +65,7 @@ const G = /* @__PURE__ */ x({
65
65
  O("div", {
66
66
  class: y([l(u)("content")])
67
67
  }, [
68
- v(l(w), null, j({
68
+ v(l(w), null, N({
69
69
  default: m(() => {
70
70
  var s;
71
71
  return [
@@ -98,7 +98,7 @@ const G = /* @__PURE__ */ x({
98
98
  ]),
99
99
  _: 1
100
100
  }, 8, ["title"])
101
- ], 2)) : N("", !0)
101
+ ], 2)) : j("", !0)
102
102
  ], 16);
103
103
  };
104
104
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M, createElementBlock as P, openBlock as x, Fragment as q, createBlock as J, createCommentVNode as Q, resolveDynamicComponent as W, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as c, createTextVNode as C, isRef as X } from "vue";
1
+ import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M, openBlock as x, createElementBlock as P, Fragment as q, createBlock as J, resolveDynamicComponent as Q, createCommentVNode as W, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as c, createTextVNode as C, isRef as X } from "vue";
2
2
  import { Button as B, Modal as Y, RadioGroup as Z, RadioButton as _, Divider as h } from "@aplus-frontend/antdv";
3
3
  import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
4
4
  import { useInjectApTable as te } from "../../../context.mjs";
@@ -62,9 +62,9 @@ const re = {
62
62
  const p = N(n.value);
63
63
  E(p), I(p), (o = (t = m.config) == null ? void 0 : t.onChange) == null || o.call(t, p);
64
64
  }
65
- return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(W(e(k)), {
65
+ return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(Q(e(k)), {
66
66
  key: 0
67
- })) : Q("", !0), l(e(Y), {
67
+ })) : W("", !0), l(e(Y), {
68
68
  open: u.value,
69
69
  "onUpdate:open": t[2] || (t[2] = (o) => u.value = o),
70
70
  title: e(a)("ap.apTable.setting.title"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, createElementBlock as v, openBlock as s, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
1
+ import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, openBlock as s, createElementBlock as v, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
2
2
  import { Checkbox as b, Row as F, Col as I } from "@aplus-frontend/antdv";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { useInjectApTable as R } from "../../../context.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as c, createElementBlock as u, openBlock as n, normalizeClass as m, unref as r, createVNode as i, createCommentVNode as p, withCtx as k, createBlock as y } from "vue";
1
+ import { defineComponent as f, ref as c, openBlock as n, createElementBlock as u, normalizeClass as m, unref as r, createVNode as i, withCtx as k, createBlock as y, createCommentVNode as p } from "vue";
2
2
  import "./item.vue.mjs";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import V from "vuedraggable";
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, createElementBlock as g, openBlock as s, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
1
+ import { defineComponent as E, openBlock as s, createElementBlock as g, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
2
2
  import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
3
3
  import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
4
4
  import "../../../../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as L, computed as O, watch as $, createElementBlock as y, openBlock as c, normalizeClass as d, unref as n, createVNode as m, createElementVNode as v, withCtx as g, toDisplayString as k, createTextVNode as q, createCommentVNode as p, createBlock as b } from "vue";
1
+ import { defineComponent as A, ref as L, unref as n, computed as O, watch as $, openBlock as c, createElementBlock as y, normalizeClass as d, createVNode as m, withCtx as v, createElementVNode as g, toDisplayString as k, createTextVNode as q, createBlock as b, createCommentVNode as p } from "vue";
2
2
  import { Flex as G, Button as H, Divider as J } from "@aplus-frontend/antdv";
3
3
  import N from "vuedraggable";
4
4
  import "../sortable/index.vue.mjs";
@@ -112,8 +112,8 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
112
112
  align: "center",
113
113
  justify: "space-between"
114
114
  }, {
115
- default: g(() => [
116
- v("span", {
115
+ default: v(() => [
116
+ g("span", {
117
117
  class: d(n(r)("header-title"))
118
118
  }, k(n(h)("ap.apTable.setting.selectCount", { count: z.value })), 3),
119
119
  m(n(H), {
@@ -122,7 +122,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
122
122
  style: { padding: "0" },
123
123
  onClick: x.onReset
124
124
  }, {
125
- default: g(() => [
125
+ default: v(() => [
126
126
  q(k(n(h)("ap.apTable.setting.reset")), 1)
127
127
  ]),
128
128
  _: 1
@@ -131,11 +131,11 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
131
131
  _: 1
132
132
  }, 8, ["class"]),
133
133
  m(n(J), { style: { margin: "0px" } }),
134
- v("div", {
134
+ g("div", {
135
135
  class: d(n(r)("content"))
136
136
  }, [
137
137
  i.value.length ? (c(), y("div", W, [
138
- v("span", {
138
+ g("span", {
139
139
  class: d(n(r)("section-title"))
140
140
  }, k(n(h)("ap.apTable.setting.fixToLeft")), 3),
141
141
  m(n(N), {
@@ -143,7 +143,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
143
143
  "item-key": "key",
144
144
  "onUpdate:modelValue": D
145
145
  }, {
146
- item: g(({ element: o }) => [
146
+ item: v(({ element: o }) => [
147
147
  C(o) ? (c(), b(R, {
148
148
  key: 0,
149
149
  value: o
@@ -153,7 +153,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
153
153
  }, 8, ["model-value"])
154
154
  ])) : p("", !0),
155
155
  s.value.length ? (c(), y("div", X, [
156
- v("span", {
156
+ g("span", {
157
157
  class: d(n(r)("section-title"))
158
158
  }, k(n(h)("ap.apTable.setting.unFixed")), 3),
159
159
  m(n(N), {
@@ -161,7 +161,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
161
161
  "item-key": "key",
162
162
  "onUpdate:modelValue": E
163
163
  }, {
164
- item: g(({ element: o }) => [
164
+ item: v(({ element: o }) => [
165
165
  C(o) ? (c(), b(R, {
166
166
  key: 0,
167
167
  value: o
@@ -171,7 +171,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
171
171
  }, 8, ["model-value"])
172
172
  ])) : p("", !0),
173
173
  u.value.length ? (c(), y("div", Y, [
174
- v("span", {
174
+ g("span", {
175
175
  class: d(n(r)("section-title"))
176
176
  }, k(n(h)("ap.apTable.setting.fixToRight")), 3),
177
177
  m(n(N), {
@@ -179,7 +179,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
179
179
  "item-key": "key",
180
180
  "onUpdate:modelValue": j
181
181
  }, {
182
- item: g(({ element: o }) => [
182
+ item: v(({ element: o }) => [
183
183
  C(o) ? (c(), b(R, {
184
184
  key: 0,
185
185
  value: o
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, computed as w, unref as o, createElementBlock as i, openBlock as c, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
1
+ import { defineComponent as x, computed as w, unref as o, openBlock as c, createElementBlock as i, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
2
2
  import { Row as N, Col as k, Checkbox as P } from "@aplus-frontend/antdv";
3
3
  import "../select-group/index.vue.mjs";
4
4
  import { useInjectApTable as U } from "../../../context.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as o, createBlock as u, createCommentVNode as a, openBlock as m, unref as p, normalizeProps as l, mergeProps as c } from "vue";
1
+ import { defineComponent as n, computed as o, openBlock as u, createBlock as a, unref as m, normalizeProps as p, mergeProps as l, createCommentVNode as c } from "vue";
2
2
  import { Badge as s } from "@aplus-frontend/antdv";
3
3
  const _ = /* @__PURE__ */ n({
4
4
  name: "ApTableStatus",
@@ -9,7 +9,7 @@ const _ = /* @__PURE__ */ n({
9
9
  },
10
10
  setup(t) {
11
11
  const e = t, r = o(() => e.valueEnum[e.value]);
12
- return (d, f) => r.value ? (m(), u(p(s), l(c({ key: 0 }, r.value)), null, 16)) : a("", !0);
12
+ return (d, f) => r.value ? (u(), a(m(s), p(l({ key: 0 }, r.value)), null, 16)) : c("", !0);
13
13
  }
14
14
  });
15
15
  export {
@@ -3,53 +3,53 @@ import "../ap-field/index.mjs";
3
3
  import "../ap-form/index.mjs";
4
4
  import "./components/index/index.vue.mjs";
5
5
  import "./components/status/index.vue.mjs";
6
+ import o from "../ap-form/items/date/index.vue.mjs";
7
+ import r from "../ap-form/items/date-range/index.vue.mjs";
8
+ import i from "../ap-form/items/number/index.vue.mjs";
9
+ import t from "../ap-form/items/radio/index.vue.mjs";
10
+ import a from "../ap-form/items/select/index.vue.mjs";
11
+ import f from "../ap-form/items/switch/index.vue.mjs";
6
12
  import { ApFormItemText as m } from "../ap-form/items/text/index.mjs";
7
- import o from "../ap-form/items/checkbox/index.vue.mjs";
8
- import r from "../ap-form/items/text-area/index.vue.mjs";
9
- import i from "../ap-form/items/switch/index.vue.mjs";
10
- import t from "../ap-form/items/select/index.vue.mjs";
11
- import a from "../ap-form/items/radio/index.vue.mjs";
12
- import f from "../ap-form/items/number/index.vue.mjs";
13
- import _ from "../ap-form/items/date-range/index.vue.mjs";
14
- import e from "../ap-form/items/date/index.vue.mjs";
15
- import s from "../ap-field/text/password.vue.mjs";
16
- import p from "./components/status/index.vue2.mjs";
17
- import c from "./components/index/index.vue2.mjs";
18
- import n from "../ap-action/group/index.vue.mjs";
19
- import $ from "../ap-field/checkbox/index.vue.mjs";
20
- import d from "../ap-field/text-area/index.vue.mjs";
13
+ import _ from "../ap-form/items/text-area/index.vue.mjs";
14
+ import e from "../ap-form/items/checkbox/index.vue.mjs";
15
+ import s from "../ap-field/date/index.vue.mjs";
16
+ import p from "../ap-field/date-range/index.vue.mjs";
17
+ import c from "../ap-field/number/index.vue.mjs";
18
+ import n from "../ap-field/radio/index.vue.mjs";
19
+ import $ from "../ap-field/select/index.vue.mjs";
20
+ import d from "../ap-field/switch/index.vue.mjs";
21
21
  import { ApFieldText as x } from "../ap-field/text/index.mjs";
22
- import b from "../ap-field/switch/index.vue.mjs";
23
- import l from "../ap-field/select/index.vue.mjs";
24
- import h from "../ap-field/radio/index.vue.mjs";
25
- import w from "../ap-field/number/index.vue.mjs";
26
- import A from "../ap-field/date-range/index.vue.mjs";
27
- import u from "../ap-field/date/index.vue.mjs";
22
+ import b from "../ap-field/text-area/index.vue.mjs";
23
+ import l from "../ap-field/checkbox/index.vue.mjs";
24
+ import h from "../ap-action/group/index.vue.mjs";
25
+ import w from "./components/index/index.vue2.mjs";
26
+ import A from "./components/status/index.vue2.mjs";
27
+ import u from "../ap-field/text/password.vue.mjs";
28
28
  const U = {
29
- date: e,
30
- dateRange: _,
31
- number: f,
32
- radio: a,
33
- select: t,
34
- switch: i,
29
+ date: o,
30
+ dateRange: r,
31
+ number: i,
32
+ radio: t,
33
+ select: a,
34
+ switch: f,
35
35
  text: m,
36
- textArea: r,
37
- checkbox: o,
36
+ textArea: _,
37
+ checkbox: e,
38
38
  password: m.Password
39
39
  }, W = {
40
- date: u,
41
- dateRange: A,
42
- number: w,
43
- radio: h,
44
- select: l,
45
- switch: b,
40
+ date: s,
41
+ dateRange: p,
42
+ number: c,
43
+ radio: n,
44
+ select: $,
45
+ switch: d,
46
46
  text: x,
47
- textArea: d,
48
- checkbox: $,
49
- action: n,
50
- index: c,
51
- status: p,
52
- password: s
47
+ textArea: b,
48
+ checkbox: l,
49
+ action: h,
50
+ index: w,
51
+ status: A,
52
+ password: u
53
53
  }, X = [
54
54
  "action",
55
55
  "index"
@@ -2,7 +2,7 @@ import { ref as P, shallowRef as W, unref as i, computed as X, watchEffect as q
2
2
  import { isDef as H } from "../../utils/index.mjs";
3
3
  import L, { customCloneColumnStates as T, getColumnStateString as Q } from "../components/setting/utils.mjs";
4
4
  import { useInjectApTable as U } from "../context.mjs";
5
- import { isObject as N, mergeWith as F, isBoolean as V, omit as Y, isString as Z, isNumber as B } from "lodash-unified";
5
+ import { isObject as N, mergeWith as F, isBoolean as V, isString as Y, omit as Z, isNumber as B } from "lodash-unified";
6
6
  import "../../config-provider/index.mjs";
7
7
  import { useToken as $ } from "@aplus-frontend/antdv/es/theme/internal";
8
8
  import { getTableTitle as K } from "../utils.mjs";
@@ -46,7 +46,7 @@ const he = (r, o, n) => {
46
46
  var y, A;
47
47
  const b = (m == null ? void 0 : m[f.key]) || {}, g = {
48
48
  key: f.key,
49
- label: Z(f.title) ? K(
49
+ label: Y(f.title) ? K(
50
50
  f,
51
51
  a("table-header", "title"),
52
52
  void 0,
@@ -60,7 +60,7 @@ const he = (r, o, n) => {
60
60
  G
61
61
  ),
62
62
  disabled: !1,
63
- ...Y(b, ["children", "fixed"])
63
+ ...Z(b, ["children", "fixed"])
64
64
  };
65
65
  return g.children = (A = f.children) != null && A.length ? d(
66
66
  f.children,
@@ -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 C, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, openBlock as c, createBlock as d, mergeProps as b, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as k, createElementVNode as o, normalizeClass as W, normalizeStyle as _, createElementBlock as T, Fragment as F, renderList as I, createCommentVNode 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 ue = /* @__PURE__ */ D({
79
79
  window.removeEventListener("resize", y);
80
80
  }), (e, t) => (c(), d(f(q), b({ trigger: "hover" }, $.value), {
81
81
  title: g(() => [
82
- I(e.$slots, "tooltip", { tags: e.list }, () => [
83
- U(T(L.value), 1)
82
+ R(e.$slots, "tooltip", { tags: e.list }, () => [
83
+ A(k(L.value), 1)
84
84
  ])
85
85
  ]),
86
86
  default: g(() => [
@@ -88,12 +88,12 @@ const ue = /* @__PURE__ */ D({
88
88
  ref_key: "container",
89
89
  ref: u,
90
90
  class: W(M.value),
91
- style: k({
91
+ style: _({
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
+ (c(!0), T(F, null, I(e.list, (s, l) => (c(), d(X, b({ 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 ue = /* @__PURE__ */ D({
102
102
  }), null, 16, ["style"]))), 128)),
103
103
  p.value && r.value.symbol === "icon" ? (c(), d(f(H), {
104
104
  key: 0,
105
- style: k({ color: e.ellipsisColor || r.value.iconColor })
105
+ style: _({ color: e.ellipsisColor || r.value.iconColor })
106
106
  }, {
107
107
  component: g(() => t[0] || (t[0] = [
108
108
  o("svg", {
@@ -160,10 +160,10 @@ const ue = /* @__PURE__ */ D({
160
160
  ], -1)
161
161
  ])),
162
162
  _: 1
163
- }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(), _("span", {
163
+ }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(), T("span", {
164
164
  key: 1,
165
165
  class: W(P.value)
166
- }, T(r.value.text), 3)) : R("", !0)
166
+ }, k(r.value.text), 3)) : U("", !0)
167
167
  ], 6)
168
168
  ]),
169
169
  _: 3
@@ -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, openBlock as b, createElementBlock as y, normalizeStyle as w, normalizeClass as p, 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";
@@ -26,7 +26,7 @@ const A = /* @__PURE__ */ $({
26
26
  const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
27
27
  return e.disabled && (o.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
28
28
  });
29
- return (t, s) => (y(), b("span", {
29
+ return (t, s) => (b(), y("span", {
30
30
  style: w(c.value),
31
31
  class: p(u.value)
32
32
  }, [
@@ -1,4 +1,4 @@
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";
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";
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/Picture.vue2.mjs";
11
+ import Q from "./components/SingleFile.vue2.mjs";
12
12
  import W from "./components/MultipleFile.vue2.mjs";
13
- import X from "./components/SingleFile.vue2.mjs";
13
+ import X from "./components/Picture.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: X,
94
+ singleFile: Q,
95
95
  multipleFile: W,
96
- picture: Q
96
+ picture: X
97
97
  }, s = H.useInjectFormItemContext(), E = v({
98
98
  get() {
99
99
  return e.value;
@@ -1,4 +1,4 @@
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";
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";
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(), ee(te(n(f))))
205
- ])) : Z("", !0)
204
+ (h(), Z(ee(n(f))))
205
+ ])) : te("", !0)
206
206
  ])
207
207
  ])
208
208
  ]),