@aplus-frontend/ui 7.0.1 → 7.1.0

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 (111) hide show
  1. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +39 -39
  2. package/es/src/ap-descriptions/style/index.mjs +16 -43
  3. package/es/src/ap-download/ap-download.vue.mjs +43 -43
  4. package/es/src/ap-download/hooks/useStyle.d.ts +1 -1
  5. package/es/src/ap-download/hooks/useStyle.mjs +17 -14
  6. package/es/src/ap-download/style/index.mjs +6 -13
  7. package/es/src/ap-form/modal-form/index.vue.mjs +59 -60
  8. package/es/src/ap-form/style/modal-form.mjs +14 -15
  9. package/es/src/ap-form/style/search-form-sorter.mjs +26 -26
  10. package/es/src/ap-form/style/token.d.ts +4 -0
  11. package/es/src/ap-grid/style/index.mjs +3 -3
  12. package/es/src/ap-pro-card/style/statistic.mjs +3 -3
  13. package/es/src/ap-pro-card/style/token.mjs +1 -1
  14. package/es/src/ap-table/style/index.mjs +2 -2
  15. package/es/src/ap-table/style/setting.mjs +2 -2
  16. package/es/src/ap-tag/ap-tag-group.vue.mjs +61 -61
  17. package/es/src/ap-tag/ap-tag.vue.mjs +19 -20
  18. package/es/src/ap-tag/style/group.mjs +2 -8
  19. package/es/src/ap-tag/style/index.mjs +14 -23
  20. package/es/src/ap-upload/apUpload.vue.mjs +39 -39
  21. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +60 -61
  22. package/es/src/ap-upload/components/Picture.vue2.mjs +90 -91
  23. package/es/src/ap-upload/components/SingleFile.vue2.mjs +72 -72
  24. package/es/src/ap-upload/style/multiple-file.mjs +13 -40
  25. package/es/src/ap-upload/style/picture.mjs +12 -30
  26. package/es/src/ap-upload/style/single-file.mjs +5 -16
  27. package/es/src/business/ap-appendix/style/index.mjs +1 -1
  28. package/es/src/business/ap-attachment/ApAttachment.mjs +42 -39
  29. package/es/src/business/ap-copy/style/index.mjs +1 -1
  30. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +45 -46
  31. package/es/src/business/ap-ladder/ApLadder.mjs +20 -22
  32. package/es/src/business/ap-ladder/style/index.mjs +9 -34
  33. package/es/src/business/ap-product-info/ApProductInfo.mjs +21 -22
  34. package/es/src/business/ap-product-info/style/index.mjs +8 -24
  35. package/es/src/business/ap-radio-group/style/index.mjs +1 -1
  36. package/es/src/business/ap-size-input/ApSizeInput.mjs +1 -1
  37. package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +18 -19
  38. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +13 -13
  39. package/es/src/business/ap-title/style/index.mjs +1 -1
  40. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +38 -37
  41. package/es/src/business/ap-value-select-card/index.vue2.mjs +36 -37
  42. package/es/src/business/ap-value-select-card/style/index.mjs +7 -29
  43. package/es/src/business/batch-input-group/style/index.mjs +1 -1
  44. package/es/src/check-card/style/index.mjs +31 -31
  45. package/es/src/design-token/constants.mjs +4 -2
  46. package/es/src/design-token/interface.d.ts +36 -39
  47. package/es/src/scroll-bar/style/index.mjs +12 -12
  48. package/es/src/splitter/style/index.mjs +6 -6
  49. package/es/src/style/index.mjs +1 -1
  50. package/es/src/text/style/index.mjs +1 -1
  51. package/es/src/utils/cssinjs/TokenUtil.d.ts +11 -0
  52. package/es/src/utils/cssinjs/TokenUtil.mjs +26 -0
  53. package/es/src/utils/cssinjs/index.mjs +23 -22
  54. package/es/src/version.d.ts +1 -1
  55. package/es/src/version.mjs +1 -1
  56. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  57. package/lib/src/ap-descriptions/style/index.js +1 -1
  58. package/lib/src/ap-download/ap-download.vue.js +1 -1
  59. package/lib/src/ap-download/hooks/useStyle.d.ts +1 -1
  60. package/lib/src/ap-download/hooks/useStyle.js +1 -1
  61. package/lib/src/ap-download/style/index.js +1 -1
  62. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  63. package/lib/src/ap-form/style/modal-form.js +1 -1
  64. package/lib/src/ap-form/style/search-form-sorter.js +1 -1
  65. package/lib/src/ap-form/style/token.d.ts +4 -0
  66. package/lib/src/ap-grid/style/index.js +1 -1
  67. package/lib/src/ap-pro-card/style/statistic.js +1 -1
  68. package/lib/src/ap-pro-card/style/token.js +1 -1
  69. package/lib/src/ap-table/style/index.js +1 -1
  70. package/lib/src/ap-table/style/setting.js +1 -1
  71. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  72. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  73. package/lib/src/ap-tag/style/group.js +1 -1
  74. package/lib/src/ap-tag/style/index.js +1 -1
  75. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  76. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  77. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  78. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  79. package/lib/src/ap-upload/style/multiple-file.js +1 -1
  80. package/lib/src/ap-upload/style/picture.js +1 -1
  81. package/lib/src/ap-upload/style/single-file.js +1 -1
  82. package/lib/src/business/ap-appendix/style/index.js +1 -1
  83. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  84. package/lib/src/business/ap-copy/style/index.js +1 -1
  85. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  86. package/lib/src/business/ap-ladder/ApLadder.js +1 -1
  87. package/lib/src/business/ap-ladder/style/index.js +1 -1
  88. package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
  89. package/lib/src/business/ap-product-info/style/index.js +1 -1
  90. package/lib/src/business/ap-radio-group/style/index.js +1 -1
  91. package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
  92. package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
  93. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  94. package/lib/src/business/ap-title/style/index.js +1 -1
  95. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
  96. package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
  97. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  98. package/lib/src/business/batch-input-group/style/index.js +1 -1
  99. package/lib/src/check-card/style/index.js +1 -1
  100. package/lib/src/design-token/constants.js +1 -1
  101. package/lib/src/design-token/interface.d.ts +36 -39
  102. package/lib/src/scroll-bar/style/index.js +1 -1
  103. package/lib/src/splitter/style/index.js +1 -1
  104. package/lib/src/style/index.js +1 -1
  105. package/lib/src/text/style/index.js +1 -1
  106. package/lib/src/utils/cssinjs/TokenUtil.d.ts +11 -0
  107. package/lib/src/utils/cssinjs/TokenUtil.js +1 -0
  108. package/lib/src/utils/cssinjs/index.js +1 -1
  109. package/lib/src/version.d.ts +1 -1
  110. package/lib/src/version.js +1 -1
  111. package/package.json +1 -1
@@ -1,20 +1,19 @@
1
- import { isVNode as z, defineComponent as E, useSlots as $, ref as d, watch as q, cloneVNode as A, computed as D, createVNode as n, mergeProps as m, unref as a, createElementBlock as L, openBlock as b, Fragment as G, createBlock as T, createCommentVNode as K, withCtx as v, createElementVNode as W, normalizeClass as H, normalizeStyle as J, renderSlot as C, resolveDynamicComponent as B, createTextVNode as Q, toDisplayString as X } from "vue";
2
- import { Button as y, Flex as Y, Space as Z, Modal as ee } from "@aplus-frontend/antdv";
1
+ import { isVNode as O, defineComponent as z, useSlots as E, ref as d, watch as $, cloneVNode as q, computed as A, createVNode as n, mergeProps as m, unref as o, createElementBlock as D, openBlock as p, Fragment as L, createBlock as T, createCommentVNode as K, withCtx as b, createElementVNode as W, normalizeClass as G, normalizeStyle as H, renderSlot as C, resolveDynamicComponent as B, createTextVNode as J, toDisplayString as Q } from "vue";
2
+ import { Button as v, Flex as X, Space as Y, Modal as Z } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
5
- import { getSingleVNode as te } from "../../utils/slot.mjs";
5
+ import { getSingleVNode as ee } from "../../utils/slot.mjs";
6
6
  import "../../config-provider/index.mjs";
7
- import { omit as le } from "lodash-unified";
8
- import oe from "../style/modal-form.mjs";
7
+ import { omit as te } from "lodash-unified";
8
+ import le from "../style/modal-form.mjs";
9
9
  import { useControllableValue as ae } from "../../hooks/useControllableValue.mjs";
10
- import { useLocale as se } from "../../config-provider/hooks/use-locale.mjs";
11
- import { useGlobalConfig as ne } from "../../config-provider/hooks/use-global-config.mjs";
12
- import { useNamespace as re } from "../../config-provider/hooks/use-namespace.mjs";
13
- import ie from "../ap-form.vue2.mjs";
10
+ import { useLocale as oe } from "../../config-provider/hooks/use-locale.mjs";
11
+ import { useNamespace as se } from "../../config-provider/hooks/use-namespace.mjs";
12
+ import ne from "../ap-form.vue2.mjs";
14
13
  function k(r) {
15
- return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !z(r);
14
+ return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !O(r);
16
15
  }
17
- const Re = /* @__PURE__ */ E({
16
+ const Ne = /* @__PURE__ */ z({
18
17
  name: "ApFormModalForm",
19
18
  __name: "index",
20
19
  props: {
@@ -97,49 +96,49 @@ const Re = /* @__PURE__ */ E({
97
96
  expose: P,
98
97
  emit: S
99
98
  }) {
100
- const t = r, c = $(), w = S, o = d(), F = d(0), i = d(), s = d(!1), {
99
+ const t = r, c = E(), w = S, a = d(), y = d(0), i = d(), s = d(!1), {
101
100
  value: N,
102
101
  updateValue: u
103
102
  } = ae(t, w, {
104
103
  valuePropName: "open",
105
104
  defaultValue: !1,
106
105
  beforeUpdateValue(e) {
107
- return e && (F.value += 1), !0;
106
+ return e && (y.value += 1), !0;
108
107
  }
109
108
  }), {
110
109
  t: f
111
- } = se(), x = ne("uiMode", "aplus"), M = oe("ap-form-modal-form"), {
110
+ } = oe(), x = le("ap-form-modal-form"), {
112
111
  b: R,
113
- e: p
114
- } = re("ap-form-modal-form");
115
- q(() => o.value, (e) => {
112
+ e: F
113
+ } = se("ap-form-modal-form");
114
+ $(() => a.value, (e) => {
116
115
  e && i.value && (e.setFieldsValue?.(i.value), i.value = void 0);
117
116
  });
118
- const h = te(c.trigger), g = h ? A(h, {
117
+ const h = ee(c.trigger), g = h ? q(h, {
119
118
  onClick: () => {
120
119
  u(!0);
121
120
  }
122
- }) : null, _ = D(() => {
121
+ }) : null, _ = A(() => {
123
122
  const e = [];
124
123
  if (t.submitter === !1)
125
124
  return null;
126
125
  if (t.showCancel) {
127
126
  let l;
128
- e.push(n(y, {
127
+ e.push(n(v, {
129
128
  onClick: V,
130
129
  disabled: s.value
131
130
  }, k(l = f("ap.common.cancelText")) ? l : {
132
131
  default: () => [l]
133
132
  }));
134
133
  }
135
- return t.submitter?.resetButtonProps !== !1 && e.push(n(y, m(t.submitter?.resetButtonProps || {}, {
134
+ return t.submitter?.resetButtonProps !== !1 && e.push(n(v, m(t.submitter?.resetButtonProps || {}, {
136
135
  key: "reset",
137
136
  disabled: s.value,
138
137
  onClick: I,
139
138
  htmlType: "reset"
140
139
  }), {
141
140
  default: () => [t.submitter?.resetText || f("ap.common.resetText")]
142
- })), t.submitter?.submitButtonProps !== !1 && e.push(n(y, m({
141
+ })), t.submitter?.submitButtonProps !== !1 && e.push(n(v, m({
143
142
  type: "primary",
144
143
  key: "submit",
145
144
  htmlType: "submit"
@@ -147,28 +146,28 @@ const Re = /* @__PURE__ */ E({
147
146
  loading: s.value
148
147
  }), {
149
148
  default: () => [t.submitter?.submitText || f("ap.common.okText")]
150
- })), n(Y, {
149
+ })), n(X, {
151
150
  justify: "flex-end",
152
- key: a(F),
153
- class: [p("footer"), a(x) === "admin" ? p("footer-admin") : null]
151
+ key: o(y),
152
+ class: [F("footer")]
154
153
  }, {
155
- default: () => [c.submitter ? c.submitter(e) : n(Z, null, k(e) ? e : {
154
+ default: () => [c.submitter ? c.submitter(e) : n(Y, null, k(e) ? e : {
156
155
  default: () => [e]
157
156
  })]
158
157
  });
159
158
  });
160
159
  function I() {
161
- t.submitter !== !1 && (o.value?.resetFields(), t.submitter?.onReset?.());
160
+ t.submitter !== !1 && (a.value?.resetFields(), t.submitter?.onReset?.());
162
161
  }
163
- async function U(e) {
162
+ async function M(e) {
164
163
  if (t.submitter !== !1)
165
164
  try {
166
165
  t.submitter?.onSubmit?.(), s.value = !0;
167
166
  const l = t.onFinish?.(e);
168
167
  if (t.submitTimeout && l instanceof Promise) {
169
- const O = setTimeout(() => s.value = !1, t.submitTimeout);
168
+ const j = setTimeout(() => s.value = !1, t.submitTimeout);
170
169
  l.finally(() => {
171
- clearTimeout(O), s.value = !1;
170
+ clearTimeout(j), s.value = !1;
172
171
  });
173
172
  }
174
173
  await l && u(!1);
@@ -177,71 +176,71 @@ const Re = /* @__PURE__ */ E({
177
176
  }
178
177
  }
179
178
  function V() {
180
- a(s) || u(!1);
179
+ o(s) || u(!1);
181
180
  }
182
- function j(e) {
183
- !e && a(s) || u(e);
181
+ function U(e) {
182
+ !e && o(s) || u(e);
184
183
  }
185
184
  return P({
186
185
  resetFields: async () => {
187
- o.value?.resetFields();
186
+ a.value?.resetFields();
188
187
  },
189
188
  clearValidate: (e) => {
190
- o.value?.clearValidate(e);
189
+ a.value?.clearValidate(e);
191
190
  },
192
- validateFields: (e, l) => o.value?.validateFields(e, l),
193
- getFieldsValue: (e) => o.value?.getFieldsValue(e),
194
- validate: (e, l) => o.value?.validate(e, l),
191
+ validateFields: (e, l) => a.value?.validateFields(e, l),
192
+ getFieldsValue: (e) => a.value?.getFieldsValue(e),
193
+ validate: (e, l) => a.value?.validate(e, l),
195
194
  scrollToField: (e, l = {}) => {
196
- o.value?.scrollToField(e, l);
195
+ a.value?.scrollToField(e, l);
197
196
  },
198
197
  setFieldValue: (e, l) => {
199
- o.value?.setFieldValue?.(e, l);
198
+ a.value?.setFieldValue?.(e, l);
200
199
  },
201
200
  setFieldsValue: (e) => {
202
- if (!o.value) {
201
+ if (!a.value) {
203
202
  i.value = e;
204
203
  return;
205
204
  }
206
- o.value?.setFieldsValue?.(e);
205
+ a.value?.setFieldsValue?.(e);
207
206
  },
208
- getInternalInstance: (e) => o.value?.getInternalInstance(e),
207
+ getInternalInstance: (e) => a.value?.getInternalInstance(e),
209
208
  getFieldsValueTransformed(e) {
210
- return o.value?.getFieldsValueTransformed(e);
209
+ return a.value?.getFieldsValueTransformed(e);
211
210
  },
212
211
  validateFieldsReturnTransformed(e, l) {
213
- return o.value?.validateFieldsReturnTransformed(e, l);
212
+ return a.value?.validateFieldsReturnTransformed(e, l);
214
213
  }
215
- }), (e, l) => (b(), L(G, null, [n(a(ee), m(e.modalProps, {
216
- open: a(N),
214
+ }), (e, l) => (p(), D(L, null, [n(o(Z), m(e.modalProps, {
215
+ open: o(N),
217
216
  footer: null,
218
217
  width: e.width,
219
- class: [a(R)(), a(M)],
218
+ class: [o(R)(), o(x)],
220
219
  "body-style": {
221
220
  padding: "0px !important"
222
221
  },
223
- "onUpdate:open": j,
222
+ "onUpdate:open": U,
224
223
  onCancel: V
225
224
  }), {
226
- title: v(() => [C(e.$slots, "title", {}, () => [Q(X(t.title), 1)])]),
227
- default: v(() => [n(ie, m({
225
+ title: b(() => [C(e.$slots, "title", {}, () => [J(Q(t.title), 1)])]),
226
+ default: b(() => [n(ne, m({
228
227
  ref_key: "formRef",
229
- ref: o
230
- }, a(le)(t, ["modalProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"]), {
231
- onFinish: U
228
+ ref: a
229
+ }, o(te)(t, ["modalProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"]), {
230
+ onFinish: M
232
231
  }), {
233
- default: v(() => [W("div", {
234
- style: J(e.modalProps?.bodyStyle),
235
- class: H(a(p)("content"))
236
- }, [C(e.$slots, "default")], 6), (b(), T(B(_.value)))]),
232
+ default: b(() => [W("div", {
233
+ style: H(e.modalProps?.bodyStyle),
234
+ class: G(o(F)("content"))
235
+ }, [C(e.$slots, "default")], 6), (p(), T(B(_.value)))]),
237
236
  _: 3
238
237
  }, 16)]),
239
238
  _: 3
240
- }, 16, ["open", "width", "class"]), a(g) ? (b(), T(B(a(g)), {
239
+ }, 16, ["open", "width", "class"]), o(g) ? (p(), T(B(o(g)), {
241
240
  key: 0
242
241
  })) : K("", !0)], 64));
243
242
  }
244
243
  });
245
244
  export {
246
- Re as default
245
+ Ne as default
247
246
  };
@@ -1,8 +1,8 @@
1
- import { genComponentStyleHook as n } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as r } from "../../utils/cssinjs/index.mjs";
2
2
  const e = (o) => {
3
- const { componentCls: d, apFormModalCloseSize: a } = o;
3
+ const { componentCls: a, apFormModalCloseSize: d } = o;
4
4
  return {
5
- [d]: {
5
+ [a]: {
6
6
  ".ant-modal-content": {
7
7
  padding: 0
8
8
  },
@@ -12,23 +12,21 @@ const e = (o) => {
12
12
  borderBottom: "1px solid #E9EDF3",
13
13
  marginBottom: 0
14
14
  },
15
- [`${d}__content`]: {
15
+ [`${a}__content`]: {
16
16
  padding: o.apFormModalContentPadding
17
17
  },
18
- [`${d}__footer`]: {
19
- padding: o.apFormModalFooterPadding
20
- },
21
- [`${d}__footer-admin`]: {
22
- borderTop: "1px solid #E9EDF3"
18
+ [`${a}__footer`]: {
19
+ padding: o.apFormModalFooterPadding,
20
+ borderTop: o.apFormModalFooterBorderTop
23
21
  },
24
22
  ".ant-modal-close": {
25
- top: `calc(${o.apFormModalHeaderPaddingBlock} - (${a} - 22px) / 2)`,
26
- width: a,
27
- height: a
23
+ top: o.calc(o.apFormModalHeaderPaddingBlock).sub(o.calc(d).sub("22px").div(2)).equal(),
24
+ width: d,
25
+ height: d
28
26
  }
29
27
  }
30
28
  };
31
- }, l = n(
29
+ }, n = r(
32
30
  "ApForm.Modal",
33
31
  (o) => [e(o)],
34
32
  {
@@ -36,10 +34,11 @@ const e = (o) => {
36
34
  apFormModalHeaderPaddingBlock: 15,
37
35
  apFormModalContentPadding: "20px 20px 0px",
38
36
  apFormModalFooterPadding: "12px 20px",
39
- apFormModalCloseSize: 32
37
+ apFormModalCloseSize: 32,
38
+ apFormModalFooterBorderTop: "unset"
40
39
  }
41
40
  );
42
41
  export {
43
- l as default,
42
+ n as default,
44
43
  e as genModalFormStyle
45
44
  };
@@ -1,48 +1,48 @@
1
- import { resetComponent as e } from "../../style/index.mjs";
2
- import { genComponentStyleHook as t } from "../../utils/cssinjs/index.mjs";
3
- import { genPopoverStyle as i } from "./search-form.mjs";
4
- const c = (r) => {
5
- const { componentCls: o } = r, a = `calc(100% / ${r.searchFormSorterCountPerRow})`;
1
+ import { resetComponent as o } from "../../style/index.mjs";
2
+ import { genComponentStyleHook as i } from "../../utils/cssinjs/index.mjs";
3
+ import { genPopoverStyle as t } from "./search-form.mjs";
4
+ const l = (r) => {
5
+ const { componentCls: e } = r, a = r.calc("100%").div(r.searchFormSorterCountPerRow).equal();
6
6
  return {
7
- [o]: {
8
- [`${o}-content`]: {
7
+ [e]: {
8
+ [`${e}-content`]: {
9
9
  width: r.searchFormSorterWidth
10
10
  },
11
- [`${o}-header`]: {
11
+ [`${e}-header`]: {
12
12
  padding: `${r.spaceXL} ${r.spaceXL} 0px`,
13
13
  "&-title": {
14
- ...e(r),
15
- color: r.textColor2,
14
+ ...o(r),
15
+ color: r.textColor1,
16
16
  fontWeight: 700,
17
17
  display: "inline-block",
18
18
  paddingBottom: r.spaceXS
19
19
  },
20
20
  "&-desc": {
21
- ...e(r),
21
+ ...o(r),
22
22
  color: r.textColor3
23
23
  },
24
24
  "&-action-wrapper": {
25
25
  padding: r.space,
26
- margin: `calc(-1 * ${r.space})`,
26
+ margin: r.calc(-1).mul(r.space).equal(),
27
27
  cursor: "pointer"
28
28
  },
29
29
  "&-reset-btn": {
30
- ...e(r),
30
+ ...o(r),
31
31
  color: r.colorLink
32
32
  }
33
33
  },
34
- [`${o}-sorter-wrapper`]: {
34
+ [`${e}-sorter-wrapper`]: {
35
35
  display: "flex",
36
36
  flexDirection: "row",
37
37
  flexWrap: "wrap",
38
- marginInlineStart: `calc(${r.searchFormSorterItemGap} / -2)`,
39
- marginInlineEnd: `calc(${r.searchFormSorterItemGap} / -2)`,
38
+ marginInlineStart: r.calc(r.searchFormSorterItemGap).div(-2).equal(),
39
+ marginInlineEnd: r.calc(r.searchFormSorterItemGap).div(-2).equal(),
40
40
  rowGap: r.searchFormSorterItemGap
41
41
  },
42
- [`${o}-sorter-item`]: {
42
+ [`${e}-sorter-item`]: {
43
43
  flex: `0 0 ${a}`,
44
44
  maxWidth: a,
45
- paddingInline: `calc(${r.searchFormSorterItemGap} / 2)`,
45
+ paddingInline: r.calc(r.searchFormSorterItemGap).div(2).equal(),
46
46
  "> div": {
47
47
  border: `1px solid ${r.colorBg1}`,
48
48
  borderRadius: r.borderRadius,
@@ -62,21 +62,21 @@ const c = (r) => {
62
62
  display: "none"
63
63
  }
64
64
  },
65
- [`${o}-sorter-item-text`]: {
66
- ...e(r),
65
+ [`${e}-sorter-item-text`]: {
66
+ ...o(r),
67
67
  paddingInlineStart: r.spaceXS,
68
- color: r.textColor2,
68
+ color: r.textColor1,
69
69
  maxWidth: "100%",
70
70
  whiteSpace: "nowrap",
71
71
  overflow: "hidden",
72
72
  textOverflow: "ellipsis"
73
73
  }
74
74
  },
75
- ...i(r)
75
+ ...t(r)
76
76
  };
77
- }, m = t(
77
+ }, d = i(
78
78
  "ApForm.SearchFormSorter",
79
- (r) => [c(r)],
79
+ (r) => [l(r)],
80
80
  {
81
81
  searchFormSorterWidth: 560,
82
82
  searchFormSorterItemGap: 8,
@@ -87,6 +87,6 @@ const c = (r) => {
87
87
  }
88
88
  );
89
89
  export {
90
- m as default,
91
- c as genSearchFormSorter
90
+ d as default,
91
+ l as genSearchFormSorter
92
92
  };
@@ -12,6 +12,10 @@ export type ApFormToken = {
12
12
  * 对话框表单底部Footer区域边距
13
13
  */
14
14
  apFormModalFooterPadding: string | number;
15
+ /**
16
+ * 对话框表单底部Footer上边框
17
+ */
18
+ apFormModalFooterBorderTop: string;
15
19
  /**
16
20
  * 关闭按钮的尺寸
17
21
  */
@@ -139,13 +139,13 @@ const g = (e) => {
139
139
  backgroundColor: "var(--vxe-ui-loading-background-color)"
140
140
  },
141
141
  [`${i}-pagination-count-text`]: {
142
- color: e.textColor2
142
+ color: e.textColor1
143
143
  },
144
144
  [`${i}-pagination--total-right`]: {
145
145
  paddingInlineStart: "12px"
146
146
  },
147
147
  [`${i}-pagination-total-wrapper`]: {
148
- color: e.textColor1
148
+ color: e.textColor2
149
149
  },
150
150
  // ApGrid中表格表头的样式
151
151
  [`${i}-table-header`]: {
@@ -203,7 +203,7 @@ const g = (e) => {
203
203
  },
204
204
  "div.vxe-cell--tree-btn > i": {
205
205
  fontSize: e.fontSizeSM,
206
- color: e.textColor2
206
+ color: e.textColor1
207
207
  }
208
208
  }
209
209
  }
@@ -51,7 +51,7 @@ const o = (t) => {
51
51
  marginTop: "4px"
52
52
  },
53
53
  ".ant-statistic-title": {
54
- color: t.textColor1,
54
+ color: t.textColor2,
55
55
  fontSize: t.fontSize,
56
56
  lineHeight: t.lineHeight,
57
57
  marginBlockEnd: "8px"
@@ -94,7 +94,7 @@ const o = (t) => {
94
94
  fontWeight: "500"
95
95
  },
96
96
  ".ant-statistic-content": {
97
- color: t.textColor2,
97
+ color: t.textColor1,
98
98
  fontSize: t.fontSize,
99
99
  lineHeight: t.lineHeight,
100
100
  fontWeight: "500"
@@ -111,7 +111,7 @@ const o = (t) => {
111
111
  fontWeight: "500"
112
112
  },
113
113
  ".ant-statistic-content": {
114
- color: t.textColor2,
114
+ color: t.textColor1,
115
115
  fontSize: t.fontSize,
116
116
  lineHeight: t.lineHeight,
117
117
  fontWeight: "500"
@@ -12,7 +12,7 @@ const r = {
12
12
  apProCardTooltipColor: "#8896b0",
13
13
  apProCardHeaderTitleFontSize: "12px",
14
14
  apProCardHeaderTitleFontColor: "#182948",
15
- apProCardAreaColor: "#f1f7ff",
15
+ apProCardAreaColor: "#f7f8fa",
16
16
  apProCardSplitLineHeight: "100%",
17
17
  apProCardDividerLineHeight: "60%"
18
18
  };
@@ -126,13 +126,13 @@ const r = (t) => ({
126
126
  marginBlockEnd: 0
127
127
  },
128
128
  "&-pagination-count-text": {
129
- color: t.textColor2
129
+ color: t.textColor1
130
130
  },
131
131
  "&-pagination--total-right": {
132
132
  paddingLeft: "12px"
133
133
  },
134
134
  "&-pagination-total-wrapper": {
135
- color: t.textColor1
135
+ color: t.textColor2
136
136
  },
137
137
  // ApTable的header区域
138
138
  [`${a}-header`]: {
@@ -16,7 +16,7 @@ const r = (e) => {
16
16
  [`.${l}-ap-grid-table-header__title`]: {
17
17
  ...n(e),
18
18
  fontWeight: "normal",
19
- color: e.textColor2
19
+ color: e.textColor1
20
20
  },
21
21
  [`.${l}-ag-grid-table-header__title`]: {
22
22
  ...n(e)
@@ -169,7 +169,7 @@ const r = (e) => {
169
169
  "&-title": {
170
170
  ...i(e),
171
171
  fontWeight: "bold",
172
- color: e.textColor2
172
+ color: e.textColor1
173
173
  }
174
174
  },
175
175
  "&-content": {