@aplus-frontend/ui 7.4.1 → 7.4.3

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 (53) hide show
  1. package/es/index.mjs +183 -181
  2. package/es/src/ag-grid/index.vue.mjs +207 -187
  3. package/es/src/ap-drawer/style/index.mjs +10 -10
  4. package/es/src/ap-field/date/index.vue.mjs +1 -0
  5. package/es/src/ap-field/date/read.vue2.mjs +4 -3
  6. package/es/src/ap-field/date-range/index.vue.mjs +1 -0
  7. package/es/src/ap-field/date-range/read.vue2.mjs +1 -0
  8. package/es/src/ap-field/interface.d.ts +2 -0
  9. package/es/src/ap-field/text/index.vue2.mjs +27 -23
  10. package/es/src/ap-field/text/password.vue.mjs +31 -27
  11. package/es/src/ap-form/item/index.vue.mjs +20 -20
  12. package/es/src/ap-pro-card/style/index.mjs +1 -1
  13. package/es/src/ap-pro-card/style/title.mjs +10 -10
  14. package/es/src/business/ap-copy/style/index.mjs +11 -11
  15. package/es/src/business/ap-label/style/index.mjs +1 -1
  16. package/es/src/business/ap-value-select-card/style/index.mjs +2 -2
  17. package/es/src/index.d.ts +1 -0
  18. package/es/src/index.mjs +302 -299
  19. package/es/src/render/index.d.ts +2 -0
  20. package/es/src/render/index.mjs +4 -0
  21. package/es/src/render/render.d.ts +15 -0
  22. package/es/src/render/render.mjs +17 -0
  23. package/es/src/version.d.ts +1 -1
  24. package/es/src/version.mjs +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/src/ag-grid/index.vue.js +1 -1
  27. package/lib/src/ap-drawer/style/index.js +1 -1
  28. package/lib/src/ap-field/date/index.vue.js +1 -1
  29. package/lib/src/ap-field/date/read.vue2.js +1 -1
  30. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  31. package/lib/src/ap-field/date-range/read.vue2.js +1 -1
  32. package/lib/src/ap-field/interface.d.ts +2 -0
  33. package/lib/src/ap-field/text/index.vue2.js +1 -1
  34. package/lib/src/ap-field/text/password.vue.js +1 -1
  35. package/lib/src/ap-form/item/index.vue.js +1 -1
  36. package/lib/src/ap-pro-card/style/index.js +1 -1
  37. package/lib/src/ap-pro-card/style/title.js +1 -1
  38. package/lib/src/business/ap-copy/style/index.js +1 -1
  39. package/lib/src/business/ap-label/style/index.js +1 -1
  40. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  41. package/lib/src/index.d.ts +1 -0
  42. package/lib/src/index.js +1 -1
  43. package/lib/src/render/index.d.ts +2 -0
  44. package/lib/src/render/index.js +1 -0
  45. package/lib/src/render/render.d.ts +15 -0
  46. package/lib/src/render/render.js +1 -0
  47. package/lib/src/version.d.ts +1 -1
  48. package/lib/src/version.js +1 -1
  49. package/package.json +3 -3
  50. package/es/src/portal/style/css.d.ts +0 -1
  51. package/es/src/portal/style/index.d.ts +0 -1
  52. package/lib/src/portal/style/css.d.ts +0 -1
  53. package/lib/src/portal/style/index.d.ts +0 -1
@@ -1,29 +1,29 @@
1
- import { genComponentStyleHook as e } from "../../utils/cssinjs/index.mjs";
2
- const r = (o) => ({
3
- [`${o.componentCls}-close`]: {
1
+ import { genComponentStyleHook as o } from "../../utils/cssinjs/index.mjs";
2
+ const r = (e) => ({
3
+ [`${e.componentCls}-close`]: {
4
4
  width: "32px",
5
5
  height: "32px",
6
6
  display: "flex",
7
7
  flexDirection: "column",
8
8
  justifyContent: "center",
9
9
  alignItems: "center",
10
- border: `1px solid ${o.borderColorBase}`,
11
- borderRadius: o.borderRadius,
10
+ border: `1px solid ${e.borderColorBase}`,
11
+ borderRadius: e.borderRadius,
12
12
  cursor: "pointer",
13
- ".aplus-frontend-icon": {
13
+ ".user-frontend-icon": {
14
14
  fontSize: "18px",
15
15
  display: "flex",
16
16
  alignItems: "center",
17
17
  transition: "color 0.3s"
18
18
  },
19
19
  "&:hover": {
20
- ".aplus-frontend-icon": {
21
- color: o.colorError
20
+ ".user-frontend-icon": {
21
+ color: e.colorError
22
22
  }
23
23
  }
24
24
  }
25
- }), t = e("ApDrawer", (o) => [
26
- r(o)
25
+ }), t = o("ApDrawer", (e) => [
26
+ r(e)
27
27
  ]);
28
28
  export {
29
29
  t as default
@@ -83,6 +83,7 @@ const he = /* @__PURE__ */ E({
83
83
  emptyText: { default: "--" },
84
84
  value: {},
85
85
  defaultValue: {},
86
+ "onUpdate:value": {},
86
87
  onChange: {},
87
88
  onOk: {},
88
89
  format: { default: "Y-D" },
@@ -1,10 +1,10 @@
1
- import { defineComponent as i, computed as t, toDisplayString as u, unref as d } from "vue";
1
+ import { defineComponent as u, computed as t, toDisplayString as i, unref as d } from "vue";
2
2
  import n from "dayjs";
3
3
  import { isNil as m } from "lodash-unified";
4
4
  import { getTimeFormatToZone as c } from "@aplus-frontend/utils";
5
5
  import { useDateTimezone as f } from "../hooks/use-date-timezone.mjs";
6
6
  import { ApFieldDatePresetFormats as y, PRESET_FORMAT_MAP as B } from "./constant.mjs";
7
- const T = /* @__PURE__ */ i({
7
+ const T = /* @__PURE__ */ u({
8
8
  name: "ApFieldDateRead",
9
9
  __name: "read",
10
10
  props: {
@@ -78,6 +78,7 @@ const T = /* @__PURE__ */ i({
78
78
  emptyText: { default: "--" },
79
79
  value: {},
80
80
  defaultValue: {},
81
+ "onUpdate:value": {},
81
82
  onChange: {},
82
83
  onOk: {},
83
84
  format: { default: "Y-D" },
@@ -96,7 +97,7 @@ const T = /* @__PURE__ */ i({
96
97
  let o = n(e.value);
97
98
  return e.timezone && (o = n(c(e.value, r.value))), o;
98
99
  });
99
- return (o, h) => u(a.value ? d(n)(a.value).format(s.value) : o.emptyText);
100
+ return (o, h) => i(a.value ? d(n)(a.value).format(s.value) : o.emptyText);
100
101
  }
101
102
  });
102
103
  export {
@@ -147,6 +147,7 @@ const ze = /* @__PURE__ */ L({
147
147
  },
148
148
  value: {},
149
149
  defaultValue: {},
150
+ "onUpdate:value": {},
150
151
  onChange: {},
151
152
  onOk: {},
152
153
  format: {
@@ -79,6 +79,7 @@ const M = /* @__PURE__ */ v({
79
79
  emptyText: { default: "--" },
80
80
  value: {},
81
81
  defaultValue: {},
82
+ "onUpdate:value": {},
82
83
  onChange: {},
83
84
  onOk: {},
84
85
  format: { default: "Y-D" },
@@ -47,6 +47,7 @@ export type ApFieldDateProps = BasicApFieldProps<Omit<DatePickerProps, 'mode' |
47
47
  emptyText?: string;
48
48
  value?: number | null;
49
49
  defaultValue?: number;
50
+ 'onUpdate:value'?: (ts: number | null) => void;
50
51
  onChange?: (ts: number | null, dayStr: string) => void;
51
52
  onOk?: (ts: number | null) => void;
52
53
  format?: LiteralUnion<ApFormatPresetType, string>;
@@ -116,6 +117,7 @@ export type ApFieldDateRangeProps = BasicApFieldProps<Omit<RangePickerProps, 'va
116
117
  emptyText?: string;
117
118
  value?: RangeValue<number> | null;
118
119
  defaultValue?: RangeValue<number>;
120
+ 'onUpdate:value'?: (ts: RangeValue<number> | null) => void;
119
121
  onChange?: (ts: RangeValue<number> | null, dayStr: [string, string]) => void;
120
122
  onOk?: (ts: RangeValue<number>) => void;
121
123
  format?: LiteralUnion<ApFormatPresetType, string>;
@@ -1,13 +1,15 @@
1
- import { isVNode as g, defineComponent as C, ref as S, useSlots as _, createVNode as i, mergeProps as V, unref as r, computed as w, createBlock as R, openBlock as T, resolveDynamicComponent as j } from "vue";
2
- import { Input as U } from "@aplus-frontend/antdv";
1
+ import { isVNode as g, defineComponent as C, ref as S, useSlots as _, createVNode as i, mergeProps as R, unref as r, computed as V, createBlock as w, openBlock as T } from "vue";
2
+ import { Input as j } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
- import { omit as z } from "lodash-unified";
5
- import { useDefaultPlaceholder as F } from "../hooks/use-default-placeholder.mjs";
6
- import { useControllableValue as M } from "../../hooks/useControllableValue.mjs";
4
+ import { omit as U } from "lodash-unified";
5
+ import { useDefaultPlaceholder as z } from "../hooks/use-default-placeholder.mjs";
6
+ import "../../render/index.mjs";
7
+ import { useControllableValue as F } from "../../hooks/useControllableValue.mjs";
8
+ import M from "../../render/render.mjs";
7
9
  function N(n) {
8
10
  return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !g(n);
9
11
  }
10
- const K = /* @__PURE__ */ C({
12
+ const $ = /* @__PURE__ */ C({
11
13
  name: "ApFieldText",
12
14
  __name: "index",
13
15
  props: {
@@ -95,43 +97,45 @@ const K = /* @__PURE__ */ C({
95
97
  emits: ["update:value"],
96
98
  setup(n, {
97
99
  expose: d,
98
- emit: c
100
+ emit: f
99
101
  }) {
100
- const t = S(), l = _(), f = (o) => {
102
+ const t = S(), u = _(), c = (o) => {
101
103
  t.value?.focus(o);
102
104
  }, m = () => {
103
105
  t.value?.blur();
104
- }, y = (o, u, a) => {
105
- t.value?.setSelectionRange(o, u, a);
106
- }, v = () => {
106
+ }, y = (o, l, a) => {
107
+ t.value?.setSelectionRange(o, l, a);
108
+ }, x = () => {
107
109
  t.value?.select();
108
- }, x = c, e = n, {
110
+ }, v = f, e = n, {
109
111
  value: p,
110
112
  updateValue: B
111
- } = M(e, x), b = F("Text", e);
113
+ } = F(e, v), b = z("Text", e);
112
114
  function h(o) {
113
- const u = o.target.value || "", a = e.beforeInput ? e.beforeInput?.(u) : u, s = t.value?.$el?.querySelector("input");
115
+ const l = o.target.value || "", a = e.beforeInput ? e.beforeInput?.(l) : l, s = t.value?.$el?.querySelector("input");
114
116
  s && (s.value = a), B(a);
115
117
  }
116
118
  function I() {
117
- return e.mode === "edit" ? i(U, V(z(e, ["mode", "emptyText", "value", "onUpdate:value", "beforeInput"]), {
119
+ return e.mode === "edit" ? i(j, R(U(e, ["mode", "emptyText", "value", "onUpdate:value", "beforeInput"]), {
118
120
  placeholder: r(b),
119
121
  value: r(p),
120
122
  onInput: h,
121
123
  ref: t
122
- }), N(l) ? l : {
123
- default: () => [l]
124
- }) : i("span", null, [e.prefix || l?.prefix?.(), r(p) || e.emptyText, e.suffix || l?.suffix?.()]);
124
+ }), N(u) ? u : {
125
+ default: () => [u]
126
+ }) : i("span", null, [e.prefix || u?.prefix?.(), r(p) || e.emptyText, e.suffix || u?.suffix?.()]);
125
127
  }
126
128
  return d({
127
- focus: f,
129
+ focus: c,
128
130
  blur: m,
129
131
  setSelectionRange: y,
130
- select: v,
131
- input: w(() => t.value?.input)
132
- }), (o, u) => (T(), R(j(I())));
132
+ select: x,
133
+ input: V(() => t.value?.input)
134
+ }), (o, l) => (T(), w(r(M), {
135
+ renderer: I
136
+ }));
133
137
  }
134
138
  });
135
139
  export {
136
- K as default
140
+ $ as default
137
141
  };
@@ -1,14 +1,16 @@
1
- import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as e, mergeProps as w, Fragment as P, createBlock as U, openBlock as V, resolveDynamicComponent as _ } from "vue";
2
- import { Input as S, Space as T } from "@aplus-frontend/antdv";
1
+ import { isVNode as x, defineComponent as h, useSlots as g, ref as C, unref as a, createVNode as e, mergeProps as w, Fragment as P, createBlock as U, openBlock as V } from "vue";
2
+ import { Input as _, Space as S } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
- import { omit as I } from "lodash-unified";
5
- import { EyeOutlined as O, EyeInvisibleOutlined as j } from "@ant-design/icons-vue";
6
- import { useDefaultPlaceholder as k } from "../hooks/use-default-placeholder.mjs";
7
- import { useControllableValue as d } from "../../hooks/useControllableValue.mjs";
4
+ import { omit as T } from "lodash-unified";
5
+ import { EyeOutlined as I, EyeInvisibleOutlined as O } from "@ant-design/icons-vue";
6
+ import { useDefaultPlaceholder as j } from "../hooks/use-default-placeholder.mjs";
7
+ import "../../render/index.mjs";
8
+ import { useControllableValue as p } from "../../hooks/useControllableValue.mjs";
9
+ import k from "../../render/render.mjs";
8
10
  function E(t) {
9
11
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !x(t);
10
12
  }
11
- const G = /* @__PURE__ */ h({
13
+ const J = /* @__PURE__ */ h({
12
14
  name: "ApFieldTextPassword",
13
15
  __name: "password",
14
16
  props: {
@@ -110,48 +112,50 @@ const G = /* @__PURE__ */ h({
110
112
  expose: c,
111
113
  emit: f
112
114
  }) {
113
- const s = f, o = t, a = C(), u = g(), {
115
+ const r = f, o = t, u = g(), i = C(), {
114
116
  value: m,
115
117
  updateValue: v
116
- } = d(o, s), y = k("TextPassword", o), {
118
+ } = p(o, r), y = j("TextPassword", o), {
117
119
  value: b,
118
- updateValue: r
119
- } = d(o, s, {
120
+ updateValue: s
121
+ } = p(o, r, {
120
122
  valuePropName: "visible"
121
123
  });
122
124
  function B() {
123
- const n = i(m), l = i(b);
125
+ const n = a(m), l = a(b);
124
126
  if (o.mode === "edit")
125
- return e(S.Password, w(I(o, ["mode", "emptyText", "value", "onUpdate:value", "visible", "onUpdate:visible"]), {
126
- placeholder: i(y),
127
+ return e(_.Password, w(T(o, ["mode", "emptyText", "value", "onUpdate:value", "visible", "onUpdate:visible"]), {
128
+ placeholder: a(y),
127
129
  value: n,
128
130
  "onUpdate:value": v,
129
131
  visible: l,
130
- "onUpdate:visible": r,
131
- ref: u
132
- }), E(a) ? a : {
133
- default: () => [a]
132
+ "onUpdate:visible": s,
133
+ ref: i
134
+ }), E(u) ? u : {
135
+ default: () => [u]
134
136
  });
135
- let p = e(P, null, [o.emptyText]);
136
- return n && (p = e(T, null, {
137
+ let d = e(P, null, [o.emptyText]);
138
+ return n && (d = e(S, null, {
137
139
  default: () => [e("span", null, [l ? n : "********"]), e("span", {
138
140
  style: {
139
141
  cursor: "pointer"
140
142
  },
141
- onClick: () => r(!l)
142
- }, [l ? e(O, null, null) : e(j, null, null)])]
143
- })), p;
143
+ onClick: () => s(!l)
144
+ }, [l ? e(I, null, null) : e(O, null, null)])]
145
+ })), d;
144
146
  }
145
147
  return c({
146
148
  focus: () => {
147
- u.value?.focus();
149
+ i.value?.focus();
148
150
  },
149
151
  blur: () => {
150
- u.value?.blur();
152
+ i.value?.blur();
151
153
  }
152
- }), (n, l) => (V(), U(_(B())));
154
+ }), (n, l) => (V(), U(a(k), {
155
+ renderer: B
156
+ }));
153
157
  }
154
158
  });
155
159
  export {
156
- G as default
160
+ J as default
157
161
  };
@@ -3,9 +3,9 @@ import { Form as X, Tooltip as Z, TypographyText as ee } from "@aplus-frontend/a
3
3
  import { useToken as oe } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { isFunction as F, cloneDeep as te, isArray as re, omit as V } from "lodash-unified";
5
5
  import { apFormItemColPropKeys as le } from "../constant.mjs";
6
- import { QuestionCircleOutlined as ne } from "@ant-design/icons-vue";
6
+ import { QuestionCircleOutlined as ae } from "@ant-design/icons-vue";
7
7
  import "../../config-provider/index.mjs";
8
- import { useInjectForm as ae } from "../context.mjs";
8
+ import { useInjectForm as ne } from "../context.mjs";
9
9
  import { isPromise as ie } from "@fruits-chain/utils";
10
10
  import { getValidVNodeList as se } from "../../utils/slot.mjs";
11
11
  import ue from "../style/item.mjs";
@@ -58,7 +58,7 @@ const Ce = /* @__PURE__ */ _({
58
58
  disabled: { type: Boolean }
59
59
  },
60
60
  setup(g, { expose: h }) {
61
- const o = g, m = j(), { model: p, updateModel: B, internalInstance: C } = ae(), { m: u, b: k } = de("ap-form-item"), P = ue("ap-form-item"), d = y(!1), a = y(), [, x] = oe();
61
+ const o = g, m = j(), { model: p, updateModel: B, internalInstance: C } = ne(), { m: u, b: k } = de("ap-form-item"), x = ue("ap-form-item"), d = y(!1), n = y(), [, N] = oe();
62
62
  E(async () => {
63
63
  let e = F(o.initialValue) ? o.initialValue() : o.initialValue;
64
64
  ie(e) && (e = await e), C?.registerField({
@@ -68,11 +68,11 @@ const Ce = /* @__PURE__ */ _({
68
68
  });
69
69
  });
70
70
  const c = M(() => o.name ? re(o.name) ? o.name.reduce((e, t) => e?.[t], r(p)) : p?.value[o.name] : null);
71
- function N(e, t) {
72
- const l = Object.keys(t), n = { ...t };
71
+ function P(e, t) {
72
+ const l = Object.keys(t), a = { ...t };
73
73
  return l.forEach((s) => {
74
- s in e || delete n[s];
75
- }), n;
74
+ s in e || delete a[s];
75
+ }), console.log("result", e), a;
76
76
  }
77
77
  function I() {
78
78
  const e = m.default?.() || [];
@@ -81,7 +81,7 @@ const Ce = /* @__PURE__ */ _({
81
81
  const t = se(e)[0];
82
82
  if (!t)
83
83
  return null;
84
- const l = t?.type?.props ?? {}, n = {
84
+ const l = t?.type?.props ?? {}, a = {
85
85
  [o.valuePropName]: r(c),
86
86
  [`onUpdate:${o.valuePropName}`]: S,
87
87
  variant: o.bordered ? "borderless" : t?.props?.variant,
@@ -89,7 +89,7 @@ const Ce = /* @__PURE__ */ _({
89
89
  onFocus: T,
90
90
  onBlur: w
91
91
  };
92
- return O(t, N(l, n));
92
+ return O(t, P(l, a));
93
93
  }
94
94
  function S(e) {
95
95
  B?.(o.name, e);
@@ -101,16 +101,16 @@ const Ce = /* @__PURE__ */ _({
101
101
  d.value = !1;
102
102
  }
103
103
  function z() {
104
- a.value?.onFieldBlur();
104
+ n.value?.onFieldBlur();
105
105
  }
106
106
  function R() {
107
- a.value?.onFieldChange();
107
+ n.value?.onFieldChange();
108
108
  }
109
109
  function A() {
110
- a.value?.clearValidate();
110
+ n.value?.clearValidate();
111
111
  }
112
112
  function D() {
113
- a.value?.resetField();
113
+ n.value?.resetField();
114
114
  }
115
115
  function L(e = !1) {
116
116
  const t = r(c);
@@ -128,7 +128,7 @@ const Ce = /* @__PURE__ */ _({
128
128
  }), (e, t) => (v(), b(r(X).Item, $(
129
129
  {
130
130
  ref_key: "formItemRef",
131
- ref: a
131
+ ref: n
132
132
  },
133
133
  r(V)(o, [...r(le), "tooltip", "label", "description"]),
134
134
  {
@@ -137,7 +137,7 @@ const Ce = /* @__PURE__ */ _({
137
137
  [r(u)("focused")]: e.bordered && d.value,
138
138
  [r(u)("disabled")]: e.bordered && e.disabled,
139
139
  [r(k)()]: !0,
140
- [r(P)]: !0
140
+ [r(x)]: !0
141
141
  },
142
142
  colon: e.bordered ? !1 : o.colon
143
143
  }
@@ -157,9 +157,9 @@ const Ce = /* @__PURE__ */ _({
157
157
  title: o.tooltip
158
158
  }, {
159
159
  default: i(() => [
160
- f(r(ne), {
160
+ f(r(ae), {
161
161
  style: G({
162
- color: r(x).colorTextTertiary,
162
+ color: r(N).colorTextTertiary,
163
163
  fontSize: "14px",
164
164
  transform: "translateY(1px)"
165
165
  })
@@ -182,10 +182,10 @@ const Ce = /* @__PURE__ */ _({
182
182
  ]),
183
183
  key: "1"
184
184
  } : void 0,
185
- Q(r(V)(m, "default"), (l, n) => ({
186
- name: n,
185
+ Q(r(V)(m, "default"), (l, a) => ({
186
+ name: a,
187
187
  fn: i((s) => [
188
- H(e.$slots, n, J(W(s || {})))
188
+ H(e.$slots, a, J(W(s || {})))
189
189
  ])
190
190
  }))
191
191
  ]), 1040, ["class", "colon"]));
@@ -77,7 +77,7 @@ const i = () => {
77
77
  "&:hover": {
78
78
  color: r.hoverColorBase
79
79
  },
80
- "&.aplus-frontend-icon": {
80
+ "&.user-frontend-icon": {
81
81
  display: "flex",
82
82
  alignItems: "center",
83
83
  justifyContent: "center"
@@ -1,8 +1,8 @@
1
- import { genComponentStyleHook as o } from "../../utils/cssinjs/index.mjs";
2
- const n = (t) => {
3
- const { componentCls: e } = t;
1
+ import { genComponentStyleHook as e } from "../../utils/cssinjs/index.mjs";
2
+ const r = (t) => {
3
+ const { componentCls: o } = t;
4
4
  return {
5
- [e]: {
5
+ [o]: {
6
6
  "&-default": {
7
7
  position: "relative",
8
8
  fontWeight: "bold",
@@ -19,7 +19,7 @@ const n = (t) => {
19
19
  transform: "translateY(-50%)",
20
20
  width: "3px",
21
21
  height: "14px",
22
- backgroundColor: "#0070ff",
22
+ backgroundColor: t.colorPrimary,
23
23
  borderRadius: "0px 4px 4px 0px"
24
24
  }
25
25
  },
@@ -34,17 +34,17 @@ const n = (t) => {
34
34
  width: "8px",
35
35
  height: "8px",
36
36
  borderRadius: "50%",
37
- border: "2px solid #34b77c",
37
+ border: `2px solid ${t.colorPrimary}`,
38
38
  background: "#fff"
39
39
  }
40
40
  }
41
41
  }
42
42
  }
43
43
  };
44
- }, p = o("ProCard.Title", (t) => [
45
- n(t)
44
+ }, a = e("ProCard.Title", (t) => [
45
+ r(t)
46
46
  ]);
47
47
  export {
48
- p as default,
49
- n as genProCardTitleStyle
48
+ a as default,
49
+ r as genProCardTitleStyle
50
50
  };
@@ -1,8 +1,8 @@
1
- import { genComponentStyleHook as e } from "../../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as t } from "../../../utils/cssinjs/index.mjs";
2
2
  const r = (o) => {
3
- const { componentCls: t } = o;
3
+ const { componentCls: e } = o;
4
4
  return {
5
- [t]: {
5
+ [e]: {
6
6
  display: "flex",
7
7
  alignItems: "center",
8
8
  width: "100%",
@@ -15,40 +15,40 @@ const r = (o) => {
15
15
  opacity: 1
16
16
  }
17
17
  },
18
- [`${t}__text`]: {
18
+ [`${e}__text`]: {
19
19
  overflow: "hidden",
20
20
  textOverflow: "ellipsis",
21
21
  whiteSpace: "nowrap",
22
22
  height: "18px",
23
23
  lineHeight: "18px"
24
24
  },
25
- [`${t}--text-major`]: {
25
+ [`${e}--text-major`]: {
26
26
  color: o.textColor1
27
27
  },
28
- [`${t}--text-minor`]: {
28
+ [`${e}--text-minor`]: {
29
29
  color: o.textColor3
30
30
  },
31
- [`${t}--text-link`]: {
31
+ [`${e}--text-link`]: {
32
32
  color: o.colorLink,
33
33
  cursor: "pointer",
34
34
  "&:hover": {
35
35
  color: o.colorLinkHover
36
36
  }
37
37
  },
38
- [`${t}__copy-btn`]: {
38
+ [`${e}__copy-btn`]: {
39
39
  flexShrink: 0,
40
40
  width: "16px",
41
41
  marginInlineStart: "4px",
42
42
  display: "flex",
43
43
  alignItems: "center",
44
- ".aplus-frontend-icon": {
44
+ ".user-frontend-icon": {
45
45
  cursor: "pointer",
46
46
  color: "#ABB7CC",
47
47
  height: "14px",
48
48
  lineHeight: "14px"
49
49
  },
50
50
  "&:hover": {
51
- ".aplus-frontend-icon": {
51
+ ".user-frontend-icon": {
52
52
  cursor: "pointer",
53
53
  color: o.colorLink
54
54
  }
@@ -56,7 +56,7 @@ const r = (o) => {
56
56
  }
57
57
  }
58
58
  };
59
- }, i = e("ApCopy", (o) => [
59
+ }, i = t("ApCopy", (o) => [
60
60
  r(o)
61
61
  ]);
62
62
  export {
@@ -11,7 +11,7 @@ const r = (o) => {
11
11
  display: "flex",
12
12
  flexDirection: "row",
13
13
  alignItems: "center",
14
- ".aplus-frontend-icon": {
14
+ ".user-frontend-icon": {
15
15
  display: "flex",
16
16
  alignItems: "center"
17
17
  }
@@ -18,7 +18,7 @@ const l = (o) => {
18
18
  boxSizing: "border-box",
19
19
  padding: "8px 16px",
20
20
  color: o.textColor2,
21
- border: `1px solid ${o.colorBg1}`,
21
+ border: `1px solid ${o.borderColorBase}`,
22
22
  borderRadius: o.borderRadius,
23
23
  cursor: "pointer",
24
24
  "&-close": {
@@ -69,7 +69,7 @@ const l = (o) => {
69
69
  color: o.textColor3,
70
70
  background: "#f9f9fa",
71
71
  cursor: "not-allowed",
72
- border: `1px solid ${o.colorBg1}`
72
+ border: `1px solid ${o.borderColorBase}`
73
73
  },
74
74
  "&.select": {
75
75
  backgroundColor: o.colorBgControl,
package/es/src/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './ap-button';
10
10
  export * from './ap-drawer';
11
11
  export * from './ap-pro-card';
12
12
  export * from './loading-bar';
13
+ export * from './render';
13
14
  export * from './business';
14
15
  export * from './ap-table';
15
16
  export * from './editable-table';