@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,4 +1,4 @@
1
- import { isVNode as E, defineComponent as F, useSlots as K, ref as U, computed as z, unref as o, createVNode as d, Fragment as S, openBlock as w, createBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
1
+ import { isVNode as E, defineComponent as F, useSlots as K, ref as U, computed as z, unref as o, createVNode as d, Fragment as S, createBlock as w, openBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
2
2
  import { Space as G, Tag as J, TreeSelect as Q, Spin as X } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isArray as Y, omit as Z } from "lodash-unified";
@@ -220,9 +220,9 @@ const ie = /* @__PURE__ */ F({
220
220
  request: h,
221
221
  focus: P,
222
222
  blur: L
223
- }), (e, t) => e.mode === "read" ? (w(), C(M(I.value), {
223
+ }), (e, t) => e.mode === "read" ? (C(), w(M(I.value), {
224
224
  key: 0
225
- })) : (w(), C(o(Q), j({
225
+ })) : (C(), w(o(Q), j({
226
226
  key: 1
227
227
  }, o(Z)(a, ["onUpdate:value", "value", "treeData", "loadData"]), {
228
228
  ref_key: "treeSelectRef",
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
8
8
  disabled?: boolean | undefined;
9
9
  checkable?: boolean | undefined;
10
10
  disableCheckbox?: boolean | undefined;
11
- children?: any[] | undefined;
11
+ children?: /*elided*/ any[] | undefined;
12
12
  } | {
13
13
  [x: string]: any;
14
14
  value?: RawValueType | undefined;
15
15
  title?: any;
16
16
  label?: any;
17
17
  key?: Key | undefined;
18
- children?: any[] | undefined;
18
+ children?: /*elided*/ any[] | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  checkable?: boolean | undefined;
21
21
  disableCheckbox?: boolean | undefined;
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
24
24
  disabled?: boolean | undefined;
25
25
  checkable?: boolean | undefined;
26
26
  disableCheckbox?: boolean | undefined;
27
- children?: any[] | undefined;
27
+ children?: /*elided*/ any[] | undefined;
28
28
  } | {
29
29
  [x: string]: any;
30
30
  value?: RawValueType | undefined;
31
31
  title?: any;
32
32
  label?: any;
33
33
  key?: Key | undefined;
34
- children?: any[] | undefined;
34
+ children?: /*elided*/ any[] | undefined;
35
35
  disabled?: boolean | undefined;
36
36
  checkable?: boolean | undefined;
37
37
  disableCheckbox?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
5
5
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
@@ -7,7 +7,6 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
10
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
10
  import { SizeType } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  declare function __VLS_template(): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, ref as j, reactive as X, unref as p, nextTick as Y, toRaw as x, watch as Z, onWatcherCleanup as z, computed as ee, openBlock as te, createBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
1
+ import { defineComponent as Q, reactive as X, ref as j, unref as p, nextTick as Y, toRaw as x, watch as Z, onWatcherCleanup as z, computed as ee, createBlock as te, openBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
2
2
  import { Form as ie } from "@aplus-frontend/antdv";
3
3
  import { useProvideForm as ne } from "./context.mjs";
4
4
  import { isArray as f, cloneDeep as ae, isFunction as _, isPlainObject as B, omit as ue } from "lodash-unified";
@@ -220,7 +220,7 @@ const Re = /* @__PURE__ */ Q({
220
220
  registerField: w,
221
221
  setFieldValue: U
222
222
  }
223
- }), C(O), (e, t) => (te(), re(p(ie), le({
223
+ }), C(O), (e, t) => (re(), te(p(ie), le({
224
224
  ref_key: "formRef",
225
225
  ref: u
226
226
  }, p(ue)(l, ["initialValues", "onValuesChange", "onFinish"]), {
@@ -1,6 +1,6 @@
1
1
  import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
@@ -8,7 +8,6 @@ import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -118,7 +117,7 @@ declare function __VLS_template(): {
118
117
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
119
118
  readonly initialValues?: Recordable | undefined;
120
119
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
120
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
121
  readonly syncToUrlPriority?: boolean | undefined;
123
122
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
123
  $attrs: {
@@ -1060,7 +1059,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1060
1059
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1061
1060
  readonly initialValues?: Recordable | undefined;
1062
1061
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1063
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1062
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1064
1063
  readonly syncToUrlPriority?: boolean | undefined;
1065
1064
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1066
1065
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as K, defineComponent as Q, useSlots as Y, ref as v, computed as w, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, openBlock as y, createElementBlock as N, Fragment as ee, withCtx as g, renderSlot as M, createTextVNode as te, toDisplayString as ie, createBlock as S, resolveDynamicComponent as _, normalizeClass as ne, withModifiers as oe, createCommentVNode as L } from "vue";
1
+ import { isVNode as K, defineComponent as Q, useSlots as Y, ref as v, computed as w, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, createElementBlock as N, openBlock as y, Fragment as ee, createBlock as M, createCommentVNode as S, withCtx as g, renderSlot as _, withModifiers as te, normalizeClass as ie, resolveDynamicComponent as L, createTextVNode as ne, toDisplayString as oe } from "vue";
2
2
  import { Button as V, Flex as le, Space as ae, Drawer as se } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
@@ -274,23 +274,23 @@ const je = /* @__PURE__ */ Q({
274
274
  "onUpdate:open": H,
275
275
  onCancel: R
276
276
  }), {
277
- title: g(() => [M(e.$slots, "title", {}, () => [te(ie(n.title), 1)])]),
278
- footer: g(() => [(y(), S(_(I.value)))]),
277
+ title: g(() => [_(e.$slots, "title", {}, () => [ne(oe(n.title), 1)])]),
278
+ footer: g(() => [(y(), M(L(I.value)))]),
279
279
  default: g(() => [d(ve, b({
280
280
  ref_key: "formRef",
281
281
  ref: a
282
282
  }, l(ce)(n, ["drawerProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"])), {
283
- default: g(() => [M(e.$slots, "default")]),
283
+ default: g(() => [_(e.$slots, "default")]),
284
284
  _: 3
285
285
  }, 16), e.resize ? (y(), N("div", {
286
286
  key: 0,
287
- class: ne(q.value),
288
- onMousedown: oe(A, ["stop", "prevent"])
289
- }, null, 34)) : L("", !0)]),
287
+ class: ie(q.value),
288
+ onMousedown: te(A, ["stop", "prevent"])
289
+ }, null, 34)) : S("", !0)]),
290
290
  _: 3
291
- }, 16, ["open", "width"]), l(x) ? (y(), S(_(l(x)), {
291
+ }, 16, ["open", "width"]), l(x) ? (y(), M(L(l(x)), {
292
292
  key: 0
293
- })) : L("", !0)], 64));
293
+ })) : S("", !0)], 64));
294
294
  }
295
295
  });
296
296
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, useSlots as $, ref as d, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E, openBlock as g, createBlock as h, mergeProps as K, createSlots as O, withCtx as i, resolveDynamicComponent as Q, createCommentVNode as U, createElementVNode as G, normalizeClass as H, createVNode as p, normalizeStyle as J, renderList as M, renderSlot as W, normalizeProps as X, guardReactiveProps as Y } from "vue";
1
+ import { defineComponent as D, useSlots as $, ref as d, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E, createBlock as g, openBlock as h, mergeProps as K, createSlots as O, withCtx as i, createCommentVNode as Q, resolveDynamicComponent as U, renderList as G, createElementVNode as H, normalizeClass as J, createVNode as p, normalizeStyle as M, renderSlot as W, normalizeProps as X, guardReactiveProps as Y } from "vue";
2
2
  import { Form as Z, Tooltip as ee, TypographyText as oe } from "@aplus-frontend/antdv";
3
3
  import { useToken as le } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { isFunction as B, cloneDeep as te, isArray as ae, omit as C } from "lodash-unified";
@@ -124,7 +124,7 @@ const Ce = /* @__PURE__ */ D({
124
124
  clearValidate: A,
125
125
  resetField: L,
126
126
  getFieldValue: R
127
- }), (e, t) => (g(), h(l(Z).Item, K({
127
+ }), (e, t) => (h(), g(l(Z).Item, K({
128
128
  ref_key: "formItemRef",
129
129
  ref: n
130
130
  }, l(C)(o, [...l(re), "tooltip", "label"]), {
@@ -136,22 +136,22 @@ const Ce = /* @__PURE__ */ D({
136
136
  colon: e.bordered ? !1 : o.colon
137
137
  }), O({
138
138
  default: i(() => [
139
- V.value ? (g(), h(Q(V.value), { key: 0 })) : U("", !0)
139
+ V.value ? (h(), g(U(V.value), { key: 0 })) : Q("", !0)
140
140
  ]),
141
141
  _: 2
142
142
  }, [
143
143
  o.tooltip ? {
144
144
  name: "tooltip",
145
145
  fn: i(({ class: a }) => [
146
- G("span", {
147
- class: H(a)
146
+ H("span", {
147
+ class: J(a)
148
148
  }, [
149
149
  p(l(ee), {
150
150
  title: o.tooltip
151
151
  }, {
152
152
  default: i(() => [
153
153
  p(l(ne), {
154
- style: J({ color: l(x).colorPrimary })
154
+ style: M({ color: l(x).colorPrimary })
155
155
  }, null, 8, ["style"])
156
156
  ]),
157
157
  _: 1
@@ -171,7 +171,7 @@ const Ce = /* @__PURE__ */ D({
171
171
  ]),
172
172
  key: "1"
173
173
  } : void 0,
174
- M(l(C)(r, "default"), (a, b) => ({
174
+ G(l(C)(r, "default"), (a, b) => ({
175
175
  name: b,
176
176
  fn: i((_) => [
177
177
  W(e.$slots, b, X(Y(_ || {})))
@@ -1,4 +1,4 @@
1
- import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k, watch as _, shallowRef as B, computed as P, unref as r, createVNode as R, mergeProps as u, openBlock as s, createBlock as d, withCtx as S, createElementBlock as b, Fragment as x, renderList as N, resolveDynamicComponent as j } from "vue";
1
+ import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k, shallowRef as _, watch as B, computed as P, unref as r, createVNode as R, mergeProps as u, createBlock as d, openBlock as s, withCtx as S, createElementBlock as b, Fragment as x, renderList as N, resolveDynamicComponent as j } from "vue";
2
2
  import { Col as v, Row as F } from "@aplus-frontend/antdv";
3
3
  import { pick as D, isBoolean as I, omit as O } from "lodash-unified";
4
4
  import { apFormItemColPropKeys as V } from "../constant.mjs";
@@ -33,10 +33,10 @@ const T = /* @__PURE__ */ h({
33
33
  } = G("ap-form-item-group"), i = t, a = w();
34
34
  k(() => {
35
35
  p.value = l(a.default());
36
- }), _(() => a.default(), (o) => {
36
+ }), B(() => a.default(), (o) => {
37
37
  p.value = l(o);
38
38
  });
39
- const p = B(l(a.default())), f = P(() => r(p).map((o, m) => {
39
+ const p = _(l(a.default())), f = P(() => r(p).map((o, m) => {
40
40
  const e = o.props, n = D(e, V), g = n != null && n.span ? {} : $(i.countPerRow), y = I(e.hidden) ? !!e.hidden : E(e.hidden);
41
41
  return {
42
42
  key: `${m}-${A(e.name)}`,
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, useSlots as m, openBlock as u, createBlock as c, normalizeProps as a, guardReactiveProps as t, unref as o, createSlots as b, withCtx as r, createVNode as B, mergeProps as _, renderList as v, renderSlot as x } from "vue";
1
+ import { defineComponent as f, useSlots as m, createBlock as u, openBlock as c, normalizeProps as a, guardReactiveProps as t, unref as o, createSlots as b, withCtx as r, createVNode as B, mergeProps as _, renderList as v, renderSlot as x } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { omit as i } from "lodash-unified";
@@ -51,7 +51,7 @@ const w = /* @__PURE__ */ f({
51
51
  },
52
52
  setup(d) {
53
53
  const s = d, n = m();
54
- return (e, h) => (u(), c(y, a(t(o(i)(s, ["field", "disabled"]))), b({
54
+ return (e, h) => (c(), u(y, a(t(o(i)(s, ["field", "disabled"]))), b({
55
55
  default: r(() => [
56
56
  B(o(g), _({ disabled: e.disabled }, e.field), null, 16, ["disabled"])
57
57
  ]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, useSlots as B, computed as v, openBlock as y, createBlock as x, normalizeProps as r, guardReactiveProps as t, unref as a, createSlots as s, withCtx as i, createVNode as g, renderList as p, renderSlot as f } from "vue";
1
+ import { defineComponent as h, useSlots as B, computed as v, createBlock as y, openBlock as x, normalizeProps as r, guardReactiveProps as t, unref as a, createSlots as s, withCtx as i, createVNode as g, renderList as p, renderSlot as f } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/date/index.vue2.mjs";
4
4
  import { isUndefined as F, omit as m, pick as S } from "lodash-unified";
@@ -62,7 +62,7 @@ const L = /* @__PURE__ */ h({
62
62
  bordered: e.bordered ? !1 : F((o = e.field) == null ? void 0 : o.bordered) ? !0 : e.field.bordered
63
63
  };
64
64
  });
65
- return (o, P) => (y(), x(k, r(t(a(m)(e, ["field", "placeholder", "disabled"]))), s({
65
+ return (o, P) => (x(), y(k, r(t(a(m)(e, ["field", "placeholder", "disabled"]))), s({
66
66
  default: i(() => [
67
67
  g(C, r(t(b.value)), s({ _: 2 }, [
68
68
  p(a(m)(n, a(u)), (_, l) => ({
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as g, computed as v, openBlock as y, createBlock as x, normalizeProps as r, guardReactiveProps as t, unref as o, createSlots as p, withCtx as i, createVNode as F, renderList as f, renderSlot as m } from "vue";
1
+ import { defineComponent as B, useSlots as g, computed as v, createBlock as y, openBlock as x, normalizeProps as r, guardReactiveProps as t, unref as o, createSlots as p, withCtx as i, createVNode as F, renderList as f, renderSlot as m } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as S, omit as u, pick as k } from "lodash-unified";
@@ -62,7 +62,7 @@ const I = /* @__PURE__ */ B({
62
62
  bordered: e.bordered ? !1 : S((l = e.field) == null ? void 0 : l.bordered) ? !0 : (d = e.field) == null ? void 0 : d.bordered
63
63
  };
64
64
  });
65
- return (l, d) => (y(), x(C, r(t(o(u)(e, ["field", "placeholder", "disabled"]))), p({
65
+ return (l, d) => (x(), y(C, r(t(o(u)(e, ["field", "placeholder", "disabled"]))), p({
66
66
  default: i(() => [
67
67
  F(o(P), r(t(_.value)), p({ _: 2 }, [
68
68
  f(o(u)(s, o(c)), (h, a) => ({
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, useSlots as B, ref as _, openBlock as g, createBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as d, withCtx as n, createVNode as k, mergeProps as N, renderList as i, renderSlot as u } from "vue";
1
+ import { defineComponent as y, useSlots as B, ref as _, createBlock as g, openBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as d, withCtx as n, createVNode as k, mergeProps as N, renderList as i, renderSlot as u } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/number/index.vue2.mjs";
4
4
  import { omit as f, pick as S } from "lodash-unified";
@@ -63,7 +63,7 @@ const T = /* @__PURE__ */ y({
63
63
  var e;
64
64
  (e = a.value) == null || e.blur();
65
65
  }
66
- }), (e, R) => (g(), x(C, t(s(l(f)(h, ["field", "placeholder", "disabled"]))), d({
66
+ }), (e, R) => (x(), g(C, t(s(l(f)(h, ["field", "placeholder", "disabled"]))), d({
67
67
  default: n(() => [
68
68
  k(F, N({
69
69
  ref_key: "inputNumberRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, useSlots as m, ref as c, openBlock as b, createBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
1
+ import { defineComponent as u, useSlots as m, ref as c, createBlock as b, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { omit as h } from "lodash-unified";
@@ -60,7 +60,7 @@ const q = /* @__PURE__ */ u({
60
60
  var e;
61
61
  (e = o.value) == null || e.blur();
62
62
  }
63
- }), (e, P) => (b(), v(k, a(t(r(h)(n, ["field", "disabled"]))), _({
63
+ }), (e, P) => (v(), b(k, a(t(r(h)(n, ["field", "disabled"]))), _({
64
64
  default: s(() => [
65
65
  y(r(C), B({
66
66
  ref_key: "radioRef",
@@ -124,12 +124,12 @@ declare function __VLS_template(): {
124
124
  readonly emptyText?: string | undefined;
125
125
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
126
126
  readonly multiple?: boolean | undefined;
127
- readonly value?: SelectProps["value"];
127
+ readonly value?: SelectValue;
128
128
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
129
- readonly searchMode?: ("filter" | "request") | undefined;
129
+ readonly searchMode?: "filter" | "request" | undefined;
130
130
  readonly refetchOnFocus?: boolean | undefined;
131
131
  readonly lazy?: boolean | undefined;
132
- readonly addAll?: (boolean | number) | undefined;
132
+ readonly addAll?: boolean | number | undefined;
133
133
  readonly params?: Recordable | undefined;
134
134
  readonly searchDelay?: number | undefined;
135
135
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -755,12 +755,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
755
755
  readonly emptyText?: string | undefined;
756
756
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
757
757
  readonly multiple?: boolean | undefined;
758
- readonly value?: SelectProps["value"];
758
+ readonly value?: SelectValue;
759
759
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
760
- readonly searchMode?: ("filter" | "request") | undefined;
760
+ readonly searchMode?: "filter" | "request" | undefined;
761
761
  readonly refetchOnFocus?: boolean | undefined;
762
762
  readonly lazy?: boolean | undefined;
763
- readonly addAll?: (boolean | number) | undefined;
763
+ readonly addAll?: boolean | number | undefined;
764
764
  readonly params?: Recordable | undefined;
765
765
  readonly searchDelay?: number | undefined;
766
766
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, ref as x, useSlots as g, computed as S, openBlock as k, createBlock as F, normalizeProps as d, guardReactiveProps as n, unref as l, createSlots as f, withCtx as i, createVNode as C, mergeProps as P, renderList as u, renderSlot as m } from "vue";
1
+ import { defineComponent as B, ref as x, useSlots as g, computed as S, createBlock as k, openBlock as F, normalizeProps as d, guardReactiveProps as n, unref as l, createSlots as f, withCtx as i, createVNode as C, mergeProps as P, renderList as u, renderSlot as m } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as q, omit as c, pick as $ } from "lodash-unified";
@@ -77,7 +77,7 @@ const E = /* @__PURE__ */ B({
77
77
  bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (a = o.field) == null ? void 0 : a.bordered
78
78
  };
79
79
  });
80
- return (e, a) => (k(), F(N, d(n(l(c)(o, ["field", "placeholder", "disabled"]))), f({
80
+ return (e, a) => (F(), k(N, d(n(l(c)(o, ["field", "placeholder", "disabled"]))), f({
81
81
  default: i(() => [
82
82
  C(l(R), P(h.value, {
83
83
  ref_key: "selectRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, useSlots as B, openBlock as h, createBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
1
+ import { defineComponent as b, useSlots as B, createBlock as h, openBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/switch/index.vue2.mjs";
4
4
  import { omit as m, pick as x } from "lodash-unified";
@@ -52,7 +52,7 @@ const I = /* @__PURE__ */ b({
52
52
  },
53
53
  setup(u) {
54
54
  const c = u, s = B();
55
- return (a, C) => (h(), v(S, t(r(o(m)(c, ["field", "disabled"]))), d({
55
+ return (a, C) => (v(), h(S, t(r(o(m)(c, ["field", "disabled"]))), d({
56
56
  default: i(() => [
57
57
  y(k, g({ disabled: a.disabled }, a.field), d({ _: 2 }, [
58
58
  n(o(m)(s, o(f)), (_, e) => ({
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, openBlock as m, createBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
1
+ import { defineComponent as a, createBlock as m, openBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
2
2
  import { Input as l } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { useNamespace as f } from "../../../config-provider/hooks/use-namespace.mjs";
@@ -11,7 +11,7 @@ const B = /* @__PURE__ */ a({
11
11
  },
12
12
  setup(t) {
13
13
  const { b: p } = f("ap-form-item-text-group"), r = t;
14
- return (e, i) => (m(), s(o(l).Group, c({
14
+ return (e, i) => (s(), m(o(l).Group, c({
15
15
  class: e.$props.compact ? o(p)("compact") : null
16
16
  }, r), {
17
17
  default: n(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as x, ref as S, computed as _, openBlock as k, createBlock as F, normalizeProps as n, guardReactiveProps as p, unref as t, createSlots as u, withCtx as d, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
1
+ import { defineComponent as B, useSlots as x, ref as S, computed as _, createBlock as k, openBlock as F, normalizeProps as n, guardReactiveProps as p, unref as t, createSlots as u, withCtx as d, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as P } from "../../../ap-field/index.mjs";
4
4
  import { omit as m, pick as A } from "lodash-unified";
@@ -74,7 +74,7 @@ const E = /* @__PURE__ */ B({
74
74
  var e;
75
75
  return (e = l.value) == null ? void 0 : e.input;
76
76
  })
77
- }), (e, a) => (k(), F(N, n(p(t(m)(y, ["field", "disabled", "placeholder"]))), u({
77
+ }), (e, a) => (F(), k(N, n(p(t(m)(y, ["field", "disabled", "placeholder"]))), u({
78
78
  default: d(() => [
79
79
  R(t(g), C({
80
80
  ref_key: "inputRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as _, ref as g, openBlock as x, createBlock as k, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as F, mergeProps as S, renderList as i, renderSlot as f } from "vue";
1
+ import { defineComponent as B, useSlots as _, ref as g, createBlock as x, openBlock as k, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as F, mergeProps as S, renderList as i, renderSlot as f } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as C } from "../../../ap-field/index.mjs";
4
4
  import { omit as u, pick as P } from "lodash-unified";
@@ -62,7 +62,7 @@ const z = /* @__PURE__ */ B({
62
62
  var e;
63
63
  (e = a.value) == null || e.blur();
64
64
  }
65
- }), (e, R) => (x(), k(w, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
65
+ }), (e, R) => (k(), x(w, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
66
66
  default: d(() => [
67
67
  F(o(h).Password, S({
68
68
  ref_key: "inputRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, useSlots as b, ref as x, computed as h, openBlock as v, createBlock as y, normalizeProps as r, guardReactiveProps as t, unref as s, createSlots as B, withCtx as d, createVNode as A, mergeProps as g, renderList as _, renderSlot as k } from "vue";
1
+ import { defineComponent as c, useSlots as b, ref as x, computed as h, createBlock as v, openBlock as y, normalizeProps as r, guardReactiveProps as t, unref as s, createSlots as B, withCtx as d, createVNode as A, mergeProps as g, renderList as _, renderSlot as k } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as C } from "../../../ap-field/index.mjs";
4
4
  import { omit as F } from "lodash-unified";
@@ -64,7 +64,7 @@ const $ = /* @__PURE__ */ c({
64
64
  var e;
65
65
  return (e = l.value) == null ? void 0 : e.resizableTextArea;
66
66
  })
67
- }), (e, o) => (v(), y(S, r(t(s(F)(f, ["field", "disabled", "placeholder"]))), B({
67
+ }), (e, o) => (y(), v(S, r(t(s(F)(f, ["field", "disabled", "placeholder"]))), B({
68
68
  default: d(() => [
69
69
  A(s(p), g({
70
70
  ref_key: "textAreaRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, ref as x, useSlots as S, computed as g, openBlock as k, createBlock as F, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as u, withCtx as p, createVNode as C, mergeProps as P, renderList as m, renderSlot as c } from "vue";
1
+ import { defineComponent as B, ref as x, useSlots as S, computed as g, createBlock as k, openBlock as F, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as u, withCtx as p, createVNode as C, mergeProps as P, renderList as m, renderSlot as c } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as q, omit as b, pick as $ } from "lodash-unified";
@@ -77,7 +77,7 @@ const E = /* @__PURE__ */ B({
77
77
  bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (r = o.field) == null ? void 0 : r.bordered
78
78
  };
79
79
  });
80
- return (e, r) => (k(), F(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), u({
80
+ return (e, r) => (F(), k(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), u({
81
81
  default: p(() => [
82
82
  C(l(R), P(y.value, {
83
83
  ref_key: "treeSelectRef",
@@ -1,6 +1,6 @@
1
1
  import { ApFormModalFormProps } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
5
  import { ButtonSize, SizeType, ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
6
6
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
@@ -8,7 +8,6 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -118,7 +117,7 @@ declare function __VLS_template(): {
118
117
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
119
118
  readonly initialValues?: Recordable | undefined;
120
119
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
120
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
121
  readonly syncToUrlPriority?: boolean | undefined;
123
122
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
123
  $attrs: {
@@ -1248,7 +1247,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1248
1247
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1249
1248
  readonly initialValues?: Recordable | undefined;
1250
1249
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1251
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1250
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1252
1251
  readonly syncToUrlPriority?: boolean | undefined;
1253
1252
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1254
1253
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as D, defineComponent as L, useSlots as A, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, openBlock as g, createElementBlock as W, Fragment as H, withCtx as F, renderSlot as P, createTextVNode as J, toDisplayString as Q, createElementVNode as X, normalizeStyle as Y, normalizeClass as Z, createBlock as w, resolveDynamicComponent as N, createCommentVNode as ee } from "vue";
1
+ import { isVNode as D, defineComponent as L, useSlots as A, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, createElementBlock as W, openBlock as g, Fragment as H, createBlock as P, createCommentVNode as J, withCtx as F, createElementVNode as Q, normalizeClass as X, normalizeStyle as Y, renderSlot as w, resolveDynamicComponent as N, createTextVNode as Z, toDisplayString as ee } from "vue";
2
2
  import { Button as V, Flex as te, Space as le, Modal as oe } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
@@ -241,7 +241,7 @@ const Me = /* @__PURE__ */ L({
241
241
  "onUpdate:open": $,
242
242
  onCancel: k
243
243
  }), {
244
- title: F(() => [P(e.$slots, "title", {}, () => [J(Q(o.title), 1)])]),
244
+ title: F(() => [w(e.$slots, "title", {}, () => [Z(ee(o.title), 1)])]),
245
245
  default: F(() => [u(de, b({
246
246
  ref_key: "formRef",
247
247
  ref: a
@@ -250,17 +250,17 @@ const Me = /* @__PURE__ */ L({
250
250
  }), {
251
251
  default: F(() => {
252
252
  var l;
253
- return [X("div", {
253
+ return [Q("div", {
254
254
  style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
255
- class: Z(s(h)("content"))
256
- }, [P(e.$slots, "default")], 6), (g(), w(N(O.value)))];
255
+ class: X(s(h)("content"))
256
+ }, [w(e.$slots, "default")], 6), (g(), P(N(O.value)))];
257
257
  }),
258
258
  _: 3
259
259
  }, 16)]),
260
260
  _: 3
261
- }, 16, ["open", "width", "class"]), s(B) ? (g(), w(N(s(B)), {
261
+ }, 16, ["open", "width", "class"]), s(B) ? (g(), P(N(s(B)), {
262
262
  key: 0
263
- })) : ee("", !0)], 64));
263
+ })) : J("", !0)], 64));
264
264
  }
265
265
  });
266
266
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, useSlots as c, openBlock as B, createBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
1
+ import { defineComponent as m, useSlots as c, createBlock as B, openBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
2
2
  import { omit as g } from "lodash-unified";
3
3
  import { ApForm as p } from "../index.mjs";
4
4
  const S = /* @__PURE__ */ m({
@@ -47,7 +47,7 @@ const S = /* @__PURE__ */ m({
47
47
  },
48
48
  setup(d) {
49
49
  const u = d, i = c();
50
- return (a, h) => (B(), v(e(p).FormItem, o(l(u)), y({
50
+ return (a, h) => (v(), B(e(p).FormItem, o(l(u)), y({
51
51
  default: t(() => [
52
52
  x(e(p).ControlRender, null, {
53
53
  default: t((r) => [
@@ -1,14 +1,13 @@
1
1
  import { ApFormExpose, ApFormSearchFormProps } from '../interface';
2
2
  import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, ComputedRef } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
- import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -116,7 +115,7 @@ declare function __VLS_template(): {
116
115
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
117
116
  readonly initialValues?: Recordable | undefined;
118
117
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
119
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
118
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
120
119
  readonly syncToUrlPriority?: boolean | undefined;
121
120
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
122
121
  $attrs: {
@@ -953,7 +952,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
953
952
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
954
953
  readonly initialValues?: Recordable | undefined;
955
954
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
956
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
955
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
957
956
  readonly syncToUrlPriority?: boolean | undefined;
958
957
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
959
958
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as se, defineComponent as ie, useSlots as ue, ref as ce, unref as o, shallowRef as M, computed as S, watch as D, cloneVNode as pe, createVNode as a, Fragment as F, openBlock as m, createBlock as C, mergeProps as de, withCtx as E, resolveDynamicComponent as b, createElementBlock as fe, renderList as me } from "vue";
1
+ import { isVNode as se, defineComponent as ie, useSlots as ue, ref as ce, unref as o, shallowRef as M, computed as S, watch as D, cloneVNode as pe, createVNode as a, Fragment as F, createBlock as C, openBlock as m, mergeProps as de, withCtx as E, resolveDynamicComponent as b, createElementBlock as fe, renderList as me } from "vue";
2
2
  import { Col as B, Flex as $, Space as he, Button as v, Row as xe } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../item/index.vue2.mjs";
@@ -77,7 +77,7 @@ const r = 24, ze = /* @__PURE__ */ ie({
77
77
  },
78
78
  defaultCollapse: {
79
79
  type: Boolean,
80
- default: !1
80
+ default: !0
81
81
  },
82
82
  "onUpdate:collapse": {},
83
83
  searchText: {},
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V, openBlock as m, createElementBlock as _, Fragment as y, renderList as k, createBlock as F, resolveDynamicComponent as h } from "vue";
1
+ import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V, createElementBlock as _, openBlock as m, Fragment as y, renderList as k, createBlock as F, resolveDynamicComponent as h } from "vue";
2
2
  import { useInjectForm as v } from "../context.mjs";
3
3
  import { isFunction as w, cloneDeep as x } from "lodash-unified";
4
4
  import { isPromise as B } from "@fruits-chain/utils";