@aplus-frontend/ui 0.5.16 → 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 (242) 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 +110 -109
  57. package/es/src/ap-grid/interface.d.ts +10 -0
  58. package/es/src/ap-grid/utils/table.mjs +39 -32
  59. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  60. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  61. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  62. package/es/src/ap-list/index.vue.d.ts +4 -2
  63. package/es/src/ap-list/index.vue.mjs +4 -4
  64. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  65. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  66. package/es/src/ap-table/ap-table.vue2.mjs +26 -26
  67. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  68. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  69. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  70. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  71. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  72. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  73. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  75. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  77. package/es/src/ap-table/constants.mjs +40 -40
  78. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  79. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  80. package/es/src/ap-table/utils.mjs +27 -26
  81. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  82. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  83. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  84. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  85. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  86. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  87. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  88. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  89. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  90. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  91. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  92. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  93. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  94. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  95. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  96. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  97. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  98. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  99. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  100. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  101. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  102. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  103. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  104. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  105. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  106. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  107. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  108. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  109. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +64 -266
  110. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  111. package/es/src/business/ap-ladder/components/SimpleMode.vue.mjs +4 -0
  112. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +119 -0
  113. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  114. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.mjs +4 -0
  115. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +213 -0
  116. package/es/src/business/ap-ladder/index.d.ts +4 -35
  117. package/es/src/business/ap-ladder/interface.d.ts +26 -0
  118. package/es/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  119. package/es/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  120. package/es/src/business/ap-ladder/utils.d.ts +2 -0
  121. package/es/src/business/ap-ladder/utils.mjs +5 -0
  122. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  123. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  124. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  125. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  126. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  127. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  128. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +1 -1
  129. package/es/src/business/ap-table-modal/interface.d.ts +1 -1
  130. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +3 -3
  131. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +20 -21
  132. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +17 -17
  133. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  134. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  135. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  136. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  137. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  138. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  139. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  140. package/es/src/check-card/index.vue2.mjs +3 -3
  141. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  142. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  143. package/es/src/editable-table/form-item.vue.mjs +2 -2
  144. package/es/src/editable-table/index.vue.d.ts +4 -2
  145. package/es/src/editable-table/index.vue.mjs +2 -2
  146. package/es/src/full-screen/index.vue.mjs +3 -3
  147. package/es/src/hooks/useFullScreen.mjs +5 -5
  148. package/es/src/mask/index.vue.mjs +10 -10
  149. package/es/src/mask/style/css.d.ts +0 -0
  150. package/es/src/mask/style/css.js +1 -0
  151. package/es/src/mask/style/index.d.ts +0 -0
  152. package/es/src/mask/style/index.js +1 -0
  153. package/es/src/path-map.mjs +3 -1
  154. package/es/src/portal/index.vue.mjs +2 -2
  155. package/es/src/scroll-bar/index.vue.mjs +3 -3
  156. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  157. package/es/src/scroll-view/index.vue.d.ts +5 -5
  158. package/es/src/scroll-view/index.vue.mjs +9 -9
  159. package/es/src/tests/wrapper.d.ts +4 -4
  160. package/es/src/text/group.vue.mjs +2 -2
  161. package/es/src/text/index.vue.mjs +4 -4
  162. package/es/src/text/style/css.d.ts +0 -0
  163. package/es/src/text/style/css.js +2 -0
  164. package/es/src/text/style/index.d.ts +0 -0
  165. package/es/src/text/style/index.js +2 -0
  166. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  167. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  168. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  169. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  170. package/lib/src/ap-field/index.js +1 -1
  171. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  172. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  173. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  174. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  175. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  176. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  177. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  178. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  179. package/lib/src/ap-grid/index.vue.js +1 -1
  180. package/lib/src/ap-grid/interface.d.ts +10 -0
  181. package/lib/src/ap-grid/utils/table.js +1 -1
  182. package/lib/src/ap-list/index.vue.d.ts +4 -2
  183. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  184. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  185. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  186. package/lib/src/ap-table/constants.js +1 -1
  187. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  188. package/lib/src/ap-table/utils.js +1 -1
  189. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  190. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  191. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  192. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  193. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  194. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  195. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  196. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  197. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  198. package/lib/src/business/ap-ladder/components/SimpleMode.vue.js +1 -0
  199. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -0
  200. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  201. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.js +1 -0
  202. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -0
  203. package/lib/src/business/ap-ladder/index.d.ts +4 -35
  204. package/lib/src/business/ap-ladder/interface.d.ts +26 -0
  205. package/lib/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  206. package/lib/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  207. package/lib/src/business/ap-ladder/utils.d.ts +2 -0
  208. package/lib/src/business/ap-ladder/utils.js +1 -0
  209. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  210. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  211. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
  212. package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
  213. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  214. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  215. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  216. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  217. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  218. package/lib/src/editable-table/index.vue.d.ts +4 -2
  219. package/lib/src/mask/style/css.cjs +1 -0
  220. package/lib/src/mask/style/css.d.ts +0 -0
  221. package/lib/src/mask/style/index.cjs +1 -0
  222. package/lib/src/mask/style/index.d.ts +0 -0
  223. package/lib/src/path-map.js +1 -1
  224. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  225. package/lib/src/tests/wrapper.d.ts +4 -4
  226. package/lib/src/text/style/css.cjs +2 -0
  227. package/lib/src/text/style/css.d.ts +0 -0
  228. package/lib/src/text/style/index.cjs +2 -0
  229. package/lib/src/text/style/index.d.ts +0 -0
  230. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  231. package/package.json +3 -3
  232. package/theme/ap-ladder/ap-ladder.css +28 -1
  233. package/theme/ap-ladder/ap-ladder.less +32 -1
  234. package/theme/index.css +28 -1
  235. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  236. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +0 -4
  237. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +0 -35
  238. package/es/src/business/ap-ladder/useWatchEllipsis.mjs +0 -35
  239. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  240. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +0 -1
  241. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +0 -1
  242. package/lib/src/business/ap-ladder/useWatchEllipsis.js +0 -1
@@ -1,11 +1,10 @@
1
- import { defineComponent as v, createElementBlock as o, openBlock as l, normalizeClass as a, unref as t, renderSlot as h, Fragment as i, createCommentVNode as b, createElementVNode as m, createVNode as p, withCtx as n, createBlock as s, resolveDynamicComponent as c, h as T, createTextVNode as $, toDisplayString as B, renderList as M } from "vue";
1
+ import { defineComponent as v, openBlock as l, createElementBlock as o, normalizeClass as a, unref as t, Fragment as i, createVNode as m, withCtx as n, createBlock as s, resolveDynamicComponent as p, h, createElementVNode as c, renderSlot as b, createCommentVNode as T, createTextVNode as $, toDisplayString as B, renderList as M } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
- import "../../index.mjs";
4
- import { Button as V, Empty as k } from "@aplus-frontend/antdv";
3
+ import { ApTitle as k } from "../../ap-title/index.mjs";
4
+ import { Button as V, Empty as I } from "@aplus-frontend/antdv";
5
5
  import { useLocale as A } from "../../../config-provider/hooks/use-locale.mjs";
6
6
  import { useNamespace as D } from "../../../config-provider/hooks/use-namespace.mjs";
7
- import { ApTitle as I } from "../../ap-title/index.mjs";
8
- const q = /* @__PURE__ */ v({
7
+ const O = /* @__PURE__ */ v({
9
8
  __name: "index",
10
9
  props: {
11
10
  leftTitle: { type: [String, Object, Number, Boolean, null, Array], default: "" },
@@ -31,29 +30,29 @@ const q = /* @__PURE__ */ v({
31
30
  key: 0,
32
31
  class: a(t(r)("table-layout-left"))
33
32
  }, [
34
- p(t(I), { style: { "margin-bottom": "16px" } }, {
33
+ m(t(k), { style: { "margin-bottom": "16px" } }, {
35
34
  prefix: n(() => [
36
- (l(), s(c(T(i, [e.leftTitle]))))
35
+ (l(), s(p(h(i, [e.leftTitle]))))
37
36
  ]),
38
37
  _: 1
39
38
  }),
40
- m("div", {
39
+ c("div", {
41
40
  class: a(t(r)("table-layout-left-content"))
42
41
  }, [
43
- h(e.$slots, "default")
42
+ b(e.$slots, "default")
44
43
  ], 2)
45
- ], 2)) : b("", !0),
46
- m("div", {
44
+ ], 2)) : T("", !0),
45
+ c("div", {
47
46
  class: a(t(r)("table-layout-right"))
48
47
  }, [
49
- p(t(I), {
48
+ m(t(k), {
50
49
  title: `${t(d)("ap.apTableModal.selected")} (${e.selectedList.length})`
51
50
  }, {
52
51
  prefix: n(() => [
53
- (l(), s(c(T(i, [N(e.selectedList.length)]))))
52
+ (l(), s(p(h(i, [N(e.selectedList.length)]))))
54
53
  ]),
55
54
  suffix: n(() => [
56
- p(t(V), {
55
+ m(t(V), {
57
56
  type: "link",
58
57
  style: { padding: "0px", height: "22px", "border-width": "0px" },
59
58
  onClick: L
@@ -66,24 +65,24 @@ const q = /* @__PURE__ */ v({
66
65
  ]),
67
66
  _: 1
68
67
  }, 8, ["title"]),
69
- m("div", {
68
+ c("div", {
70
69
  class: a(t(r)("table-layout-right-content"))
71
70
  }, [
72
71
  (l(!0), o(i, null, M(e.selectedList, (y) => {
73
72
  var g;
74
- return l(), s(c((g = e.renderSelectedItem) == null ? void 0 : g.call(e, y, { deleteItem: C })), { key: y });
73
+ return l(), s(p((g = e.renderSelectedItem) == null ? void 0 : g.call(e, y, { deleteItem: C })), { key: y });
75
74
  }), 128)),
76
- e.selectedList.length === 0 ? (l(), s(t(k), {
75
+ e.selectedList.length === 0 ? (l(), s(t(I), {
77
76
  key: 0,
78
- image: t(k).PRESENTED_IMAGE_SIMPLE,
77
+ image: t(I).PRESENTED_IMAGE_SIMPLE,
79
78
  style: { "margin-top": "100px" }
80
- }, null, 8, ["image"])) : b("", !0)
79
+ }, null, 8, ["image"])) : T("", !0)
81
80
  ], 2)
82
81
  ], 2)
83
- ], 64)) : h(e.$slots, "default", { key: 1 })
82
+ ], 64)) : b(e.$slots, "default", { key: 1 })
84
83
  ], 2));
85
84
  }
86
85
  });
87
86
  export {
88
- q as default
87
+ O as default
89
88
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as U, ref as m, unref as s, computed as q, h as V, createBlock as k, openBlock as T, mergeProps as y, withCtx as h, createCommentVNode as $, createVNode as S, resolveDynamicComponent as z } from "vue";
1
+ import { defineComponent as U, ref as m, unref as s, computed as q, h as V, openBlock as k, createBlock as T, mergeProps as y, withCtx as h, resolveDynamicComponent as $, createCommentVNode as z, createVNode as S } from "vue";
2
2
  import { message as B, Modal as W } from "@aplus-frontend/antdv";
3
- import "../../index.mjs";
4
- import { cloneDeep as Y, omit as R } from "lodash-unified";
5
- import { transformTableParams as J } from "@aplus-frontend/utils";
3
+ import "../../config-provider/index.mjs";
4
+ import { ApTable as Y } from "../../ap-table/index.mjs";
5
+ import { cloneDeep as J, omit as R } from "lodash-unified";
6
+ import { transformTableParams as Q } from "@aplus-frontend/utils";
6
7
  import "./modal-title.vue.mjs";
7
8
  import { AsyncOpenResultError as b } from "./interface.mjs";
8
9
  import "./table-layout/index.vue.mjs";
9
- import { useGlobalConfig as Q } from "../../config-provider/hooks/use-global-config.mjs";
10
- import { useLocale as X } from "../../config-provider/hooks/use-locale.mjs";
11
- import Z from "./modal-title.vue2.mjs";
12
- import j from "./table-layout/index.vue2.mjs";
13
- import { ApTable as ee } from "../../ap-table/index.mjs";
10
+ import { useGlobalConfig as X } from "../../config-provider/hooks/use-global-config.mjs";
11
+ import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
12
+ import j from "./modal-title.vue2.mjs";
13
+ import ee from "./table-layout/index.vue2.mjs";
14
14
  const pe = /* @__PURE__ */ U({
15
15
  __name: "table-modal",
16
16
  props: {
@@ -65,7 +65,7 @@ const pe = /* @__PURE__ */ U({
65
65
  setup(M, { expose: P, emit: K }) {
66
66
  const e = M, _ = K, i = m(!1), x = m({}), d = m(null), a = m([]), C = m();
67
67
  let c = null, n = null;
68
- const I = Q("uiMode", "admin"), { t: g } = X(), D = async (o = [], t = {}) => {
68
+ const I = X("uiMode", "admin"), { t: g } = Z(), D = async (o = [], t = {}) => {
69
69
  var l, r, u;
70
70
  switch (a.value = [...o], i.value = !0, x.value = t == null ? void 0 : t.extraParams, C.value = t.apTableDataSources || ((l = e.apTableProps) == null ? void 0 : l.dataSource), t.refreshMode || "reset") {
71
71
  case "reset":
@@ -83,7 +83,7 @@ const pe = /* @__PURE__ */ U({
83
83
  }, w = () => {
84
84
  i.value = !1, c = null, n == null || n(b.ModalCancel), n = null;
85
85
  }, L = async (o) => {
86
- o = J({
86
+ o = Q({
87
87
  ...o,
88
88
  ...x.value
89
89
  });
@@ -98,7 +98,7 @@ const pe = /* @__PURE__ */ U({
98
98
  return;
99
99
  }
100
100
  if (e.getRowKey) {
101
- const o = Y(s(a)), t = o.map(e.getRowKey);
101
+ const o = J(s(a)), t = o.map(e.getRowKey);
102
102
  _("finish", t, o), c == null || c({ keys: t, rows: o });
103
103
  } else {
104
104
  n == null || n(b.NotFineGetRowKey);
@@ -155,7 +155,7 @@ const pe = /* @__PURE__ */ U({
155
155
  ...e.rowSelection || {}
156
156
  };
157
157
  }), O = () => e.isRenderModalTitleSuffix ? V(
158
- Z,
158
+ j,
159
159
  {
160
160
  title: e.title,
161
161
  count: a.value.length || 0,
@@ -178,7 +178,7 @@ const pe = /* @__PURE__ */ U({
178
178
  open: D,
179
179
  close: w,
180
180
  getApTableInstance: G
181
- }), (o, t) => (T(), k(s(W), y(
181
+ }), (o, t) => (k(), T(s(W), y(
182
182
  {
183
183
  open: i.value,
184
184
  "onUpdate:open": t[0] || (t[0] = (l) => i.value = l)
@@ -206,14 +206,14 @@ const pe = /* @__PURE__ */ U({
206
206
  }
207
207
  ), {
208
208
  default: h(() => [
209
- e.renderHeader ? (T(), k(z(e.renderHeader), { key: 0 })) : $("", !0),
210
- S(j, y(e.tableLayoutConfig || {}, {
209
+ e.renderHeader ? (k(), T($(e.renderHeader), { key: 0 })) : z("", !0),
210
+ S(ee, y(e.tableLayoutConfig || {}, {
211
211
  "selected-list": a.value,
212
212
  onClear: H,
213
213
  onDeleteItem: E
214
214
  }), {
215
215
  default: h(() => [
216
- S(s(ee), y({
216
+ S(s(Y), y({
217
217
  ref_key: "apTableRef",
218
218
  ref: d,
219
219
  scroll: { y: "100%" },
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, computed as g, createElementBlock as a, openBlock as l, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, createBlock as C, createCommentVNode as y, toDisplayString as k, withCtx as v, createVNode as M, normalizeStyle as $ } from "vue";
1
+ import { defineComponent as d, computed as g, openBlock as l, createElementBlock as a, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, toDisplayString as C, createBlock as y, withCtx as k, createVNode as v, normalizeStyle as M, createCommentVNode as $ } from "vue";
2
2
  import { Tooltip as I } from "@aplus-frontend/antdv";
3
3
  import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
4
4
  import "../../config-provider/index.mjs";
@@ -25,20 +25,20 @@ const D = /* @__PURE__ */ d({
25
25
  class: o(t(s)("prefix"))
26
26
  }, [
27
27
  e.$slots.prefix ? n(e.$slots, "prefix", { key: 0 }) : (l(), a(h, { key: 1 }, [
28
- r("span", null, k(e.title), 1),
29
- e.helpMessage ? (l(), C(t(I), {
28
+ r("span", null, C(e.title), 1),
29
+ e.helpMessage ? (l(), y(t(I), {
30
30
  key: 0,
31
31
  title: e.helpMessage,
32
32
  placement: e.placement,
33
33
  trigger: e.trigger
34
34
  }, {
35
- default: v(() => [
36
- M(t(N), {
37
- style: $(f.value)
35
+ default: k(() => [
36
+ v(t(N), {
37
+ style: M(f.value)
38
38
  }, null, 8, ["style"])
39
39
  ]),
40
40
  _: 1
41
- }, 8, ["title", "placement", "trigger"])) : y("", !0)
41
+ }, 8, ["title", "placement", "trigger"])) : $("", !0)
42
42
  ], 64))
43
43
  ], 2),
44
44
  r("div", {
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, computed as C, createBlock as k, openBlock as m, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
1
+ import { defineComponent as Q, computed as C, openBlock as m, createBlock as k, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
2
2
  import { clearSingleFile as ee, clearAllFile as x } from "../utils/fileList.mjs";
3
3
  import b from "../icon/file-icon.vue.mjs";
4
4
  import F from "../icon/delete-icon.vue.mjs";
@@ -1,4 +1,4 @@
1
- import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
1
+ import { openBlock as l, createElementBlock as n, createElementVNode as e } from "vue";
2
2
  import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, L = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const r = {}, L = {
8
8
  viewBox: "0 0 20 20"
9
9
  };
10
10
  function i(c, o) {
11
- return n(), l("svg", L, o[0] || (o[0] = [
11
+ return l(), n("svg", L, o[0] || (o[0] = [
12
12
  e("g", null, [
13
13
  e("g", null, [
14
14
  e("path", {
@@ -1,4 +1,4 @@
1
- import { createElementBlock as o, openBlock as i, createStaticVNode as e } from "vue";
1
+ import { openBlock as o, createElementBlock as i, createStaticVNode as e } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const r = {}, s = {
8
8
  viewBox: "0 0 56 56"
9
9
  };
10
10
  function p(a, t) {
11
- return i(), o("svg", s, t[0] || (t[0] = [
11
+ return o(), i("svg", s, t[0] || (t[0] = [
12
12
  e('<defs><clipPath id="master_svg0_693_19001"><rect x="0" y="0" width="56" height="56" rx="7"></rect></clipPath><linearGradient id="master_svg1_693_19025" x1="0.5" y1="0" x2="0.5" y2="0.7987817525863647"><stop offset="0%" stop-color="#AED1FF" stop-opacity="1"></stop><stop offset="100%" stop-color="#74B1FF" stop-opacity="1"></stop></linearGradient><linearGradient id="master_svg2_693_19014" x1="0.5" y1="0" x2="0.5" y2="1"><stop offset="0.7142857182770967%" stop-color="#DBEBFF" stop-opacity="1"></stop><stop offset="100%" stop-color="#98C5FF" stop-opacity="1"></stop></linearGradient></defs><g clip-path="url(#master_svg0_693_19001)"><g><g><path d="M49.4644,10.22729L35.1706,10.22729C34.2282,10.22729,33.316,9.89456,32.595,9.287759999999999L29.1746,6.4093C28.0931,5.499102,26.7249,5,25.3113,5L5.5,5C3.29086,5,1.5,6.79086,1.5,9L1.5,45L54.4995,45L54.5,15.2852C54.5,12.49165,52.2455,10.22729,49.4644,10.22729Z" fill="url(#master_svg1_693_19025)" fill-opacity="1"></path></g><g><path d="M10.5,13L45.5,13C46.6046,13,47.5,13.895431,47.5,15L47.5,35.9999L8.5,36L8.5,15C8.5,13.895431,9.395431,13,10.5,13" fill="#FFFFFF" fill-opacity="0.30000001192092896"></path></g><g><path d="M8.5,17L47.5,17C48.6046,17,49.5,17.895431,49.5,19L49.5,41.9998L6.5,42L6.5,19C6.5,17.895431,7.395431,17,8.5,17" fill="#F9FCFF" fill-opacity="1"></path></g><g><rect x="14.5" y="21" width="15" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.30000001192092896"></rect></g><g><rect x="14.5" y="27" width="28" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.6000000238418579"></rect></g><g><path d="M1.5,37L1.5,48C1.5,50.2091,3.29086,52,5.5,52L50.5,52C52.7091,52,54.5,50.2091,54.5,48L54.5,37C54.5,35.34315,53.1569,34,51.5,34L4.5,34C2.84315,34,1.5,35.34315,1.5,37Z" fill="url(#master_svg2_693_19014)" fill-opacity="1"></path></g></g></g>', 2)
13
13
  ]));
14
14
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, computed as r, createBlock as B, openBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
1
+ import { defineComponent as b, computed as r, openBlock as B, createBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
2
2
  import "./index.vue2.mjs";
3
3
  import "../../ap-form/item/index.vue2.mjs";
4
4
  import { isValid as s } from "@aplus-frontend/utils";
@@ -75,7 +75,7 @@ const q = /* @__PURE__ */ b({
75
75
  });
76
76
  return (e, a) => {
77
77
  var o, i;
78
- return g(), B(x, u(
78
+ return B(), g(x, u(
79
79
  m(p)(l, [
80
80
  "field",
81
81
  "initialValue",
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, ref as g, computed as u, unref as n, createElementBlock as $, openBlock as B, normalizeStyle as b, normalizeClass as K, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
1
+ import { defineComponent as N, ref as g, computed as u, unref as n, openBlock as B, createElementBlock as $, normalizeClass as K, normalizeStyle as b, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
2
2
  import "../../ap-field/index.mjs";
3
3
  import { Space as G } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as m, createElementBlock as w, openBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
1
+ import { defineComponent as A, ref as m, openBlock as w, createElementBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
2
2
  import { Popover as N, Textarea as P } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { IconApAdLineScreen as z } from "@aplus-frontend/icon";
@@ -33,7 +33,7 @@ const D = /* @__PURE__ */ A({
33
33
  o.disabled ? n.value = !1 : n.value = t, !t && ((a = o.onClose) == null || a.call(o));
34
34
  }
35
35
  const { b: u, e: I, em: V, bm: k } = O("batch-input-group-popover-input");
36
- return (t, a) => (B(), w("div", {
36
+ return (t, a) => (w(), B("div", {
37
37
  class: p(e(u)())
38
38
  }, [
39
39
  c(e(N), {
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, createElementBlock as C, openBlock as c, withModifiers as D, normalizeClass as z, normalizeStyle as M, createBlock as f, renderSlot as O, createCommentVNode as g, resolveDynamicComponent as S, createElementVNode as U } from "vue";
1
+ import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, openBlock as c, createElementBlock as C, normalizeStyle as D, normalizeClass as z, withModifiers as M, createBlock as f, renderSlot as O, resolveDynamicComponent as S, createCommentVNode as g, createElementVNode as U } from "vue";
2
2
  import { Skeleton as q } from "@aplus-frontend/antdv";
3
3
  import "../config-provider/index.mjs";
4
4
  import "../hooks/index.mjs";
@@ -115,9 +115,9 @@ const K = ["src"], oe = /* @__PURE__ */ I({
115
115
  return (b = (u = l.value) == null ? void 0 : u.cancelValue) == null ? void 0 : b.call(u, a.value);
116
116
  });
117
117
  }), (e, t) => (c(), C("div", {
118
- style: M(T.value),
118
+ style: D(T.value),
119
119
  class: z(w.value),
120
- onClick: D(F, ["stop"])
120
+ onClick: M(F, ["stop"])
121
121
  }, [n.value.loading ? (c(), f(o(q), {
122
122
  key: 0,
123
123
  active: ""
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (
6
- /**
7
- * 块 一般是指组件名
8
- */
9
- block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
10
6
  namespace: ComputedRef<string>;
11
7
  b: (blockSuffix?: string) => string;
12
8
  e: (element?: string) => string;
@@ -1,6 +1,6 @@
1
1
  import { EditableColumnType, EditableTableFormItemProps } from './interface';
2
2
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
5
  declare const _default: <RecordType = 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<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
@@ -48,7 +48,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
48
48
  }) => void;
49
49
  };
50
50
  emit: {};
51
- }>) => VNode & {
51
+ }>) => VNode<RendererNode, RendererElement, {
52
+ [key: string]: any;
53
+ }> & {
52
54
  __ctx?: Awaited<typeof __VLS_setup>;
53
55
  };
54
56
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, ref as d, unref as n, useSlots as M, watch as g, createBlock as G, openBlock as H, mergeProps as b, withCtx as w, createVNode as W, createSlots as $, renderList as q, renderSlot as U, normalizeProps as J, guardReactiveProps as Q } from "vue";
1
+ import { defineComponent as K, ref as d, unref as n, useSlots as M, watch as g, openBlock as G, createBlock as H, mergeProps as b, withCtx as w, createVNode as W, createSlots as $, renderList as q, renderSlot as U, normalizeProps as J, guardReactiveProps as Q } from "vue";
2
2
  import { Table as X } from "@aplus-frontend/antdv";
3
3
  import { ApForm as C } from "../ap-form/index.mjs";
4
4
  import { isArray as Y, isEqual as Z, isNumber as f, cloneDeep as m, omit as y } from "lodash-unified";
@@ -194,7 +194,7 @@ const he = /* @__PURE__ */ K({
194
194
  scrollTo: z,
195
195
  setTableData: P,
196
196
  clear: O
197
- }), (e, o) => (H(), G(n(C).FormItem, b(e.formItem, {
197
+ }), (e, o) => (G(), H(n(C).FormItem, b(e.formItem, {
198
198
  name: e.name,
199
199
  label: e.label
200
200
  }), {
@@ -2,7 +2,7 @@ import { EditableTableProps, EditableColumnType } from './interface';
2
2
  import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
6
6
  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<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -53,7 +53,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
53
53
  }) => void;
54
54
  };
55
55
  emit: (event: "update:value", ...args: any[]) => void;
56
- }>) => VNode & {
56
+ }>) => VNode<RendererNode, RendererElement, {
57
+ [key: string]: any;
58
+ }> & {
57
59
  __ctx?: Awaited<typeof __VLS_setup>;
58
60
  };
59
61
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as W, useSlots as $, ref as w, watch as C, unref as o, createBlock as q, openBlock as J, withCtx as c, createVNode as b, mergeProps as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as ee, guardReactiveProps as te } from "vue";
1
+ import { defineComponent as W, useSlots as $, ref as w, watch as C, unref as o, openBlock as q, createBlock as J, withCtx as c, createVNode as b, mergeProps as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as ee, guardReactiveProps as te } from "vue";
2
2
  import { Table as ae } from "@aplus-frontend/antdv";
3
3
  import { ApForm as p } from "../ap-form/index.mjs";
4
4
  import { isEqual as ne, isArray as R, isNumber as x, cloneDeep as h, omit as F } from "lodash-unified";
@@ -209,7 +209,7 @@ const Ce = /* @__PURE__ */ W({
209
209
  scrollTo: H,
210
210
  clear: U,
211
211
  setTableData: K
212
- }), (e, t) => (J(), q(o(p), {
212
+ }), (e, t) => (q(), J(o(p), {
213
213
  ref_key: "formRef",
214
214
  ref: s,
215
215
  "initial-values": {
@@ -1,4 +1,4 @@
1
- import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, createBlock as m, openBlock as d, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
1
+ import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, openBlock as m, createBlock as d, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
2
2
  import "../hooks/index.mjs";
3
3
  import "../portal/index.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -43,12 +43,12 @@ const H = /* @__PURE__ */ R({
43
43
  enter: o,
44
44
  exit: s,
45
45
  toggle: c
46
- }), (e, r) => (d(), m(a(B), {
46
+ }), (e, r) => (m(), d(a(B), {
47
47
  to: "body",
48
48
  disabled: l.value !== "window"
49
49
  }, {
50
50
  default: v(() => [
51
- (d(), m(z(e.wrapperElementName), C({
51
+ (m(), d(z(e.wrapperElementName), C({
52
52
  ref_key: "target",
53
53
  ref: f
54
54
  }, e.$attrs, {
@@ -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;