@aplus-frontend/ui 7.13.6 → 7.13.8

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 (215) hide show
  1. package/es/src/ag-grid/components/body-cell/index.vue2.mjs +7 -7
  2. package/es/src/ag-grid/components/empty/index.vue2.mjs +10 -10
  3. package/es/src/ag-grid/components/header-cell/index.vue2.mjs +37 -37
  4. package/es/src/ag-grid/components/row/index.vue2.mjs +5 -5
  5. package/es/src/ag-grid/components/tooltip/index.vue2.mjs +12 -12
  6. package/es/src/ag-grid/editable/form-item.vue.mjs +49 -49
  7. package/es/src/ag-grid/editable/index.vue.mjs +27 -27
  8. package/es/src/ag-grid/index.vue.mjs +249 -249
  9. package/es/src/ap-action/group/index.vue.mjs +15 -15
  10. package/es/src/ap-action/item/index.vue2.mjs +28 -28
  11. package/es/src/ap-action/item-dropdown/index.vue.mjs +39 -39
  12. package/es/src/ap-field/checkbox/index.vue.mjs +19 -19
  13. package/es/src/ap-field/checkbox/read.vue2.mjs +9 -9
  14. package/es/src/ap-field/date/index.vue.mjs +50 -50
  15. package/es/src/ap-field/date/read.vue2.mjs +7 -7
  16. package/es/src/ap-field/date-range/index.vue.mjs +30 -30
  17. package/es/src/ap-field/date-range/read.vue2.mjs +20 -20
  18. package/es/src/ap-field/number/index.vue.mjs +24 -24
  19. package/es/src/ap-field/radio/index.vue.mjs +24 -24
  20. package/es/src/ap-field/second/index.vue.mjs +15 -15
  21. package/es/src/ap-field/second/read.vue2.mjs +7 -7
  22. package/es/src/ap-field/segmented/index.vue.mjs +24 -24
  23. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  24. package/es/src/ap-field/select/index.vue.mjs +246 -206
  25. package/es/src/ap-field/select/read.vue2.mjs +6 -6
  26. package/es/src/ap-field/slider/index.vue.mjs +11 -11
  27. package/es/src/ap-field/style/select.mjs +17 -4
  28. package/es/src/ap-field/switch/index.vue.mjs +45 -45
  29. package/es/src/ap-field/text/read-password.vue2.mjs +13 -13
  30. package/es/src/ap-field/text/read.vue2.mjs +3 -3
  31. package/es/src/ap-field/text-area/index.vue.mjs +29 -29
  32. package/es/src/ap-field/text-area/read.vue2.mjs +12 -12
  33. package/es/src/ap-field/tree-select/index.vue.mjs +31 -31
  34. package/es/src/ap-form/ap-form.vue2.mjs +46 -46
  35. package/es/src/ap-form/drawer-form/index.vue.mjs +30 -30
  36. package/es/src/ap-form/item/index.vue.mjs +75 -75
  37. package/es/src/ap-form/items/checkbox/index.vue.mjs +10 -10
  38. package/es/src/ap-form/items/number/index.vue.mjs +17 -17
  39. package/es/src/ap-form/items/radio/index.vue.mjs +13 -13
  40. package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
  41. package/es/src/ap-form/items/switch/index.vue.mjs +14 -14
  42. package/es/src/ap-form/items/text/index.vue2.mjs +26 -26
  43. package/es/src/ap-form/items/text/password.vue.mjs +19 -19
  44. package/es/src/ap-form/items/text-area/index.vue.mjs +17 -17
  45. package/es/src/ap-form/modal-form/index.vue.mjs +34 -34
  46. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +39 -39
  47. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +7 -7
  48. package/es/src/ap-grid/editable/form-item.vue.mjs +46 -46
  49. package/es/src/ap-grid/editable/index.vue.mjs +19 -19
  50. package/es/src/ap-grid/index.vue.mjs +212 -212
  51. package/es/src/ap-list/index.vue.mjs +116 -116
  52. package/es/src/ap-table/ap-table.vue2.mjs +217 -217
  53. package/es/src/ap-table/components/index/index.vue2.mjs +9 -9
  54. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -42
  55. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +21 -21
  56. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +15 -15
  57. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +69 -69
  58. package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +22 -22
  59. package/es/src/ap-table/components/setting/template/index.vue2.mjs +25 -25
  60. package/es/src/ap-table/components/setting/template/item.vue2.mjs +40 -40
  61. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +13 -13
  62. package/es/src/ap-table/constants.d.ts +2 -2
  63. package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +54 -54
  64. package/es/src/business/ag-grid-modal/selected-items/default.vue2.mjs +13 -13
  65. package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +20 -20
  66. package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +33 -33
  67. package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +13 -13
  68. package/es/src/business/ap-download/ap-download.vue.mjs +24 -24
  69. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +77 -77
  70. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +168 -157
  71. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +33 -33
  72. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +12 -12
  73. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +43 -43
  74. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +57 -57
  75. package/es/src/business/ap-tag/ap-tag-group.vue.mjs +37 -37
  76. package/es/src/business/ap-tag/ap-tag.vue.mjs +24 -24
  77. package/es/src/business/ap-title/ApTitle.vue2.mjs +27 -27
  78. package/es/src/business/ap-value-select-card/index.vue2.mjs +98 -98
  79. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  80. package/es/src/business/batch-input-group/form-item.vue.mjs +25 -25
  81. package/es/src/business/batch-input-group/index.vue.mjs +60 -60
  82. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +29 -29
  83. package/es/src/editable-table/form-item.vue.mjs +35 -35
  84. package/es/src/editable-table/index.vue.mjs +19 -19
  85. package/es/src/full-screen/index.vue.mjs +46 -46
  86. package/es/src/mask/index.vue.mjs +48 -48
  87. package/es/src/portal/index.vue.mjs +5 -5
  88. package/es/src/scroll-bar/internal.vue.mjs +62 -62
  89. package/es/src/scroll-view/index.vue.mjs +66 -66
  90. package/es/src/skeleton/components/desc/index.vue2.mjs +9 -9
  91. package/es/src/skeleton/components/desc/item-large.vue2.mjs +25 -25
  92. package/es/src/skeleton/components/desc/item.vue2.mjs +13 -13
  93. package/es/src/skeleton/components/list/index.vue2.mjs +14 -14
  94. package/es/src/skeleton/components/list/item.vue2.mjs +12 -12
  95. package/es/src/skeleton/components/page-header/index.vue2.mjs +8 -8
  96. package/es/src/skeleton/components/search-form/index.vue2.mjs +35 -35
  97. package/es/src/skeleton/components/table/index.vue2.mjs +17 -17
  98. package/es/src/skeleton/components/table/item.vue2.mjs +23 -23
  99. package/es/src/skeleton/descriptions.vue2.mjs +15 -15
  100. package/es/src/skeleton/list-page.vue2.mjs +12 -12
  101. package/es/src/splitter/Panel.vue2.mjs +11 -11
  102. package/es/src/splitter/SplitBar.vue2.mjs +79 -79
  103. package/es/src/splitter/Splitter.vue2.mjs +50 -50
  104. package/es/src/text/group.vue.mjs +8 -8
  105. package/es/src/text/index.vue.mjs +48 -48
  106. package/es/src/version.d.ts +1 -1
  107. package/es/src/version.mjs +1 -1
  108. package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -1
  109. package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
  110. package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
  111. package/lib/src/ag-grid/components/row/index.vue2.js +1 -1
  112. package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
  113. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  114. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  115. package/lib/src/ag-grid/index.vue.js +1 -1
  116. package/lib/src/ap-action/group/index.vue.js +1 -1
  117. package/lib/src/ap-action/item/index.vue2.js +1 -1
  118. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  119. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  120. package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
  121. package/lib/src/ap-field/date/index.vue.js +1 -1
  122. package/lib/src/ap-field/date/read.vue2.js +1 -1
  123. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  124. package/lib/src/ap-field/date-range/read.vue2.js +1 -1
  125. package/lib/src/ap-field/number/index.vue.js +1 -1
  126. package/lib/src/ap-field/radio/index.vue.js +1 -1
  127. package/lib/src/ap-field/second/index.vue.js +1 -1
  128. package/lib/src/ap-field/second/read.vue2.js +1 -1
  129. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  130. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  131. package/lib/src/ap-field/select/index.vue.js +1 -1
  132. package/lib/src/ap-field/select/read.vue2.js +1 -1
  133. package/lib/src/ap-field/slider/index.vue.js +1 -1
  134. package/lib/src/ap-field/style/select.js +1 -1
  135. package/lib/src/ap-field/switch/index.vue.js +1 -1
  136. package/lib/src/ap-field/text/read-password.vue2.js +1 -1
  137. package/lib/src/ap-field/text/read.vue2.js +1 -1
  138. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  139. package/lib/src/ap-field/text-area/read.vue2.js +1 -1
  140. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  141. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  142. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  143. package/lib/src/ap-form/item/index.vue.js +1 -1
  144. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  145. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  146. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  147. package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
  148. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  149. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  150. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  151. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  152. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  153. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  154. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  155. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  156. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  157. package/lib/src/ap-grid/index.vue.js +1 -1
  158. package/lib/src/ap-list/index.vue.js +1 -1
  159. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  160. package/lib/src/ap-table/components/index/index.vue2.js +1 -1
  161. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  162. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  163. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
  164. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  165. package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -1
  166. package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -1
  167. package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -1
  168. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  169. package/lib/src/ap-table/constants.d.ts +2 -2
  170. package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
  171. package/lib/src/business/ag-grid-modal/selected-items/default.vue2.js +1 -1
  172. package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
  173. package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
  174. package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
  175. package/lib/src/business/ap-download/ap-download.vue.js +1 -1
  176. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
  177. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  178. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  179. package/lib/src/business/ap-status/group/ApStatusGroup.vue2.js +1 -1
  180. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  181. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  182. package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
  183. package/lib/src/business/ap-tag/ap-tag.vue.js +1 -1
  184. package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
  185. package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
  186. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  187. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  188. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  189. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  190. package/lib/src/editable-table/form-item.vue.js +1 -1
  191. package/lib/src/editable-table/index.vue.js +1 -1
  192. package/lib/src/full-screen/index.vue.js +1 -1
  193. package/lib/src/mask/index.vue.js +1 -1
  194. package/lib/src/portal/index.vue.js +1 -1
  195. package/lib/src/scroll-bar/internal.vue.js +1 -1
  196. package/lib/src/scroll-view/index.vue.js +1 -1
  197. package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
  198. package/lib/src/skeleton/components/desc/item-large.vue2.js +1 -1
  199. package/lib/src/skeleton/components/desc/item.vue2.js +1 -1
  200. package/lib/src/skeleton/components/list/index.vue2.js +1 -1
  201. package/lib/src/skeleton/components/list/item.vue2.js +1 -1
  202. package/lib/src/skeleton/components/page-header/index.vue2.js +1 -1
  203. package/lib/src/skeleton/components/search-form/index.vue2.js +1 -1
  204. package/lib/src/skeleton/components/table/index.vue2.js +1 -1
  205. package/lib/src/skeleton/components/table/item.vue2.js +1 -1
  206. package/lib/src/skeleton/descriptions.vue2.js +1 -1
  207. package/lib/src/skeleton/list-page.vue2.js +1 -1
  208. package/lib/src/splitter/Panel.vue2.js +1 -1
  209. package/lib/src/splitter/SplitBar.vue2.js +1 -1
  210. package/lib/src/splitter/Splitter.vue2.js +1 -1
  211. package/lib/src/text/group.vue.js +1 -1
  212. package/lib/src/text/index.vue.js +1 -1
  213. package/lib/src/version.d.ts +1 -1
  214. package/lib/src/version.js +1 -1
  215. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as y, useSlots as B, shallowRef 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 F, renderList as i, renderSlot as u } from "vue";
2
- import { omit as f, pick as N } from "lodash-unified";
1
+ import { defineComponent as y, useSlots as B, shallowRef as x, createBlock as g, openBlock as _, normalizeProps as r, guardReactiveProps as s, unref as o, createSlots as p, withCtx as n, createVNode as k, mergeProps as F, renderList as u, renderSlot as f } from "vue";
2
+ import { omit as m, pick as N } from "lodash-unified";
3
3
  import "../../../ap-field/number/index.vue2.mjs";
4
- import { apFormItemSlotNames as m } from "../../constant.mjs";
4
+ import { apFormItemSlotNames as c } from "../../constant.mjs";
5
5
  import "../../item/index.vue2.mjs";
6
6
  import S from "../../item/index.vue.mjs";
7
7
  import C from "../../../ap-field/number/index.vue.mjs";
@@ -54,8 +54,8 @@ const T = /* @__PURE__ */ y({
54
54
  field: { default: () => ({}) },
55
55
  placeholder: {}
56
56
  },
57
- setup(c, { expose: b }) {
58
- const h = c, p = B(), a = _();
57
+ setup(l, { expose: b }) {
58
+ const h = l, d = B(), a = x();
59
59
  return b({
60
60
  focus: () => {
61
61
  a.value?.focus();
@@ -63,28 +63,28 @@ const T = /* @__PURE__ */ y({
63
63
  blur: () => {
64
64
  a.value?.blur();
65
65
  }
66
- }), (e, $) => (x(), g(S, t(s(l(f)(h, ["field", "placeholder"]))), d({
66
+ }), (i, $) => (_(), g(S, r(s(o(m)(h, ["field", "placeholder"]))), p({
67
67
  default: n(() => [
68
68
  k(C, F({
69
69
  ref_key: "inputNumberRef",
70
70
  ref: a,
71
- placeholder: e.placeholder,
72
- disabled: e.disabled
73
- }, e.field), d({ _: 2 }, [
74
- i(l(f)(p, l(m)), (v, o) => ({
75
- name: o,
76
- fn: n((r) => [
77
- u(e.$slots, o, t(s(r || {})))
71
+ placeholder: l.placeholder,
72
+ disabled: l.disabled
73
+ }, l.field), p({ _: 2 }, [
74
+ u(o(m)(d, o(c)), (v, e) => ({
75
+ name: e,
76
+ fn: n((t) => [
77
+ f(i.$slots, e, r(s(t || {})))
78
78
  ])
79
79
  }))
80
80
  ]), 1040, ["placeholder", "disabled"])
81
81
  ]),
82
82
  _: 2
83
83
  }, [
84
- i(l(N)(p, l(m)), (v, o) => ({
85
- name: o,
86
- fn: n((r) => [
87
- u(e.$slots, o, t(s(r || {})))
84
+ u(o(N)(d, o(c)), (v, e) => ({
85
+ name: e,
86
+ fn: n((t) => [
87
+ f(i.$slots, e, r(s(t || {})))
88
88
  ])
89
89
  }))
90
90
  ]), 1040));
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, useSlots as m, shallowRef 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";
1
+ import { defineComponent as u, useSlots as m, shallowRef as c, createBlock as b, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as x, withCtx as s, createVNode as y, mergeProps as B, renderList as _, renderSlot as g } from "vue";
2
2
  import { omit as h } from "lodash-unified";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import "../../item/index.vue2.mjs";
@@ -51,29 +51,29 @@ const q = /* @__PURE__ */ u({
51
51
  disabled: { type: Boolean, default: void 0 },
52
52
  field: { default: () => ({}) }
53
53
  },
54
- setup(i, { expose: n }) {
55
- const d = i, p = m(), e = c();
56
- return n({
54
+ setup(e, { expose: i }) {
55
+ const n = e, d = m(), o = c();
56
+ return i({
57
57
  focus: () => {
58
- e.value?.focus();
58
+ o.value?.focus();
59
59
  },
60
60
  blur: () => {
61
- e.value?.blur();
61
+ o.value?.blur();
62
62
  }
63
- }), (o, S) => (v(), b(k, a(t(r(h)(d, ["field"]))), _({
63
+ }), (f, S) => (v(), b(k, a(t(r(h)(n, ["field"]))), x({
64
64
  default: s(() => [
65
65
  y(r(C), B({
66
66
  ref_key: "radioRef",
67
- ref: e,
68
- disabled: o.disabled
69
- }, o.field), null, 16, ["disabled"])
67
+ ref: o,
68
+ disabled: e.disabled
69
+ }, e.field), null, 16, ["disabled"])
70
70
  ]),
71
71
  _: 2
72
72
  }, [
73
- x(p, (P, l) => ({
73
+ _(d, (P, l) => ({
74
74
  name: l,
75
- fn: s((f) => [
76
- g(o.$slots, l, a(t(f || {})))
75
+ fn: s((p) => [
76
+ g(f.$slots, l, a(t(p || {})))
77
77
  ])
78
78
  }))
79
79
  ]), 1040));
@@ -671,7 +671,7 @@ declare function __VLS_template(): {
671
671
  maxTagPlaceholder: any;
672
672
  optionLabel: any;
673
673
  default: any;
674
- dropdownRender: any;
674
+ option: any;
675
675
  }> & {
676
676
  notFoundContent: any;
677
677
  suffixIcon: any;
@@ -683,7 +683,7 @@ declare function __VLS_template(): {
683
683
  maxTagPlaceholder: any;
684
684
  optionLabel: any;
685
685
  default: any;
686
- dropdownRender: any;
686
+ option: any;
687
687
  };
688
688
  }) | null;
689
689
  };
@@ -1332,7 +1332,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
1332
1332
  maxTagPlaceholder: any;
1333
1333
  optionLabel: any;
1334
1334
  default: any;
1335
- dropdownRender: any;
1335
+ option: any;
1336
1336
  }> & {
1337
1337
  notFoundContent: any;
1338
1338
  suffixIcon: any;
@@ -1344,7 +1344,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
1344
1344
  maxTagPlaceholder: any;
1345
1345
  optionLabel: any;
1346
1346
  default: any;
1347
- dropdownRender: any;
1347
+ option: any;
1348
1348
  };
1349
1349
  }) | null;
1350
1350
  }, any>;
@@ -1,11 +1,11 @@
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
- import { omit as m, pick as x } from "lodash-unified";
1
+ import { defineComponent as B, useSlots as h, createBlock as v, openBlock as x, normalizeProps as a, guardReactiveProps as r, unref as o, createSlots as n, withCtx as i, createVNode as y, mergeProps as _, renderList as p, renderSlot as m } from "vue";
2
+ import { omit as f, pick as g } from "lodash-unified";
3
3
  import "../../../ap-field/switch/index.vue2.mjs";
4
- import { apFormItemSlotNames as f } from "../../constant.mjs";
4
+ import { apFormItemSlotNames as u } from "../../constant.mjs";
5
5
  import "../../item/index.vue2.mjs";
6
6
  import S from "../../item/index.vue.mjs";
7
7
  import k from "../../../ap-field/switch/index.vue.mjs";
8
- const I = /* @__PURE__ */ b({
8
+ const I = /* @__PURE__ */ B({
9
9
  name: "ApFormItemSwitch",
10
10
  __name: "index",
11
11
  props: {
@@ -52,25 +52,25 @@ const I = /* @__PURE__ */ b({
52
52
  disabled: { type: Boolean, default: void 0 },
53
53
  field: { default: () => ({}) }
54
54
  },
55
- setup(u) {
56
- const c = u, s = B();
57
- return (l, F) => (v(), h(S, t(r(o(m)(c, ["field", "disabled"]))), d({
55
+ setup(l) {
56
+ const c = l, d = h();
57
+ return (s, F) => (x(), v(S, a(r(o(f)(c, ["field", "disabled"]))), n({
58
58
  default: i(() => [
59
- y(k, g({ disabled: l.disabled }, l.field), d({ _: 2 }, [
60
- n(o(m)(s, o(f)), (_, e) => ({
59
+ y(k, _({ disabled: l.disabled }, l.field), n({ _: 2 }, [
60
+ p(o(f)(d, o(u)), (b, e) => ({
61
61
  name: e,
62
- fn: i((a) => [
63
- p(l.$slots, e, t(r(a || {})))
62
+ fn: i((t) => [
63
+ m(s.$slots, e, a(r(t || {})))
64
64
  ])
65
65
  }))
66
66
  ]), 1040, ["disabled"])
67
67
  ]),
68
68
  _: 2
69
69
  }, [
70
- n(o(x)(s, o(f)), (_, e) => ({
70
+ p(o(g)(d, o(u)), (b, e) => ({
71
71
  name: e,
72
- fn: i((a) => [
73
- p(l.$slots, e, t(r(a || {})))
72
+ fn: i((t) => [
73
+ m(s.$slots, e, a(r(t || {})))
74
74
  ])
75
75
  }))
76
76
  ]), 1040));
@@ -1,10 +1,10 @@
1
- import { defineComponent as B, useSlots as x, shallowRef as S, computed as _, createBlock as F, openBlock as R, normalizeProps as s, guardReactiveProps as n, unref as l, createSlots as u, withCtx as p, createVNode as k, mergeProps as C, renderList as f, renderSlot as c } from "vue";
2
- import { omit as m, pick as P } from "lodash-unified";
1
+ import { defineComponent as y, useSlots as B, shallowRef as S, computed as F, createBlock as R, openBlock as k, normalizeProps as s, guardReactiveProps as i, unref as o, createSlots as c, withCtx as d, createVNode as _, mergeProps as C, renderList as f, renderSlot as m } from "vue";
2
+ import { omit as v, pick as P } from "lodash-unified";
3
3
  import { ApField as w } from "../../../ap-field/index.mjs";
4
- import { apFormItemSlotNames as v } from "../../constant.mjs";
4
+ import { apFormItemSlotNames as b } from "../../constant.mjs";
5
5
  import "../../item/index.vue2.mjs";
6
6
  import A from "../../item/index.vue.mjs";
7
- const E = /* @__PURE__ */ B({
7
+ const E = /* @__PURE__ */ y({
8
8
  name: "ApFormItemText",
9
9
  __name: "index",
10
10
  props: {
@@ -53,44 +53,44 @@ const E = /* @__PURE__ */ B({
53
53
  field: { default: () => ({}) },
54
54
  placeholder: {}
55
55
  },
56
- setup(b, { expose: h }) {
57
- const { Text: g } = w, i = x(), y = b, o = S();
56
+ setup(a, { expose: h }) {
57
+ const { Text: x } = w, p = B(), g = a, e = S();
58
58
  return h({
59
- focus: (e) => {
60
- o.value?.focus(e);
59
+ focus: (l) => {
60
+ e.value?.focus(l);
61
61
  },
62
62
  blur: () => {
63
- o.value?.blur();
63
+ e.value?.blur();
64
64
  },
65
- setSelectionRange: (e, d, a) => {
66
- o.value?.setSelectionRange(e, d, a);
65
+ setSelectionRange: (l, u, r) => {
66
+ e.value?.setSelectionRange(l, u, r);
67
67
  },
68
68
  select: () => {
69
- o.value?.select();
69
+ e.value?.select();
70
70
  },
71
- input: _(() => o.value?.input)
72
- }), (e, d) => (R(), F(A, s(n(l(m)(y, ["field", "placeholder"]))), u({
73
- default: p(() => [
74
- k(l(g), C({
71
+ input: F(() => e.value?.input)
72
+ }), (l, u) => (k(), R(A, s(i(o(v)(g, ["field", "placeholder"]))), c({
73
+ default: d(() => [
74
+ _(o(x), C({
75
75
  ref_key: "inputRef",
76
- ref: o,
77
- disabled: e.disabled,
78
- placeholder: e.placeholder
79
- }, e.field), u({ _: 2 }, [
80
- f(l(m)(i, l(v)), (a, t) => ({
76
+ ref: e,
77
+ disabled: a.disabled,
78
+ placeholder: a.placeholder
79
+ }, a.field), c({ _: 2 }, [
80
+ f(o(v)(p, o(b)), (r, t) => ({
81
81
  name: t,
82
- fn: p((r) => [
83
- c(e.$slots, t, s(n(r || {})))
82
+ fn: d((n) => [
83
+ m(l.$slots, t, s(i(n || {})))
84
84
  ])
85
85
  }))
86
86
  ]), 1040, ["disabled", "placeholder"])
87
87
  ]),
88
88
  _: 2
89
89
  }, [
90
- f(l(P)(i, l(v)), (a, t) => ({
90
+ f(o(P)(p, o(b)), (r, t) => ({
91
91
  name: t,
92
- fn: p((r) => [
93
- c(e.$slots, t, s(n(r || {})))
92
+ fn: d((n) => [
93
+ m(l.$slots, t, s(i(n || {})))
94
94
  ])
95
95
  }))
96
96
  ]), 1040));
@@ -1,7 +1,7 @@
1
- import { defineComponent as B, useSlots as _, shallowRef as g, createBlock as x, openBlock as F, normalizeProps as t, guardReactiveProps as s, unref as e, createSlots as n, withCtx as d, createVNode as k, mergeProps as w, renderList as i, renderSlot as f } from "vue";
2
- import { omit as u, pick as P } from "lodash-unified";
3
- import { ApField as S } from "../../../ap-field/index.mjs";
4
- import { apFormItemSlotNames as m } from "../../constant.mjs";
1
+ import { defineComponent as B, useSlots as x, shallowRef as g, createBlock as F, openBlock as k, normalizeProps as r, guardReactiveProps as s, unref as e, createSlots as p, withCtx as d, createVNode as w, mergeProps as P, renderList as f, renderSlot as u } from "vue";
2
+ import { omit as m, pick as S } from "lodash-unified";
3
+ import { ApField as _ } from "../../../ap-field/index.mjs";
4
+ import { apFormItemSlotNames as c } from "../../constant.mjs";
5
5
  import "../../item/index.vue2.mjs";
6
6
  import C from "../../item/index.vue.mjs";
7
7
  const z = /* @__PURE__ */ B({
@@ -53,8 +53,8 @@ const z = /* @__PURE__ */ B({
53
53
  field: { default: () => ({}) },
54
54
  placeholder: {}
55
55
  },
56
- setup(c, { expose: b }) {
57
- const { Text: h } = S, p = _(), v = c, a = g();
56
+ setup(l, { expose: b }) {
57
+ const { Text: h } = _, n = x(), v = l, a = g();
58
58
  return b({
59
59
  focus: () => {
60
60
  a.value?.focus();
@@ -62,28 +62,28 @@ const z = /* @__PURE__ */ B({
62
62
  blur: () => {
63
63
  a.value?.blur();
64
64
  }
65
- }), (o, N) => (F(), x(C, t(s(e(u)(v, ["field", "disabled", "placeholder"]))), n({
65
+ }), (i, N) => (k(), F(C, r(s(e(m)(v, ["field", "disabled", "placeholder"]))), p({
66
66
  default: d(() => [
67
- k(e(h).Password, w({
67
+ w(e(h).Password, P({
68
68
  ref_key: "inputRef",
69
69
  ref: a,
70
- disabled: o.disabled,
71
- placeholder: o.placeholder
72
- }, o.field), n({ _: 2 }, [
73
- i(e(u)(p, e(m)), (y, l) => ({
74
- name: l,
75
- fn: d((r) => [
76
- f(o.$slots, l, t(s(r || {})))
70
+ disabled: l.disabled,
71
+ placeholder: l.placeholder
72
+ }, l.field), p({ _: 2 }, [
73
+ f(e(m)(n, e(c)), (y, o) => ({
74
+ name: o,
75
+ fn: d((t) => [
76
+ u(i.$slots, o, r(s(t || {})))
77
77
  ])
78
78
  }))
79
79
  ]), 1040, ["disabled", "placeholder"])
80
80
  ]),
81
81
  _: 2
82
82
  }, [
83
- i(e(P)(p, e(m)), (y, l) => ({
84
- name: l,
85
- fn: d((r) => [
86
- f(o.$slots, l, t(s(r || {})))
83
+ f(e(S)(n, e(c)), (y, o) => ({
84
+ name: o,
85
+ fn: d((t) => [
86
+ u(i.$slots, o, r(s(t || {})))
87
87
  ])
88
88
  }))
89
89
  ]), 1040));
@@ -1,9 +1,9 @@
1
- import { defineComponent as m, useSlots as c, shallowRef as b, computed as x, createBlock as h, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as y, withCtx as s, createVNode as B, mergeProps as A, renderList as g, renderSlot as _ } from "vue";
2
- import { omit as F } from "lodash-unified";
3
- import { ApField as k } from "../../../ap-field/index.mjs";
1
+ import { defineComponent as c, useSlots as m, shallowRef as x, computed as b, createBlock as h, openBlock as v, normalizeProps as t, guardReactiveProps as r, unref as s, createSlots as y, withCtx as d, createVNode as B, mergeProps as A, renderList as g, renderSlot as F } from "vue";
2
+ import { omit as k } from "lodash-unified";
3
+ import { ApField as C } from "../../../ap-field/index.mjs";
4
4
  import "../../item/index.vue2.mjs";
5
- import C from "../../item/index.vue.mjs";
6
- const $ = /* @__PURE__ */ m({
5
+ import S from "../../item/index.vue.mjs";
6
+ const $ = /* @__PURE__ */ c({
7
7
  name: "ApFormItemTextArea",
8
8
  __name: "index",
9
9
  props: {
@@ -51,19 +51,19 @@ const $ = /* @__PURE__ */ m({
51
51
  field: { default: () => ({}) },
52
52
  placeholder: {}
53
53
  },
54
- setup(d, { expose: i }) {
55
- const { TextArea: n } = k, p = c(), u = d, l = b();
54
+ setup(e, { expose: i }) {
55
+ const { TextArea: n } = C, p = m(), u = e, l = x();
56
56
  return i({
57
- focus: (e) => {
58
- l.value?.focus(e);
57
+ focus: (o) => {
58
+ l.value?.focus(o);
59
59
  },
60
60
  blur: () => {
61
61
  l.value?.blur();
62
62
  },
63
- resizableTextArea: x(() => l.value?.resizableTextArea)
64
- }), (e, P) => (v(), h(C, a(t(r(F)(u, ["field", "placeholder"]))), y({
65
- default: s(() => [
66
- B(r(n), A({
63
+ resizableTextArea: b(() => l.value?.resizableTextArea)
64
+ }), (o, P) => (v(), h(S, t(r(s(k)(u, ["field", "placeholder"]))), y({
65
+ default: d(() => [
66
+ B(s(n), A({
67
67
  ref_key: "textAreaRef",
68
68
  ref: l,
69
69
  disabled: e.disabled,
@@ -72,10 +72,10 @@ const $ = /* @__PURE__ */ m({
72
72
  ]),
73
73
  _: 2
74
74
  }, [
75
- g(p, (R, o) => ({
76
- name: o,
77
- fn: s((f) => [
78
- _(e.$slots, o, a(t(f || {})))
75
+ g(p, (R, a) => ({
76
+ name: a,
77
+ fn: d((f) => [
78
+ F(o.$slots, a, t(r(f || {})))
79
79
  ])
80
80
  }))
81
81
  ]), 1040));
@@ -1,4 +1,4 @@
1
- import { isVNode as O, defineComponent as z, useSlots as E, ref as d, watch as $, cloneVNode as q, computed as A, createVNode as n, mergeProps as m, unref as o, createElementBlock as D, openBlock as p, Fragment as L, createBlock as T, createCommentVNode as K, withCtx as b, createElementVNode as W, normalizeClass as G, normalizeStyle as H, renderSlot as C, resolveDynamicComponent as B, createTextVNode as J, toDisplayString as Q } from "vue";
1
+ import { isVNode as _, defineComponent as z, useSlots as E, ref as d, watch as $, cloneVNode as q, computed as A, createVNode as r, mergeProps as m, unref as o, createElementBlock as D, openBlock as p, Fragment as L, createBlock as T, createCommentVNode as K, withCtx as b, createElementVNode as W, normalizeClass as G, normalizeStyle as H, renderSlot as C, resolveDynamicComponent as B, createTextVNode as J, toDisplayString as Q } from "vue";
2
2
  import { Button as v, Flex as X, Space as Y, Modal as Z } from "@aplus-frontend/antdv";
3
3
  import { omit as ee } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
@@ -10,10 +10,10 @@ import { useControllableValue as ae } from "../../hooks/useControllableValue.mjs
10
10
  import { useLocale as oe } from "../../config-provider/hooks/use-locale.mjs";
11
11
  import { useNamespace as se } from "../../config-provider/hooks/use-namespace.mjs";
12
12
  import ne from "../ap-form.vue2.mjs";
13
- function k(r) {
14
- return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !O(r);
13
+ function k(n) {
14
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !_(n);
15
15
  }
16
- const Ne = /* @__PURE__ */ z({
16
+ const we = /* @__PURE__ */ z({
17
17
  name: "ApFormModalForm",
18
18
  __name: "index",
19
19
  props: {
@@ -92,14 +92,14 @@ const Ne = /* @__PURE__ */ z({
92
92
  submitTimeout: {}
93
93
  },
94
94
  emits: ["update:open"],
95
- setup(r, {
96
- expose: P,
97
- emit: S
95
+ setup(n, {
96
+ expose: x,
97
+ emit: P
98
98
  }) {
99
- const t = r, c = E(), w = S, a = d(), y = d(0), i = d(), s = d(!1), {
100
- value: N,
99
+ const t = n, c = E(), S = P, a = d(), y = d(0), i = d(), s = d(!1), {
100
+ value: w,
101
101
  updateValue: u
102
- } = ae(t, w, {
102
+ } = ae(t, S, {
103
103
  valuePropName: "open",
104
104
  defaultValue: !1,
105
105
  beforeUpdateValue(e) {
@@ -107,7 +107,7 @@ const Ne = /* @__PURE__ */ z({
107
107
  }
108
108
  }), {
109
109
  t: f
110
- } = oe(), x = le("ap-form-modal-form"), {
110
+ } = oe(), N = le("ap-form-modal-form"), {
111
111
  b: R,
112
112
  e: F
113
113
  } = se("ap-form-modal-form");
@@ -118,27 +118,27 @@ const Ne = /* @__PURE__ */ z({
118
118
  onClick: () => {
119
119
  u(!0);
120
120
  }
121
- }) : null, _ = A(() => {
121
+ }) : null, I = A(() => {
122
122
  const e = [];
123
123
  if (t.submitter === !1)
124
124
  return null;
125
125
  if (t.showCancel) {
126
126
  let l;
127
- e.push(n(v, {
127
+ e.push(r(v, {
128
128
  onClick: V,
129
129
  disabled: s.value
130
130
  }, k(l = f("ap.common.cancelText")) ? l : {
131
131
  default: () => [l]
132
132
  }));
133
133
  }
134
- return t.submitter?.resetButtonProps !== !1 && e.push(n(v, m(t.submitter?.resetButtonProps || {}, {
134
+ return t.submitter?.resetButtonProps !== !1 && e.push(r(v, m(t.submitter?.resetButtonProps || {}, {
135
135
  key: "reset",
136
136
  disabled: s.value,
137
- onClick: I,
137
+ onClick: M,
138
138
  htmlType: "reset"
139
139
  }), {
140
140
  default: () => [t.submitter?.resetText || f("ap.common.resetText")]
141
- })), t.submitter?.submitButtonProps !== !1 && e.push(n(v, m({
141
+ })), t.submitter?.submitButtonProps !== !1 && e.push(r(v, m({
142
142
  type: "primary",
143
143
  key: "submit",
144
144
  htmlType: "submit"
@@ -146,28 +146,28 @@ const Ne = /* @__PURE__ */ z({
146
146
  loading: s.value
147
147
  }), {
148
148
  default: () => [t.submitter?.submitText || f("ap.common.okText")]
149
- })), n(X, {
149
+ })), r(X, {
150
150
  justify: "flex-end",
151
151
  key: o(y),
152
152
  class: [F("footer")]
153
153
  }, {
154
- default: () => [c.submitter ? c.submitter(e) : n(Y, null, k(e) ? e : {
154
+ default: () => [c.submitter ? c.submitter(e) : r(Y, null, k(e) ? e : {
155
155
  default: () => [e]
156
156
  })]
157
157
  });
158
158
  });
159
- function I() {
159
+ function M() {
160
160
  t.submitter !== !1 && (a.value?.resetFields(), t.submitter?.onReset?.());
161
161
  }
162
- async function M(e) {
162
+ async function U(e) {
163
163
  if (t.submitter !== !1)
164
164
  try {
165
165
  t.submitter?.onSubmit?.(), s.value = !0;
166
166
  const l = t.onFinish?.(e);
167
167
  if (t.submitTimeout && l instanceof Promise) {
168
- const j = setTimeout(() => s.value = !1, t.submitTimeout);
168
+ const O = setTimeout(() => s.value = !1, t.submitTimeout);
169
169
  l.finally(() => {
170
- clearTimeout(j), s.value = !1;
170
+ clearTimeout(O), s.value = !1;
171
171
  });
172
172
  }
173
173
  await l && u(!1);
@@ -178,10 +178,10 @@ const Ne = /* @__PURE__ */ z({
178
178
  function V() {
179
179
  o(s) || u(!1);
180
180
  }
181
- function U(e) {
181
+ function j(e) {
182
182
  !e && o(s) || u(e);
183
183
  }
184
- return P({
184
+ return x({
185
185
  resetFields: async () => {
186
186
  a.value?.resetFields();
187
187
  },
@@ -211,28 +211,28 @@ const Ne = /* @__PURE__ */ z({
211
211
  validateFieldsReturnTransformed(e, l) {
212
212
  return a.value?.validateFieldsReturnTransformed(e, l);
213
213
  }
214
- }), (e, l) => (p(), D(L, null, [n(o(Z), m(e.modalProps, {
215
- open: o(N),
214
+ }), (e, l) => (p(), D(L, null, [r(o(Z), m(n.modalProps, {
215
+ open: o(w),
216
216
  footer: null,
217
- width: e.width,
218
- class: [o(R)(), o(x)],
217
+ width: n.width,
218
+ class: [o(R)(), o(N)],
219
219
  "body-style": {
220
220
  padding: "0px !important"
221
221
  },
222
- "onUpdate:open": U,
222
+ "onUpdate:open": j,
223
223
  onCancel: V
224
224
  }), {
225
225
  title: b(() => [C(e.$slots, "title", {}, () => [J(Q(t.title), 1)])]),
226
- default: b(() => [n(ne, m({
226
+ default: b(() => [r(ne, m({
227
227
  ref_key: "formRef",
228
228
  ref: a
229
229
  }, o(ee)(t, ["modalProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"]), {
230
- onFinish: M
230
+ onFinish: U
231
231
  }), {
232
232
  default: b(() => [W("div", {
233
- style: H(e.modalProps?.bodyStyle),
233
+ style: H(n.modalProps?.bodyStyle),
234
234
  class: G(o(F)("content"))
235
- }, [C(e.$slots, "default")], 6), (p(), T(B(_.value)))]),
235
+ }, [C(e.$slots, "default")], 6), (p(), T(B(I.value)))]),
236
236
  _: 3
237
237
  }, 16)]),
238
238
  _: 3
@@ -242,5 +242,5 @@ const Ne = /* @__PURE__ */ z({
242
242
  }
243
243
  });
244
244
  export {
245
- Ne as default
245
+ we as default
246
246
  };