@aplus-frontend/ui 0.0.1-beta.6 → 0.0.1-beta.7

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 (133) hide show
  1. package/es/index.mjs +59 -49
  2. package/es/src/ap-action/constant.d.ts +0 -0
  3. package/es/src/ap-action/group/index.vue.d.ts +38 -0
  4. package/es/src/ap-action/group/index.vue.mjs +64 -0
  5. package/es/src/ap-action/group/index.vue2.mjs +4 -0
  6. package/es/src/ap-action/index.d.ts +14 -0
  7. package/es/src/ap-action/index.mjs +17 -0
  8. package/es/src/ap-action/interface.d.ts +81 -0
  9. package/es/src/ap-action/item/index.vue.d.ts +44 -0
  10. package/es/src/ap-action/item/index.vue.mjs +49 -0
  11. package/es/src/ap-action/item/index.vue2.mjs +4 -0
  12. package/es/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
  13. package/es/src/ap-action/item-dropdown/index.vue.mjs +92 -0
  14. package/es/src/ap-action/item-dropdown/index.vue2.mjs +4 -0
  15. package/es/src/ap-action/item-modal/index.vue.d.ts +41 -0
  16. package/es/src/ap-action/item-modal/index.vue.mjs +34 -0
  17. package/es/src/ap-action/item-modal/index.vue2.mjs +4 -0
  18. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
  19. package/es/src/ap-action/item-popconfirm/index.vue.mjs +37 -0
  20. package/es/src/ap-action/item-popconfirm/index.vue2.mjs +4 -0
  21. package/es/src/ap-action/style/item-dropdown.css +11 -0
  22. package/es/src/ap-action/style/item.css +28 -0
  23. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  24. package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
  25. package/es/src/ap-field/interface.d.ts +3 -2
  26. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  27. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  28. package/es/src/ap-field/switch/index.vue.d.ts +1 -1
  29. package/es/src/ap-field/switch/index.vue.mjs +68 -39
  30. package/es/src/ap-field/text/index.vue.d.ts +3 -3
  31. package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
  32. package/es/src/ap-form/index.d.ts +76 -76
  33. package/es/src/base-button/index.d.ts +28 -28
  34. package/es/src/config-provider/config-provider.d.ts +4 -4
  35. package/es/src/config-provider/index.d.ts +12 -12
  36. package/es/src/count-down/index.d.ts +12 -12
  37. package/es/src/cropper/cropper-avatar.vue.d.ts +1 -1
  38. package/es/src/cropper/cropper-image.vue.d.ts +1 -1
  39. package/es/src/cropper/index.d.ts +42 -42
  40. package/es/src/description/description.vue.d.ts +1 -1
  41. package/es/src/description/index.d.ts +3 -3
  42. package/es/src/dropdown/dropdown.vue.d.ts +1 -1
  43. package/es/src/dropdown/index.d.ts +7 -7
  44. package/es/src/icon/index.d.ts +41 -41
  45. package/es/src/icon-picker/icon-picker.vue.d.ts +3 -3
  46. package/es/src/icon-picker/index.d.ts +45 -45
  47. package/es/src/index.d.ts +1 -0
  48. package/es/src/index.mjs +98 -88
  49. package/es/src/modal/basic.vue.d.ts +4 -3
  50. package/es/src/modal/basic.vue.mjs +53 -49
  51. package/es/src/modal/components/modal-footer.vue.d.ts +2 -2
  52. package/es/src/modal/components/modal.d.ts +2 -2
  53. package/es/src/modal/index.d.ts +10 -11
  54. package/es/src/modal/index.mjs +2 -3
  55. package/es/src/modal/props.mjs +1 -1
  56. package/es/src/modal/style/index.css +29 -30
  57. package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
  58. package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
  59. package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
  60. package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
  61. package/es/src/pro-form/hooks/use-label-width.d.ts +8 -8
  62. package/es/src/pro-form/pro-form.vue.d.ts +1 -1
  63. package/es/src/strength-meter/index.d.ts +12 -12
  64. package/es/src/theme/ap-action/item-dropdown.css +11 -0
  65. package/es/src/theme/ap-action/item.css +28 -0
  66. package/es/src/theme/modal/index.css +29 -30
  67. package/lib/index.js +1 -1
  68. package/lib/src/ap-action/constant.d.ts +0 -0
  69. package/lib/src/ap-action/group/index.vue.d.ts +38 -0
  70. package/lib/src/ap-action/group/index.vue.js +1 -0
  71. package/lib/src/ap-action/group/index.vue2.js +1 -0
  72. package/lib/src/ap-action/index.d.ts +14 -0
  73. package/lib/src/ap-action/index.js +1 -0
  74. package/lib/src/ap-action/interface.d.ts +81 -0
  75. package/lib/src/ap-action/item/index.vue.d.ts +44 -0
  76. package/lib/src/ap-action/item/index.vue.js +1 -0
  77. package/lib/src/ap-action/item/index.vue2.js +1 -0
  78. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
  79. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -0
  80. package/lib/src/ap-action/item-dropdown/index.vue2.js +1 -0
  81. package/lib/src/ap-action/item-modal/index.vue.d.ts +41 -0
  82. package/lib/src/ap-action/item-modal/index.vue.js +1 -0
  83. package/lib/src/ap-action/item-modal/index.vue2.js +1 -0
  84. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
  85. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -0
  86. package/lib/src/ap-action/item-popconfirm/index.vue2.js +1 -0
  87. package/lib/src/ap-action/style/item-dropdown.css +11 -0
  88. package/lib/src/ap-action/style/item.css +28 -0
  89. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  90. package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
  91. package/lib/src/ap-field/interface.d.ts +3 -2
  92. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  93. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  94. package/lib/src/ap-field/switch/index.vue.d.ts +1 -1
  95. package/lib/src/ap-field/switch/index.vue.js +1 -1
  96. package/lib/src/ap-field/text/index.vue.d.ts +3 -3
  97. package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
  98. package/lib/src/ap-form/index.d.ts +76 -76
  99. package/lib/src/base-button/index.d.ts +28 -28
  100. package/lib/src/config-provider/config-provider.d.ts +4 -4
  101. package/lib/src/config-provider/index.d.ts +12 -12
  102. package/lib/src/count-down/index.d.ts +12 -12
  103. package/lib/src/cropper/cropper-avatar.vue.d.ts +1 -1
  104. package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
  105. package/lib/src/cropper/index.d.ts +42 -42
  106. package/lib/src/description/description.vue.d.ts +1 -1
  107. package/lib/src/description/index.d.ts +3 -3
  108. package/lib/src/dropdown/dropdown.vue.d.ts +1 -1
  109. package/lib/src/dropdown/index.d.ts +7 -7
  110. package/lib/src/icon/index.d.ts +41 -41
  111. package/lib/src/icon-picker/icon-picker.vue.d.ts +3 -3
  112. package/lib/src/icon-picker/index.d.ts +45 -45
  113. package/lib/src/index.d.ts +1 -0
  114. package/lib/src/index.js +1 -1
  115. package/lib/src/modal/basic.vue.d.ts +4 -3
  116. package/lib/src/modal/basic.vue.js +1 -1
  117. package/lib/src/modal/components/modal-footer.vue.d.ts +2 -2
  118. package/lib/src/modal/components/modal.d.ts +2 -2
  119. package/lib/src/modal/index.d.ts +10 -11
  120. package/lib/src/modal/index.js +1 -1
  121. package/lib/src/modal/props.js +1 -1
  122. package/lib/src/modal/style/index.css +29 -30
  123. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
  124. package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
  125. package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
  126. package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
  127. package/lib/src/pro-form/hooks/use-label-width.d.ts +8 -8
  128. package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
  129. package/lib/src/strength-meter/index.d.ts +12 -12
  130. package/lib/src/theme/ap-action/item-dropdown.css +11 -0
  131. package/lib/src/theme/ap-action/item.css +28 -0
  132. package/lib/src/theme/modal/index.css +29 -30
  133. package/package.json +3 -3
@@ -1,10 +1,10 @@
1
- import { defineComponent as v, useSlots as V, ref as B, computed as w, unref as c, createVNode as r, Fragment as u, openBlock as h, createBlock as p, resolveDynamicComponent as S, mergeProps as _, createSlots as A, renderList as N, withCtx as P, renderSlot as b, normalizeProps as F, guardReactiveProps as x } from "vue";
2
- import { Switch as z } from "ant-design-vue";
1
+ import { defineComponent as U, useSlots as _, ref as z, computed as D, unref as o, createVNode as u, Fragment as s, openBlock as h, createBlock as k, resolveDynamicComponent as T, createElementBlock as E, mergeProps as p, createSlots as g, renderList as V, withCtx as C, renderSlot as v, normalizeProps as B, guardReactiveProps as w } from "vue";
2
+ import { Switch as A, Popconfirm as K } from "ant-design-vue";
3
3
  import "../../hooks/useMessage.mjs";
4
- import { useControllableValue as D } from "../../hooks/useControllableValue.mjs";
5
- import { isNil as T, omit as U } from "lodash-unified";
6
- import { isDef as $ } from "@fruits-chain/utils";
7
- const E = /* @__PURE__ */ v({
4
+ import { useControllableValue as L } from "../../hooks/useControllableValue.mjs";
5
+ import { isNil as M, omit as P } from "lodash-unified";
6
+ import { isDef as f } from "@fruits-chain/utils";
7
+ const J = /* @__PURE__ */ U({
8
8
  name: "ApFieldSwitch",
9
9
  __name: "index",
10
10
  props: {
@@ -43,51 +43,80 @@ const E = /* @__PURE__ */ v({
43
43
  emptyText: {
44
44
  default: "-"
45
45
  },
46
- onAction: {}
46
+ onAction: {},
47
+ confirm: {}
47
48
  },
48
49
  emits: ["update:checked"],
49
- setup(m, {
50
- emit: f
50
+ setup(S, {
51
+ emit: N
51
52
  }) {
52
- const o = V(), n = m, k = f, {
53
- value: i,
54
- updateValue: s
55
- } = D(n, k, {
53
+ const t = _(), n = S, $ = N, {
54
+ value: d,
55
+ updateValue: a
56
+ } = L(n, $, {
56
57
  valuePropName: "checked"
57
- }), l = B(!1);
58
- async function C(e, a) {
59
- if (!$(n.onAction)) {
60
- s(e);
61
- return;
58
+ }), i = z(!1);
59
+ async function y(e, r) {
60
+ if (!f(n.confirm)) {
61
+ if (!f(n.onAction)) {
62
+ a(e);
63
+ return;
64
+ }
65
+ i.value = !0;
66
+ try {
67
+ await n.onAction(e, r) && a(e);
68
+ } finally {
69
+ i.value = !1;
70
+ }
62
71
  }
63
- l.value = !0;
64
- try {
65
- await n.onAction(e, a) && s(e);
66
- } finally {
67
- l.value = !1;
72
+ }
73
+ async function b() {
74
+ const e = o(d) === n.checkedValue ? n.unCheckedValue : n.checkedValue;
75
+ if (!f(n.onAction)) {
76
+ a(e);
77
+ return;
68
78
  }
79
+ await n.onAction(e) && a(e);
69
80
  }
70
- const y = w(() => {
71
- var d, t;
72
- const e = c(i);
73
- return T(e) ? r(u, null, [n.emptyText]) : e === n.checkedValue ? r(u, null, [n.checkedChildren || ((d = o.checkedChildren) == null ? void 0 : d.call(o)) || n.checkedValue]) : r(u, null, [n.unCheckedChildren || ((t = o.unCheckedChildren) == null ? void 0 : t.call(o)) || n.unCheckedValue]);
81
+ const F = D(() => {
82
+ var l, c;
83
+ const e = o(d);
84
+ return M(e) ? u(s, null, [n.emptyText]) : e === n.checkedValue ? u(s, null, [n.checkedChildren || ((l = t.checkedChildren) == null ? void 0 : l.call(t)) || n.checkedValue]) : u(s, null, [n.unCheckedChildren || ((c = t.unCheckedChildren) == null ? void 0 : c.call(t)) || n.unCheckedValue]);
74
85
  });
75
- return (e, a) => e.mode === "read" ? (h(), p(S(y.value), {
86
+ return (e, r) => e.mode === "read" ? (h(), k(T(F.value), {
76
87
  key: 0
77
- })) : (h(), p(c(z), _({
88
+ })) : (h(), E(s, {
78
89
  key: 1
79
- }, c(U)(n, "onUpdate:checked"), {
80
- checked: c(i),
81
- onClick: C,
82
- loading: e.loading ?? l.value
83
- }), A({
90
+ }, [o(f)(e.confirm) ? (h(), k(o(K), p({
91
+ key: 1
92
+ }, e.confirm || {}, {
93
+ onConfirm: b
94
+ }), {
95
+ default: C(() => [u(o(A), p(o(P)(n, "onUpdate:checked"), {
96
+ checked: o(d),
97
+ onClick: y,
98
+ loading: e.loading ?? i.value
99
+ }), g({
100
+ _: 2
101
+ }, [V(e.$slots, (l, c) => ({
102
+ name: c,
103
+ fn: C((m) => [v(e.$slots, c, B(w(m || {})))])
104
+ }))]), 1040, ["checked", "loading"])]),
105
+ _: 3
106
+ }, 16)) : (h(), k(o(A), p({
107
+ key: 0
108
+ }, o(P)(n, "onUpdate:checked"), {
109
+ checked: o(d),
110
+ onClick: y,
111
+ loading: e.loading ?? i.value
112
+ }), g({
84
113
  _: 2
85
- }, [N(e.$slots, (d, t) => ({
86
- name: t,
87
- fn: P((g) => [b(e.$slots, t, F(x(g || {})))])
88
- }))]), 1040, ["checked", "loading"]));
114
+ }, [V(e.$slots, (l, c) => ({
115
+ name: c,
116
+ fn: C((m) => [v(e.$slots, c, B(w(m || {})))])
117
+ }))]), 1040, ["checked", "loading"]))], 64));
89
118
  }
90
119
  });
91
120
  export {
92
- E as default
121
+ J as default
93
122
  };
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
19
19
  focus: (options?: InputFocusOptions | undefined) => void;
20
20
  blur: () => void;
21
21
  input: any;
22
- setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none" | undefined) => void;
22
+ setSelectionRange: (start: number, end: number, direction?: "none" | "forward" | "backward" | undefined) => void;
23
23
  select: () => void;
24
24
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
25
25
  "update:value": (...args: any[]) => void;
@@ -32,10 +32,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
32
32
  }>>> & {
33
33
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
34
34
  }, {
35
+ type: "number" | "text" | "color" | "reset" | "submit" | "button" | "time" | "month" | "date" | "week" | "image" | "search" | "hidden" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
35
36
  mode: FieldMode;
36
- type: "number" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "search" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
37
- lazy: boolean;
38
37
  bordered: boolean;
38
+ lazy: boolean;
39
39
  emptyText: string;
40
40
  }, {}>, Readonly<ApFieldTextSlots> & ApFieldTextSlots>;
41
41
  export default _default;
@@ -23,10 +23,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
23
23
  }>>> & {
24
24
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
25
25
  }, {
26
+ type: "number" | "text" | "color" | "reset" | "submit" | "button" | "time" | "month" | "date" | "week" | "image" | "search" | "hidden" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
26
27
  mode: FieldMode;
27
- type: "number" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "search" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
28
- lazy: boolean;
29
28
  bordered: boolean;
29
+ lazy: boolean;
30
30
  emptyText: string;
31
31
  }, {}>;
32
32
  export default _default;
@@ -1686,12 +1686,6 @@ declare const ApForm: ({
1686
1686
  });
1687
1687
  declare const ApFormItem: {
1688
1688
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
1689
- name: {
1690
- type: PropType<string | number | (string | number)[]>;
1691
- };
1692
- hidden: {
1693
- type: PropType<boolean>;
1694
- };
1695
1689
  prefixCls: {
1696
1690
  type: PropType<string>;
1697
1691
  };
@@ -1699,9 +1693,6 @@ declare const ApFormItem: {
1699
1693
  type: PropType<boolean>;
1700
1694
  default: undefined;
1701
1695
  };
1702
- order: {
1703
- type: PropType<string | number>;
1704
- };
1705
1696
  label: {
1706
1697
  type: PropType<any>;
1707
1698
  };
@@ -1711,9 +1702,18 @@ declare const ApFormItem: {
1711
1702
  push: {
1712
1703
  type: PropType<string | number>;
1713
1704
  };
1705
+ name: {
1706
+ type: PropType<string | number | (string | number)[]>;
1707
+ };
1714
1708
  flex: {
1715
1709
  type: PropType<string | number>;
1716
1710
  };
1711
+ hidden: {
1712
+ type: PropType<boolean>;
1713
+ };
1714
+ order: {
1715
+ type: PropType<string | number>;
1716
+ };
1717
1717
  offset: {
1718
1718
  type: PropType<string | number>;
1719
1719
  };
@@ -1858,12 +1858,6 @@ declare const ApFormItem: {
1858
1858
  type: PropType<boolean>;
1859
1859
  };
1860
1860
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
1861
- name: {
1862
- type: PropType<string | number | (string | number)[]>;
1863
- };
1864
- hidden: {
1865
- type: PropType<boolean>;
1866
- };
1867
1861
  prefixCls: {
1868
1862
  type: PropType<string>;
1869
1863
  };
@@ -1871,9 +1865,6 @@ declare const ApFormItem: {
1871
1865
  type: PropType<boolean>;
1872
1866
  default: undefined;
1873
1867
  };
1874
- order: {
1875
- type: PropType<string | number>;
1876
- };
1877
1868
  label: {
1878
1869
  type: PropType<any>;
1879
1870
  };
@@ -1883,9 +1874,18 @@ declare const ApFormItem: {
1883
1874
  push: {
1884
1875
  type: PropType<string | number>;
1885
1876
  };
1877
+ name: {
1878
+ type: PropType<string | number | (string | number)[]>;
1879
+ };
1886
1880
  flex: {
1887
1881
  type: PropType<string | number>;
1888
1882
  };
1883
+ hidden: {
1884
+ type: PropType<boolean>;
1885
+ };
1886
+ order: {
1887
+ type: PropType<string | number>;
1888
+ };
1889
1889
  offset: {
1890
1890
  type: PropType<string | number>;
1891
1891
  };
@@ -2043,12 +2043,6 @@ declare const ApFormItem: {
2043
2043
  M: {};
2044
2044
  Defaults: {};
2045
2045
  }, Readonly< ExtractPropTypes<{
2046
- name: {
2047
- type: PropType<string | number | (string | number)[]>;
2048
- };
2049
- hidden: {
2050
- type: PropType<boolean>;
2051
- };
2052
2046
  prefixCls: {
2053
2047
  type: PropType<string>;
2054
2048
  };
@@ -2056,9 +2050,6 @@ declare const ApFormItem: {
2056
2050
  type: PropType<boolean>;
2057
2051
  default: undefined;
2058
2052
  };
2059
- order: {
2060
- type: PropType<string | number>;
2061
- };
2062
2053
  label: {
2063
2054
  type: PropType<any>;
2064
2055
  };
@@ -2068,9 +2059,18 @@ declare const ApFormItem: {
2068
2059
  push: {
2069
2060
  type: PropType<string | number>;
2070
2061
  };
2062
+ name: {
2063
+ type: PropType<string | number | (string | number)[]>;
2064
+ };
2071
2065
  flex: {
2072
2066
  type: PropType<string | number>;
2073
2067
  };
2068
+ hidden: {
2069
+ type: PropType<boolean>;
2070
+ };
2071
+ order: {
2072
+ type: PropType<string | number>;
2073
+ };
2074
2074
  offset: {
2075
2075
  type: PropType<string | number>;
2076
2076
  };
@@ -2225,12 +2225,6 @@ declare const ApFormItem: {
2225
2225
  __isTeleport?: undefined;
2226
2226
  __isSuspense?: undefined;
2227
2227
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
2228
- name: {
2229
- type: PropType<string | number | (string | number)[]>;
2230
- };
2231
- hidden: {
2232
- type: PropType<boolean>;
2233
- };
2234
2228
  prefixCls: {
2235
2229
  type: PropType<string>;
2236
2230
  };
@@ -2238,9 +2232,6 @@ declare const ApFormItem: {
2238
2232
  type: PropType<boolean>;
2239
2233
  default: undefined;
2240
2234
  };
2241
- order: {
2242
- type: PropType<string | number>;
2243
- };
2244
2235
  label: {
2245
2236
  type: PropType<any>;
2246
2237
  };
@@ -2250,9 +2241,18 @@ declare const ApFormItem: {
2250
2241
  push: {
2251
2242
  type: PropType<string | number>;
2252
2243
  };
2244
+ name: {
2245
+ type: PropType<string | number | (string | number)[]>;
2246
+ };
2253
2247
  flex: {
2254
2248
  type: PropType<string | number>;
2255
2249
  };
2250
+ hidden: {
2251
+ type: PropType<boolean>;
2252
+ };
2253
+ order: {
2254
+ type: PropType<string | number>;
2255
+ };
2256
2256
  offset: {
2257
2257
  type: PropType<string | number>;
2258
2258
  };
@@ -2413,19 +2413,19 @@ declare const ApFormItem: {
2413
2413
  });
2414
2414
  declare const ApFormItemGroup: {
2415
2415
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
2416
- prefixCls: {
2417
- type: PropType<string>;
2418
- };
2419
2416
  align: {
2420
- type: PropType<"middle" | "top" | "bottom" | "stretch" | {
2421
- xxl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2422
- xl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2423
- lg?: "middle" | "top" | "bottom" | "stretch" | undefined;
2424
- md?: "middle" | "top" | "bottom" | "stretch" | undefined;
2425
- sm?: "middle" | "top" | "bottom" | "stretch" | undefined;
2426
- xs?: "middle" | "top" | "bottom" | "stretch" | undefined;
2417
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
2418
+ xxl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2419
+ xl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2420
+ lg?: "top" | "bottom" | "middle" | "stretch" | undefined;
2421
+ md?: "top" | "bottom" | "middle" | "stretch" | undefined;
2422
+ sm?: "top" | "bottom" | "middle" | "stretch" | undefined;
2423
+ xs?: "top" | "bottom" | "middle" | "stretch" | undefined;
2427
2424
  }>;
2428
2425
  };
2426
+ prefixCls: {
2427
+ type: PropType<string>;
2428
+ };
2429
2429
  wrap: {
2430
2430
  type: PropType<boolean>;
2431
2431
  default: undefined;
@@ -2449,19 +2449,19 @@ declare const ApFormItemGroup: {
2449
2449
  default: number;
2450
2450
  };
2451
2451
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
2452
- prefixCls: {
2453
- type: PropType<string>;
2454
- };
2455
2452
  align: {
2456
- type: PropType<"middle" | "top" | "bottom" | "stretch" | {
2457
- xxl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2458
- xl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2459
- lg?: "middle" | "top" | "bottom" | "stretch" | undefined;
2460
- md?: "middle" | "top" | "bottom" | "stretch" | undefined;
2461
- sm?: "middle" | "top" | "bottom" | "stretch" | undefined;
2462
- xs?: "middle" | "top" | "bottom" | "stretch" | undefined;
2453
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
2454
+ xxl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2455
+ xl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2456
+ lg?: "top" | "bottom" | "middle" | "stretch" | undefined;
2457
+ md?: "top" | "bottom" | "middle" | "stretch" | undefined;
2458
+ sm?: "top" | "bottom" | "middle" | "stretch" | undefined;
2459
+ xs?: "top" | "bottom" | "middle" | "stretch" | undefined;
2463
2460
  }>;
2464
2461
  };
2462
+ prefixCls: {
2463
+ type: PropType<string>;
2464
+ };
2465
2465
  wrap: {
2466
2466
  type: PropType<boolean>;
2467
2467
  default: undefined;
@@ -2496,19 +2496,19 @@ declare const ApFormItemGroup: {
2496
2496
  M: {};
2497
2497
  Defaults: {};
2498
2498
  }, Readonly< ExtractPropTypes<{
2499
- prefixCls: {
2500
- type: PropType<string>;
2501
- };
2502
2499
  align: {
2503
- type: PropType<"middle" | "top" | "bottom" | "stretch" | {
2504
- xxl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2505
- xl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2506
- lg?: "middle" | "top" | "bottom" | "stretch" | undefined;
2507
- md?: "middle" | "top" | "bottom" | "stretch" | undefined;
2508
- sm?: "middle" | "top" | "bottom" | "stretch" | undefined;
2509
- xs?: "middle" | "top" | "bottom" | "stretch" | undefined;
2500
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
2501
+ xxl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2502
+ xl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2503
+ lg?: "top" | "bottom" | "middle" | "stretch" | undefined;
2504
+ md?: "top" | "bottom" | "middle" | "stretch" | undefined;
2505
+ sm?: "top" | "bottom" | "middle" | "stretch" | undefined;
2506
+ xs?: "top" | "bottom" | "middle" | "stretch" | undefined;
2510
2507
  }>;
2511
2508
  };
2509
+ prefixCls: {
2510
+ type: PropType<string>;
2511
+ };
2512
2512
  wrap: {
2513
2513
  type: PropType<boolean>;
2514
2514
  default: undefined;
@@ -2540,19 +2540,19 @@ declare const ApFormItemGroup: {
2540
2540
  __isTeleport?: undefined;
2541
2541
  __isSuspense?: undefined;
2542
2542
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
2543
- prefixCls: {
2544
- type: PropType<string>;
2545
- };
2546
2543
  align: {
2547
- type: PropType<"middle" | "top" | "bottom" | "stretch" | {
2548
- xxl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2549
- xl?: "middle" | "top" | "bottom" | "stretch" | undefined;
2550
- lg?: "middle" | "top" | "bottom" | "stretch" | undefined;
2551
- md?: "middle" | "top" | "bottom" | "stretch" | undefined;
2552
- sm?: "middle" | "top" | "bottom" | "stretch" | undefined;
2553
- xs?: "middle" | "top" | "bottom" | "stretch" | undefined;
2544
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
2545
+ xxl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2546
+ xl?: "top" | "bottom" | "middle" | "stretch" | undefined;
2547
+ lg?: "top" | "bottom" | "middle" | "stretch" | undefined;
2548
+ md?: "top" | "bottom" | "middle" | "stretch" | undefined;
2549
+ sm?: "top" | "bottom" | "middle" | "stretch" | undefined;
2550
+ xs?: "top" | "bottom" | "middle" | "stretch" | undefined;
2554
2551
  }>;
2555
2552
  };
2553
+ prefixCls: {
2554
+ type: PropType<string>;
2555
+ };
2556
2556
  wrap: {
2557
2557
  type: PropType<boolean>;
2558
2558
  default: undefined;
@@ -5,21 +5,21 @@ export * from './interface';
5
5
  export { ModalButton, PopConfirmButton };
6
6
  export declare const BaseButton: {
7
7
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
8
- loading: {
9
- type: PropType<boolean>;
10
- };
11
- disabled: {
12
- type: PropType<boolean>;
13
- };
14
8
  text: {
15
9
  type: PropType<string>;
16
10
  };
17
11
  color: {
18
- type: PropType<"error" | "warning" | "primary" | "success">;
12
+ type: PropType<"primary" | "success" | "error" | "warning">;
13
+ };
14
+ disabled: {
15
+ type: PropType<boolean>;
19
16
  };
20
17
  onClick: {
21
18
  type: PropType<() => void>;
22
19
  };
20
+ loading: {
21
+ type: PropType<boolean>;
22
+ };
23
23
  preIcon: {
24
24
  type: PropType<string>;
25
25
  };
@@ -31,21 +31,21 @@ export declare const BaseButton: {
31
31
  default: number;
32
32
  };
33
33
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
34
- loading: {
35
- type: PropType<boolean>;
36
- };
37
- disabled: {
38
- type: PropType<boolean>;
39
- };
40
34
  text: {
41
35
  type: PropType<string>;
42
36
  };
43
37
  color: {
44
- type: PropType<"error" | "warning" | "primary" | "success">;
38
+ type: PropType<"primary" | "success" | "error" | "warning">;
39
+ };
40
+ disabled: {
41
+ type: PropType<boolean>;
45
42
  };
46
43
  onClick: {
47
44
  type: PropType<() => void>;
48
45
  };
46
+ loading: {
47
+ type: PropType<boolean>;
48
+ };
49
49
  preIcon: {
50
50
  type: PropType<string>;
51
51
  };
@@ -66,21 +66,21 @@ export declare const BaseButton: {
66
66
  M: {};
67
67
  Defaults: {};
68
68
  }, Readonly< ExtractPropTypes<{
69
- loading: {
70
- type: PropType<boolean>;
71
- };
72
- disabled: {
73
- type: PropType<boolean>;
74
- };
75
69
  text: {
76
70
  type: PropType<string>;
77
71
  };
78
72
  color: {
79
- type: PropType<"error" | "warning" | "primary" | "success">;
73
+ type: PropType<"primary" | "success" | "error" | "warning">;
74
+ };
75
+ disabled: {
76
+ type: PropType<boolean>;
80
77
  };
81
78
  onClick: {
82
79
  type: PropType<() => void>;
83
80
  };
81
+ loading: {
82
+ type: PropType<boolean>;
83
+ };
84
84
  preIcon: {
85
85
  type: PropType<string>;
86
86
  };
@@ -98,21 +98,21 @@ export declare const BaseButton: {
98
98
  __isTeleport?: undefined;
99
99
  __isSuspense?: undefined;
100
100
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
101
- loading: {
102
- type: PropType<boolean>;
103
- };
104
- disabled: {
105
- type: PropType<boolean>;
106
- };
107
101
  text: {
108
102
  type: PropType<string>;
109
103
  };
110
104
  color: {
111
- type: PropType<"error" | "warning" | "primary" | "success">;
105
+ type: PropType<"primary" | "success" | "error" | "warning">;
106
+ };
107
+ disabled: {
108
+ type: PropType<boolean>;
112
109
  };
113
110
  onClick: {
114
111
  type: PropType<() => void>;
115
112
  };
113
+ loading: {
114
+ type: PropType<boolean>;
115
+ };
116
116
  preIcon: {
117
117
  type: PropType<string>;
118
118
  };
@@ -276,10 +276,8 @@ export declare const ConfigProvider: DefineComponent<{
276
276
  };
277
277
  };
278
278
  }>>, {
279
- locale: Locale;
279
+ theme: ThemeConfig;
280
280
  direction: "ltr" | "rtl";
281
- virtual: boolean;
282
- dropdownMatchSelectWidth: number | boolean;
283
281
  input: {
284
282
  autocomplete?: string | undefined;
285
283
  };
@@ -293,6 +291,7 @@ export declare const ConfigProvider: DefineComponent<{
293
291
  };
294
292
  csp: CSPConfig;
295
293
  autoInsertSpaceInButton: boolean;
294
+ locale: Locale;
296
295
  pageHeader: {
297
296
  ghost?: boolean | undefined;
298
297
  };
@@ -300,10 +299,11 @@ export declare const ConfigProvider: DefineComponent<{
300
299
  space: {
301
300
  size?: number | ButtonSize;
302
301
  };
302
+ virtual: boolean;
303
+ dropdownMatchSelectWidth: number | boolean;
303
304
  pagination: {
304
305
  showSizeChanger?: boolean | undefined;
305
306
  };
306
- theme: ThemeConfig;
307
307
  wave: {
308
308
  disabled?: boolean | undefined;
309
309
  };