@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,10 +1,10 @@
1
- import { defineComponent as ue, ref as he, reactive as pe, computed as v, unref as a, watchEffect as _, watch as ye, createElementBlock as me, openBlock as P, withModifiers as M, normalizeStyle as A, normalizeClass as w, createElementVNode as z, renderSlot as de, createBlock as L, createCommentVNode as O, mergeProps as I } from "vue";
2
- import { wait as k } from "@aplus-frontend/utils";
3
- import { useElementSize as T, useRafFn as ve } from "@vueuse/core";
4
- import { isString as j } from "lodash-unified";
1
+ import { defineComponent as ue, ref as he, reactive as pe, computed as v, unref as a, watchEffect as A, watch as ye, createElementBlock as me, openBlock as z, withModifiers as L, normalizeStyle as O, normalizeClass as B, createElementVNode as k, renderSlot as de, createBlock as I, createCommentVNode as T, mergeProps as _ } from "vue";
2
+ import { wait as R } from "@aplus-frontend/utils";
3
+ import { useElementSize as j, useRafFn as ve } from "@vueuse/core";
4
+ import { isString as F } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
6
  import "../scroll-bar/index.mjs";
7
- import { ensureRangeValue as n, getScrollable as R } from "../scroll-bar/utils/index.mjs";
7
+ import { ensureRangeValue as n, getScrollable as W } from "../scroll-bar/utils/index.mjs";
8
8
  import "../utils/index.mjs";
9
9
  import { useScrollBack as xe } from "./hooks/use-scroll-back.mjs";
10
10
  import { useScrollSmooth as we } from "./hooks/use-scroll-smooth.mjs";
@@ -13,8 +13,8 @@ import Se from "./style/index.mjs";
13
13
  import { getElementScrollOffset as ge } from "./utils/index.mjs";
14
14
  import { useNamespace as be } from "../config-provider/hooks/use-namespace.mjs";
15
15
  import { isDef as f } from "../utils/is.mjs";
16
- import F from "../scroll-bar/internal.vue.mjs";
17
- const Le = /* @__PURE__ */ ue({
16
+ import H from "../scroll-bar/internal.vue.mjs";
17
+ const Oe = /* @__PURE__ */ ue({
18
18
  name: "ScrollView",
19
19
  __name: "index",
20
20
  props: {
@@ -27,13 +27,13 @@ const Le = /* @__PURE__ */ ue({
27
27
  yBarProps: { default: () => ({}) },
28
28
  onWheel: {}
29
29
  },
30
- setup(H, { expose: q }) {
31
- const o = H, G = {
30
+ setup(x, { expose: q }) {
31
+ const o = x, G = {
32
32
  direction: "vertical",
33
33
  rate: 1,
34
34
  repeat: !0
35
- }, { b: J, e: B, em: W } = be("scroll-view"), K = Se("scroll-view"), u = he(), c = pe({ x: 30, y: 30 });
36
- let S = !1;
35
+ }, { b: J, e: S, em: N } = be("scroll-view"), K = Se("scroll-view"), u = he(), c = pe({ x: 30, y: 30 });
36
+ let g = !1;
37
37
  const {
38
38
  scrollOffset: r,
39
39
  maxScrollDistance: i,
@@ -43,25 +43,25 @@ const Le = /* @__PURE__ */ ue({
43
43
  scrollYBar: h,
44
44
  scrollXBar: p,
45
45
  updateMaxScrollDistance: Z
46
- } = Be(), { width: ee, height: te } = T(u), { width: re, height: oe } = T(s), { start: N } = xe({
46
+ } = Be(), { width: ee, height: te } = j(u), { width: re, height: oe } = j(s), { start: $ } = xe({
47
47
  scrollOffset: r,
48
48
  maxScrollDistance: i,
49
49
  onScroll: (e) => {
50
50
  e === "horizontal" ? p() : h();
51
51
  },
52
52
  async onScrollEnd() {
53
- await k(200), g();
53
+ await R(200), b();
54
54
  }
55
- }), { start: $ } = we({
55
+ }), { start: V } = we({
56
56
  scrollOffset: r,
57
57
  maxScrollDistance: i,
58
58
  onScroll(e, t) {
59
- V.value && (y(), S = !0), e && p(), t && h();
59
+ E.value && (y(), g = !0), e && p(), t && h();
60
60
  },
61
61
  async onScrollEnd() {
62
- S && (await k(200), g(), S = !1);
62
+ g && (await R(200), b(), g = !1);
63
63
  }
64
- }), { resume: g, pause: y, isActive: V } = ve(
64
+ }), { resume: b, pause: y, isActive: E } = ve(
65
65
  () => {
66
66
  if (!o.autoPlay) {
67
67
  y();
@@ -73,7 +73,7 @@ const Le = /* @__PURE__ */ ue({
73
73
  };
74
74
  if (t.direction === "horizontal") {
75
75
  if (r.x === i.x) {
76
- y(), t.repeat && N("horizontal");
76
+ y(), t.repeat && $("horizontal");
77
77
  return;
78
78
  }
79
79
  r.x = n(
@@ -83,7 +83,7 @@ const Le = /* @__PURE__ */ ue({
83
83
  ), p();
84
84
  } else {
85
85
  if (r.y === i.y) {
86
- y(), t.repeat && N("vertical");
86
+ y(), t.repeat && $("vertical");
87
87
  return;
88
88
  }
89
89
  r.y = n(
@@ -94,16 +94,16 @@ const Le = /* @__PURE__ */ ue({
94
94
  }
95
95
  },
96
96
  { immediate: !0 }
97
- ), m = v(() => o.showXBar && c.x !== 100), x = v(() => o.showYBar && c.y !== 100), ae = v(() => ({
98
- width: f(o.width) ? j(o.width) ? o.width : Number.isNaN(o.width) ? void 0 : `${o.width}px` : void 0,
99
- height: f(o.heigth) ? j(o.heigth) ? o.heigth : Number.isNaN(o.heigth) ? void 0 : `${o.heigth}px` : void 0,
97
+ ), m = v(() => o.showXBar && c.x !== 100), w = v(() => o.showYBar && c.y !== 100), ae = v(() => ({
98
+ width: f(o.width) ? F(o.width) ? o.width : Number.isNaN(o.width) ? void 0 : `${o.width}px` : void 0,
99
+ height: f(o.heigth) ? F(o.heigth) ? o.heigth : Number.isNaN(o.heigth) ? void 0 : `${o.heigth}px` : void 0,
100
100
  padding: `${o.xBarProps.trackWidth || 10}px ${o.yBarProps.trackWidth || 10}px`
101
101
  }));
102
- async function b() {
103
- V.value && (y(), await k(500), g());
102
+ async function P() {
103
+ E.value && (y(), await R(500), b());
104
104
  }
105
105
  async function le(e) {
106
- if (a(x))
106
+ if (a(w))
107
107
  e.preventDefault(), e.stopPropagation();
108
108
  else
109
109
  return;
@@ -111,7 +111,7 @@ const Le = /* @__PURE__ */ ue({
111
111
  r.y + e.deltaY,
112
112
  0,
113
113
  i.y
114
- ), h(), o.onWheel?.("vertical", r.y), b();
114
+ ), h(), o.onWheel?.("vertical", r.y), P();
115
115
  }
116
116
  function ie(e) {
117
117
  if (a(m))
@@ -122,11 +122,11 @@ const Le = /* @__PURE__ */ ue({
122
122
  r.x + e.deltaX,
123
123
  0,
124
124
  i.x
125
- ), p(), o.onWheel?.("horizontal", r.x), b();
125
+ ), p(), o.onWheel?.("horizontal", r.x), P();
126
126
  }
127
- function E() {
127
+ function X() {
128
128
  if (o.showYBar) {
129
- const { visibleSize: e, totalSize: t } = R(
129
+ const { visibleSize: e, totalSize: t } = W(
130
130
  s.value,
131
131
  "vertical"
132
132
  );
@@ -135,7 +135,7 @@ const Le = /* @__PURE__ */ ue({
135
135
  );
136
136
  }
137
137
  if (o.showXBar) {
138
- const { visibleSize: e, totalSize: t } = R(
138
+ const { visibleSize: e, totalSize: t } = W(
139
139
  s.value,
140
140
  "horizontal"
141
141
  );
@@ -144,21 +144,21 @@ const Le = /* @__PURE__ */ ue({
144
144
  );
145
145
  }
146
146
  }
147
- function X(e, t) {
147
+ function C(e, t) {
148
148
  const l = a(s), d = a(u);
149
149
  if (!l || !d) return;
150
- const { visibleSize: C, totalSize: D } = R(l, t);
151
- if (D <= C) return;
152
- const Y = (D - C) * e / 100, fe = t === "vertical";
153
- if (b(), fe) {
154
- r.y = Y;
150
+ const { visibleSize: D, totalSize: Y } = W(l, t);
151
+ if (Y <= D) return;
152
+ const M = (Y - D) * e / 100, fe = t === "vertical";
153
+ if (P(), fe) {
154
+ r.y = M;
155
155
  return;
156
156
  }
157
- r.x = Y;
157
+ r.x = M;
158
158
  }
159
- _(
159
+ A(
160
160
  () => {
161
- a(s.value) && E();
161
+ a(s.value) && X();
162
162
  },
163
163
  { flush: "post" }
164
164
  ), ye(
@@ -169,16 +169,16 @@ const Le = /* @__PURE__ */ ue({
169
169
  oe.value
170
170
  ],
171
171
  () => {
172
- E(), Z();
172
+ X(), Z();
173
173
  }
174
- ), _(() => {
174
+ ), A(() => {
175
175
  u.value && (u.value.style.transform = `translate3d(-${r.x}px, -${r.y}px, 0px)`);
176
176
  });
177
177
  function ne(e, t) {
178
- f(e) && m.value && (r.x = n(e, 0, i.x), p()), f(t) && x.value && (r.y = n(t, 0, i.y), h());
178
+ f(e) && m.value && (r.x = n(e, 0, i.x), p()), f(t) && w.value && (r.y = n(t, 0, i.y), h());
179
179
  }
180
180
  function se({ smooth: e, left: t, top: l }) {
181
- e ? $({ x: t, y: l }) : (f(t) && (r.x = t), f(l) && (r.y = l));
181
+ e ? V({ x: t, y: l }) : (f(t) && (r.x = t), f(l) && (r.y = l));
182
182
  }
183
183
  function ce(e, t = "start") {
184
184
  const l = ge(
@@ -190,11 +190,11 @@ const Le = /* @__PURE__ */ ue({
190
190
  r.x + l.x,
191
191
  0,
192
192
  i.x
193
- )), x.value && (d.y = n(
193
+ )), w.value && (d.y = n(
194
194
  r.y + l.y,
195
195
  0,
196
196
  i.y
197
- )), $(d);
197
+ )), V(d);
198
198
  }
199
199
  return q({
200
200
  scrollTop: v(() => r.y),
@@ -202,52 +202,52 @@ const Le = /* @__PURE__ */ ue({
202
202
  scroll: ne,
203
203
  scrollTo: se,
204
204
  scrollIntoView: ce
205
- }), (e, t) => (P(), me("div", {
205
+ }), (e, t) => (z(), me("div", {
206
206
  ref_key: "containerRef",
207
207
  ref: s,
208
- class: w([a(J)(), a(K)]),
209
- style: A(ae.value),
208
+ class: B([a(J)(), a(K)]),
209
+ style: O(ae.value),
210
210
  onWheel: [
211
- M(le, ["exact"]),
212
- M(ie, ["shift"])
211
+ L(le, ["exact"]),
212
+ L(ie, ["shift"])
213
213
  ]
214
214
  }, [
215
- z("div", {
215
+ k("div", {
216
216
  ref_key: "contentRef",
217
217
  ref: u,
218
- class: w(a(B)("content"))
218
+ class: B(a(S)("content"))
219
219
  }, [
220
220
  de(e.$slots, "default")
221
221
  ], 2),
222
- z("div", {
223
- class: w([a(B)("bar-wrapper"), a(W)("bar-wrapper", "vertical")]),
224
- style: A(`height: calc(100% - ${m.value ? e.xBarProps.trackWidth || 10 : 0}px)`)
222
+ k("div", {
223
+ class: B([a(S)("bar-wrapper"), a(N)("bar-wrapper", "vertical")]),
224
+ style: O(`height: calc(100% - ${m.value ? x.xBarProps.trackWidth || 10 : 0}px)`)
225
225
  }, [
226
- x.value ? (P(), L(a(F), I({
226
+ w.value ? (z(), I(a(H), _({
227
227
  key: 0,
228
228
  ref_key: "yBarRef",
229
229
  ref: U
230
- }, e.yBarProps, {
230
+ }, x.yBarProps, {
231
231
  "bar-length": c.y,
232
- onScroll: t[0] || (t[0] = (l) => X(l, "vertical"))
233
- }), null, 16, ["bar-length"])) : O("", !0)
232
+ onScroll: t[0] || (t[0] = (l) => C(l, "vertical"))
233
+ }), null, 16, ["bar-length"])) : T("", !0)
234
234
  ], 6),
235
- z("div", {
236
- class: w([a(B)("bar-wrapper"), a(W)("bar-wrapper", "horizontal")])
235
+ k("div", {
236
+ class: B([a(S)("bar-wrapper"), a(N)("bar-wrapper", "horizontal")])
237
237
  }, [
238
- m.value ? (P(), L(a(F), I({
238
+ m.value ? (z(), I(a(H), _({
239
239
  key: 0,
240
240
  ref_key: "xBarRef",
241
241
  ref: Q
242
- }, e.xBarProps, {
242
+ }, x.xBarProps, {
243
243
  direction: "horizontal",
244
244
  "bar-length": c.x,
245
- onScroll: t[1] || (t[1] = (l) => X(l, "horizontal"))
246
- }), null, 16, ["bar-length"])) : O("", !0)
245
+ onScroll: t[1] || (t[1] = (l) => C(l, "horizontal"))
246
+ }), null, 16, ["bar-length"])) : T("", !0)
247
247
  ], 2)
248
248
  ], 38));
249
249
  }
250
250
  });
251
251
  export {
252
- Le as default
252
+ Oe as default
253
253
  };
@@ -1,17 +1,17 @@
1
- import { defineComponent as o, createBlock as r, openBlock as i, unref as a, withCtx as n, createVNode as t } from "vue";
1
+ import { defineComponent as i, createBlock as o, openBlock as r, unref as a, withCtx as n, createVNode as t } from "vue";
2
2
  import { Card as c, Skeleton as l } from "@aplus-frontend/antdv";
3
3
  import "./item-large.vue.mjs";
4
4
  import "./item.vue.mjs";
5
- import p from "./item.vue2.mjs";
6
- import m from "./item-large.vue2.mjs";
7
- const x = /* @__PURE__ */ o({
5
+ import m from "./item.vue2.mjs";
6
+ import d from "./item-large.vue2.mjs";
7
+ const B = /* @__PURE__ */ i({
8
8
  name: "ApSkeletonDesc",
9
9
  __name: "index",
10
10
  props: {
11
11
  active: { type: Boolean }
12
12
  },
13
- setup(s) {
14
- return (e, d) => (i(), r(a(c), {
13
+ setup(e) {
14
+ return (p, s) => (r(), o(a(c), {
15
15
  variant: "borderless",
16
16
  style: {
17
17
  borderStartEndRadius: 0,
@@ -25,13 +25,13 @@ const x = /* @__PURE__ */ o({
25
25
  size: "small",
26
26
  style: { width: "100px", marginBlockEnd: "16px" }
27
27
  }, null, 8, ["active"]),
28
- t(p, { active: e.active }, null, 8, ["active"]),
29
- t(m, { active: e.active }, null, 8, ["active"])
28
+ t(m, { active: e.active }, null, 8, ["active"]),
29
+ t(d, { active: e.active }, null, 8, ["active"])
30
30
  ]),
31
31
  _: 1
32
32
  }));
33
33
  }
34
34
  });
35
35
  export {
36
- x as default
36
+ B as default
37
37
  };
@@ -1,61 +1,61 @@
1
- import { defineComponent as n, createElementBlock as r, openBlock as o, createVNode as t, createElementVNode as l, unref as a } from "vue";
1
+ import { defineComponent as n, createElementBlock as c, openBlock as r, createVNode as e, createElementVNode as l, unref as a } from "vue";
2
2
  import { Skeleton as i } from "@aplus-frontend/antdv";
3
- const s = { style: { marginBlockStart: "32px" } }, c = { style: {
3
+ const o = { style: { marginBlockStart: "32px" } }, s = { style: {
4
4
  width: "100%",
5
5
  justifyContent: "space-between",
6
6
  display: "flex"
7
- } }, p = { style: {
7
+ } }, v = { style: {
8
8
  flex: 1,
9
9
  marginInlineEnd: "24px",
10
10
  maxWidth: "300px"
11
- } }, v = { style: {
11
+ } }, m = { style: {
12
12
  flex: 1,
13
13
  alignItems: "center",
14
14
  justifyContent: "center"
15
- } }, m = { style: {
15
+ } }, d = { style: {
16
16
  maxWidth: "300px",
17
17
  margin: "auto"
18
- } }, u = /* @__PURE__ */ n({
18
+ } }, h = /* @__PURE__ */ n({
19
19
  __name: "item-large",
20
20
  props: {
21
21
  active: { type: Boolean }
22
22
  },
23
- setup(d) {
24
- return (e, f) => (o(), r("div", s, [
25
- t(a(i).Button, {
26
- active: e.active,
23
+ setup(t) {
24
+ return (p, f) => (r(), c("div", o, [
25
+ e(a(i).Button, {
26
+ active: t.active,
27
27
  size: "small",
28
28
  style: { width: "100px", marginBlockEnd: "16px" }
29
29
  }, null, 8, ["active"]),
30
- l("div", c, [
31
- l("div", p, [
32
- t(a(i), {
33
- active: e.active,
30
+ l("div", s, [
31
+ l("div", v, [
32
+ e(a(i), {
33
+ active: t.active,
34
34
  paragraph: !1,
35
35
  title: { style: { marginBlockStart: 0 } }
36
36
  }, null, 8, ["active"]),
37
- t(a(i), {
38
- active: e.active,
37
+ e(a(i), {
38
+ active: t.active,
39
39
  paragraph: !1,
40
40
  title: { style: { marginBlockStart: "8px" } }
41
41
  }, null, 8, ["active"]),
42
- t(a(i), {
43
- active: e.active,
42
+ e(a(i), {
43
+ active: t.active,
44
44
  paragraph: !1,
45
45
  title: { style: { marginBlockStart: "8px" } }
46
46
  }, null, 8, ["active"])
47
47
  ]),
48
- l("div", v, [
49
- l("div", m, [
50
- t(a(i), {
51
- active: e.active,
48
+ l("div", m, [
49
+ l("div", d, [
50
+ e(a(i), {
51
+ active: t.active,
52
52
  paragraph: !1,
53
53
  title: {
54
54
  style: { marginBlockStart: 0 }
55
55
  }
56
56
  }, null, 8, ["active"]),
57
- t(a(i), {
58
- active: e.active,
57
+ e(a(i), {
58
+ active: t.active,
59
59
  paragraph: !1,
60
60
  title: {
61
61
  style: { marginBlockStart: "8px" }
@@ -68,5 +68,5 @@ const s = { style: { marginBlockStart: "32px" } }, c = { style: {
68
68
  }
69
69
  });
70
70
  export {
71
- u as default
71
+ h as default
72
72
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, computed as a, createElementBlock as n, openBlock as r, Fragment as g, renderList as x, normalizeStyle as k, createVNode as i, unref as s } from "vue";
1
+ import { defineComponent as y, computed as a, createElementBlock as n, openBlock as i, Fragment as x, renderList as g, normalizeStyle as k, createVNode as r, unref as s } from "vue";
2
2
  import { Skeleton as o } from "@aplus-frontend/antdv";
3
3
  import S from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
4
4
  const z = { style: {
@@ -12,10 +12,10 @@ const z = { style: {
12
12
  size: {},
13
13
  active: { type: Boolean }
14
14
  },
15
- setup(u) {
16
- const t = u;
15
+ setup(e) {
16
+ const t = e;
17
17
  t.size;
18
- const m = {
18
+ const p = {
19
19
  lg: !0,
20
20
  md: !0,
21
21
  sm: !1,
@@ -29,33 +29,33 @@ const z = { style: {
29
29
  lg: 3,
30
30
  xl: 3,
31
31
  xxl: 4
32
- }, d = S(), c = a(() => d.value || m), v = a(
32
+ }, d = S(), c = a(() => d.value || p), v = a(
33
33
  () => Object.keys(c.value).filter(
34
- (e) => c.value[e] === !0
34
+ (m) => c.value[m] === !0
35
35
  )[0] || "md"
36
- ), p = a(
36
+ ), u = a(
37
37
  () => t.size === void 0 ? f[v.value] || 3 : t.size
38
38
  );
39
- return (e, B) => (r(), n("div", z, [
40
- (r(!0), n(g, null, x(new Array(p.value).fill(null), (_, l) => (r(), n("div", {
39
+ return (m, B) => (i(), n("div", z, [
40
+ (i(!0), n(x, null, g(new Array(u.value).fill(null), (h, l) => (i(), n("div", {
41
41
  key: l,
42
42
  style: k({
43
43
  flex: 1,
44
44
  paddingInlineStart: l === 0 ? 0 : "24px",
45
- paddingInlineEnd: l === p.value - 1 ? 0 : "24px"
45
+ paddingInlineEnd: l === u.value - 1 ? 0 : "24px"
46
46
  })
47
47
  }, [
48
- i(s(o), {
48
+ r(s(o), {
49
49
  active: e.active,
50
50
  paragraph: !1,
51
51
  title: { style: { marginBlockStart: 0 } }
52
52
  }, null, 8, ["active"]),
53
- i(s(o), {
53
+ r(s(o), {
54
54
  active: e.active,
55
55
  paragraph: !1,
56
56
  title: { style: { marginBlockStart: "8px" } }
57
57
  }, null, 8, ["active"]),
58
- i(s(o), {
58
+ r(s(o), {
59
59
  active: e.active,
60
60
  paragraph: !1,
61
61
  title: { style: { marginBlockStart: "8px" } }
@@ -1,8 +1,8 @@
1
- import { defineComponent as i, createBlock as n, openBlock as t, unref as a, withCtx as r, createCommentVNode as s, createElementBlock as d, createVNode as p, Fragment as u, renderList as c } from "vue";
2
- import { Card as o, Skeleton as m } from "@aplus-frontend/antdv";
1
+ import { defineComponent as o, createBlock as n, openBlock as t, unref as a, withCtx as l, createCommentVNode as c, createElementBlock as d, createVNode as s, Fragment as u, renderList as m } from "vue";
2
+ import { Card as r, Skeleton as f } from "@aplus-frontend/antdv";
3
3
  import "./item.vue.mjs";
4
- import f from "./item.vue2.mjs";
5
- const g = /* @__PURE__ */ i({
4
+ import p from "./item.vue2.mjs";
5
+ const b = /* @__PURE__ */ o({
6
6
  name: "ApSkeletonList",
7
7
  __name: "index",
8
8
  props: {
@@ -10,13 +10,13 @@ const g = /* @__PURE__ */ i({
10
10
  active: { type: Boolean, default: !0 },
11
11
  actionButton: { type: Boolean }
12
12
  },
13
- setup(y) {
14
- return (e, v) => (t(), n(a(o), {
13
+ setup(e) {
14
+ return (y, v) => (t(), n(a(r), {
15
15
  variant: "borderless",
16
16
  "body-style": { padding: 0 }
17
17
  }, {
18
- default: r(() => [
19
- e.actionButton !== !1 ? (t(), n(a(o), {
18
+ default: l(() => [
19
+ e.actionButton !== !1 ? (t(), n(a(r), {
20
20
  key: 0,
21
21
  variant: "borderless",
22
22
  "body-style": {
@@ -26,17 +26,17 @@ const g = /* @__PURE__ */ i({
26
26
  padding: "18px 24px"
27
27
  }
28
28
  }, {
29
- default: r(() => [
30
- p(a(m).Button, {
29
+ default: l(() => [
30
+ s(a(f).Button, {
31
31
  style: { width: "80px" },
32
32
  active: e.active,
33
33
  size: "small"
34
34
  }, null, 8, ["active"])
35
35
  ]),
36
36
  _: 1
37
- })) : s("", !0),
38
- (t(!0), d(u, null, c(new Array(e.size).fill(null), (_, l) => (t(), n(f, {
39
- key: l,
37
+ })) : c("", !0),
38
+ (t(!0), d(u, null, m(new Array(e.size).fill(null), (x, i) => (t(), n(p, {
39
+ key: i,
40
40
  active: !!e.active
41
41
  }, null, 8, ["active"]))), 128))
42
42
  ]),
@@ -45,5 +45,5 @@ const g = /* @__PURE__ */ i({
45
45
  }
46
46
  });
47
47
  export {
48
- g as default
48
+ b as default
49
49
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as o, createElementBlock as l, openBlock as r, Fragment as s, createVNode as e, unref as t, withCtx as p, createElementVNode as i } from "vue";
2
- import { Card as c, Skeleton as n } from "@aplus-frontend/antdv";
3
- import { ApSkeletonLine as d } from "../line/index.mjs";
4
- const m = { style: {
1
+ import { defineComponent as l, createElementBlock as o, openBlock as r, Fragment as s, createVNode as e, unref as t, withCtx as c, createElementVNode as i } from "vue";
2
+ import { Card as d, Skeleton as n } from "@aplus-frontend/antdv";
3
+ import { ApSkeletonLine as m } from "../line/index.mjs";
4
+ const p = { style: {
5
5
  width: "100%",
6
6
  display: "flex",
7
7
  alignItems: "center",
@@ -9,21 +9,21 @@ const m = { style: {
9
9
  } }, u = { style: {
10
10
  maxWidth: "100%",
11
11
  flex: 1
12
- } }, x = /* @__PURE__ */ o({
12
+ } }, _ = /* @__PURE__ */ l({
13
13
  name: "ApSkeletonListItem",
14
14
  __name: "item",
15
15
  props: {
16
16
  active: { type: Boolean }
17
17
  },
18
- setup(f) {
19
- return (a, y) => (r(), l(s, null, [
20
- e(t(c), {
18
+ setup(a) {
19
+ return (f, y) => (r(), o(s, null, [
20
+ e(t(d), {
21
21
  variant: "borderless",
22
22
  style: { borderRadius: 0 },
23
23
  "body-style": { padding: "24px" }
24
24
  }, {
25
- default: p(() => [
26
- i("div", m, [
25
+ default: c(() => [
26
+ i("div", p, [
27
27
  i("div", u, [
28
28
  e(t(n), {
29
29
  active: a.active,
@@ -48,10 +48,10 @@ const m = { style: {
48
48
  ]),
49
49
  _: 1
50
50
  }),
51
- e(t(d))
51
+ e(t(m))
52
52
  ], 64));
53
53
  }
54
54
  });
55
55
  export {
56
- x as default
56
+ _ as default
57
57
  };
@@ -1,19 +1,19 @@
1
- import { defineComponent as n, createElementBlock as r, openBlock as p, createVNode as e, unref as t } from "vue";
2
- import { Skeleton as o } from "@aplus-frontend/antdv";
3
- const i = { style: { "margin-block-end": "16px" } }, d = /* @__PURE__ */ n({
1
+ import { defineComponent as o, createElementBlock as r, openBlock as c, createVNode as e, unref as t } from "vue";
2
+ import { Skeleton as a } from "@aplus-frontend/antdv";
3
+ const i = { style: { "margin-block-end": "16px" } }, d = /* @__PURE__ */ o({
4
4
  name: "ApSkeletonPageHeader",
5
5
  __name: "index",
6
6
  props: {
7
7
  active: { type: Boolean }
8
8
  },
9
- setup(l) {
10
- return (a, c) => (p(), r("div", i, [
11
- e(t(o), {
9
+ setup(n) {
10
+ return (l, p) => (c(), r("div", i, [
11
+ e(t(a), {
12
12
  paragraph: !1,
13
13
  title: { width: "185px" }
14
14
  }),
15
- e(t(o).Button, {
16
- active: a.active,
15
+ e(t(a).Button, {
16
+ active: n.active,
17
17
  size: "small"
18
18
  }, null, 8, ["active"])
19
19
  ]));