bitz-react-admin-ui 2.6.3 → 2.6.5

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 (30) hide show
  1. package/dist/_virtual/dayjs.min.mjs +5 -2
  2. package/dist/_virtual/dayjs.min2.mjs +4 -0
  3. package/dist/_virtual/index.mjs +2 -2
  4. package/dist/_virtual/index2.mjs +2 -2
  5. package/dist/components/BitzCalendar/index.mjs +1 -1
  6. package/dist/components/BitzDayJs/index.mjs +1 -1
  7. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  8. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  9. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  10. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  11. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  12. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  13. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  14. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  15. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  16. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  17. package/dist/components/BitzTable/ActionCol/index.mjs +19 -19
  18. package/dist/components/BitzTable/Store/index.d.ts +0 -7
  19. package/dist/components/BitzTable/Store/index.mjs +149 -147
  20. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +45 -74
  21. package/dist/components/BitzTooltip/index.mjs +67 -55
  22. package/dist/components/BitzTooltip/style.d.ts +1 -0
  23. package/dist/components/BitzTooltip/style.mjs +25 -14
  24. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  25. package/dist/node_modules/.store/dayjs@1.11.11/node_modules/dayjs/dayjs.min.mjs +292 -292
  26. package/dist/node_modules/.store/dayjs@1.11.11/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  27. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
  28. package/dist/style.css +1 -1
  29. package/dist/utils/time.mjs +1 -1
  30. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "../../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
- import F from "../../../../../assets/iconfont/IconKuansongde.mjs";
3
- import G from "../../../../../assets/iconfont/IconTekuansong.mjs";
2
+ import G from "../../../../../assets/iconfont/IconKuansongde.mjs";
3
+ import N from "../../../../../assets/iconfont/IconTekuansong.mjs";
4
4
  import W from "../../../../../assets/iconfont/IconJincoude.mjs";
5
5
  import E from "../../../../../assets/iconfont/IconZhongdengde.mjs";
6
6
  import A from "../../../../../assets/iconfont/IconTejincou.mjs";
@@ -13,24 +13,24 @@ import L from "../../../../../assets/iconfont/IconWubanmawentianchong.mjs";
13
13
  import { BitzConfigContext as M } from "../../../../BitzConfigProvider/context.mjs";
14
14
  import { BitzTableContext as O } from "../../../Store/index.mjs";
15
15
  import Y from "../../../../BitzTheme/index.mjs";
16
- import { Form as s, Radio as f, InputNumber as Z, Segmented as q, Row as Q, Col as v, Button as U } from "antd";
17
- import X from "../../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
18
- import { forwardRef as _, useRef as S, useEffect as x, useMemo as ee, useContext as b, useImperativeHandle as oe, useState as re, memo as le } from "react";
19
- import { BitzToolBarContext as se } from "../../Wrapper/context.mjs";
20
- import i from "./RadioCard.mjs";
21
- import ie from "./ScopeSwitch.mjs";
22
- import te from "../../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
23
- const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
16
+ import { Form as n, Radio as p, Row as Z, Col as P, Button as q } from "antd";
17
+ import Q from "../../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
18
+ import { forwardRef as U, useRef as v, useEffect as x, useMemo as X, useContext as h, useImperativeHandle as _, useState as ee, memo as oe } from "react";
19
+ import { BitzToolBarContext as re } from "../../Wrapper/context.mjs";
20
+ import s from "./RadioCard.mjs";
21
+ import le from "./ScopeSwitch.mjs";
22
+ import se from "../../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
23
+ const te = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
24
24
  ...t,
25
25
  label: `${t.label}(默认)`
26
- } : t), ae = _(({ display: l, postHeight: d }, t) => {
26
+ } : t), ie = U(({ display: l, postHeight: d }, t) => {
27
27
  var j, g;
28
- const { token: o } = Y.useToken(), h = S(null);
28
+ const { token: o } = Y.useToken(), y = v(null);
29
29
  x(() => {
30
30
  var r;
31
- d((r = h.current) == null ? void 0 : r.clientHeight);
31
+ d((r = y.current) == null ? void 0 : r.clientHeight);
32
32
  }, []);
33
- const C = ee(() => ({
33
+ const C = X(() => ({
34
34
  display: "flex",
35
35
  width: l ? "100%" : 0,
36
36
  pointerEvents: l ? "auto" : "none",
@@ -41,30 +41,30 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
41
41
  left: 0,
42
42
  right: 0
43
43
  }
44
- }), [l]), P = {
44
+ }), [l]), S = {
45
45
  size: 26,
46
46
  color: o.colorPrimary
47
- }, [a] = s.useForm(), w = (j = b(M).Table) == null ? void 0 : j.stylesScope, { defaultTableSize: H, stylesConfig: R, defaultTableStylesConfig: y } = b(O), n = (g = b(se).config) == null ? void 0 : g.stylesConfig, u = (r, c) => {
47
+ }, [a] = n.useForm(), w = (j = h(M).Table) == null ? void 0 : j.stylesScope, { defaultTableSize: H, stylesConfig: R, defaultTableStylesConfig: b } = h(O), i = (g = h(re).config) == null ? void 0 : g.stylesConfig, u = (r, c) => {
48
48
  var z, I;
49
49
  let m = c;
50
- return (z = n == null ? void 0 : n[r]) != null && z.disabled && (m = X(c, "disabledControl")), {
51
- disabled: (I = n == null ? void 0 : n[r]) == null ? void 0 : I.disabled,
50
+ return (z = i == null ? void 0 : i[r]) != null && z.disabled && (m = Q(c, "disabledControl")), {
51
+ disabled: (I = i == null ? void 0 : i[r]) == null ? void 0 : I.disabled,
52
52
  className: m
53
53
  };
54
54
  };
55
55
  x(() => {
56
56
  a.setFieldsValue({
57
- ...y,
57
+ ...b,
58
58
  ...R,
59
59
  stylesScope: w === "global"
60
60
  });
61
61
  }, []);
62
62
  const k = () => {
63
63
  a.setFieldsValue({
64
- ...y,
64
+ ...b,
65
65
  stylesScope: !1
66
66
  });
67
- }, B = ne({
67
+ }, T = te({
68
68
  defaultSize: H,
69
69
  items: [
70
70
  {
@@ -85,23 +85,23 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
85
85
  {
86
86
  key: "lg",
87
87
  label: "宽松",
88
- icon: F
88
+ icon: G
89
89
  },
90
90
  {
91
91
  key: "xl",
92
92
  label: "特宽松",
93
- icon: G
93
+ icon: N
94
94
  }
95
95
  ]
96
96
  });
97
- oe(t, () => ({
97
+ _(t, () => ({
98
98
  getFormInstance: () => a
99
99
  }));
100
- const p = S(null), [T, N] = re("auto");
100
+ const f = v(null), [B, F] = ee("auto");
101
101
  return x(() => {
102
- p && N(p.current.clientWidth + 10);
103
- }, []), /* @__PURE__ */ e.jsx("div", { style: C, ref: h, children: /* @__PURE__ */ e.jsxs(
104
- s,
102
+ f && F(f.current.clientWidth + 10);
103
+ }, []), /* @__PURE__ */ e.jsx("div", { style: C, ref: y, children: /* @__PURE__ */ e.jsxs(
104
+ n,
105
105
  {
106
106
  form: a,
107
107
  style: { width: "100%" },
@@ -110,14 +110,14 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
110
110
  colon: !1,
111
111
  className: "stylesConfigFormContent",
112
112
  children: [
113
- /* @__PURE__ */ e.jsx(s.Item, { label: "行高", name: "size", children: /* @__PURE__ */ e.jsx(f.Group, { ...u("size", "sizeRadioGroup"), children: B.map(({ key: r, label: c, icon: m }) => /* @__PURE__ */ e.jsx(i, { label: c, value: r, children: /* @__PURE__ */ e.jsx(m, { ...P }) }, r)) }) }),
114
- /* @__PURE__ */ e.jsx(s.Item, { label: "分割线", name: "bordered", children: /* @__PURE__ */ e.jsxs(
115
- f.Group,
113
+ /* @__PURE__ */ e.jsx(n.Item, { label: "行高", name: "size", children: /* @__PURE__ */ e.jsx(p.Group, { ...u("size", "sizeRadioGroup"), children: T.map(({ key: r, label: c, icon: m }) => /* @__PURE__ */ e.jsx(s, { label: c, value: r, children: /* @__PURE__ */ e.jsx(m, { ...S }) }, r)) }) }),
114
+ /* @__PURE__ */ e.jsx(n.Item, { label: "分割线", name: "bordered", children: /* @__PURE__ */ e.jsxs(
115
+ p.Group,
116
116
  {
117
117
  ...u("bordered", "splitBorderRadioGroup"),
118
118
  children: [
119
- /* @__PURE__ */ e.jsx(i, { label: "无分割线", value: "hide", children: /* @__PURE__ */ e.jsx(V, { size: 26, color: o.colorPrimaryHover }) }),
120
- /* @__PURE__ */ e.jsx(i, { label: "行分割线", value: "row", children: /* @__PURE__ */ e.jsx(
119
+ /* @__PURE__ */ e.jsx(s, { label: "无分割线", value: "hide", children: /* @__PURE__ */ e.jsx(V, { size: 26, color: o.colorPrimaryHover }) }),
120
+ /* @__PURE__ */ e.jsx(s, { label: "行分割线", value: "row", children: /* @__PURE__ */ e.jsx(
121
121
  D,
122
122
  {
123
123
  size: 26,
@@ -129,7 +129,7 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
129
129
  ]
130
130
  }
131
131
  ) }),
132
- /* @__PURE__ */ e.jsx(i, { label: "列分割线", value: "column", children: /* @__PURE__ */ e.jsx(
132
+ /* @__PURE__ */ e.jsx(s, { label: "列分割线", value: "column", children: /* @__PURE__ */ e.jsx(
133
133
  J,
134
134
  {
135
135
  size: 26,
@@ -141,7 +141,7 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
141
141
  ]
142
142
  }
143
143
  ) }),
144
- /* @__PURE__ */ e.jsx(i, { label: "行列分割线", value: "row-column", children: /* @__PURE__ */ e.jsx(
144
+ /* @__PURE__ */ e.jsx(s, { label: "行列分割线", value: "row-column", children: /* @__PURE__ */ e.jsx(
145
145
  $,
146
146
  {
147
147
  size: 26,
@@ -156,15 +156,15 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
156
156
  ]
157
157
  }
158
158
  ) }),
159
- /* @__PURE__ */ e.jsx(s.Item, { label: "斑马纹", name: "zebra", children: /* @__PURE__ */ e.jsxs(f.Group, { ...u("zebra", "zebraRadioGroup"), children: [
160
- /* @__PURE__ */ e.jsx(i, { label: "有斑马纹", value: !0, children: /* @__PURE__ */ e.jsx(
159
+ /* @__PURE__ */ e.jsx(n.Item, { label: "斑马纹", name: "zebra", children: /* @__PURE__ */ e.jsxs(p.Group, { ...u("zebra", "zebraRadioGroup"), children: [
160
+ /* @__PURE__ */ e.jsx(s, { label: "有斑马纹", value: !0, children: /* @__PURE__ */ e.jsx(
161
161
  K,
162
162
  {
163
163
  size: 26,
164
164
  color: [o.colorPrimaryHover, o.colorPrimary]
165
165
  }
166
166
  ) }),
167
- /* @__PURE__ */ e.jsx(i, { label: "无斑马纹", value: !1, children: /* @__PURE__ */ e.jsx(
167
+ /* @__PURE__ */ e.jsx(s, { label: "无斑马纹", value: !1, children: /* @__PURE__ */ e.jsx(
168
168
  L,
169
169
  {
170
170
  size: 26,
@@ -172,42 +172,13 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
172
172
  }
173
173
  ) })
174
174
  ] }) }),
175
- /* @__PURE__ */ e.jsx(
176
- s.Item,
177
- {
178
- label: "每页展示数据条数",
179
- labelCol: { span: 6 },
180
- name: "pageSize",
181
- tooltip: "默认展示10条,可设置的展示条数范围:5-100条",
182
- className: "pageSize",
183
- children: /* @__PURE__ */ e.jsx(Z, { min: 5, max: 100, style: { width: 202 }, precision: 0 })
184
- }
185
- ),
186
- /* @__PURE__ */ e.jsx(
187
- s.Item,
188
- {
189
- label: "数据排序方式",
190
- labelCol: { span: 6 },
191
- name: "orderBy",
192
- className: "orderBy",
193
- children: /* @__PURE__ */ e.jsx(
194
- q,
195
- {
196
- options: [
197
- { label: "时间升序", value: "asc" },
198
- { label: "时间倒序", value: "desc" }
199
- ]
200
- }
201
- )
202
- }
203
- ),
204
- /* @__PURE__ */ e.jsxs(Q, { gutter: 16, className: "scopeAndReset", children: [
205
- /* @__PURE__ */ e.jsx(v, { ref: p, style: { width: T }, className: "scope", children: /* @__PURE__ */ e.jsx(s.Item, { name: "stylesScope", children: /* @__PURE__ */ e.jsx(ie, {}) }) }),
206
- /* @__PURE__ */ e.jsx(v, { style: { alignSelf: "flex-end" }, className: "reset", children: /* @__PURE__ */ e.jsx(
207
- U,
175
+ /* @__PURE__ */ e.jsxs(Z, { gutter: 16, className: "scopeAndReset", children: [
176
+ /* @__PURE__ */ e.jsx(P, { ref: f, style: { width: B }, className: "scope", children: /* @__PURE__ */ e.jsx(n.Item, { name: "stylesScope", children: /* @__PURE__ */ e.jsx(le, {}) }) }),
177
+ /* @__PURE__ */ e.jsx(P, { style: { alignSelf: "flex-end" }, className: "reset", children: /* @__PURE__ */ e.jsx(
178
+ q,
208
179
  {
209
180
  type: "link",
210
- icon: /* @__PURE__ */ e.jsx(te, {}),
181
+ icon: /* @__PURE__ */ e.jsx(se, {}),
211
182
  size: "small",
212
183
  onClick: k,
213
184
  children: "重置"
@@ -217,7 +188,7 @@ const ne = ({ defaultSize: l, items: d }) => d.map((t) => t.key === l ? {
217
188
  ]
218
189
  }
219
190
  ) });
220
- }), Be = le(ae);
191
+ }), Re = oe(ie);
221
192
  export {
222
- Be as default
193
+ Re as default
223
194
  };
@@ -1,96 +1,108 @@
1
- import { j as s } from "../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
- import g, { useRef as m, useState as E, useEffect as w, useMemo as x } from "react";
1
+ import { j as o } from "../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
+ import v, { useRef as d, useState as w, useEffect as x, useMemo as y } from "react";
3
3
  import { theme as $ } from "antd";
4
4
  import A from "react-dom";
5
- import { isNotFalsly as k } from "./utils.mjs";
5
+ import { isNotFalsly as E } from "./utils.mjs";
6
6
  import D from "../../hooks/useMergedState.mjs";
7
7
  import G from "../../node_modules/.store/ahooks@3.8.0/node_modules/ahooks/es/useClickAway/index.mjs";
8
8
  import H from "./style.mjs";
9
9
  import I from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
10
- const ee = ({
10
+ const te = ({
11
11
  wrapper: n,
12
- defaultOpen: R,
13
- open: b,
14
- tip: l,
15
- children: t,
12
+ defaultOpen: C,
13
+ open: k,
14
+ tip: c,
15
+ children: s,
16
16
  placement: P = "top",
17
- trigger: c = "hover",
18
- overlayClassName: y,
19
- overlayStyle: C,
20
- getContainer: a
17
+ trigger: i = "hover",
18
+ overlayClassName: N,
19
+ overlayStyle: R,
20
+ getContainer: p
21
21
  }) => {
22
- const { token: d } = $.useToken(), { blockClassName: N, blockContentCls: T } = H(), i = m(null), r = m(null), f = m(document.createElement("div")), [j, B] = E(0), [L, M] = E(0), [o, u] = D(R ?? !1, {
23
- value: b
22
+ const { token: f } = $.useToken(), { blockClassName: j, blockContentCls: T, arrowCls: z } = H(), u = d(null), r = d(null), a = d(document.createElement("div")), [B, S] = w(0), [L, M] = w(0), [t, m] = D(C ?? !1, {
23
+ value: k
24
24
  });
25
- w(() => {
26
- o && k(l) && setTimeout(() => {
27
- document.body.appendChild(f.current);
28
- const e = n ?? i.current;
25
+ x(() => {
26
+ if (t && E(c)) {
27
+ const e = n ?? u.current;
29
28
  if (e && r.current) {
30
- const { top: _, left: F, width: O } = e.getBoundingClientRect(), z = window.pageXOffset || document.documentElement.scrollLeft, V = window.pageYOffset || document.documentElement.scrollTop;
31
- B(
32
- F - (r.current.offsetWidth - O) / 2 + z
33
- ), M(_ - r.current.clientHeight - 10 + V);
29
+ const { top: l, left: _, width: F } = e.getBoundingClientRect(), V = window.pageXOffset || document.documentElement.scrollLeft, W = window.pageYOffset || document.documentElement.scrollTop;
30
+ S(
31
+ _ - (r.current.offsetWidth - F) / 2 + V
32
+ ), M(l - r.current.clientHeight - 10 + W);
34
33
  }
35
- }, 0);
36
- }, [o, l]), G(() => {
37
- o && u(!1);
38
- }, i);
39
- const p = (e) => {
34
+ }
35
+ }, [t, c]), G(() => {
36
+ t && m(!1);
37
+ }, u);
38
+ const h = (e) => {
39
+ var l;
40
40
  if (e) {
41
- if (!k(l))
41
+ if (!E(c))
42
42
  return;
43
- u(!o);
43
+ e && !((l = r.current) != null && l.offsetWidth) && document.body.appendChild(a.current), m(!t);
44
44
  } else
45
- u(!1);
46
- }, h = x(() => {
45
+ m(!1);
46
+ }, b = y(() => {
47
47
  let e = {
48
48
  show: "onMouseEnter",
49
49
  hide: "onMouseLeave"
50
50
  };
51
- return c === "click" ? e = {
51
+ return i === "click" ? e = {
52
52
  show: "onClick",
53
53
  hide: "onBlur"
54
- } : c === "focus" && (e = {
54
+ } : i === "focus" && (e = {
55
55
  show: "onFocus",
56
56
  hide: "onBlur"
57
57
  }), e;
58
- }, [c]), S = x(() => typeof t == "string" ? /* @__PURE__ */ s.jsx("span", { children: t }) : t, [t]);
59
- let v = t;
60
- return n || (v = g.Children.map(
61
- S,
62
- (e) => g.cloneElement(e, {
63
- [`${h.show}`]: () => p(!0),
64
- [`${h.hide}`]: () => p(!1),
65
- ref: i
58
+ }, [i]), O = y(() => typeof s == "string" ? /* @__PURE__ */ o.jsx("span", { children: s }) : s, [s]);
59
+ let g = s;
60
+ return n || (g = v.Children.map(
61
+ O,
62
+ (e) => v.cloneElement(e, {
63
+ [`${b.show}`]: () => h(!0),
64
+ [`${b.hide}`]: () => h(!1),
65
+ ref: u
66
66
  })
67
- )), w(() => () => {
67
+ )), x(() => () => {
68
68
  var e;
69
- (e = f.current) == null || e.remove();
70
- }, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
71
- v,
69
+ (e = a.current) == null || e.remove();
70
+ }, []), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
71
+ g,
72
72
  A.createPortal(
73
- /* @__PURE__ */ s.jsx(
73
+ /* @__PURE__ */ o.jsxs(
74
74
  "div",
75
75
  {
76
- className: I(N, y),
76
+ className: I(j, N),
77
77
  ref: r,
78
78
  style: {
79
- left: j,
79
+ left: B,
80
80
  top: L,
81
81
  zIndex: 1070,
82
- background: d.colorBgSpotlight,
83
- color: d.colorTextLightSolid,
84
- opacity: o ? 1 : 0,
85
- ...C
82
+ background: f.colorBgSpotlight,
83
+ color: f.colorTextLightSolid,
84
+ opacity: t ? 1 : 0,
85
+ transformOrigin: "bottom",
86
+ transform: t ? "scale(1)" : "scale(0.8)",
87
+ transition: t ? "transform 0.1s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)" : "transform 0.1s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.1s cubic-bezier(0.215, 0.61, 0.355, 1)",
88
+ ...R
86
89
  },
87
- children: /* @__PURE__ */ s.jsx("div", { className: T, children: l })
90
+ children: [
91
+ /* @__PURE__ */ o.jsx(
92
+ "div",
93
+ {
94
+ className: z,
95
+ style: { borderTopColor: f.colorBgSpotlight }
96
+ }
97
+ ),
98
+ /* @__PURE__ */ o.jsx("div", { className: T, children: c })
99
+ ]
88
100
  }
89
101
  ),
90
- a && n ? a(n) : f.current
102
+ p && n ? p(n) : a.current
91
103
  )
92
104
  ] });
93
105
  };
94
106
  export {
95
- ee as default
107
+ te as default
96
108
  };
@@ -1,5 +1,6 @@
1
1
  declare const useGenStyle: () => {
2
2
  blockClassName: string;
3
3
  blockContentCls: string;
4
+ arrowCls: string;
4
5
  };
5
6
  export default useGenStyle;
@@ -1,4 +1,4 @@
1
- import { theme as p } from "antd";
1
+ import { theme as d } from "antd";
2
2
  import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
3
3
  import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
4
4
  import "react";
@@ -9,13 +9,13 @@ import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-d
9
9
  import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
10
10
  import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
11
11
  import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
12
- import l from "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
+ import b from "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
13
13
  import "../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
14
- import b from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
- const T = () => {
16
- const { theme: n, hashId: e, token: i } = p.useToken(), o = "bitzTooltipBlock", r = "bitzTooltipContent", s = (m, a, t) => [
14
+ import c from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
+ const N = () => {
16
+ const { theme: s, hashId: e, token: r } = d.useToken(), o = "bitzTooltipBlock", i = "bitzTooltipContent", n = "bitzTooltipArrow", p = (a, l, m, t) => [
17
17
  {
18
- [`.${m}`]: {
18
+ [`.${a}`]: {
19
19
  position: "absolute",
20
20
  pointerEvents: "none",
21
21
  borderRadius: t.borderRadius,
@@ -28,23 +28,34 @@ const T = () => {
28
28
  textDecoration: "none",
29
29
  boxShadow: t.boxShadowSecondary,
30
30
  boxSizing: "border-box",
31
- transition: "opacity 0.2s",
32
- [`.${a}`]: {
31
+ [`.${l}`]: {
33
32
  position: "relative"
33
+ },
34
+ [`.${m}`]: {
35
+ position: "absolute",
36
+ left: "calc(50% - 6px)",
37
+ bottom: -8,
38
+ pointerEvents: "none",
39
+ width: 0,
40
+ height: 0,
41
+ borderLeft: "6px solid transparent",
42
+ borderRight: "6px solid transparent",
43
+ borderTopWidth: 8,
44
+ borderTopStyle: "solid"
34
45
  }
35
46
  }
36
47
  }
37
48
  ];
38
- return l(
49
+ return b(
39
50
  {
40
- theme: n,
41
- token: i,
51
+ theme: s,
52
+ token: r,
42
53
  hashId: e,
43
54
  path: [o]
44
55
  },
45
- () => [s(o, r, i)]
46
- ), { blockClassName: b(o, e), blockContentCls: r };
56
+ () => [p(o, i, n, r)]
57
+ ), { blockClassName: c(o, e), blockContentCls: i, arrowCls: n };
47
58
  };
48
59
  export {
49
- T as default
60
+ N as default
50
61
  };
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as u } from "../../../../../_virtual/_commonjsHelpers.mjs";
2
- import { __module as i } from "../../../../../_virtual/index2.mjs";
2
+ import { __module as i } from "../../../../../_virtual/index.mjs";
3
3
  /*!
4
4
  Copyright (c) 2018 Jed Watson.
5
5
  Licensed under the MIT License (MIT), see