@aplus-frontend/ui 7.13.6 → 7.13.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/es/src/ag-grid/components/body-cell/index.vue2.mjs +7 -7
  2. package/es/src/ag-grid/components/empty/index.vue2.mjs +10 -10
  3. package/es/src/ag-grid/components/header-cell/index.vue2.mjs +37 -37
  4. package/es/src/ag-grid/components/row/index.vue2.mjs +5 -5
  5. package/es/src/ag-grid/components/tooltip/index.vue2.mjs +12 -12
  6. package/es/src/ag-grid/editable/form-item.vue.mjs +49 -49
  7. package/es/src/ag-grid/editable/index.vue.mjs +27 -27
  8. package/es/src/ag-grid/index.vue.mjs +249 -249
  9. package/es/src/ap-action/group/index.vue.mjs +15 -15
  10. package/es/src/ap-action/item/index.vue2.mjs +28 -28
  11. package/es/src/ap-action/item-dropdown/index.vue.mjs +39 -39
  12. package/es/src/ap-field/checkbox/index.vue.mjs +19 -19
  13. package/es/src/ap-field/checkbox/read.vue2.mjs +9 -9
  14. package/es/src/ap-field/date/index.vue.mjs +50 -50
  15. package/es/src/ap-field/date/read.vue2.mjs +7 -7
  16. package/es/src/ap-field/date-range/index.vue.mjs +30 -30
  17. package/es/src/ap-field/date-range/read.vue2.mjs +20 -20
  18. package/es/src/ap-field/number/index.vue.mjs +24 -24
  19. package/es/src/ap-field/radio/index.vue.mjs +24 -24
  20. package/es/src/ap-field/second/index.vue.mjs +15 -15
  21. package/es/src/ap-field/second/read.vue2.mjs +7 -7
  22. package/es/src/ap-field/segmented/index.vue.mjs +24 -24
  23. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  24. package/es/src/ap-field/select/index.vue.mjs +246 -206
  25. package/es/src/ap-field/select/read.vue2.mjs +6 -6
  26. package/es/src/ap-field/slider/index.vue.mjs +11 -11
  27. package/es/src/ap-field/style/select.mjs +17 -4
  28. package/es/src/ap-field/switch/index.vue.mjs +45 -45
  29. package/es/src/ap-field/text/read-password.vue2.mjs +13 -13
  30. package/es/src/ap-field/text/read.vue2.mjs +3 -3
  31. package/es/src/ap-field/text-area/index.vue.mjs +29 -29
  32. package/es/src/ap-field/text-area/read.vue2.mjs +12 -12
  33. package/es/src/ap-field/tree-select/index.vue.mjs +31 -31
  34. package/es/src/ap-form/ap-form.vue2.mjs +46 -46
  35. package/es/src/ap-form/drawer-form/index.vue.mjs +30 -30
  36. package/es/src/ap-form/item/index.vue.mjs +75 -75
  37. package/es/src/ap-form/items/checkbox/index.vue.mjs +10 -10
  38. package/es/src/ap-form/items/number/index.vue.mjs +17 -17
  39. package/es/src/ap-form/items/radio/index.vue.mjs +13 -13
  40. package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
  41. package/es/src/ap-form/items/switch/index.vue.mjs +14 -14
  42. package/es/src/ap-form/items/text/index.vue2.mjs +26 -26
  43. package/es/src/ap-form/items/text/password.vue.mjs +19 -19
  44. package/es/src/ap-form/items/text-area/index.vue.mjs +17 -17
  45. package/es/src/ap-form/modal-form/index.vue.mjs +34 -34
  46. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +39 -39
  47. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +7 -7
  48. package/es/src/ap-grid/editable/form-item.vue.mjs +46 -46
  49. package/es/src/ap-grid/editable/index.vue.mjs +19 -19
  50. package/es/src/ap-grid/index.vue.mjs +212 -212
  51. package/es/src/ap-list/index.vue.mjs +116 -116
  52. package/es/src/ap-table/ap-table.vue2.mjs +217 -217
  53. package/es/src/ap-table/components/index/index.vue2.mjs +9 -9
  54. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -42
  55. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +21 -21
  56. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +15 -15
  57. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +69 -69
  58. package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +22 -22
  59. package/es/src/ap-table/components/setting/template/index.vue2.mjs +25 -25
  60. package/es/src/ap-table/components/setting/template/item.vue2.mjs +40 -40
  61. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +13 -13
  62. package/es/src/ap-table/constants.d.ts +2 -2
  63. package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +54 -54
  64. package/es/src/business/ag-grid-modal/selected-items/default.vue2.mjs +13 -13
  65. package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +20 -20
  66. package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +33 -33
  67. package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +13 -13
  68. package/es/src/business/ap-download/ap-download.vue.mjs +24 -24
  69. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +77 -77
  70. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +168 -157
  71. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +33 -33
  72. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +12 -12
  73. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +43 -43
  74. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +57 -57
  75. package/es/src/business/ap-tag/ap-tag-group.vue.mjs +37 -37
  76. package/es/src/business/ap-tag/ap-tag.vue.mjs +24 -24
  77. package/es/src/business/ap-title/ApTitle.vue2.mjs +27 -27
  78. package/es/src/business/ap-value-select-card/index.vue2.mjs +98 -98
  79. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  80. package/es/src/business/batch-input-group/form-item.vue.mjs +25 -25
  81. package/es/src/business/batch-input-group/index.vue.mjs +60 -60
  82. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +29 -29
  83. package/es/src/editable-table/form-item.vue.mjs +35 -35
  84. package/es/src/editable-table/index.vue.mjs +19 -19
  85. package/es/src/full-screen/index.vue.mjs +46 -46
  86. package/es/src/mask/index.vue.mjs +48 -48
  87. package/es/src/portal/index.vue.mjs +5 -5
  88. package/es/src/scroll-bar/internal.vue.mjs +62 -62
  89. package/es/src/scroll-view/index.vue.mjs +66 -66
  90. package/es/src/skeleton/components/desc/index.vue2.mjs +9 -9
  91. package/es/src/skeleton/components/desc/item-large.vue2.mjs +25 -25
  92. package/es/src/skeleton/components/desc/item.vue2.mjs +13 -13
  93. package/es/src/skeleton/components/list/index.vue2.mjs +14 -14
  94. package/es/src/skeleton/components/list/item.vue2.mjs +12 -12
  95. package/es/src/skeleton/components/page-header/index.vue2.mjs +8 -8
  96. package/es/src/skeleton/components/search-form/index.vue2.mjs +35 -35
  97. package/es/src/skeleton/components/table/index.vue2.mjs +17 -17
  98. package/es/src/skeleton/components/table/item.vue2.mjs +23 -23
  99. package/es/src/skeleton/descriptions.vue2.mjs +15 -15
  100. package/es/src/skeleton/list-page.vue2.mjs +12 -12
  101. package/es/src/splitter/Panel.vue2.mjs +11 -11
  102. package/es/src/splitter/SplitBar.vue2.mjs +79 -79
  103. package/es/src/splitter/Splitter.vue2.mjs +50 -50
  104. package/es/src/text/group.vue.mjs +8 -8
  105. package/es/src/text/index.vue.mjs +48 -48
  106. package/es/src/version.d.ts +1 -1
  107. package/es/src/version.mjs +1 -1
  108. package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -1
  109. package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
  110. package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
  111. package/lib/src/ag-grid/components/row/index.vue2.js +1 -1
  112. package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
  113. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  114. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  115. package/lib/src/ag-grid/index.vue.js +1 -1
  116. package/lib/src/ap-action/group/index.vue.js +1 -1
  117. package/lib/src/ap-action/item/index.vue2.js +1 -1
  118. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  119. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  120. package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
  121. package/lib/src/ap-field/date/index.vue.js +1 -1
  122. package/lib/src/ap-field/date/read.vue2.js +1 -1
  123. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  124. package/lib/src/ap-field/date-range/read.vue2.js +1 -1
  125. package/lib/src/ap-field/number/index.vue.js +1 -1
  126. package/lib/src/ap-field/radio/index.vue.js +1 -1
  127. package/lib/src/ap-field/second/index.vue.js +1 -1
  128. package/lib/src/ap-field/second/read.vue2.js +1 -1
  129. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  130. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  131. package/lib/src/ap-field/select/index.vue.js +1 -1
  132. package/lib/src/ap-field/select/read.vue2.js +1 -1
  133. package/lib/src/ap-field/slider/index.vue.js +1 -1
  134. package/lib/src/ap-field/style/select.js +1 -1
  135. package/lib/src/ap-field/switch/index.vue.js +1 -1
  136. package/lib/src/ap-field/text/read-password.vue2.js +1 -1
  137. package/lib/src/ap-field/text/read.vue2.js +1 -1
  138. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  139. package/lib/src/ap-field/text-area/read.vue2.js +1 -1
  140. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  141. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  142. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  143. package/lib/src/ap-form/item/index.vue.js +1 -1
  144. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  145. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  146. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  147. package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
  148. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  149. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  150. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  151. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  152. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  153. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  154. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  155. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  156. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  157. package/lib/src/ap-grid/index.vue.js +1 -1
  158. package/lib/src/ap-list/index.vue.js +1 -1
  159. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  160. package/lib/src/ap-table/components/index/index.vue2.js +1 -1
  161. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  162. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  163. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
  164. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  165. package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -1
  166. package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -1
  167. package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -1
  168. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  169. package/lib/src/ap-table/constants.d.ts +2 -2
  170. package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
  171. package/lib/src/business/ag-grid-modal/selected-items/default.vue2.js +1 -1
  172. package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
  173. package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
  174. package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
  175. package/lib/src/business/ap-download/ap-download.vue.js +1 -1
  176. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
  177. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  178. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  179. package/lib/src/business/ap-status/group/ApStatusGroup.vue2.js +1 -1
  180. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  181. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  182. package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
  183. package/lib/src/business/ap-tag/ap-tag.vue.js +1 -1
  184. package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
  185. package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
  186. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  187. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  188. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  189. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  190. package/lib/src/editable-table/form-item.vue.js +1 -1
  191. package/lib/src/editable-table/index.vue.js +1 -1
  192. package/lib/src/full-screen/index.vue.js +1 -1
  193. package/lib/src/mask/index.vue.js +1 -1
  194. package/lib/src/portal/index.vue.js +1 -1
  195. package/lib/src/scroll-bar/internal.vue.js +1 -1
  196. package/lib/src/scroll-view/index.vue.js +1 -1
  197. package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
  198. package/lib/src/skeleton/components/desc/item-large.vue2.js +1 -1
  199. package/lib/src/skeleton/components/desc/item.vue2.js +1 -1
  200. package/lib/src/skeleton/components/list/index.vue2.js +1 -1
  201. package/lib/src/skeleton/components/list/item.vue2.js +1 -1
  202. package/lib/src/skeleton/components/page-header/index.vue2.js +1 -1
  203. package/lib/src/skeleton/components/search-form/index.vue2.js +1 -1
  204. package/lib/src/skeleton/components/table/index.vue2.js +1 -1
  205. package/lib/src/skeleton/components/table/item.vue2.js +1 -1
  206. package/lib/src/skeleton/descriptions.vue2.js +1 -1
  207. package/lib/src/skeleton/list-page.vue2.js +1 -1
  208. package/lib/src/splitter/Panel.vue2.js +1 -1
  209. package/lib/src/splitter/SplitBar.vue2.js +1 -1
  210. package/lib/src/splitter/Splitter.vue2.js +1 -1
  211. package/lib/src/text/group.vue.js +1 -1
  212. package/lib/src/text/index.vue.js +1 -1
  213. package/lib/src/version.d.ts +1 -1
  214. package/lib/src/version.js +1 -1
  215. package/package.json +1 -1
@@ -1,50 +1,50 @@
1
- import { defineComponent as v, computed as i, unref as e, createBlock as y, openBlock as o, withCtx as r, createVNode as a, createElementBlock as p, Fragment as x, renderList as B, normalizeStyle as _, createElementVNode as k } from "vue";
2
- import { Card as w, Flex as n, Skeleton as l } from "@aplus-frontend/antdv";
3
- import C from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
4
- const E = { style: {
1
+ import { defineComponent as x, computed as n, unref as e, createBlock as y, openBlock as o, withCtx as i, createVNode as t, createElementBlock as u, Fragment as B, renderList as k, normalizeStyle as w, createElementVNode as _ } from "vue";
2
+ import { Card as C, Flex as c, Skeleton as l } from "@aplus-frontend/antdv";
3
+ import E from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
4
+ const S = { style: {
5
5
  width: "20%"
6
- } }, N = /* @__PURE__ */ v({
6
+ } }, N = /* @__PURE__ */ x({
7
7
  __name: "index",
8
8
  props: {
9
9
  active: { type: Boolean }
10
10
  },
11
- setup(S) {
12
- const m = {
11
+ setup(a) {
12
+ const d = {
13
13
  lg: !0,
14
14
  md: !0,
15
15
  sm: !1,
16
16
  xl: !1,
17
17
  xs: !1,
18
18
  xxl: !1
19
- }, u = {
19
+ }, p = {
20
20
  xs: 2,
21
21
  sm: 2,
22
22
  md: 4,
23
23
  lg: 4,
24
24
  xl: 5,
25
25
  xxl: 5
26
- }, d = C(), f = i(() => d.value || m), g = i(() => {
27
- const t = e(f);
28
- return Object.keys(t).filter((c) => t[c] === !0).pop() || "md";
29
- }), s = i(
30
- () => u[g.value] || 4
26
+ }, f = E(), g = n(() => f.value || d), h = n(() => {
27
+ const r = e(g);
28
+ return Object.keys(r).filter((m) => r[m] === !0).pop() || "md";
29
+ }), s = n(
30
+ () => p[h.value] || 4
31
31
  );
32
- return (t, c) => (o(), y(e(w), {
32
+ return (r, m) => (o(), y(e(C), {
33
33
  variant: "borderless",
34
34
  style: { marginBlockEnd: "16px" }
35
35
  }, {
36
- default: r(() => [
37
- a(e(n), {
36
+ default: i(() => [
37
+ t(e(c), {
38
38
  gap: 8,
39
39
  style: { marginBlockEnd: "16px" }
40
40
  }, {
41
- default: r(() => [
42
- (o(!0), p(x, null, B(new Array(s.value).fill(null), (b, h) => (o(), p("div", {
43
- key: h,
44
- style: _({ width: `${100 / s.value}%` })
41
+ default: i(() => [
42
+ (o(!0), u(B, null, k(new Array(s.value).fill(null), (b, v) => (o(), u("div", {
43
+ key: v,
44
+ style: w({ width: `${100 / s.value}%` })
45
45
  }, [
46
- a(e(l), {
47
- active: t.active,
46
+ t(e(l), {
47
+ active: a.active,
48
48
  paragraph: !1,
49
49
  title: { style: { height: "24px", marginBottom: 0 } }
50
50
  }, null, 8, ["active"])
@@ -52,34 +52,34 @@ const E = { style: {
52
52
  ]),
53
53
  _: 1
54
54
  }),
55
- a(e(n), {
55
+ t(e(c), {
56
56
  gap: 8,
57
57
  justify: "space-between"
58
58
  }, {
59
- default: r(() => [
60
- a(e(n), { gap: 8 }, {
61
- default: r(() => [
62
- a(e(l), {
63
- active: t.active,
59
+ default: i(() => [
60
+ t(e(c), { gap: 8 }, {
61
+ default: i(() => [
62
+ t(e(l), {
63
+ active: a.active,
64
64
  paragraph: !1,
65
65
  title: { style: { height: "24px", marginBottom: 0 }, width: 48 }
66
66
  }, null, 8, ["active"]),
67
- a(e(l), {
68
- active: t.active,
67
+ t(e(l), {
68
+ active: a.active,
69
69
  paragraph: !1,
70
70
  title: { style: { height: "24px", marginBottom: 0 }, width: 48 }
71
71
  }, null, 8, ["active"]),
72
- a(e(l), {
73
- active: t.active,
72
+ t(e(l), {
73
+ active: a.active,
74
74
  paragraph: !1,
75
75
  title: { style: { height: "24px", marginBottom: 0 }, width: 48 }
76
76
  }, null, 8, ["active"])
77
77
  ]),
78
78
  _: 1
79
79
  }),
80
- k("div", E, [
81
- a(e(l), {
82
- active: t.active,
80
+ _("div", S, [
81
+ t(e(l), {
82
+ active: a.active,
83
83
  paragraph: !1,
84
84
  title: {
85
85
  style: { height: "24px", marginBottom: 0 }
@@ -1,12 +1,12 @@
1
- import { defineComponent as d, createBlock as n, openBlock as l, unref as t, withCtx as r, createCommentVNode as p, createVNode as a, createElementBlock as m, createElementVNode as o, Fragment as u, renderList as v } from "vue";
2
- import { Card as f, Flex as y, Skeleton as i } from "@aplus-frontend/antdv";
1
+ import { defineComponent as m, createBlock as n, openBlock as l, unref as t, withCtx as c, createCommentVNode as u, createVNode as a, createElementBlock as s, createElementVNode as r, Fragment as v, renderList as f } from "vue";
2
+ import { Card as x, Flex as p, Skeleton as i } from "@aplus-frontend/antdv";
3
3
  import "./item.vue.mjs";
4
- import c from "./item.vue2.mjs";
5
- const h = { style: {
4
+ import o from "./item.vue2.mjs";
5
+ const y = { style: {
6
6
  display: "flex",
7
7
  justifyContent: "flex-end",
8
8
  paddingBlockStart: "16px"
9
- } }, z = /* @__PURE__ */ d({
9
+ } }, C = /* @__PURE__ */ m({
10
10
  name: "ApSkeletonTable",
11
11
  __name: "index",
12
12
  props: {
@@ -14,15 +14,15 @@ const h = { style: {
14
14
  size: { default: 4 },
15
15
  actions: { type: Boolean, default: void 0 }
16
16
  },
17
- setup(B) {
18
- return (e, k) => (l(), n(t(f), { variant: "borderless" }, {
19
- default: r(() => [
20
- e.actions !== !1 ? (l(), n(t(y), {
17
+ setup(e) {
18
+ return (h, B) => (l(), n(t(x), { variant: "borderless" }, {
19
+ default: c(() => [
20
+ e.actions !== !1 ? (l(), n(t(p), {
21
21
  key: 0,
22
22
  justify: "space-between"
23
23
  }, {
24
- default: r(() => [
25
- o("div", null, [
24
+ default: c(() => [
25
+ r("div", null, [
26
26
  a(t(i).Button, {
27
27
  active: e.active,
28
28
  size: "small",
@@ -45,16 +45,16 @@ const h = { style: {
45
45
  }, null, 8, ["active"])
46
46
  ]),
47
47
  _: 1
48
- })) : p("", !0),
49
- a(c, {
48
+ })) : u("", !0),
49
+ a(o, {
50
50
  header: "",
51
51
  active: e.active
52
52
  }, null, 8, ["active"]),
53
- (l(!0), m(u, null, v(new Array(e.size).fill(null), (g, s) => (l(), n(c, {
54
- key: s,
53
+ (l(!0), s(v, null, f(new Array(e.size).fill(null), (k, d) => (l(), n(o, {
54
+ key: d,
55
55
  active: e.active
56
56
  }, null, 8, ["active"]))), 128)),
57
- o("div", h, [
57
+ r("div", y, [
58
58
  a(t(i), {
59
59
  active: e.active,
60
60
  paragraph: !1,
@@ -74,5 +74,5 @@ const h = { style: {
74
74
  }
75
75
  });
76
76
  export {
77
- z as default
77
+ C as default
78
78
  };
@@ -1,18 +1,18 @@
1
- import { defineComponent as h, computed as l, unref as t, createElementBlock as a, openBlock as n, Fragment as p, createElementVNode as s, createVNode as r, normalizeStyle as d, renderList as v } from "vue";
1
+ import { defineComponent as v, computed as a, unref as t, createElementBlock as n, openBlock as r, Fragment as c, createElementVNode as s, createVNode as i, normalizeStyle as p, renderList as k } from "vue";
2
2
  import { Skeleton as m } from "@aplus-frontend/antdv";
3
- import k from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
4
- import { ApSkeletonLine as S } from "../line/index.mjs";
5
- const _ = { style: {
3
+ import S from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
4
+ import { ApSkeletonLine as B } from "../line/index.mjs";
5
+ const b = { style: {
6
6
  flex: 3,
7
7
  paddingInlineStart: "32px"
8
- } }, A = /* @__PURE__ */ h({
8
+ } }, C = /* @__PURE__ */ v({
9
9
  name: "ApSkeletonTableItem",
10
10
  __name: "item",
11
11
  props: {
12
12
  active: { type: Boolean },
13
13
  header: { type: Boolean, default: !1 }
14
14
  },
15
- setup(B) {
15
+ setup(e) {
16
16
  const u = {
17
17
  lg: !0,
18
18
  md: !0,
@@ -20,36 +20,36 @@ const _ = { style: {
20
20
  xl: !1,
21
21
  xs: !1,
22
22
  xxl: !1
23
- }, c = {
23
+ }, x = {
24
24
  xs: 1,
25
25
  sm: 2,
26
26
  md: 3,
27
27
  lg: 3,
28
28
  xl: 3,
29
29
  xxl: 4
30
- }, f = k(), x = l(() => f.value || u), g = l(() => {
31
- const e = t(x);
32
- return Object.keys(e).filter((i) => e[i] === !0)[0] || "md";
33
- }), y = l(
34
- () => c[g.value] || 3
30
+ }, f = S(), g = a(() => f.value || u), y = a(() => {
31
+ const l = t(g);
32
+ return Object.keys(l).filter((o) => l[o] === !0)[0] || "md";
33
+ }), h = a(
34
+ () => x[y.value] || 3
35
35
  );
36
- return (e, i) => (n(), a(p, null, [
36
+ return (l, o) => (r(), n(c, null, [
37
37
  s("div", {
38
- style: d({
38
+ style: p({
39
39
  display: "flex",
40
40
  background: e.header ? "rgba(0,0,0,0.02)" : "none",
41
41
  padding: "20px 8px"
42
42
  })
43
43
  }, [
44
- (n(!0), a(p, null, v(new Array(y.value).fill(null), (b, o) => (n(), a("div", {
45
- key: o,
46
- style: d({
44
+ (r(!0), n(c, null, k(new Array(h.value).fill(null), (w, d) => (r(), n("div", {
45
+ key: d,
46
+ style: p({
47
47
  flex: 1,
48
- paddingInlineStart: e.header && o === 0 ? "8px" : "20px",
48
+ paddingInlineStart: e.header && d === 0 ? "8px" : "20px",
49
49
  paddingInlineEnd: "32px"
50
50
  })
51
51
  }, [
52
- r(t(m), {
52
+ i(t(m), {
53
53
  active: e.active,
54
54
  paragraph: !1,
55
55
  title: {
@@ -61,8 +61,8 @@ const _ = { style: {
61
61
  }
62
62
  }, null, 8, ["active", "title"])
63
63
  ], 4))), 128)),
64
- s("div", _, [
65
- r(t(m), {
64
+ s("div", b, [
65
+ i(t(m), {
66
66
  active: e.active,
67
67
  paragraph: !1,
68
68
  title: {
@@ -71,10 +71,10 @@ const _ = { style: {
71
71
  }, null, 8, ["active", "title"])
72
72
  ])
73
73
  ], 4),
74
- r(t(S), { style: { padding: "0px 0px" } })
74
+ i(t(B), { style: { padding: "0px 0px" } })
75
75
  ], 64));
76
76
  }
77
77
  });
78
78
  export {
79
- A as default
79
+ C as default
80
80
  };
@@ -1,37 +1,37 @@
1
- import { defineComponent as a, createElementBlock as r, openBlock as t, createBlock as o, createCommentVNode as i, createVNode as n, unref as l } from "vue";
1
+ import { defineComponent as o, createElementBlock as c, openBlock as t, createBlock as i, createCommentVNode as a, createVNode as n, unref as l } from "vue";
2
2
  import "./components/desc/index.vue.mjs";
3
- import { ApSkeletonLine as s } from "./components/line/index.mjs";
3
+ import { ApSkeletonLine as r } from "./components/line/index.mjs";
4
4
  import "./components/list/index.vue.mjs";
5
5
  import "./components/page-header/index.vue.mjs";
6
6
  import m from "./components/page-header/index.vue2.mjs";
7
- import p from "./components/desc/index.vue2.mjs";
8
- import c from "./components/list/index.vue2.mjs";
9
- const f = { style: {
7
+ import f from "./components/desc/index.vue2.mjs";
8
+ import u from "./components/list/index.vue2.mjs";
9
+ const s = { style: {
10
10
  width: "100%"
11
- } }, $ = /* @__PURE__ */ a({
11
+ } }, g = /* @__PURE__ */ o({
12
12
  __name: "descriptions",
13
13
  props: {
14
14
  active: { type: Boolean, default: !0 },
15
15
  pageHeader: { type: Boolean, default: void 0 },
16
16
  list: { type: [Boolean, Number], default: 3 }
17
17
  },
18
- setup(u) {
19
- return (e, d) => (t(), r("div", f, [
20
- e.pageHeader !== !1 ? (t(), o(m, {
18
+ setup(e) {
19
+ return (d, v) => (t(), c("div", s, [
20
+ e.pageHeader !== !1 ? (t(), i(m, {
21
21
  key: 0,
22
22
  active: e.active
23
- }, null, 8, ["active"])) : i("", !0),
24
- n(p, { active: e.active }, null, 8, ["active"]),
25
- e.list !== !1 ? (t(), o(l(s), { key: 1 })) : i("", !0),
26
- e.list !== !1 ? (t(), o(c, {
23
+ }, null, 8, ["active"])) : a("", !0),
24
+ n(f, { active: e.active }, null, 8, ["active"]),
25
+ e.list !== !1 ? (t(), i(l(r), { key: 1 })) : a("", !0),
26
+ e.list !== !1 ? (t(), i(u, {
27
27
  key: 2,
28
28
  active: e.active,
29
29
  size: e.list,
30
30
  "action-button": !!e.list
31
- }, null, 8, ["active", "size", "action-button"])) : i("", !0)
31
+ }, null, 8, ["active", "size", "action-button"])) : a("", !0)
32
32
  ]));
33
33
  }
34
34
  });
35
35
  export {
36
- $ as default
36
+ g as default
37
37
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as i, createElementBlock as r, openBlock as t, createBlock as a, createCommentVNode as o, createVNode as n, unref as l, withCtx as s } from "vue";
1
+ import { defineComponent as i, createElementBlock as n, openBlock as t, createBlock as a, createCommentVNode as o, createVNode as l, unref as c, withCtx as r } from "vue";
2
2
  import { Card as m } from "@aplus-frontend/antdv";
3
3
  import "./components/page-header/index.vue.mjs";
4
4
  import "./components/search-form/index.vue.mjs";
5
5
  import "./components/table/index.vue.mjs";
6
- import p from "./components/page-header/index.vue2.mjs";
7
- import c from "./components/search-form/index.vue2.mjs";
8
- import d from "./components/table/index.vue2.mjs";
9
- const f = { style: {
6
+ import d from "./components/page-header/index.vue2.mjs";
7
+ import f from "./components/search-form/index.vue2.mjs";
8
+ import s from "./components/table/index.vue2.mjs";
9
+ const u = { style: {
10
10
  width: "100%"
11
11
  } }, N = /* @__PURE__ */ i({
12
12
  name: "ApSkeletonListPage",
@@ -18,22 +18,22 @@ const f = { style: {
18
18
  searchForm: { type: Boolean, default: void 0 },
19
19
  list: { type: [Number, Boolean], default: 5 }
20
20
  },
21
- setup(u) {
22
- return (e, v) => (t(), r("div", f, [
23
- e.pageHeader !== !1 ? (t(), a(p, {
21
+ setup(e) {
22
+ return (v, y) => (t(), n("div", u, [
23
+ e.pageHeader !== !1 ? (t(), a(d, {
24
24
  key: 0,
25
25
  active: e.active
26
26
  }, null, 8, ["active"])) : o("", !0),
27
- e.searchForm !== !1 ? (t(), a(c, {
27
+ e.searchForm !== !1 ? (t(), a(f, {
28
28
  key: 1,
29
29
  active: e.active
30
30
  }, null, 8, ["active"])) : o("", !0),
31
- n(l(m), {
31
+ l(c(m), {
32
32
  variant: "borderless",
33
33
  "body-style": { padding: 0 }
34
34
  }, {
35
- default: s(() => [
36
- e.list !== !1 ? (t(), a(d, {
35
+ default: r(() => [
36
+ e.list !== !1 ? (t(), a(s, {
37
37
  key: 0,
38
38
  size: e.list,
39
39
  active: e.active,
@@ -1,7 +1,7 @@
1
- import { defineComponent as n, computed as r, createElementBlock as i, openBlock as p, normalizeStyle as m, normalizeClass as c, unref as s, renderSlot as u } from "vue";
1
+ import { defineComponent as o, computed as r, createElementBlock as i, openBlock as c, normalizeStyle as m, normalizeClass as p, unref as s, renderSlot as u } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { useNamespace as d } from "../config-provider/hooks/use-namespace.mjs";
4
- const B = /* @__PURE__ */ n({
4
+ const x = /* @__PURE__ */ o({
5
5
  name: "InternalSplitterPanel",
6
6
  __name: "Panel",
7
7
  props: {
@@ -14,23 +14,23 @@ const B = /* @__PURE__ */ n({
14
14
  resizable: { type: Boolean },
15
15
  defaultSize: {}
16
16
  },
17
- setup(a) {
18
- const t = a, { b: l } = d("splitter-panel"), o = r(() => {
19
- const e = t.size !== void 0;
17
+ setup(t) {
18
+ const l = t, { b: a } = d("splitter-panel"), n = r(() => {
19
+ const e = l.size !== void 0;
20
20
  return {
21
- ...t.style,
22
- flexBasis: e ? `${t.size}px` : "auto",
21
+ ...l.style,
22
+ flexBasis: e ? `${l.size}px` : "auto",
23
23
  flexGrow: e ? 0 : 1
24
24
  };
25
25
  });
26
- return (e, f) => (p(), i("div", {
27
- class: c([s(l)(), { [s(l)("hidden")]: e.size === 0 }, e.className]),
28
- style: m(o.value)
26
+ return (e, f) => (c(), i("div", {
27
+ class: p([s(a)(), { [s(a)("hidden")]: t.size === 0 }, t.className]),
28
+ style: m(n.value)
29
29
  }, [
30
30
  u(e.$slots, "default")
31
31
  ], 6));
32
32
  }
33
33
  });
34
34
  export {
35
- B as default
35
+ x as default
36
36
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, ref as S, computed as C, unref as a, watchEffect as U, createElementBlock as g, openBlock as m, normalizeClass as c, createCommentVNode as b, createElementVNode as z, normalizeStyle as T, createBlock as D, resolveDynamicComponent as F, createVNode as B } from "vue";
1
+ import { defineComponent as P, ref as S, computed as z, unref as a, watchEffect as U, createElementBlock as h, openBlock as w, normalizeClass as d, createCommentVNode as y, createElementVNode as x, normalizeStyle as T, createBlock as D, resolveDynamicComponent as F, createVNode as B } from "vue";
2
2
  import { UpOutlined as A, DownOutlined as R, LeftOutlined as $, RightOutlined as j } from "@ant-design/icons-vue";
3
3
  import "../config-provider/index.mjs";
4
4
  import { useNamespace as q } from "../config-provider/hooks/use-namespace.mjs";
@@ -48,121 +48,121 @@ const G = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], W = /* @__PURE__
48
48
  type: [Boolean, String]
49
49
  }
50
50
  },
51
- setup(L) {
52
- function y(e) {
53
- return typeof e == "number" && !Number.isNaN(e) ? Math.round(e) : 0;
51
+ setup(s) {
52
+ function C(t) {
53
+ return typeof t == "number" && !Number.isNaN(t) ? Math.round(t) : 0;
54
54
  }
55
- const o = L, {
56
- b: t,
57
- cssVar: N
58
- } = q("splitter-bar"), w = S(null), d = S(0), k = C(() => o.vertical ? 0 : a(d)), x = C(() => o.vertical ? a(d) : 0), V = (e) => {
59
- o.resizable && e.currentTarget && (w.value = [e.pageX, e.pageY], o.onOffsetStart(o.index));
60
- }, X = (e) => {
61
- if (o.resizable && e.touches.length === 1) {
62
- const n = e.touches[0];
63
- w.value = [n.pageX, n.pageY], o.onOffsetStart(o.index);
55
+ const e = s, {
56
+ b: o,
57
+ cssVar: L
58
+ } = q("splitter-bar"), g = S(null), u = S(0), N = z(() => e.vertical ? 0 : a(u)), k = z(() => e.vertical ? a(u) : 0), V = (t) => {
59
+ e.resizable && t.currentTarget && (g.value = [t.pageX, t.pageY], e.onOffsetStart(e.index));
60
+ }, X = (t) => {
61
+ if (e.resizable && t.touches.length === 1) {
62
+ const n = t.touches[0];
63
+ g.value = [n.pageX, n.pageY], e.onOffsetStart(e.index);
64
64
  }
65
- }, Y = (e) => {
65
+ }, Y = (t) => {
66
66
  const {
67
67
  containerSize: n,
68
- ariaMax: s,
68
+ ariaMax: l,
69
69
  ariaMin: r,
70
- ariaNow: i
71
- } = o, l = n * i / 100, u = l + e, p = Math.max(0, n * r / 100), f = Math.max(n, n * s / 100);
72
- return Math.max(p, Math.min(f, u)) - l;
73
- }, O = (e, n) => {
74
- const s = Y(o.vertical ? n : e);
75
- d.value = s;
70
+ ariaNow: c
71
+ } = e, i = n * c / 100, f = i + t, p = Math.max(0, n * r / 100), v = Math.max(n, n * l / 100);
72
+ return Math.max(p, Math.min(v, f)) - i;
73
+ }, O = (t, n) => {
74
+ const l = Y(e.vertical ? n : t);
75
+ u.value = l;
76
76
  }, E = () => {
77
- o.onOffsetUpdate(o.index, a(k), a(x)), d.value = 0;
78
- }, M = (e) => {
79
- switch (e) {
77
+ e.onOffsetUpdate(e.index, a(N), a(k)), u.value = 0;
78
+ }, M = (t) => {
79
+ switch (t) {
80
80
  case !0:
81
- return t("collapse-bar-always-visible");
81
+ return o("collapse-bar-always-visible");
82
82
  case !1:
83
- return t("collapse-bar-always-hidden");
83
+ return o("collapse-bar-always-hidden");
84
84
  case "auto":
85
- return t("collapse-bar-hover-only");
85
+ return o("collapse-bar-hover-only");
86
86
  }
87
87
  };
88
- U((e) => {
89
- const n = a(w);
88
+ U((t) => {
89
+ const n = a(g);
90
90
  if (n) {
91
- const s = (u) => {
91
+ const l = (f) => {
92
92
  const {
93
93
  pageX: p,
94
- pageY: f
95
- } = u, v = p - n[0], I = f - n[1];
96
- o.lazy ? O(v, I) : o.onOffsetUpdate(o.index, v, I);
94
+ pageY: v
95
+ } = f, m = p - n[0], I = v - n[1];
96
+ e.lazy ? O(m, I) : e.onOffsetUpdate(e.index, m, I);
97
97
  }, r = () => {
98
- o.lazy && E(), w.value = null, o.onOffsetEnd();
99
- }, i = (u) => {
100
- if (u.touches.length === 1) {
101
- const p = u.touches[0], f = p.pageX - n[0], v = p.pageY - n[1];
102
- o.lazy ? O(f, v) : o.onOffsetUpdate(o.index, f, v);
98
+ e.lazy && E(), g.value = null, e.onOffsetEnd();
99
+ }, c = (f) => {
100
+ if (f.touches.length === 1) {
101
+ const p = f.touches[0], v = p.pageX - n[0], m = p.pageY - n[1];
102
+ e.lazy ? O(v, m) : e.onOffsetUpdate(e.index, v, m);
103
103
  }
104
- }, l = () => {
105
- o.lazy && E(), w.value = null, o.onOffsetEnd();
104
+ }, i = () => {
105
+ e.lazy && E(), g.value = null, e.onOffsetEnd();
106
106
  };
107
- window.addEventListener("touchmove", i), window.addEventListener("touchend", l), window.addEventListener("mousemove", s), window.addEventListener("mouseup", r), e(() => {
108
- window.removeEventListener("touchmove", i), window.removeEventListener("touchend", l), window.removeEventListener("mousemove", s), window.removeEventListener("mouseup", r);
107
+ window.addEventListener("touchmove", c), window.addEventListener("touchend", i), window.addEventListener("mousemove", l), window.addEventListener("mouseup", r), t(() => {
108
+ window.removeEventListener("touchmove", c), window.removeEventListener("touchend", i), window.removeEventListener("mousemove", l), window.removeEventListener("mouseup", r);
109
109
  });
110
110
  }
111
111
  }, {
112
112
  flush: "post"
113
113
  });
114
- const h = C(() => {
114
+ const b = z(() => {
115
115
  const {
116
- collapsibleIcon: e,
116
+ collapsibleIcon: t,
117
117
  vertical: n
118
- } = o;
119
- let s = null, r = null;
120
- const i = e?.start !== void 0, l = e?.end !== void 0;
121
- return n ? (s = i ? () => e.start : A, r = l ? () => e.end : R) : (s = i ? () => e.start : $, r = l ? () => e.end : j), {
122
- startIcon: s,
118
+ } = e;
119
+ let l = null, r = null;
120
+ const c = t?.start !== void 0, i = t?.end !== void 0;
121
+ return n ? (l = c ? () => t.start : A, r = i ? () => t.end : R) : (l = c ? () => t.start : $, r = i ? () => t.end : j), {
122
+ startIcon: l,
123
123
  endIcon: r,
124
- startCustomize: i,
125
- endCustomize: l
124
+ startCustomize: c,
125
+ endCustomize: i
126
126
  };
127
127
  });
128
- return (e, n) => (m(), g("div", {
129
- class: c(a(t)()),
128
+ return (t, n) => (w(), h("div", {
129
+ class: d(a(o)()),
130
130
  role: "separator",
131
- "aria-valuenow": y(o.ariaNow),
132
- "aria-valuemin": y(o.ariaMin),
133
- "aria-valuemax": y(o.ariaMax)
134
- }, [o.lazy ? (m(), g("div", {
131
+ "aria-valuenow": C(e.ariaNow),
132
+ "aria-valuemin": C(e.ariaMin),
133
+ "aria-valuemax": C(e.ariaMax)
134
+ }, [e.lazy ? (w(), h("div", {
135
135
  key: 0,
136
- class: c([a(t)("preview"), {
137
- [a(t)("preview-active")]: !!d.value
136
+ class: d([a(o)("preview"), {
137
+ [a(o)("preview-active")]: !!u.value
138
138
  }]),
139
- style: T(a(N)({
140
- "preview-offset": `${d.value}px`
139
+ style: T(a(L)({
140
+ "preview-offset": `${u.value}px`
141
141
  }))
142
- }, null, 6)) : b("", !0), z("div", {
143
- class: c([a(t)("dragger"), {
144
- [a(t)("dragger-disabled")]: !e.resizable,
145
- [a(t)("dragger-active")]: e.active,
146
- [a(t)("dragger-customize")]: e.draggerIcon !== void 0
142
+ }, null, 6)) : y("", !0), x("div", {
143
+ class: d([a(o)("dragger"), {
144
+ [a(o)("dragger-disabled")]: !s.resizable,
145
+ [a(o)("dragger-active")]: s.active,
146
+ [a(o)("dragger-customize")]: s.draggerIcon !== void 0
147
147
  }]),
148
148
  onMousedown: V,
149
149
  onTouchstart: X
150
- }, [e.draggerIcon !== void 0 ? (m(), g("div", {
150
+ }, [s.draggerIcon !== void 0 ? (w(), h("div", {
151
151
  key: 0,
152
- class: c(a(t)("dragger-icon"))
153
- }, [(m(), D(F(e.draggerIcon)))], 2)) : b("", !0)], 34), e.startCollapsible ? (m(), g("div", {
152
+ class: d(a(o)("dragger-icon"))
153
+ }, [(w(), D(F(s.draggerIcon)))], 2)) : y("", !0)], 34), s.startCollapsible ? (w(), h("div", {
154
154
  key: 1,
155
- class: c([a(t)("collapse-bar"), a(t)("collapse-bar-start"), h.value.startCustomize ? a(t)("collapse-bar-customize") : "", M(e.showStartCollapsibleIcon)]),
156
- onClick: n[0] || (n[0] = () => e.onCollapse(e.index, "start"))
157
- }, [z("span", {
158
- class: c([a(t)("collapse-icon"), a(t)("collapse-start")])
159
- }, [B(a(h).startIcon)], 2)], 2)) : b("", !0), e.endCollapsible ? (m(), g("div", {
155
+ class: d([a(o)("collapse-bar"), a(o)("collapse-bar-start"), b.value.startCustomize ? a(o)("collapse-bar-customize") : "", M(s.showStartCollapsibleIcon)]),
156
+ onClick: n[0] || (n[0] = () => s.onCollapse(s.index, "start"))
157
+ }, [x("span", {
158
+ class: d([a(o)("collapse-icon"), a(o)("collapse-start")])
159
+ }, [B(a(b).startIcon)], 2)], 2)) : y("", !0), s.endCollapsible ? (w(), h("div", {
160
160
  key: 2,
161
- class: c([a(t)("collapse-bar"), a(t)("collapse-bar-end"), h.value.endCustomize ? a(t)("collapse-bar-customize") : "", M(e.showEndCollapsibleIcon)]),
162
- onClick: n[1] || (n[1] = () => e.onCollapse(e.index, "end"))
163
- }, [z("span", {
164
- class: c([a(t)("collapse-icon"), a(t)("collapse-end")])
165
- }, [B(a(h).endIcon)], 2)], 2)) : b("", !0)], 10, G));
161
+ class: d([a(o)("collapse-bar"), a(o)("collapse-bar-end"), b.value.endCustomize ? a(o)("collapse-bar-customize") : "", M(s.showEndCollapsibleIcon)]),
162
+ onClick: n[1] || (n[1] = () => s.onCollapse(s.index, "end"))
163
+ }, [x("span", {
164
+ class: d([a(o)("collapse-icon"), a(o)("collapse-end")])
165
+ }, [B(a(b).endIcon)], 2)], 2)) : y("", !0)], 10, G));
166
166
  }
167
167
  });
168
168
  export {