@aplus-frontend/ui 0.5.17 → 0.5.18

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 (235) 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 +30 -30
  16. package/es/src/ap-field/number/index.vue.mjs +8 -8
  17. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  18. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  19. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  20. package/es/src/ap-field/select/index.vue.mjs +2 -2
  21. package/es/src/ap-field/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-form/ap-form.vue.d.ts +2 -1
  28. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  29. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  30. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  31. package/es/src/ap-form/item/index.vue.mjs +7 -7
  32. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  33. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  34. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  35. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  36. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  41. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  42. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  43. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  44. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  45. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  46. package/es/src/ap-form/render/item.vue.mjs +2 -2
  47. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  48. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  49. package/es/src/ap-form/set/index.vue.mjs +1 -1
  50. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  51. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  52. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  53. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  54. package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
  55. package/es/src/ap-grid/index.vue.d.ts +4 -2
  56. package/es/src/ap-grid/index.vue.mjs +4 -4
  57. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  58. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  59. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  60. package/es/src/ap-list/index.vue.d.ts +4 -2
  61. package/es/src/ap-list/index.vue.mjs +4 -4
  62. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  63. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  64. package/es/src/ap-table/ap-table.vue2.mjs +26 -26
  65. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  66. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  67. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  68. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  69. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  70. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  71. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  72. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  73. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  75. package/es/src/ap-table/constants.mjs +40 -40
  76. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  77. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  78. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  79. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  80. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  81. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  82. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  83. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  84. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  85. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  86. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  87. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  88. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  89. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  90. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  91. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  92. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  93. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  94. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  95. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  96. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  97. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  98. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  99. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  100. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  101. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  102. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  103. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  104. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  105. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  106. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +64 -266
  107. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  108. package/es/src/business/ap-ladder/components/SimpleMode.vue.mjs +4 -0
  109. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +119 -0
  110. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  111. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.mjs +4 -0
  112. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +213 -0
  113. package/es/src/business/ap-ladder/index.d.ts +4 -35
  114. package/es/src/business/ap-ladder/interface.d.ts +26 -0
  115. package/es/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  116. package/es/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  117. package/es/src/business/ap-ladder/utils.d.ts +2 -0
  118. package/es/src/business/ap-ladder/utils.mjs +5 -0
  119. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  120. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  121. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  122. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  123. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  124. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  125. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +1 -1
  126. package/es/src/business/ap-table-modal/interface.d.ts +1 -1
  127. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +3 -3
  128. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +20 -21
  129. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +17 -17
  130. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  131. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  132. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  133. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  134. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  135. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  136. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  137. package/es/src/check-card/index.vue2.mjs +3 -3
  138. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  139. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  140. package/es/src/editable-table/form-item.vue.mjs +2 -2
  141. package/es/src/editable-table/index.vue.d.ts +4 -2
  142. package/es/src/editable-table/index.vue.mjs +2 -2
  143. package/es/src/full-screen/index.vue.mjs +3 -3
  144. package/es/src/hooks/useFullScreen.mjs +5 -5
  145. package/es/src/mask/index.vue.mjs +10 -10
  146. package/es/src/mask/style/css.d.ts +0 -0
  147. package/es/src/mask/style/css.js +1 -0
  148. package/es/src/mask/style/index.d.ts +0 -0
  149. package/es/src/mask/style/index.js +1 -0
  150. package/es/src/path-map.mjs +3 -1
  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/text/style/css.d.ts +0 -0
  160. package/es/src/text/style/css.js +2 -0
  161. package/es/src/text/style/index.d.ts +0 -0
  162. package/es/src/text/style/index.js +2 -0
  163. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  164. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  165. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  166. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  167. package/lib/src/ap-field/index.js +1 -1
  168. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  169. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  170. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  171. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  172. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  173. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  174. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  175. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  176. package/lib/src/ap-list/index.vue.d.ts +4 -2
  177. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  178. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  179. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  180. package/lib/src/ap-table/constants.js +1 -1
  181. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  182. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  183. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  184. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  185. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  186. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  187. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  188. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  189. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  190. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  191. package/lib/src/business/ap-ladder/components/SimpleMode.vue.js +1 -0
  192. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -0
  193. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  194. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.js +1 -0
  195. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -0
  196. package/lib/src/business/ap-ladder/index.d.ts +4 -35
  197. package/lib/src/business/ap-ladder/interface.d.ts +26 -0
  198. package/lib/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  199. package/lib/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  200. package/lib/src/business/ap-ladder/utils.d.ts +2 -0
  201. package/lib/src/business/ap-ladder/utils.js +1 -0
  202. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  203. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  204. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
  205. package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
  206. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  207. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  208. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  209. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  210. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  211. package/lib/src/editable-table/index.vue.d.ts +4 -2
  212. package/lib/src/mask/style/css.cjs +1 -0
  213. package/lib/src/mask/style/css.d.ts +0 -0
  214. package/lib/src/mask/style/index.cjs +1 -0
  215. package/lib/src/mask/style/index.d.ts +0 -0
  216. package/lib/src/path-map.js +1 -1
  217. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  218. package/lib/src/tests/wrapper.d.ts +4 -4
  219. package/lib/src/text/style/css.cjs +2 -0
  220. package/lib/src/text/style/css.d.ts +0 -0
  221. package/lib/src/text/style/index.cjs +2 -0
  222. package/lib/src/text/style/index.d.ts +0 -0
  223. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  224. package/package.json +1 -1
  225. package/theme/ap-ladder/ap-ladder.css +28 -1
  226. package/theme/ap-ladder/ap-ladder.less +32 -1
  227. package/theme/index.css +28 -1
  228. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  229. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +0 -4
  230. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +0 -35
  231. package/es/src/business/ap-ladder/useWatchEllipsis.mjs +0 -35
  232. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  233. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +0 -1
  234. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +0 -1
  235. package/lib/src/business/ap-ladder/useWatchEllipsis.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { isClient as d } from "@vueuse/core";
2
- import { ref as c, computed as f, isRef as v, unref as u, watch as p } from "vue";
2
+ import { computed as c, unref as u, isRef as v, ref as f, watch as p } from "vue";
3
3
  const a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new Set();
4
4
  d && document.addEventListener("fullscreenchange", () => {
5
5
  if (o.forEach((e) => e.value = !1), document.fullscreenElement) {
@@ -9,13 +9,13 @@ d && document.addEventListener("fullscreenchange", () => {
9
9
  e && (e.value = !0);
10
10
  }
11
11
  });
12
- const E = (e = c(null)) => {
13
- const i = f({
12
+ const E = (e = f(null)) => {
13
+ const i = c({
14
14
  get: () => u(e),
15
15
  set: (t) => {
16
16
  v(e) && (e.value = t);
17
17
  }
18
- }), l = c(!1);
18
+ }), l = f(!1);
19
19
  o.add(l), p(
20
20
  () => e.value,
21
21
  (t, n) => {
@@ -40,7 +40,7 @@ const E = (e = c(null)) => {
40
40
  }
41
41
  return {
42
42
  target: i,
43
- full: f(() => u(l)),
43
+ full: c(() => u(l)),
44
44
  enter: r,
45
45
  exit: s,
46
46
  toggle: m
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, ref as m, watch as v, watchEffect as A, onMounted as M, onUnmounted as O, createBlock as x, createCommentVNode as r, openBlock as y, Teleport as P, createElementVNode as d, normalizeStyle as k, unref as o, normalizeClass as i, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B } from "vue";
1
+ import { defineComponent as g, ref as m, watch as v, watchEffect as A, onMounted as M, onUnmounted as O, openBlock as y, createBlock as x, Teleport as P, createElementVNode as r, normalizeClass as d, unref as o, normalizeStyle as k, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B, createCommentVNode as i } from "vue";
2
2
  import "../hooks/index.mjs";
3
3
  import "../config-provider/index.mjs";
4
4
  import { getMaskZIndex as U, lockScrollable as $ } from "./utils.mjs";
@@ -68,10 +68,10 @@ const J = /* @__PURE__ */ g({
68
68
  key: 0,
69
69
  to: "body"
70
70
  }, [
71
- d("div", {
71
+ r("div", {
72
72
  ref_key: "wrapper",
73
73
  ref: p,
74
- class: i(o(z)()),
74
+ class: d(o(z)()),
75
75
  style: k({ zIndex: o(N), visibility: l.value ? void 0 : "hidden" })
76
76
  }, [
77
77
  C(b, {
@@ -82,19 +82,19 @@ const J = /* @__PURE__ */ g({
82
82
  default: h(() => [
83
83
  o(a) ? (y(), T("div", {
84
84
  key: 0,
85
- class: i([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
85
+ class: d([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
86
86
  onClick: _
87
87
  }, [
88
88
  B(e.$slots, "mask", {}, () => [
89
- d("div", {
90
- class: i(o(u)("mask-inner"))
89
+ r("div", {
90
+ class: d(o(u)("mask-inner"))
91
91
  }, null, 2)
92
92
  ])
93
- ], 2)) : r("", !0)
93
+ ], 2)) : i("", !0)
94
94
  ]),
95
95
  _: 3
96
96
  }, 8, ["name"]),
97
- d("div", {
97
+ r("div", {
98
98
  style: k(e.contentStyle)
99
99
  }, [
100
100
  C(b, {
@@ -102,13 +102,13 @@ const J = /* @__PURE__ */ g({
102
102
  name: o(c)()
103
103
  }, {
104
104
  default: h(() => [
105
- o(a) ? B(e.$slots, "default", { key: 0 }) : r("", !0)
105
+ o(a) ? B(e.$slots, "default", { key: 0 }) : i("", !0)
106
106
  ]),
107
107
  _: 3
108
108
  }, 8, ["name"])
109
109
  ], 4)
110
110
  ], 6)
111
- ])) : r("", !0);
111
+ ])) : i("", !0);
112
112
  }
113
113
  });
114
114
  export {
File without changes
@@ -0,0 +1 @@
1
+ import '@aplus-frontend/ui/theme/mask/index.css';
File without changes
@@ -0,0 +1 @@
1
+ import '@aplus-frontend/ui/theme/mask/index.less';
@@ -92,7 +92,9 @@ const e = {
92
92
  ResizeObserver: ["resize-observer"],
93
93
  ApGrid: ["ap-grid"],
94
94
  EditableGrid: ["ap-grid", "editable"],
95
- EditableGridFormItem: ["ap-grid", "editable"]
95
+ EditableGridFormItem: ["ap-grid", "editable"],
96
+ ApText: ["text"],
97
+ Mask: ["mask"]
96
98
  };
97
99
  export {
98
100
  e as default
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, createBlock as n, openBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
1
+ import { defineComponent as r, openBlock as n, createBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
2
2
  const m = /* @__PURE__ */ r({
3
3
  name: "Portal",
4
4
  __name: "index",
@@ -9,7 +9,7 @@ const m = /* @__PURE__ */ r({
9
9
  },
10
10
  setup(o) {
11
11
  const t = o;
12
- return (e, d) => (p(), n(a, l(t, {
12
+ return (e, d) => (n(), p(a, l(t, {
13
13
  to: e.to || "body"
14
14
  }), [
15
15
  s(e.$slots, "default")
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, createBlock as k, createCommentVNode as C, openBlock as B, mergeProps as L } from "vue";
1
+ import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, openBlock as k, createBlock as C, mergeProps as B, createCommentVNode as L } from "vue";
2
2
  import "./internal.vue2.mjs";
3
3
  import { omit as R } from "lodash-unified";
4
4
  import { getScrollable as u, ensureRangeValue as w } from "./utils/index.mjs";
@@ -79,14 +79,14 @@ const W = /* @__PURE__ */ z({
79
79
  var e;
80
80
  return a((e = l.value) == null ? void 0 : e.container);
81
81
  })
82
- }), (e, t) => n.value !== 100 ? (B(), k(E, L({
82
+ }), (e, t) => n.value !== 100 ? (k(), C(E, B({
83
83
  key: 0,
84
84
  ref_key: "barRef",
85
85
  ref: l
86
86
  }, a(R)(r, ["onScroll", "extraSize", "scrollContainer"]), {
87
87
  "bar-length": n.value,
88
88
  onScroll: d
89
- }), null, 16, ["bar-length"])) : C("", !0);
89
+ }), null, 16, ["bar-length"])) : L("", !0);
90
90
  }
91
91
  });
92
92
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, createElementBlock as A, openBlock as N, normalizeStyle as U, normalizeClass as m, createElementVNode as L } from "vue";
1
+ import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, openBlock as A, createElementBlock as N, normalizeClass as m, normalizeStyle as U, createElementVNode as L } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { useTrack as X } from "./hooks/use-track.mjs";
4
4
  import { ensureRangeValue as C } from "./utils/index.mjs";
@@ -88,7 +88,7 @@ const I = /* @__PURE__ */ V({
88
88
  bar: l,
89
89
  track: c,
90
90
  scroll: $
91
- }), (e, n) => (N(), A("div", {
91
+ }), (e, n) => (A(), N("div", {
92
92
  ref_key: "container",
93
93
  ref: k,
94
94
  class: m([o(B)(), o(P)(e.direction)]),
@@ -1,5 +1,5 @@
1
1
  import { ScrollOptions, ScrollViewProps } from './interface';
2
- import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
2
+ import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
3
3
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
4
  declare function scroll(x?: number, y?: number): void;
5
5
  declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
106
  onScroll?: ((percent: number) => void) | undefined;
107
107
  disabled?: boolean | undefined;
108
108
  trackSpeed?: number | undefined;
109
- barColor?: import("csstype").Property.BackgroundColor | undefined;
110
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
109
+ barColor?: ColorType;
110
+ trackColor?: ColorType;
111
111
  trackWidth?: number | undefined;
112
112
  showTrack?: boolean | undefined;
113
113
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
118
  onScroll?: ((percent: number) => void) | undefined;
119
119
  disabled?: boolean | undefined;
120
120
  trackSpeed?: number | undefined;
121
- barColor?: import("csstype").Property.BackgroundColor | undefined;
122
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
121
+ barColor?: ColorType;
122
+ trackColor?: ColorType;
123
123
  trackWidth?: number | undefined;
124
124
  showTrack?: boolean | undefined;
125
125
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -1,4 +1,4 @@
1
- import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, createElementBlock as ye, openBlock as P, withModifiers as M, normalizeStyle as A, normalizeClass as B, createElementVNode as z, renderSlot as me, createBlock as L, createCommentVNode as O, mergeProps as T } from "vue";
1
+ import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, openBlock as P, createElementBlock as ye, normalizeClass as B, normalizeStyle as M, withModifiers as A, createElementVNode as z, renderSlot as me, createBlock as L, mergeProps as O, createCommentVNode as T } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import "../scroll-bar/index.mjs";
4
4
  import { isDef as f } from "../utils/index.mjs";
@@ -206,10 +206,10 @@ const Ye = /* @__PURE__ */ fe({
206
206
  ref_key: "containerRef",
207
207
  ref: s,
208
208
  class: B(l(J)()),
209
- style: A(oe.value),
209
+ style: M(oe.value),
210
210
  onWheel: [
211
- M(ae, ["exact"]),
212
- M(le, ["shift"])
211
+ A(ae, ["exact"]),
212
+ A(le, ["shift"])
213
213
  ]
214
214
  }, [
215
215
  z("div", {
@@ -221,21 +221,21 @@ const Ye = /* @__PURE__ */ fe({
221
221
  ], 2),
222
222
  z("div", {
223
223
  class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "vertical")]),
224
- style: A(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
224
+ style: M(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
225
225
  }, [
226
- x.value ? (P(), L(l(H), T({
226
+ x.value ? (P(), L(l(H), O({
227
227
  key: 0,
228
228
  ref_key: "yBarRef",
229
229
  ref: Q
230
230
  }, t.yBarProps, {
231
231
  "bar-length": c.y,
232
232
  onScroll: e[0] || (e[0] = (a) => X(a, "vertical"))
233
- }), null, 16, ["bar-length"])) : O("", !0)
233
+ }), null, 16, ["bar-length"])) : T("", !0)
234
234
  ], 6),
235
235
  z("div", {
236
236
  class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "horizontal")])
237
237
  }, [
238
- m.value ? (P(), L(l(H), T({
238
+ m.value ? (P(), L(l(H), O({
239
239
  key: 0,
240
240
  ref_key: "xBarRef",
241
241
  ref: K
@@ -243,7 +243,7 @@ const Ye = /* @__PURE__ */ fe({
243
243
  direction: "horizontal",
244
244
  "bar-length": c.x,
245
245
  onScroll: e[1] || (e[1] = (a) => X(a, "horizontal"))
246
- }), null, 16, ["bar-length"])) : O("", !0)
246
+ }), null, 16, ["bar-length"])) : T("", !0)
247
247
  ], 2)
248
248
  ], 38));
249
249
  }
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: "admin" | "aplus" | undefined;
4
- lang?: "en" | "zh-cn" | undefined;
3
+ uiMode?: ("admin" | "aplus") | undefined;
4
+ lang?: ("en" | "zh-cn") | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: "admin" | "aplus" | undefined;
7
- lang?: "en" | "zh-cn" | undefined;
6
+ uiMode?: ("admin" | "aplus") | undefined;
7
+ lang?: ("en" | "zh-cn") | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, toRef as t, createBlock as p, openBlock as c, unref as o, mergeProps as s, withCtx as f, renderSlot as u } from "vue";
1
+ import { defineComponent as n, toRef as t, openBlock as p, createBlock as c, unref as o, mergeProps as s, withCtx as f, renderSlot as u } from "vue";
2
2
  import { useProvideApTextGroup as d } from "./context.mjs";
3
3
  import "../config-provider/index.mjs";
4
4
  import { Space as m } from "@aplus-frontend/antdv";
@@ -22,7 +22,7 @@ const z = /* @__PURE__ */ n({
22
22
  colon: t(e.colon),
23
23
  vertical: t(e.vertical),
24
24
  labelStyle: t(e.labelStyle)
25
- }), (l, b) => (c(), p(o(m), s({
25
+ }), (l, b) => (p(), c(o(m), s({
26
26
  class: [o(r)(), l.direction === "horizontal" ? o(i)("horizontal") : null]
27
27
  }, o(v)(e, ["colon", "vertical", "labelStyle"])), {
28
28
  default: f(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, useSlots as O, computed as r, unref as t, createVNode as $, isVNode as z, Fragment as D, createElementBlock as u, openBlock as o, normalizeClass as s, createCommentVNode as v, createElementVNode as E, normalizeStyle as U, createBlock as c, resolveDynamicComponent as w, normalizeProps as m, mergeProps as B, withCtx as f, renderSlot as i, createSlots as F, createTextVNode as G, toDisplayString as I, renderList as R, guardReactiveProps as q } from "vue";
1
+ import { defineComponent as L, useSlots as O, computed as r, unref as t, isVNode as $, createVNode as z, Fragment as D, openBlock as o, createElementBlock as u, normalizeClass as s, normalizeStyle as E, createBlock as c, resolveDynamicComponent as U, createCommentVNode as v, createElementVNode as w, normalizeProps as m, mergeProps as B, withCtx as f, renderSlot as i, createSlots as F, createTextVNode as G, toDisplayString as I, renderList as R, guardReactiveProps as q } from "vue";
2
2
  import { TypographyLink as x, TypographyText as H } from "@aplus-frontend/antdv";
3
3
  import { isUndefined as d, isString as J, omit as g } from "lodash-unified";
4
4
  import "../config-provider/index.mjs";
@@ -77,7 +77,7 @@ const le = /* @__PURE__ */ L({
77
77
  return Object.assign(e, l.labelStyle || {}), e;
78
78
  }), b = r(() => {
79
79
  if (l.label)
80
- return z(l.label) ? l.label : $(D, null, [l.label]);
80
+ return $(l.label) ? l.label : z(D, null, [l.label]);
81
81
  });
82
82
  return (e, Q) => (o(), u("div", {
83
83
  class: s([t(C)(), {
@@ -88,8 +88,8 @@ const le = /* @__PURE__ */ L({
88
88
  class: s([t(p)("label"), {
89
89
  [t(N)("label", "no-colon")]: !h.value
90
90
  }]),
91
- style: U(T.value)
92
- }, [(o(), c(w(b.value)))], 6)) : v("", !0), E("div", {
91
+ style: E(T.value)
92
+ }, [(o(), c(U(b.value)))], 6)) : v("", !0), w("div", {
93
93
  class: s(t(p)("content"))
94
94
  }, [e.link ? (o(), c(t(x), m(B({
95
95
  key: 0
File without changes
@@ -0,0 +1,2 @@
1
+ import '@aplus-frontend/ui/theme/text/index.css';
2
+ import '@aplus-frontend/ui/theme/text/group.css';
File without changes
@@ -0,0 +1,2 @@
1
+ import '@aplus-frontend/ui/theme/text/index.less';
2
+ import '@aplus-frontend/ui/theme/text/group.less';
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, createBlock as s, openBlock as a, unref as o, withCtx as r, createVNode as d, createElementVNode as t, toDisplayString as i } from "vue";
1
+ import { defineComponent as n, openBlock as s, createBlock as a, unref as o, withCtx as r, createElementVNode as t, toDisplayString as i, createVNode as d } from "vue";
2
2
  import { QuestionCircleOutlined as p } from "@ant-design/icons-vue";
3
3
  import { Tooltip as m } from "@aplus-frontend/antdv";
4
4
  import "../config-provider/index.mjs";
@@ -7,7 +7,7 @@ const u = { class: "title" }, c = { class: "flex" }, _ = { class: "flex" }, w =
7
7
  __name: "help-message",
8
8
  setup(x) {
9
9
  const { t: l } = f();
10
- return (v, e) => (a(), s(o(m), { placement: "right" }, {
10
+ return (v, e) => (s(), a(o(m), { placement: "right" }, {
11
11
  title: r(() => [
12
12
  t("div", u, [
13
13
  t("div", c, [
@@ -1,13 +1,14 @@
1
1
  import { WorkOrderModalProps } from './interfaces';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
- import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, RuleObject, 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';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, ApFormInternalInstance, WatchFunc } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -112,7 +113,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
112
113
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
113
114
  readonly initialValues?: Recordable | undefined;
114
115
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
115
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
116
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
116
117
  readonly syncToUrlPriority?: boolean | undefined;
117
118
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
118
119
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, ref as g, computed as M, createElementBlock as N, openBlock as L, createVNode as t, unref as e, mergeProps as P, withCtx as n, h as q } from "vue";
1
+ import { defineComponent as F, ref as g, computed as M, openBlock as N, createElementBlock as L, createVNode as t, unref as e, mergeProps as P, withCtx as n, h as q } from "vue";
2
2
  import { message as E, Modal as I, Input as A, Textarea as V } from "@aplus-frontend/antdv";
3
3
  import { ApForm as c } from "../ap-form/index.mjs";
4
4
  import "./help-message.vue.mjs";
@@ -86,7 +86,7 @@ const pe = /* @__PURE__ */ F({
86
86
  console.log(i.value);
87
87
  }, 500), m("modalClose");
88
88
  };
89
- return (r, a) => (L(), N("div", null, [
89
+ return (r, a) => (N(), L("div", null, [
90
90
  t(e(I), P(s, {
91
91
  width: 600,
92
92
  centered: !0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified"),m=require("../../config-provider/hooks/use-namespace.js"),i=require("../item/index.vue2.js"),_=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),k=e.defineComponent({name:"ApActionItemDropDown",__name:"index",props:{trigger:{default:()=>["hover"]},placement:{default:"bottomLeft"},actions:{default:()=>[]},showIcon:{type:Boolean,default:!0},text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onClick:{},loading:{type:Boolean,default:!1}},setup(c){const a=c,n=e.ref(!1),{e:l}=m.useNamespace("action-item-dropdown"),p=e.computed(()=>a.actions.filter(r=>r.visible||s.isUndefined(r.visible)).map(r=>({...r,onAction:async o=>{var t;try{await((t=r.onAction)==null?void 0:t.call(r,o))}finally{n.value=!1}}})));return(r,o)=>(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{open:n.value,"onUpdate:open":o[0]||(o[0]=t=>n.value=t),trigger:r.trigger,placement:r.placement},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,d)=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:d,class:e.normalizeClass(e.unref(l)("item"))},{default:e.withCtx(()=>[t.modalProps?(e.openBlock(),e.createBlock(_.default,e.mergeProps({key:0,ref_for:!0},t),null,16)):t.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:1,ref_for:!0},t),null,16)):(e.openBlock(),e.createBlock(i.default,e.mergeProps({key:2,ref_for:!0},t),null,16))]),_:2},1032,["class"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l)("wrapper"))},[e.createVNode(i.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(a,["actions","trigger","placement"]))),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16),r.showIcon?(e.openBlock(),e.createBlock(e.unref(f.IconApAdLineDown),{key:0,class:e.normalizeClass(e.unref(l)("icon"))},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},8,["open","trigger","placement"]))}});exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified"),m=require("../../config-provider/hooks/use-namespace.js"),_=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),i=require("../item/index.vue2.js"),k=e.defineComponent({name:"ApActionItemDropDown",__name:"index",props:{trigger:{default:()=>["hover"]},placement:{default:"bottomLeft"},actions:{default:()=>[]},showIcon:{type:Boolean,default:!0},text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onClick:{},loading:{type:Boolean,default:!1}},setup(c){const a=c,n=e.ref(!1),{e:l}=m.useNamespace("action-item-dropdown"),p=e.computed(()=>a.actions.filter(r=>r.visible||s.isUndefined(r.visible)).map(r=>({...r,onAction:async o=>{var t;try{await((t=r.onAction)==null?void 0:t.call(r,o))}finally{n.value=!1}}})));return(r,o)=>(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{open:n.value,"onUpdate:open":o[0]||(o[0]=t=>n.value=t),trigger:r.trigger,placement:r.placement},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,d)=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:d,class:e.normalizeClass(e.unref(l)("item"))},{default:e.withCtx(()=>[t.modalProps?(e.openBlock(),e.createBlock(_.default,e.mergeProps({key:0,ref_for:!0},t),null,16)):t.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:1,ref_for:!0},t),null,16)):(e.openBlock(),e.createBlock(i.default,e.mergeProps({key:2,ref_for:!0},t),null,16))]),_:2},1032,["class"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l)("wrapper"))},[e.createVNode(i.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(a,["actions","trigger","placement"]))),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16),r.showIcon?(e.openBlock(),e.createBlock(e.unref(f.IconApAdLineDown),{key:0,class:e.normalizeClass(e.unref(l)("icon"))},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},8,["open","trigger","placement"]))}});exports.default=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./text/index.js");require("./checkbox/index.vue2.js");require("./date/index.vue2.js");require("./number/index.vue2.js");require("./radio/index.vue2.js");require("./switch/index.vue2.js");require("./text-area/index.vue2.js");require("./date-range/index.vue2.js");require("./select/index.vue2.js");require("./slider/index.vue2.js");require("./segmented/index.vue2.js");require("./rate/index.vue2.js");require("./interface.js");const t=require("./rate/index.vue.js"),u=require("./segmented/index.vue.js"),r=require("./slider/index.vue.js"),_=require("./switch/index.vue.js"),i=require("./select/index.vue.js"),d=require("./checkbox/index.vue.js"),l=require("./radio/index.vue.js"),p=require("./date-range/index.vue.js"),a=require("./date/index.vue.js"),n=require("./number/index.vue.js"),s=require("./text-area/index.vue.js"),c={Text:e.ApFieldText,TextArea:s.default,Number:n.default,Date:a.default,DateRange:p.default,Radio:l.default,Checkbox:d.default,Select:i.default,Switch:_.default,Slider:r.default,Segmented:u.default,Rate:t.default};exports.ApFieldText=e.ApFieldText;exports.ApFieldRate=t.default;exports.ApFieldSegmented=u.default;exports.ApFieldSlider=r.default;exports.ApFieldSwitch=_.default;exports.ApFieldSelect=i.default;exports.ApFieldCheckbox=d.default;exports.ApFieldRadio=l.default;exports.ApFieldDateRange=p.default;exports.ApFieldDate=a.default;exports.ApFieldNumber=n.default;exports.ApFieldTextArea=s.default;exports.ApField=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./text/index.js");require("./checkbox/index.vue2.js");require("./date/index.vue2.js");require("./number/index.vue2.js");require("./radio/index.vue2.js");require("./switch/index.vue2.js");require("./text-area/index.vue2.js");require("./date-range/index.vue2.js");require("./select/index.vue2.js");require("./slider/index.vue2.js");require("./segmented/index.vue2.js");require("./rate/index.vue2.js");require("./interface.js");const t=require("./text-area/index.vue.js"),u=require("./number/index.vue.js"),r=require("./date/index.vue.js"),_=require("./date-range/index.vue.js"),i=require("./radio/index.vue.js"),d=require("./checkbox/index.vue.js"),l=require("./select/index.vue.js"),p=require("./switch/index.vue.js"),a=require("./slider/index.vue.js"),n=require("./segmented/index.vue.js"),s=require("./rate/index.vue.js"),c={Text:e.ApFieldText,TextArea:t.default,Number:u.default,Date:r.default,DateRange:_.default,Radio:i.default,Checkbox:d.default,Select:l.default,Switch:p.default,Slider:a.default,Segmented:n.default,Rate:s.default};exports.ApFieldText=e.ApFieldText;exports.ApFieldTextArea=t.default;exports.ApFieldNumber=u.default;exports.ApFieldDate=r.default;exports.ApFieldDateRange=_.default;exports.ApFieldRadio=i.default;exports.ApFieldCheckbox=d.default;exports.ApFieldSelect=l.default;exports.ApFieldSwitch=p.default;exports.ApFieldSlider=a.default;exports.ApFieldSegmented=n.default;exports.ApFieldRate=s.default;exports.ApField=c;
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
6
6
  options: Ref<{
7
7
  [x: string]: any;
8
8
  label?: any;
9
- value?: string | number | null | undefined;
9
+ value?: (string | number | null) | undefined;
10
10
  children?: Omit<DefaultOptionType, "children">[] | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  }[], DefaultOptionType[] | {
13
13
  [x: string]: any;
14
14
  label?: any;
15
- value?: string | number | null | undefined;
15
+ value?: (string | number | null) | undefined;
16
16
  children?: Omit<DefaultOptionType, "children">[] | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  }[]>;
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, 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,6 +7,7 @@ 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';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  declare function __VLS_template(): {
@@ -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 } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, RuleObject } 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,6 +8,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';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
117
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
118
119
  readonly initialValues?: Recordable | undefined;
119
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
120
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
121
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
122
  readonly syncToUrlPriority?: boolean | undefined;
122
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
123
124
  $attrs: {
@@ -1059,7 +1060,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1059
1060
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1060
1061
  readonly initialValues?: Recordable | undefined;
1061
1062
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1062
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1063
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1063
1064
  readonly syncToUrlPriority?: boolean | undefined;
1064
1065
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1065
1066
  $attrs: {
@@ -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 } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, RuleObject } 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,6 +8,7 @@ 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';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
117
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
118
119
  readonly initialValues?: Recordable | undefined;
119
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
120
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
121
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
122
  readonly syncToUrlPriority?: boolean | undefined;
122
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
123
124
  $attrs: {
@@ -1247,7 +1248,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1247
1248
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1248
1249
  readonly initialValues?: Recordable | undefined;
1249
1250
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1250
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1251
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1251
1252
  readonly syncToUrlPriority?: boolean | undefined;
1252
1253
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1253
1254
  $attrs: {
@@ -1,13 +1,14 @@
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, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, RuleObject, 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';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, ApFormInternalInstance, WatchFunc } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -115,7 +116,7 @@ declare function __VLS_template(): {
115
116
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
116
117
  readonly initialValues?: Recordable | undefined;
117
118
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
118
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
119
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
119
120
  readonly syncToUrlPriority?: boolean | undefined;
120
121
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
121
122
  $attrs: {
@@ -952,7 +953,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
952
953
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
953
954
  readonly initialValues?: Recordable | undefined;
954
955
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
955
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
956
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
956
957
  readonly syncToUrlPriority?: boolean | undefined;
957
958
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
958
959
  $attrs: {
@@ -1,13 +1,15 @@
1
1
  import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableGridExpose, EditableGridProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode & {
12
+ }>) => VNode<RendererNode, RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
13
15
  __ctx?: Awaited<typeof __VLS_setup>;
14
16
  };
15
17
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { VxeTableSlots } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
@@ -35,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode & {
38
+ }>) => VNode<RendererNode, RendererElement, {
39
+ [key: string]: any;
40
+ }> & {
39
41
  __ctx?: Awaited<typeof __VLS_setup>;
40
42
  };
41
43
  export default _default;