@aplus-frontend/ui 0.5.25 → 0.5.27

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 (240) 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/index.mjs +36 -36
  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/select/use-select-options.d.ts +2 -2
  22. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  23. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  24. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  25. package/es/src/ap-field/text/password.vue.mjs +2 -2
  26. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  27. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  29. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  30. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  31. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  32. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  33. package/es/src/ap-form/item/index.vue.mjs +7 -7
  34. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  35. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  36. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  41. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  43. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  44. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  45. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  46. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  47. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  48. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  49. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  50. package/es/src/ap-form/render/item.vue.mjs +2 -2
  51. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  52. package/es/src/ap-form/search-form/index.vue.mjs +2 -2
  53. package/es/src/ap-form/set/index.vue.mjs +1 -1
  54. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  55. package/es/src/ap-grid/editable/form-item.vue.mjs +16 -16
  56. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  57. package/es/src/ap-grid/editable/index.vue.mjs +11 -11
  58. package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
  59. package/es/src/ap-grid/index.vue.d.ts +2 -4
  60. package/es/src/ap-grid/index.vue.mjs +4 -4
  61. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  62. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  63. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  64. package/es/src/ap-list/index.vue.d.ts +2 -4
  65. package/es/src/ap-list/index.vue.mjs +4 -4
  66. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  67. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  68. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  69. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  70. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  71. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  72. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  73. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  75. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  77. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  78. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  79. package/es/src/ap-table/constants.d.ts +5 -5
  80. package/es/src/ap-table/constants.mjs +45 -45
  81. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  82. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  83. package/es/src/ap-table/utils.d.ts +5 -5
  84. package/es/src/ap-table/utils.mjs +17 -17
  85. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  86. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  87. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  88. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  89. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  90. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  91. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  92. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  93. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  94. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  95. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  96. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  97. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  98. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  99. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  100. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  101. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  102. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  103. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  104. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  105. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  106. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  107. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  108. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  109. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  110. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  111. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  112. package/es/src/business/ap-ladder/ApLadder.d.ts +83 -0
  113. package/es/src/business/ap-ladder/ApLadder.mjs +42 -0
  114. package/es/src/business/ap-ladder/components/RenderValue.d.ts +34 -0
  115. package/es/src/business/ap-ladder/components/RenderValue.mjs +79 -0
  116. package/es/src/business/ap-ladder/components/SimpleMode.d.ts +37 -0
  117. package/es/src/business/ap-ladder/components/SimpleMode.mjs +42 -0
  118. package/es/src/business/ap-ladder/components/ValueGroupMode.d.ts +28 -0
  119. package/es/src/business/ap-ladder/components/ValueGroupMode.mjs +49 -0
  120. package/es/src/business/ap-ladder/constans.d.ts +50 -0
  121. package/es/src/business/ap-ladder/constans.mjs +51 -0
  122. package/es/src/business/ap-ladder/index.d.ts +133 -15
  123. package/es/src/business/ap-ladder/index.mjs +5 -6
  124. package/es/src/business/ap-ladder/utils.d.ts +4 -0
  125. package/es/src/business/ap-ladder/utils.mjs +22 -19
  126. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  127. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  128. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  129. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  130. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  131. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  132. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  133. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  134. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  135. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  136. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  137. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  138. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  139. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  140. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  141. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  142. package/es/src/check-card/index.vue2.mjs +3 -3
  143. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  144. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  145. package/es/src/editable-table/form-item.vue.mjs +83 -83
  146. package/es/src/editable-table/index.vue.d.ts +2 -4
  147. package/es/src/editable-table/index.vue.mjs +84 -79
  148. package/es/src/full-screen/index.vue.mjs +3 -3
  149. package/es/src/hooks/useFullScreen.mjs +5 -5
  150. package/es/src/mask/index.vue.mjs +10 -10
  151. package/es/src/portal/index.vue.mjs +2 -2
  152. package/es/src/scroll-bar/index.vue.mjs +3 -3
  153. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  154. package/es/src/scroll-view/index.vue.d.ts +5 -5
  155. package/es/src/scroll-view/index.vue.mjs +9 -9
  156. package/es/src/tests/wrapper.d.ts +4 -4
  157. package/es/src/text/group.vue.mjs +2 -2
  158. package/es/src/text/index.vue.mjs +4 -4
  159. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  160. package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  161. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  162. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  163. package/lib/src/ap-field/index.js +1 -1
  164. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  165. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  166. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  167. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  168. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  169. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  170. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  171. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  172. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  173. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  174. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  175. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  176. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  177. package/lib/src/ap-list/index.vue.d.ts +2 -4
  178. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  179. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  180. package/lib/src/ap-table/constants.d.ts +5 -5
  181. package/lib/src/ap-table/constants.js +1 -1
  182. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  183. package/lib/src/ap-table/utils.d.ts +5 -5
  184. package/lib/src/ap-table/utils.js +1 -1
  185. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  186. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  187. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  188. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  189. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  190. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  191. package/lib/src/business/ap-ladder/ApLadder.d.ts +83 -0
  192. package/lib/src/business/ap-ladder/ApLadder.js +1 -0
  193. package/lib/src/business/ap-ladder/components/RenderValue.d.ts +34 -0
  194. package/lib/src/business/ap-ladder/components/RenderValue.js +1 -0
  195. package/lib/src/business/ap-ladder/components/SimpleMode.d.ts +37 -0
  196. package/lib/src/business/ap-ladder/components/SimpleMode.js +1 -0
  197. package/lib/src/business/ap-ladder/components/ValueGroupMode.d.ts +28 -0
  198. package/lib/src/business/ap-ladder/components/ValueGroupMode.js +1 -0
  199. package/lib/src/business/ap-ladder/constans.d.ts +50 -0
  200. package/lib/src/business/ap-ladder/constans.js +1 -0
  201. package/lib/src/business/ap-ladder/index.d.ts +133 -15
  202. package/lib/src/business/ap-ladder/index.js +1 -1
  203. package/lib/src/business/ap-ladder/utils.d.ts +4 -0
  204. package/lib/src/business/ap-ladder/utils.js +1 -1
  205. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  206. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  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/form-item.vue.js +1 -1
  210. package/lib/src/editable-table/index.vue.d.ts +2 -4
  211. package/lib/src/editable-table/index.vue.js +1 -1
  212. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  213. package/lib/src/tests/wrapper.d.ts +4 -4
  214. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  215. package/package.json +2 -2
  216. package/theme/ap-grid/index.css +4 -3
  217. package/theme/ap-grid/index.less +4 -3
  218. package/theme/index.css +4 -3
  219. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +0 -23
  220. package/es/src/business/ap-ladder/ApLadder.vue.mjs +0 -4
  221. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +0 -65
  222. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +0 -48
  223. package/es/src/business/ap-ladder/components/SimpleMode.vue.mjs +0 -4
  224. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +0 -57
  225. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +0 -46
  226. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.mjs +0 -4
  227. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +0 -89
  228. package/es/src/business/ap-ladder/useWatchEllipsis.d.ts +0 -2
  229. package/es/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +0 -3
  230. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +0 -23
  231. package/lib/src/business/ap-ladder/ApLadder.vue.js +0 -1
  232. package/lib/src/business/ap-ladder/ApLadder.vue2.js +0 -1
  233. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +0 -48
  234. package/lib/src/business/ap-ladder/components/SimpleMode.vue.js +0 -1
  235. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +0 -1
  236. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +0 -46
  237. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.js +0 -1
  238. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +0 -1
  239. package/lib/src/business/ap-ladder/useWatchEllipsis.d.ts +0 -2
  240. package/lib/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +0 -3
@@ -1,15 +1,13 @@
1
1
  import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = 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<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode<RendererNode, RendererElement, {
11
- [key: string]: any;
12
- }> & {
10
+ }>) => VNode & {
13
11
  __ctx?: Awaited<typeof __VLS_setup>;
14
12
  };
15
13
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, useSlots as A, toRef as H, ref as h, unref as f, watch as W, nextTick as G, openBlock as K, createBlock as U, mergeProps as g, withCtx as y, createVNode as $, createSlots as q, renderList as J, renderSlot as Q, normalizeProps as X, guardReactiveProps as Y } from "vue";
1
+ import { defineComponent as P, useSlots as A, toRef as H, ref as h, unref as f, watch as W, nextTick as G, createBlock as K, openBlock as U, mergeProps as g, withCtx as y, createVNode as $, createSlots as q, renderList as J, renderSlot as Q, normalizeProps as X, guardReactiveProps as Y } from "vue";
2
2
  import { ApForm as C } from "../../ap-form/index.mjs";
3
3
  import { isArray as Z, isUndefined as I, isNumber as m, cloneDeep as M, omit as ee } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
@@ -172,31 +172,31 @@ const ye = /* @__PURE__ */ P({
172
172
  });
173
173
  const c = h(), v = le("valueTypeMap"), D = oe(l, v);
174
174
  function L(e, o) {
175
- var s;
176
- const n = ((s = f(d)) == null ? void 0 : s.length) || 0;
175
+ var u;
176
+ const n = ((u = f(d)) == null ? void 0 : u.length) || 0;
177
177
  if (w(l.maxLength) && n >= l.maxLength)
178
178
  return;
179
179
  const t = {
180
180
  ...e || {}
181
181
  };
182
- a == null || a.setFieldValue(l.name, t, !0, (u, r) => {
183
- console.log("run add", u[r]), u[r] || (u[r] = [t]), I(o) ? u[r].push(t) : u[r].splice(o, 0, t);
182
+ a == null || a.setFieldValue(l.name, t, !0, (s, r) => {
183
+ s[r] || (s[r] = [t]), I(o) ? s[r].push(t) : s[r].splice(o, 0, t);
184
184
  });
185
185
  }
186
186
  function V(e, o = "suffix") {
187
- var u;
188
- const n = ((u = f(d)) == null ? void 0 : u.length) || 0, t = m(e) ? e : e.length;
187
+ var s;
188
+ const n = ((s = f(d)) == null ? void 0 : s.length) || 0, t = m(e) ? e : e.length;
189
189
  if (w(l.maxLength) && n + t > l.maxLength)
190
190
  return;
191
- const s = m(e) ? new Array(e).fill(0).map(() => ({})) : M(e);
192
- a == null || a.setFieldValue(l.name, s, !0, (r, i) => {
193
- r[i] || (r[i] = [...s]), o === "suffix" ? r[i].push(...s) : r[i].unshift(...s);
191
+ const u = m(e) ? new Array(e).fill(0).map(() => ({})) : M(e);
192
+ a == null || a.setFieldValue(l.name, u, !0, (r, i) => {
193
+ r[i] || (r[i] = [...u]), o === "suffix" ? r[i].push(...u) : r[i].unshift(...u);
194
194
  });
195
195
  }
196
196
  function T(e) {
197
197
  const o = new Set(m(e) ? [e] : e);
198
198
  a == null || a.setFieldValue(l.name, void 0, !0, (n, t) => {
199
- n[t] = n[t].filter((s, u) => !o.has(u));
199
+ n[t] = n[t].filter((u, s) => !o.has(s));
200
200
  });
201
201
  }
202
202
  function _() {
@@ -207,9 +207,9 @@ const ye = /* @__PURE__ */ P({
207
207
  return (o = f(d)) == null ? void 0 : o[e];
208
208
  }
209
209
  function k(e, o, n = !0) {
210
- a == null || a.setFieldValue(l.name, null, !0, (t, s) => {
211
- !t[s] || !t[s][e] || (t[s][e] = {
212
- ...n ? t[s][e] : {},
210
+ a == null || a.setFieldValue(l.name, void 0, !0, (t, u) => {
211
+ !t[u] || !t[u][e] || (t[u][e] = {
212
+ ...n ? t[u][e] : {},
213
213
  ...o
214
214
  });
215
215
  });
@@ -236,7 +236,7 @@ const ye = /* @__PURE__ */ P({
236
236
  scrollTo: z,
237
237
  setTableData: j,
238
238
  clear: O
239
- }), (e, o) => (K(), U(f(C).FormItem, g(e.formItem, {
239
+ }), (e, o) => (U(), K(f(C).FormItem, g(e.formItem, {
240
240
  name: e.name,
241
241
  label: e.label
242
242
  }), {
@@ -251,7 +251,7 @@ const ye = /* @__PURE__ */ P({
251
251
  _: 2
252
252
  }, [J(R, (n, t) => ({
253
253
  name: t,
254
- fn: y((s) => [Q(e.$slots, t, X(Y(s || {})))])
254
+ fn: y((u) => [Q(e.$slots, t, X(Y(u || {})))])
255
255
  }))]), 1040, ["class", "columns", "data-source"])]),
256
256
  _: 3
257
257
  }, 16, ["name", "label"]));
@@ -1,6 +1,6 @@
1
1
  import { EditableGridExpose, EditableGridProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = 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<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,9 +9,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode<RendererNode, RendererElement, {
13
- [key: string]: any;
14
- }> & {
12
+ }>) => VNode & {
15
13
  __ctx?: Awaited<typeof __VLS_setup>;
16
14
  };
17
15
  export default _default;
@@ -1,6 +1,6 @@
1
- import { defineComponent as U, useSlots as $, ref as w, watch as x, unref as u, openBlock as q, createBlock as J, withCtx as h, createVNode as v, mergeProps as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as M, guardReactiveProps as ee } from "vue";
2
- import { ApForm as g } from "../../ap-form/index.mjs";
3
- import { isEqual as ae, isArray as R, isUndefined as te, isNumber as y, cloneDeep as le, omit as oe } from "lodash-unified";
1
+ import { defineComponent as U, useSlots as $, ref as w, watch as x, unref as u, createBlock as q, openBlock as J, withCtx as h, createVNode as v, mergeProps as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as M, guardReactiveProps as ee } from "vue";
2
+ import { ApForm as y } from "../../ap-form/index.mjs";
3
+ import { isEqual as ae, isArray as R, isUndefined as te, isNumber as g, cloneDeep as le, omit as oe } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
5
5
  import "../../hooks/index.mjs";
6
6
  import { isDef as b } from "../../utils/index.mjs";
@@ -160,7 +160,7 @@ const Re = /* @__PURE__ */ U({
160
160
  } = se("editable-grid"), _ = S, C = w(), {
161
161
  value: m,
162
162
  updateValue: L
163
- } = re(t, _), i = w(), E = ue("valueTypeMap"), c = g.useWatch(t.name, i);
163
+ } = re(t, _), i = w(), E = ue("valueTypeMap"), c = y.useWatch(t.name, i);
164
164
  x(() => c.value, (e) => {
165
165
  var a;
166
166
  L(e), (a = t.onChange) == null || a.call(t, e);
@@ -195,22 +195,22 @@ const Re = /* @__PURE__ */ U({
195
195
  ...e || {}
196
196
  };
197
197
  (r = (s = i.value) == null ? void 0 : s.setFieldValue) == null || r.call(s, t.name, o, !0, (d, f) => {
198
- console.log("run add", d[f]), d[f] || (d[f] = [o]), te(a) ? d[f].push(o) : d[f].splice(a, 0, o);
198
+ d[f] || (d[f] = [o]), te(a) ? d[f].push(o) : d[f].splice(a, 0, o);
199
199
  });
200
200
  }
201
201
  function z(e, a = "suffix") {
202
202
  var s, r, d;
203
- const l = ((s = u(m)) == null ? void 0 : s.length) || 0, o = y(e) ? e : e.length;
203
+ const l = ((s = u(m)) == null ? void 0 : s.length) || 0, o = g(e) ? e : e.length;
204
204
  if (b(t.maxLength) && l + o > t.maxLength)
205
205
  return;
206
- const n = y(e) ? new Array(e).fill(0).map(() => ({})) : le(e);
206
+ const n = g(e) ? new Array(e).fill(0).map(() => ({})) : le(e);
207
207
  (d = (r = i.value) == null ? void 0 : r.setFieldValue) == null || d.call(r, t.name, n, !0, (f, p) => {
208
208
  f[p] || (f[p] = [...n]), a === "suffix" ? f[p].push(...n) : f[p].unshift(...n);
209
209
  });
210
210
  }
211
211
  function I(e) {
212
212
  var l, o;
213
- const a = new Set(y(e) ? [e] : e);
213
+ const a = new Set(g(e) ? [e] : e);
214
214
  (o = (l = i.value) == null ? void 0 : l.setFieldValue) == null || o.call(l, t.name, void 0, !0, (n, s) => {
215
215
  n[s] = n[s].filter((r, d) => !a.has(d));
216
216
  });
@@ -228,7 +228,7 @@ const Re = /* @__PURE__ */ U({
228
228
  }
229
229
  function W(e, a, l = !0) {
230
230
  var o, n;
231
- (n = (o = i.value) == null ? void 0 : o.setFieldValue) == null || n.call(o, t.name, null, !0, (s, r) => {
231
+ (n = (o = i.value) == null ? void 0 : o.setFieldValue) == null || n.call(o, t.name, void 0, !0, (s, r) => {
232
232
  !s[r] || !s[r][e] || (s[r][e] = {
233
233
  ...l ? s[r][e] : {},
234
234
  ...a
@@ -256,7 +256,7 @@ const Re = /* @__PURE__ */ U({
256
256
  scrollTo: G,
257
257
  clear: K,
258
258
  setTableData: P
259
- }), (e, a) => (q(), J(u(g), {
259
+ }), (e, a) => (J(), q(u(y), {
260
260
  ref_key: "formRef",
261
261
  ref: i,
262
262
  "initial-values": {
@@ -266,7 +266,7 @@ const Re = /* @__PURE__ */ U({
266
266
  height: "100%"
267
267
  }
268
268
  }, {
269
- default: h(() => [v(u(g).FormItem, {
269
+ default: h(() => [v(u(y).FormItem, {
270
270
  name: e.name,
271
271
  "no-style": ""
272
272
  }, {
@@ -1,4 +1,4 @@
1
- import { DEFAULT_CURRENT as g, DEFAULT_PAGE_SIZE as E } from "../../ap-table/hooks/use-table-paging-ng.mjs";
1
+ import { DEFAULT_PAGE_SIZE as g, DEFAULT_CURRENT as E } from "../../ap-table/hooks/use-table-paging-ng.mjs";
2
2
  const a = {
3
3
  asc: "ascend",
4
4
  desc: "descend"
@@ -6,8 +6,8 @@ const a = {
6
6
  const t = {};
7
7
  let c = {};
8
8
  const s = {
9
- current: g,
10
- pageSize: E
9
+ current: E,
10
+ pageSize: g
11
11
  };
12
12
  function i(n) {
13
13
  o == null || o(s, c, t, {
@@ -1,6 +1,6 @@
1
1
  import { VxeTableSlots } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType>(__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<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
@@ -35,9 +35,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode<RendererNode, RendererElement, {
39
- [key: string]: any;
40
- }> & {
38
+ }>) => VNode & {
41
39
  __ctx?: Awaited<typeof __VLS_setup>;
42
40
  };
43
41
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as Fe, useSlots as Be, getCurrentInstance as Ie, ref as k, computed as n, unref as o, watch as T, openBlock as s, createElementBlock as F, normalizeClass as f, normalizeStyle as z, createVNode as U, mergeProps as g, createSlots as G, withCtx as v, Fragment as X, renderList as A, createBlock as c, resolveDynamicComponent as _, renderSlot as V, createCommentVNode as C, createElementVNode as B, normalizeProps as J, guardReactiveProps as Pe } from "vue";
1
+ import { defineComponent as Fe, useSlots as Be, getCurrentInstance as Ie, ref as k, computed as n, unref as o, watch as T, createElementBlock as F, openBlock as s, normalizeStyle as z, normalizeClass as f, createCommentVNode as C, createElementVNode as B, createVNode as U, mergeProps as g, createSlots as G, withCtx as v, Fragment as X, renderList as A, createBlock as c, resolveDynamicComponent as _, renderSlot as V, normalizeProps as J, guardReactiveProps as Pe } from "vue";
2
2
  import { VxeTable as Ee, VxeColumn as Q } from "vxe-table";
3
3
  import "vxe-table/es/style.css";
4
4
  import "vxe-pc-ui/es/style.css";
@@ -14,7 +14,7 @@ import { useInnerParams as Oe } from "./hooks/use-inner-params.mjs";
14
14
  import { toVxeProps as Ke, getRowExpandProps as $e, getRowSelectionProps as He } from "./utils/table.mjs";
15
15
  import je from "../ap-table/hooks/use-table-row-selection.mjs";
16
16
  import { useProvideApTable as We } from "../ap-table/context.mjs";
17
- import { sizeMap as Me, sizeReverseMap as qe } from "./constants.mjs";
17
+ import { sizeReverseMap as Me, sizeMap as qe } from "./constants.mjs";
18
18
  import { useRenderColumns as Ue } from "./hooks/use-render-columns.mjs";
19
19
  import { useToken as Ge } from "@aplus-frontend/antdv/es/theme/internal";
20
20
  import "../scroll-bar/index.mjs";
@@ -196,12 +196,12 @@ const ko = /* @__PURE__ */ Fe({
196
196
  We({
197
197
  columns: n(() => i.value),
198
198
  columnsBackup: n(() => D.value),
199
- size: n(() => S.value ? Me[S.value] : "middle"),
199
+ size: n(() => S.value ? qe[S.value] : "middle"),
200
200
  updateColumns(e) {
201
201
  i.value = e;
202
202
  },
203
203
  updateSize(e) {
204
- S.value = qe[e];
204
+ S.value = Me[e];
205
205
  },
206
206
  renderConfig: n(() => ({
207
207
  className: te("table-header", "title"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, computed as n, openBlock as p, createBlock as s, resolveDynamicComponent as i, normalizeProps as l, guardReactiveProps as m, createSlots as c, renderList as u, withCtx as d, renderSlot as f } from "vue";
1
+ import { defineComponent as a, computed as n, createBlock as p, openBlock as s, resolveDynamicComponent as i, normalizeProps as l, guardReactiveProps as m, createSlots as c, renderList as u, withCtx as d, renderSlot as f } from "vue";
2
2
  import "./ap-info-layout-aplus/ap-info-layout.vue.mjs";
3
3
  import "./ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -26,7 +26,7 @@ const D = /* @__PURE__ */ a({
26
26
  }
27
27
  return e;
28
28
  });
29
- return (e, h) => (p(), s(i(t.value), l(m(e.$props)), c({ _: 2 }, [
29
+ return (e, h) => (s(), p(i(t.value), l(m(e.$props)), c({ _: 2 }, [
30
30
  u(e.$slots, (k, o) => ({
31
31
  name: o,
32
32
  fn: d(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, ref as t, openBlock as p, createElementBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
1
+ import { defineComponent as u, ref as t, createElementBlock as p, openBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
4
4
  import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
@@ -12,7 +12,7 @@ const L = /* @__PURE__ */ u({
12
12
  const l = t(), a = t(), f = () => {
13
13
  l.value && a.value && (l.value.scrollTop > 0 ? a.value.classList.add(o("header-shadow")) : a.value.classList.remove(o("header-shadow")));
14
14
  }, { b: i, e: o, m: c } = v("ap-info-layout-admin"), m = _("uiMode", "admin");
15
- return (r, k) => (p(), y("div", {
15
+ return (r, k) => (y(), p("div", {
16
16
  ref_key: "containerRef",
17
17
  ref: l,
18
18
  class: s([e(i)(), `${e(c)(e(m))}`]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, openBlock as d, createElementBlock as E, normalizeClass as a, createBlock as H, Teleport as k, renderSlot as s, createElementVNode as o, createVNode as A, unref as N } from "vue";
1
+ import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, createElementBlock as E, openBlock as d, normalizeClass as a, createBlock as H, createElementVNode as o, Teleport as k, renderSlot as s, createVNode as A, unref as N } from "vue";
2
2
  import { Divider as T } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
@@ -1,6 +1,6 @@
1
1
  import { ApListProps } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
4
4
  import { ApFormSearchFormExpose } from '..';
5
5
  declare const _default: <RecordType extends Recordable>(__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<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
@@ -41,9 +41,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
41
41
  }): any;
42
42
  };
43
43
  emit: {};
44
- }>) => VNode<RendererNode, RendererElement, {
45
- [key: string]: any;
46
- }> & {
44
+ }>) => VNode & {
47
45
  __ctx?: Awaited<typeof __VLS_setup>;
48
46
  };
49
47
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q, openBlock as i, createBlock as S, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createVNode as v, createElementBlock as p, Fragment as I, renderList as Y, mergeProps as Z, createCommentVNode as _ } from "vue";
1
+ import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q, createBlock as S, openBlock as i, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createElementBlock as p, createCommentVNode as Y, createVNode as v, Fragment as I, renderList as Z, mergeProps as _ } from "vue";
2
2
  import { Empty as E, Spin as x, Pagination as ee } from "@aplus-frontend/antdv";
3
3
  import { useTablePaging as te } from "../ap-table/hooks/use-table-paging-ng.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -165,7 +165,7 @@ const he = /* @__PURE__ */ H({
165
165
  key: 1,
166
166
  dataSource: s.value
167
167
  }, () => [
168
- (i(!0), p(I, null, Y(s.value, (r, o) => l(e.$slots, "renderItem", {
168
+ (i(!0), p(I, null, Z(s.value, (r, o) => l(e.$slots, "renderItem", {
169
169
  item: r,
170
170
  index: o
171
171
  })), 256))
@@ -176,11 +176,11 @@ const he = /* @__PURE__ */ H({
176
176
  class: u(t(N)("footer")),
177
177
  style: h(e.footerWarpperStyle)
178
178
  }, [
179
- v(t(ee), Z(
179
+ v(t(ee), _(
180
180
  c.value ? t(B) : t(ne)(t(z).pagination, ["showTotal"]),
181
181
  { onChange: K }
182
182
  ), null, 16)
183
- ], 6)) : _("", !0)
183
+ ], 6)) : Y("", !0)
184
184
  ], 6)
185
185
  ]),
186
186
  _: 3
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
6
6
  update: (configUpdate: ConfigUpdate) => void;
7
7
  };
8
8
  declare const confirm: (config: ModalFuncProps) => {
9
- destroy: (this: any, ...args: any[]) => void;
9
+ destroy: (this: /*elided*/ any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;
@@ -1,7 +1,7 @@
1
1
  import { ApColumnType, ApTableProps } from './interface';
2
2
  import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
3
3
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
4
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
4
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode } from 'vue';
5
5
  declare const _default: <RecordType>(__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<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
@@ -85,9 +85,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
85
85
  }) => void;
86
86
  };
87
87
  emit: {};
88
- }>) => VNode<RendererNode, RendererElement, {
89
- [key: string]: any;
90
- }> & {
88
+ }>) => VNode & {
91
89
  __ctx?: Awaited<typeof __VLS_setup>;
92
90
  };
93
91
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as Z, watch as k, openBlock as m, createElementBlock as B, normalizeClass as y, normalizeStyle as V, mergeProps as w, createSlots as ee, withCtx as v, renderList as oe, createBlock as re, resolveDynamicComponent as Oe, renderSlot as R, createCommentVNode as ae, createElementVNode as K, normalizeProps as Le, guardReactiveProps as $e } from "vue";
1
+ import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as Z, watch as k, createElementBlock as B, openBlock as m, normalizeStyle as V, normalizeClass as y, createCommentVNode as ee, createElementVNode as K, mergeProps as w, createSlots as oe, withCtx as v, renderList as re, createBlock as ae, resolveDynamicComponent as Oe, renderSlot as R, normalizeProps as Le, guardReactiveProps as $e } from "vue";
2
2
  import { Divider as Ae, Table as De } from "@aplus-frontend/antdv";
3
3
  import { useToken as je } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { ApForm as We } from "../ap-form/index.mjs";
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as te } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
7
  import { useTablePaging as _e } from "./hooks/use-table-paging-ng.mjs";
8
8
  import { isUndefined as g, omit as le, isBoolean as He } from "lodash-unified";
9
- import { getColumnOrder as ne, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as se, apColumnToColumn as Ge, getTableTitle as Je, getTableRenderType as Qe, getTableRenderProps as Xe, getTableCellRenderNode as Ye, falseToUndefined as Ze, objectToString as eo } from "./utils.mjs";
9
+ import { getColumnOrder as ne, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as se, getTableTitle as Ge, getTableRenderType as Je, getTableRenderProps as Qe, getTableCellRenderNode as Xe, apColumnToColumn as Ye, falseToUndefined as Ze, objectToString as eo } from "./utils.mjs";
10
10
  import oo from "./hooks/use-table-content-height.mjs";
11
11
  import ro from "./hooks/use-table-row-selection.mjs";
12
12
  import { getScrollbarSize as ao, isDef as to } from "../utils/index.mjs";
@@ -245,23 +245,23 @@ const Eo = /* @__PURE__ */ Ke({
245
245
  function a(t, d) {
246
246
  return t.map((n) => ({
247
247
  resizable: to(n.resizable) ? n.resizable : o.columnResizable,
248
- ...le(Ge(n), ["ellipsis"]),
248
+ ...le(Ye(n), ["ellipsis"]),
249
249
  // tips: 此函数内部依赖查询&筛选的相应式值
250
250
  ...M(n),
251
251
  fixed: d ? d.fixed : n.fixed,
252
- title: Je(n, O("table-header", "title"), C.headerCell, l(ie).colorPrimary),
252
+ title: Ge(n, O("table-header", "title"), C.headerCell, l(ie).colorPrimary),
253
253
  customRender({
254
254
  value: f,
255
255
  ...S
256
256
  }) {
257
257
  var X, Y;
258
- const J = Qe(n), Ie = Xe({
258
+ const J = Je(n), Ie = Qe({
259
259
  ...n,
260
260
  valueType: J
261
261
  }, {
262
262
  value: f,
263
263
  ...S
264
- }), Ne = Ye(J, Ie, S.record, l(L)), Q = ((X = n.renderText) == null ? void 0 : X.call(n, {
264
+ }), Ne = Xe(J, Ie, S.record, l(L)), Q = ((X = n.renderText) == null ? void 0 : X.call(n, {
265
265
  value: f,
266
266
  ...S
267
267
  })) || f, Ve = n.renderText ? p(Z, null, [(Y = n.renderText) == null ? void 0 : Y.call(n, {
@@ -414,8 +414,8 @@ const Eo = /* @__PURE__ */ Ke({
414
414
  "submit-loading": l(q).loading,
415
415
  onSubmit: l(H),
416
416
  onReset: l(U)
417
- }), ee({
418
- default: v(() => [(m(!0), B(Z, null, oe(_.value, (r) => (m(), re(Oe(r.renderNode.Comp), w({
417
+ }), oe({
418
+ default: v(() => [(m(!0), B(Z, null, re(_.value, (r) => (m(), ae(Oe(r.renderNode.Comp), w({
419
419
  key: r.dataIndex,
420
420
  item: r,
421
421
  ref_for: !0
@@ -428,7 +428,7 @@ const Eo = /* @__PURE__ */ Ke({
428
428
  name: "extra",
429
429
  fn: v(() => [R(e.$slots, "searchFormExtra")]),
430
430
  key: "0"
431
- } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : ae("", !0), K("div", {
431
+ } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : ee("", !0), K("div", {
432
432
  ref_key: "contentRef",
433
433
  ref: me,
434
434
  class: y([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
@@ -444,10 +444,10 @@ const Eo = /* @__PURE__ */ Ke({
444
444
  selectedRows: l(F),
445
445
  selectedRowKeys: l(T).selectedRowKeys,
446
446
  shownColumns: u.value
447
- }, x))], 2), C.title ? (m(), re(l(Ae), {
447
+ }, x))], 2), C.title ? (m(), ae(l(Ae), {
448
448
  key: 0,
449
449
  type: "vertical"
450
- })) : ae("", !0), p(co, {
450
+ })) : ee("", !0), p(co, {
451
451
  config: e.settings === !0 ? {} : e.settings
452
452
  }, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
453
453
  key: 1,
@@ -463,7 +463,7 @@ const Eo = /* @__PURE__ */ Ke({
463
463
  "table-layout": Fe.value,
464
464
  columns: u.value,
465
465
  onResizeColumn: a[0] || (a[0] = (r, t) => t.width = r)
466
- }), ee({
466
+ }), oe({
467
467
  summary: v(() => [R(e.$slots, "summary", {
468
468
  columns: u.value,
469
469
  records: G.value.dataSource,
@@ -482,7 +482,7 @@ const Eo = /* @__PURE__ */ Ke({
482
482
  }, null, 8, ["scroll-container"])];
483
483
  }),
484
484
  key: "0"
485
- } : void 0, oe(l(le)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, t) => ({
485
+ } : void 0, re(l(le)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, t) => ({
486
486
  name: t,
487
487
  fn: v((d) => [R(e.$slots, t, Le($e(d || {})))])
488
488
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, openBlock as o, createBlock as t, resolveDynamicComponent as r } from "vue";
1
+ import { defineComponent as n, createBlock as o, openBlock 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) => (o(), t(r(e.customRender(e.$attrs))));
10
+ return (e, a) => (t(), o(r(e.customRender(e.$attrs))));
11
11
  }
12
12
  });
13
13
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as l, openBlock as s, createElementBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
1
+ import { defineComponent as n, computed as l, createElementBlock as s, openBlock 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) => (s(), p("div", {
13
+ return (t, i) => (p(), s("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, openBlock as i, createElementBlock as f, mergeProps as E, unref as o, createElementVNode as O, normalizeClass as y, createVNode as b, createSlots as N, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w, createCommentVNode as V } from "vue";
1
+ import { defineComponent as x, ref as _, computed as B, createElementBlock as f, openBlock as i, mergeProps as E, unref as o, createElementVNode as O, createCommentVNode as N, normalizeClass as y, createVNode as b, createSlots as V, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { Tooltip as h } from "@aplus-frontend/antdv";
4
4
  import { CopyOutlined as j, CheckOutlined as S } from "@ant-design/icons-vue";
@@ -65,7 +65,7 @@ const G = /* @__PURE__ */ x({
65
65
  O("div", {
66
66
  class: y([o(u)("content")])
67
67
  }, [
68
- b(o(h), null, N({
68
+ b(o(h), null, V({
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)) : V("", !0)
101
+ ], 2)) : N("", !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, 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";
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";
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(Q(e(k)), {
65
+ return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(W(e(k)), {
66
66
  key: 0
67
- })) : W("", !0), l(e(Y), {
67
+ })) : Q("", !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, 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";
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";
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, 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";
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";
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, 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";
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";
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";