@aplus-frontend/ui 0.2.0 → 0.2.1

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 (91) hide show
  1. package/es/index.mjs +1 -1
  2. package/es/src/ap-button/ap-action-button.vue.mjs +1 -0
  3. package/es/src/ap-button/ap-button.vue.d.ts +3 -0
  4. package/es/src/ap-button/ap-button.vue.mjs +47 -66
  5. package/es/src/ap-button/interface.d.ts +1 -0
  6. package/es/src/ap-button/utils/index.d.ts +3 -0
  7. package/es/src/ap-button/utils/index.mjs +33 -0
  8. package/es/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
  9. package/es/src/ap-descriptions/interface.d.ts +1 -1
  10. package/es/src/ap-field/checkbox/index.vue.mjs +23 -22
  11. package/es/src/ap-field/hooks/use-options.d.ts +8 -0
  12. package/es/src/ap-field/hooks/use-options.mjs +22 -0
  13. package/es/src/ap-field/radio/index.vue.mjs +25 -24
  14. package/es/src/ap-field/segmented/index.vue.mjs +37 -33
  15. package/es/src/ap-field/select/index.vue.mjs +74 -73
  16. package/es/src/ap-table/ap-table.vue.mjs +2 -428
  17. package/es/src/ap-table/ap-table.vue2.mjs +428 -2
  18. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
  19. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +22 -20
  20. package/es/src/ap-table/hooks/use-table-column-state.mjs +72 -69
  21. package/es/src/ap-table/index.d.ts +6 -1
  22. package/es/src/ap-table/index.mjs +9 -3
  23. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
  24. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +42 -29
  25. package/es/src/business/ap-batch-action/index.d.ts +8 -3
  26. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +14 -13
  27. package/es/src/business/ap-batch-action-group/index.d.ts +4 -0
  28. package/es/src/business/ap-button-group/index.d.ts +8 -0
  29. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +42 -40
  30. package/es/src/business/ap-table-modal/index.d.ts +38 -1
  31. package/es/src/business/ap-table-modal/interface.d.ts +17 -2
  32. package/es/src/business/ap-table-modal/style/css.js +1 -1
  33. package/es/src/business/ap-table-modal/style/index.js +1 -1
  34. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
  35. package/es/src/business/ap-table-modal/table-layout/index.vue.mjs +4 -0
  36. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +74 -0
  37. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +134 -79
  38. package/es/src/config-provider/config-provider.d.ts +1 -0
  39. package/es/src/config-provider/css-var.d.ts +1 -0
  40. package/es/src/config-provider/css-var.mjs +7 -5
  41. package/es/src/config-provider/index.d.ts +6 -0
  42. package/es/src/index.mjs +201 -202
  43. package/es/src/locale/lang/en.mjs +3 -1
  44. package/es/src/locale/lang/zh-cn.mjs +3 -1
  45. package/es/src/path-map.mjs +2 -0
  46. package/lib/index.js +1 -1
  47. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  48. package/lib/src/ap-button/ap-button.vue.d.ts +3 -0
  49. package/lib/src/ap-button/ap-button.vue.js +1 -1
  50. package/lib/src/ap-button/interface.d.ts +1 -0
  51. package/lib/src/ap-button/utils/index.d.ts +3 -0
  52. package/lib/src/ap-button/utils/index.js +1 -0
  53. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
  54. package/lib/src/ap-descriptions/interface.d.ts +1 -1
  55. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  56. package/lib/src/ap-field/hooks/use-options.d.ts +8 -0
  57. package/lib/src/ap-field/hooks/use-options.js +1 -0
  58. package/lib/src/ap-field/radio/index.vue.js +1 -1
  59. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  60. package/lib/src/ap-field/select/index.vue.js +1 -1
  61. package/lib/src/ap-table/ap-table.vue.js +1 -1
  62. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  63. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
  64. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  65. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  66. package/lib/src/ap-table/index.d.ts +6 -1
  67. package/lib/src/ap-table/index.js +1 -1
  68. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
  69. package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
  70. package/lib/src/business/ap-batch-action/index.d.ts +8 -3
  71. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  72. package/lib/src/business/ap-batch-action-group/index.d.ts +4 -0
  73. package/lib/src/business/ap-button-group/index.d.ts +8 -0
  74. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  75. package/lib/src/business/ap-table-modal/index.d.ts +38 -1
  76. package/lib/src/business/ap-table-modal/interface.d.ts +17 -2
  77. package/lib/src/business/ap-table-modal/style/css.js +1 -1
  78. package/lib/src/business/ap-table-modal/style/index.js +1 -1
  79. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
  80. package/lib/src/business/ap-table-modal/table-layout/index.vue.js +1 -0
  81. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -0
  82. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  83. package/lib/src/config-provider/config-provider.d.ts +1 -0
  84. package/lib/src/config-provider/css-var.d.ts +1 -0
  85. package/lib/src/config-provider/css-var.js +1 -1
  86. package/lib/src/config-provider/index.d.ts +6 -0
  87. package/lib/src/index.js +1 -1
  88. package/lib/src/locale/lang/en.js +1 -1
  89. package/lib/src/locale/lang/zh-cn.js +1 -1
  90. package/lib/src/path-map.js +1 -1
  91. package/package.json +2 -2
@@ -1,115 +1,118 @@
1
- import { ref as R, shallowRef as _, unref as a, computed as j, watchEffect as z } from "vue";
2
- import { isDef as D } from "../../utils/index.mjs";
3
- import G, { customCloneColumnStates as A, getColumnStateString as W } from "../components/setting/utils.mjs";
4
- import { useInjectApTable as X } from "../context.mjs";
5
- import { isObject as k, mergeWith as E, isBoolean as q, omit as H, isNumber as N } from "lodash-unified";
6
- function l(t, n) {
7
- t.forEach((o) => {
8
- var i;
9
- n(o), (i = o.children) != null && i.length && l(o.children, n);
1
+ import { ref as _, shallowRef as j, unref as f, computed as z, watchEffect as D } from "vue";
2
+ import { isDef as G } from "../../utils/index.mjs";
3
+ import W, { customCloneColumnStates as k, getColumnStateString as X } from "../components/setting/utils.mjs";
4
+ import { useInjectApTable as q } from "../context.mjs";
5
+ import { isObject as B, mergeWith as E, isBoolean as H, omit as L, isNumber as N } from "lodash-unified";
6
+ function a(r, n) {
7
+ r.forEach((o) => {
8
+ var c;
9
+ n(o), (c = o.children) != null && c.length && a(o.children, n);
10
10
  });
11
11
  }
12
- function L(t, n) {
12
+ function P(r, n) {
13
13
  if (!n)
14
14
  return {};
15
- const o = t.getItem(n);
15
+ const o = r.getItem(n);
16
16
  return o ? JSON.parse(o) : {};
17
17
  }
18
- function I(t, n) {
19
- if (k(t) && k(n))
20
- return E({}, t, n, I);
18
+ function I(r, n) {
19
+ if (B(r) && B(n))
20
+ return E({}, r, n, I);
21
21
  }
22
- const B = Number.MAX_SAFE_INTEGER, $ = (t, n) => {
23
- const o = R(n), i = _(
24
- A(n)
25
- ), { columnsBackup: m, updateColumns: u } = X(), T = t.persistenceType || "localStorage", p = window[T];
22
+ const b = Number.MAX_SAFE_INTEGER, V = (r, n) => {
23
+ const o = _(n), c = j(
24
+ k(n)
25
+ ), { columnsBackup: m, updateColumns: d } = q(), T = r.persistenceType || "localStorage", p = window[T];
26
26
  function F() {
27
- const e = L(
27
+ const e = P(
28
28
  p,
29
- t.persistenceKey
30
- ), r = E(
29
+ r.persistenceKey
30
+ ), t = E(
31
31
  {},
32
- t.defaultValue || {},
32
+ r.defaultValue || {},
33
33
  e,
34
34
  I
35
- ), c = a(m);
36
- function v(M, d, b) {
37
- return M.map((s) => {
38
- var x;
39
- const f = (d == null ? void 0 : d[s.key]) || {}, h = {
40
- key: s.key,
41
- label: s.title,
35
+ ), s = f(m);
36
+ function l(R, u, y) {
37
+ return R.map((i) => {
38
+ var A;
39
+ const v = (u == null ? void 0 : u[i.key]) || {}, h = {
40
+ key: i.key,
41
+ label: i.title,
42
42
  show: !0,
43
- fixed: b ? b.fixed : q(s.fixed) ? s.fixed ? "left" : void 0 : s.fixed,
43
+ fixed: y ? y.fixed : H(i.fixed) ? i.fixed ? "left" : void 0 : i.fixed,
44
44
  disabled: !1,
45
- ...H(f, "children")
45
+ ...L(v, "children")
46
46
  };
47
- return h.children = (x = s.children) != null && x.length ? v(
48
- s.children,
49
- f.children,
47
+ return h.children = (A = i.children) != null && A.length ? l(
48
+ i.children,
49
+ v.children,
50
50
  h
51
51
  ) : void 0, h;
52
- }).sort(
53
- (s, f) => (N(s.order) ? s.order : B) - (N(f.order) ? f.order : B)
54
- );
52
+ }).sort(O);
55
53
  }
56
- return v(c || [], r);
54
+ return l(s || [], t);
57
55
  }
58
- const C = j(() => a(o).every((e) => e.show));
56
+ function O(e, t) {
57
+ const s = N(e.order) ? e.order : b;
58
+ let l = N(t.order) ? t.order : b;
59
+ return e.fixed === "right" && t.fixed !== "right" && (l = s - 1), t.fixed === "left" && e.fixed !== "left" && (l = s - 1), s - l;
60
+ }
61
+ const C = z(() => f(o).every((e) => e.show));
59
62
  function S() {
60
- const e = a(o);
61
- l(e, (r) => {
62
- !r.disabled && (r.show = !0);
63
+ const e = f(o);
64
+ a(e, (t) => {
65
+ !t.disabled && (t.show = !0);
63
66
  });
64
67
  }
65
68
  function g() {
66
- const e = a(o);
67
- l(e, (r) => {
68
- !r.disabled && (r.show = !1);
69
+ const e = f(o);
70
+ a(e, (t) => {
71
+ !t.disabled && (t.show = !1);
69
72
  });
70
73
  }
71
- function O() {
72
- a(C) ? g() : S();
74
+ function K() {
75
+ f(C) ? g() : S();
73
76
  }
74
- function K(e, r) {
75
- l(a(o), (c) => {
76
- c.key === e && (c.show = D(r) ? r : !c.show);
77
+ function J(e, t) {
78
+ a(f(o), (s) => {
79
+ s.key === e && (s.show = G(t) ? t : !s.show);
77
80
  });
78
81
  }
79
82
  function w(e) {
80
83
  o.value = e;
81
84
  }
82
- function J(e) {
83
- i.value = e;
85
+ function M(e) {
86
+ c.value = e;
84
87
  }
85
- function y(e) {
86
- if (t.persistenceKey) {
87
- const r = W(e);
88
- p.setItem(t.persistenceKey, JSON.stringify(r));
88
+ function x(e) {
89
+ if (r.persistenceKey) {
90
+ const t = X(e);
91
+ p.setItem(r.persistenceKey, JSON.stringify(t));
89
92
  }
90
93
  }
91
- return z(() => {
92
- var r;
94
+ return D(() => {
95
+ var t;
93
96
  const e = F();
94
- w(e), (r = t.onChange) == null || r.call(t, e), u == null || u(
95
- G(
96
- a(m),
97
- a(e)
97
+ w(e), (t = r.onChange) == null || t.call(r, e), d == null || d(
98
+ W(
99
+ f(m),
100
+ f(e)
98
101
  )
99
- ), i.value = A(e), y(e);
102
+ ), c.value = k(e), x(e);
100
103
  }), {
101
104
  columnState: o,
102
105
  selectAll: S,
103
106
  unSelectAll: g,
104
- toggleSelect: K,
107
+ toggleSelect: J,
105
108
  setColumnState: w,
106
109
  isAllSelected: C,
107
- toggleSelectAll: O,
108
- columnStateBackup: i,
109
- setColumnStateBackup: J,
110
- cacheColumnStateIfNeeded: y
110
+ toggleSelectAll: K,
111
+ columnStateBackup: c,
112
+ setColumnStateBackup: M,
113
+ cacheColumnStateIfNeeded: x
111
114
  };
112
115
  };
113
116
  export {
114
- $ as useTableColumnState
117
+ V as useTableColumnState
115
118
  };
@@ -1,4 +1,9 @@
1
- import { default as ApTable } from './ap-table.vue';
1
+ import { default as _ApTable } from './ap-table.vue';
2
+ import { default as ApTableSetting } from './components/setting/modal/index.vue';
3
+ type ApTableMixedType = typeof _ApTable & {
4
+ Setting: typeof ApTableSetting;
5
+ };
6
+ declare const ApTable: ApTableMixedType;
2
7
  export { ApTable };
3
8
  export * from './interface';
4
9
  export * from './hooks/use-table-paging';
@@ -1,6 +1,12 @@
1
- import "./ap-table.vue2.mjs";
1
+ import "./ap-table.vue.mjs";
2
+ import "./components/setting/modal/index.vue.mjs";
2
3
  import "./interface.mjs";
3
- import { useTablePaging as m } from "./hooks/use-table-paging.mjs";
4
+ import { useTablePaging as s } from "./hooks/use-table-paging.mjs";
5
+ import o from "./ap-table.vue2.mjs";
6
+ import m from "./components/setting/modal/index.vue2.mjs";
7
+ const r = o;
8
+ r.Setting = m;
4
9
  export {
5
- m as useTablePaging
10
+ r as ApTable,
11
+ s as useTablePaging
6
12
  };
@@ -1,9 +1,14 @@
1
1
  import { ApBatchActionProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- slots: {
5
- prefix?(_: {}): any;
6
- suffix?(_: {}): any;
4
+ slots: Readonly<{
5
+ header: () => void;
6
+ prefix: () => void;
7
+ suffix: () => void;
8
+ }> & {
9
+ header: () => void;
10
+ prefix: () => void;
11
+ suffix: () => void;
7
12
  };
8
13
  refs: {};
9
14
  attrs: Partial<{}>;
@@ -1,45 +1,58 @@
1
- import { defineComponent as m, computed as u, openBlock as f, createElementBlock as h, normalizeClass as _, unref as t, renderSlot as r, createElementVNode as s, createTextVNode as n, toDisplayString as c, createVNode as A, withCtx as B } from "vue";
2
- import { Button as v } from "@aplus-frontend/antdv";
1
+ import { defineComponent as v, useSlots as _, computed as u, openBlock as m, createElementBlock as f, normalizeClass as r, unref as t, renderSlot as i, createCommentVNode as B, createElementVNode as s, createTextVNode as d, toDisplayString as o, createVNode as C, withCtx as k } from "vue";
2
+ import { Button as N } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
- import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
5
- import { useLocale as C } from "../../config-provider/hooks/use-locale.mjs";
6
- const k = { class: "selected-desc" }, x = { class: "selected-desc-conut" }, N = { class: "selected-desc-clean" }, E = /* @__PURE__ */ m({
4
+ import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
5
+ import { useLocale as $ } from "../../config-provider/hooks/use-locale.mjs";
6
+ const b = { class: "selected-desc" }, g = { class: "selected-desc-conut" }, w = { class: "selected-desc-clean" }, z = /* @__PURE__ */ v({
7
7
  __name: "ApBatchAction",
8
8
  props: {
9
9
  selectedRowKeys: {},
10
10
  clearAll: { type: Function }
11
11
  },
12
- setup(p) {
13
- const { b: i } = y("ap-batch-action"), { t: o } = C(), l = p, d = u(() => {
12
+ setup(h) {
13
+ const { b: c } = V("ap-batch-action"), { t: a } = $(), l = h, n = _().header, y = u(() => {
14
14
  var e;
15
15
  return ((e = l.selectedRowKeys) == null ? void 0 : e.length) || 0;
16
+ }), A = u(() => {
17
+ const e = n == null ? void 0 : n();
18
+ return Array.isArray(e) && e.length > 0;
16
19
  });
17
- return (e, a) => (f(), h("div", {
18
- class: _([t(i)()])
20
+ return (e, p) => (m(), f("div", {
21
+ class: r([t(c)()])
19
22
  }, [
20
- r(e.$slots, "prefix"),
21
- s("div", k, [
22
- s("div", x, [
23
- n(c(t(o)("ap.apBatchAction.selected")) + " ", 1),
24
- s("span", null, c(d.value), 1),
25
- n(" " + c(t(o)("ap.apBatchAction.piecesOfData")), 1)
23
+ A.value ? (m(), f("div", {
24
+ key: 0,
25
+ class: r(t(c)("header"))
26
+ }, [
27
+ i(e.$slots, "header")
28
+ ], 2)) : B("", !0),
29
+ s("div", {
30
+ class: r(t(c)("body"))
31
+ }, [
32
+ i(e.$slots, "prefix"),
33
+ s("div", b, [
34
+ s("div", g, [
35
+ d(o(t(a)("ap.apBatchAction.selected")) + " ", 1),
36
+ s("span", null, o(y.value), 1),
37
+ d(" " + o(t(a)("ap.apBatchAction.piecesOfData")), 1)
38
+ ]),
39
+ s("div", w, [
40
+ C(t(N), {
41
+ type: "link",
42
+ onClick: p[0] || (p[0] = (x) => l.clearAll && l.clearAll())
43
+ }, {
44
+ default: k(() => [
45
+ d(o(t(a)("ap.apBatchAction.empty")), 1)
46
+ ]),
47
+ _: 1
48
+ })
49
+ ])
26
50
  ]),
27
- s("div", N, [
28
- A(t(v), {
29
- type: "link",
30
- onClick: a[0] || (a[0] = (w) => l.clearAll && l.clearAll())
31
- }, {
32
- default: B(() => [
33
- n(c(t(o)("ap.apBatchAction.empty")), 1)
34
- ]),
35
- _: 1
36
- })
37
- ])
38
- ]),
39
- r(e.$slots, "suffix")
51
+ i(e.$slots, "suffix")
52
+ ], 2)
40
53
  ], 2));
41
54
  }
42
55
  });
43
56
  export {
44
- E as default
57
+ z as default
45
58
  };
@@ -41,9 +41,14 @@ declare const ApBatchAction: {
41
41
  type: PropType<() => void>;
42
42
  };
43
43
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
44
- $slots: {
45
- prefix?(_: {}): any;
46
- suffix?(_: {}): any;
44
+ $slots: Readonly<{
45
+ header: () => void;
46
+ prefix: () => void;
47
+ suffix: () => void;
48
+ }> & {
49
+ header: () => void;
50
+ prefix: () => void;
51
+ suffix: () => void;
47
52
  };
48
53
  }) & ( Plugin & (new (...args: any[]) => {
49
54
  $props: {
@@ -1,11 +1,11 @@
1
- import { defineComponent as A, computed as n, openBlock as v, createBlock as y, unref as a, mergeProps as m, withCtx as r, createVNode as c, createElementVNode as C, normalizeStyle as D, toDisplayString as h, normalizeClass as N, normalizeProps as R, guardReactiveProps as T, createTextVNode as x, createCommentVNode as V } from "vue";
2
- import { DropdownButton as z, Dropdown as G } from "@aplus-frontend/antdv";
1
+ import { defineComponent as A, computed as n, openBlock as v, createBlock as y, unref as a, mergeProps as m, withCtx as r, createVNode as c, createElementVNode as C, normalizeStyle as D, toDisplayString as h, normalizeClass as N, normalizeProps as R, guardReactiveProps as T, createTextVNode as V, createCommentVNode as $ } from "vue";
2
+ import { DropdownButton as x, Dropdown as z } from "@aplus-frontend/antdv";
3
3
  import "../../ap-button/index.mjs";
4
4
  import "./MenuItemGroup.vue.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { DownOutlined as M } from "@ant-design/icons-vue";
7
- import { usePermission as S } from "@aplus-frontend/hooks";
8
- import { useNamespace as $ } from "../../config-provider/hooks/use-namespace.mjs";
6
+ import { DownOutlined as G } from "@ant-design/icons-vue";
7
+ import { usePermission as M } from "@aplus-frontend/hooks";
8
+ import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
9
9
  import { useLocale as F } from "../../config-provider/hooks/use-locale.mjs";
10
10
  import { useGlobalConfig as O } from "../../config-provider/hooks/use-global-config.mjs";
11
11
  import w from "./MenuItemGroup.vue2.mjs";
@@ -18,7 +18,7 @@ const ee = /* @__PURE__ */ A({
18
18
  menuList: {}
19
19
  },
20
20
  setup(P) {
21
- const { b: i } = $("ap-batch-action-group"), { t: _ } = F(), e = P, L = O("uiMode"), { hasPermission: g } = S(), p = n(
21
+ const { b: i } = S("ap-batch-action-group"), { t: L } = F(), e = P, _ = O("uiMode"), { hasPermission: g } = M(), p = n(
22
22
  () => {
23
23
  var t;
24
24
  return ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.dropdownType) || "default";
@@ -31,7 +31,7 @@ const ee = /* @__PURE__ */ A({
31
31
  ), f = n(
32
32
  () => {
33
33
  var t;
34
- return ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.content) || _("ap.apApBatchActionGroup.batchOperation");
34
+ return ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.content) || L("ap.apApBatchActionGroup.batchOperation");
35
35
  }
36
36
  ), k = n(() => (e == null ? void 0 : e.selectedRows) || []), d = n(
37
37
  () => {
@@ -43,7 +43,7 @@ const ee = /* @__PURE__ */ A({
43
43
  aplus: "#0070FF",
44
44
  admin: "#34b77c"
45
45
  };
46
- return u.value === "borderLink" ? d.value ? void 0 : t[L.value] || t.aplus : void 0;
46
+ return u.value === "borderLink" ? d.value ? void 0 : t[_.value] || t.aplus : void 0;
47
47
  }), l = n(() => {
48
48
  var t;
49
49
  return ((t = e == null ? void 0 : e.menuList) == null ? void 0 : t.filter((o) => {
@@ -57,10 +57,11 @@ const ee = /* @__PURE__ */ A({
57
57
  type: u.value === "borderLink" ? "default" : u.value
58
58
  } : {};
59
59
  }
60
- return (t, o) => l.value.length && p.value === "dropdown" ? (v(), y(a(z), m({
60
+ return (t, o) => l.value.length && p.value === "dropdown" ? (v(), y(a(x), m({
61
61
  key: 0,
62
62
  class: [a(i)()]
63
63
  }, {
64
+ ...t.$attrs,
64
65
  ...b(),
65
66
  disabled: d.value
66
67
  }), {
@@ -77,7 +78,7 @@ const ee = /* @__PURE__ */ A({
77
78
  }, h(f.value), 5)
78
79
  ]),
79
80
  _: 1
80
- }, 16, ["class"])) : l.value.length && p.value === "default" ? (v(), y(a(G), {
81
+ }, 16, ["class"])) : l.value.length && p.value === "default" ? (v(), y(a(z), {
81
82
  key: 1,
82
83
  class: N([a(i)()]),
83
84
  disabled: d.value
@@ -94,14 +95,14 @@ const ee = /* @__PURE__ */ A({
94
95
  type: u.value
95
96
  })), {
96
97
  default: r(() => [
97
- x(h(f.value) + " ", 1),
98
- c(a(M))
98
+ V(h(f.value) + " ", 1),
99
+ c(a(G))
99
100
  ]),
100
101
  _: 1
101
102
  }, 16)
102
103
  ]),
103
104
  _: 1
104
- }, 8, ["class", "disabled"])) : V("", !0);
105
+ }, 8, ["class", "disabled"])) : $("", !0);
105
106
  }
106
107
  });
107
108
  export {
@@ -69,6 +69,7 @@ declare const ApBatchActionGroup: {
69
69
  type?: ButtonProps["type"] | "borderLink";
70
70
  borderLinkColor?: string;
71
71
  minWidth?: boolean | number | string;
72
+ lazy?: boolean | number;
72
73
  onClick?: () => any | Promise<any>;
73
74
  } & {
74
75
  content?: string;
@@ -365,6 +366,7 @@ declare const ApBatchActionGroup: {
365
366
  type?: ButtonProps["type"] | "borderLink";
366
367
  borderLinkColor?: string;
367
368
  minWidth?: boolean | number | string;
369
+ lazy?: boolean | number;
368
370
  onClick?: () => any | Promise<any>;
369
371
  } & {
370
372
  content?: string;
@@ -668,6 +670,7 @@ declare const ApBatchActionGroup: {
668
670
  type?: ButtonProps["type"] | "borderLink";
669
671
  borderLinkColor?: string;
670
672
  minWidth?: boolean | number | string;
673
+ lazy?: boolean | number;
671
674
  onClick?: () => any | Promise<any>;
672
675
  } & {
673
676
  content?: string;
@@ -968,6 +971,7 @@ declare const ApBatchActionGroup: {
968
971
  type?: ButtonProps["type"] | "borderLink";
969
972
  borderLinkColor?: string;
970
973
  minWidth?: boolean | number | string;
974
+ lazy?: boolean | number;
971
975
  onClick?: () => any | Promise<any>;
972
976
  } & {
973
977
  content?: string;
@@ -85,6 +85,7 @@ declare const ApButtonGroup: {
85
85
  type?: ButtonProps["type"] | "borderLink";
86
86
  borderLinkColor?: string;
87
87
  minWidth?: boolean | number | string;
88
+ lazy?: boolean | number;
88
89
  onClick?: () => any | Promise<any>;
89
90
  } & {
90
91
  content?: VNodeChild;
@@ -143,6 +144,7 @@ declare const ApButtonGroup: {
143
144
  type?: ButtonProps["type"] | "borderLink";
144
145
  borderLinkColor?: string;
145
146
  minWidth?: boolean | number | string;
147
+ lazy?: boolean | number;
146
148
  onClick?: () => any | Promise<any>;
147
149
  } & {
148
150
  content?: VNodeChild;
@@ -231,6 +233,7 @@ declare const ApButtonGroup: {
231
233
  type?: ButtonProps["type"] | "borderLink";
232
234
  borderLinkColor?: string;
233
235
  minWidth?: boolean | number | string;
236
+ lazy?: boolean | number;
234
237
  onClick?: () => any | Promise<any>;
235
238
  } & {
236
239
  content?: VNodeChild;
@@ -289,6 +292,7 @@ declare const ApButtonGroup: {
289
292
  type?: ButtonProps["type"] | "borderLink";
290
293
  borderLinkColor?: string;
291
294
  minWidth?: boolean | number | string;
295
+ lazy?: boolean | number;
292
296
  onClick?: () => any | Promise<any>;
293
297
  } & {
294
298
  content?: VNodeChild;
@@ -384,6 +388,7 @@ declare const ApButtonGroup: {
384
388
  type?: ButtonProps["type"] | "borderLink";
385
389
  borderLinkColor?: string;
386
390
  minWidth?: boolean | number | string;
391
+ lazy?: boolean | number;
387
392
  onClick?: () => any | Promise<any>;
388
393
  } & {
389
394
  content?: VNodeChild;
@@ -442,6 +447,7 @@ declare const ApButtonGroup: {
442
447
  type?: ButtonProps["type"] | "borderLink";
443
448
  borderLinkColor?: string;
444
449
  minWidth?: boolean | number | string;
450
+ lazy?: boolean | number;
445
451
  onClick?: () => any | Promise<any>;
446
452
  } & {
447
453
  content?: VNodeChild;
@@ -534,6 +540,7 @@ declare const ApButtonGroup: {
534
540
  type?: ButtonProps["type"] | "borderLink";
535
541
  borderLinkColor?: string;
536
542
  minWidth?: boolean | number | string;
543
+ lazy?: boolean | number;
537
544
  onClick?: () => any | Promise<any>;
538
545
  } & {
539
546
  content?: VNodeChild;
@@ -592,6 +599,7 @@ declare const ApButtonGroup: {
592
599
  type?: ButtonProps["type"] | "borderLink";
593
600
  borderLinkColor?: string;
594
601
  minWidth?: boolean | number | string;
602
+ lazy?: boolean | number;
595
603
  onClick?: () => any | Promise<any>;
596
604
  } & {
597
605
  content?: VNodeChild;