@unicom-cloud/ui 0.8.107 → 0.8.108

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 (137) hide show
  1. package/ColorPicker.js +15 -14
  2. package/Constant.js +4 -0
  3. package/Copy.js +4 -3
  4. package/Countdown.js +25 -0
  5. package/Grid.js +8 -10
  6. package/LiquidFill.js +4 -3
  7. package/List.js +7 -6
  8. package/Marquee.js +4 -3
  9. package/PageHeader.js +3 -2
  10. package/QrCode.js +4 -3
  11. package/RowCol.js +8 -0
  12. package/Segmented.js +14 -4
  13. package/Statistic.js +5 -4
  14. package/Tour.js +4 -3
  15. package/Transfer.js +4 -2
  16. package/anchor/Link.js +1 -1
  17. package/avatar/Group.js +1 -1
  18. package/button/index.js +52 -51
  19. package/calendar/Lunar.js +21 -21
  20. package/cascader/base/node.js +22 -20
  21. package/cascader/base/store.js +10 -10
  22. package/cascader/util.js +29 -27
  23. package/color-picker/Mode.js +8 -7
  24. package/color-picker/hooks/useColorPicker.js +56 -55
  25. package/color-picker/index.js +54 -53
  26. package/color-picker/utils.js +58 -57
  27. package/components/common/empty/index.js +2 -2
  28. package/components/common/flex/index.js +64 -55
  29. package/components/common/flex/interface.js +6 -6
  30. package/components/common/hooks/useInterval.js +6 -6
  31. package/components/common/space/index.js +53 -53
  32. package/components/common/utils/dayjs.js +75 -62
  33. package/components/common/utils/toArray.js +7 -5
  34. package/constant/index.js +4 -0
  35. package/copy/index.js +2 -1
  36. package/countdown/index.js +113 -0
  37. package/countdown/interface.js +1 -0
  38. package/countdown/util.js +29 -0
  39. package/descriptions/index.js +26 -26
  40. package/dropdown/Button.js +1 -1
  41. package/flex/index.js +30 -29
  42. package/form/FormItem.js +126 -122
  43. package/grid/Grid.js +40 -41
  44. package/grid/Item.js +37 -37
  45. package/grid/context.js +2 -3
  46. package/grid/index.js +6 -8
  47. package/hooks/useResponsiveState.js +54 -0
  48. package/index.js +614 -610
  49. package/input/InputElement.js +25 -24
  50. package/layout/Sider.js +1 -1
  51. package/liquid-fill/index.js +4 -3
  52. package/list/Item.js +21 -21
  53. package/list/index.js +53 -52
  54. package/marquee/index.js +20 -19
  55. package/marquee-/index.js +4 -3
  56. package/mentions/util.js +9 -8
  57. package/package.json +1 -1
  58. package/page-header/index.js +57 -56
  59. package/pagination/Pagination.js +89 -92
  60. package/qr-code/index.js +4 -3
  61. package/radio/Group.js +1 -1
  62. package/row-col/Col-.js +88 -0
  63. package/row-col/Col.js +159 -0
  64. package/row-col/Row.js +73 -0
  65. package/row-col/context.js +5 -0
  66. package/row-col/index.js +11 -0
  67. package/row-col/interface.js +1 -0
  68. package/segmented/index.js +257 -206
  69. package/select/Select.js +191 -191
  70. package/select/util.js +50 -50
  71. package/space/index.js +15 -13
  72. package/statistic/index.js +56 -55
  73. package/statistic/interface.js +4 -1
  74. package/style.css +1 -1
  75. package/table/hook/useColumns.js +27 -26
  76. package/table/hook/useStickyClassNames.js +9 -8
  77. package/table/hook/useThResizable.js +4 -3
  78. package/table/th-resizable/index.js +11 -10
  79. package/table/thead/index.js +18 -16
  80. package/timeline/Item.js +1 -1
  81. package/tour/index.js +4 -3
  82. package/transfer/index.js +93 -91
  83. package/trigger/index.js +66 -66
  84. package/types/common/flex/index.d.ts +3 -9
  85. package/types/common/flex/interface.d.ts +15 -4
  86. package/types/common/space/index.d.ts +3 -5
  87. package/types/common/space/interface.d.ts +2 -0
  88. package/types/common/utils/dayjs.d.ts +3 -1
  89. package/types/pc/button/interface.d.ts +2 -2
  90. package/types/pc/config-provider/interface.d.ts +16 -11
  91. package/types/pc/constant/index.d.ts +1 -0
  92. package/types/pc/countdown/interface.d.ts +65 -0
  93. package/types/pc/countdown/util.d.ts +7 -0
  94. package/types/pc/flex/index.d.ts +8 -6
  95. package/types/pc/flex/interface.d.ts +3 -10
  96. package/types/pc/form/FormItem.d.ts +1 -1
  97. package/types/pc/form/interface.d.ts +1 -1
  98. package/types/pc/grid/Grid.d.ts +1 -2
  99. package/types/pc/grid/Item.d.ts +1 -2
  100. package/types/pc/grid/context.d.ts +0 -5
  101. package/types/pc/grid/index.d.ts +4 -6
  102. package/types/pc/grid/interface.d.ts +7 -125
  103. package/types/pc/hooks/useResponsiveState.d.ts +3 -0
  104. package/types/pc/index.d.ts +7 -3
  105. package/types/pc/list/interface.d.ts +2 -1
  106. package/types/pc/pagination/PageOption.d.ts +0 -1
  107. package/types/pc/pagination/interface.d.ts +5 -6
  108. package/types/pc/{grid → row-col}/Col-.d.ts +1 -1
  109. package/types/pc/{grid → row-col}/Col.d.ts +1 -2
  110. package/types/pc/{grid → row-col}/Row.d.ts +1 -2
  111. package/types/pc/row-col/context.d.ts +6 -0
  112. package/types/pc/row-col/index.d.ts +7 -0
  113. package/types/pc/row-col/interface.d.ts +112 -0
  114. package/types/pc/segmented/index.d.ts +3 -7
  115. package/types/pc/segmented/interface.d.ts +38 -5
  116. package/types/pc/space/index.d.ts +5 -7
  117. package/types/pc/space/interface.d.ts +3 -10
  118. package/types/pc/statistic/index.d.ts +1 -1
  119. package/types/pc/statistic/interface.d.ts +1 -49
  120. package/types/pc/utils/names.d.ts +121 -113
  121. package/types/pc/utils/responsiveObserve.d.ts +8 -8
  122. package/typography/Ellipsis.js +5 -4
  123. package/typography/Operations.js +4 -3
  124. package/utils/dayjs.js +13 -11
  125. package/utils/index.js +244 -242
  126. package/utils/names.js +15 -10
  127. package/utils/responsiveObserve.js +43 -36
  128. package/version/index.js +1 -1
  129. package/grid/Col-.js +0 -86
  130. package/grid/Col.js +0 -169
  131. package/grid/Row.js +0 -96
  132. package/grid/hook/useResponsiveState.js +0 -35
  133. package/statistic/Countdown.js +0 -56
  134. package/statistic/util.js +0 -33
  135. package/types/pc/grid/hook/useResponsiveState.d.ts +0 -2
  136. package/types/pc/statistic/util.d.ts +0 -1
  137. /package/types/pc/{statistic/Countdown.d.ts → countdown/index.d.ts} +0 -0
@@ -1,34 +1,35 @@
1
- import { useMemo as p, useCallback as K } from "react";
1
+ import K from "lodash/isArray";
2
+ import { useMemo as h, useCallback as M } from "react";
2
3
  import { INTERNAL_EXPAND_KEY as F, INTERNAL_SELECTION_KEY as S } from "../constant.js";
3
- import M from "./useComponent.js";
4
- function L(c, a) {
4
+ import Y from "./useComponent.js";
5
+ function L(c, f) {
5
6
  const n = [];
6
- function m(f) {
7
- f && f.length > 0 && f.forEach((l) => {
8
- l[a] ? m(l[a]) : n.push({ ...l, key: l.dataIndex || l.key });
7
+ function m(a) {
8
+ a && a.length > 0 && a.forEach((l) => {
9
+ l[f] ? m(l[f]) : n.push({ ...l, key: l.dataIndex || l.key });
9
10
  });
10
11
  }
11
12
  return m(c), n;
12
13
  }
13
- function v(c, a) {
14
+ function v(c, f) {
14
15
  let n = 0;
15
16
  return c && c.length > 0 && c.forEach((m) => {
16
- const f = v(m[a], a) + 1;
17
- n = Math.max(f, n);
17
+ const a = v(m[f], f) + 1;
18
+ n = Math.max(a, n);
18
19
  }), n;
19
20
  }
20
- function j(c) {
21
+ function z(c) {
21
22
  const {
22
- component: a,
23
+ component: f,
23
24
  rowSelection: n,
24
25
  expandedRowRender: m,
25
- expandProps: f = {},
26
+ expandProps: a = {},
26
27
  columns: l = [],
27
28
  childrenColumnName: i
28
- } = c, u = p(() => l || [], [l]), k = p(
29
+ } = c, u = h(() => l || [], [l]), k = h(
29
30
  () => L(u, i),
30
31
  [u, i]
31
- ), P = n && n.type === "checkbox" || n && !("type" in n), T = n && n.type === "radio", { width: N } = f, x = !!m, $ = P || T, { getHeaderComponentOperations: _, getBodyComponentOperations: O } = M(a), h = p(
32
+ ), P = n && n.type === "checkbox" || n && !("type" in n), T = n && n.type === "radio", { width: N } = a, x = !!m, $ = P || T, { getHeaderComponentOperations: _, getBodyComponentOperations: O } = Y(f), p = h(
32
33
  () => _({
33
34
  selectionNode: $ ? "holder_node" : "",
34
35
  expandNode: x ? "holder_node" : ""
@@ -38,7 +39,7 @@ function j(c) {
38
39
  x,
39
40
  _
40
41
  ]
41
- ), R = p(
42
+ ), R = h(
42
43
  () => O({
43
44
  selectionNode: $ ? "holder_node" : "",
44
45
  expandNode: x ? "holder_node" : ""
@@ -48,7 +49,7 @@ function j(c) {
48
49
  x,
49
50
  O
50
51
  ]
51
- ), b = n && n.fixed, A = n && n.columnWidth, y = K(
52
+ ), b = n && n.fixed, A = n && n.columnWidth, y = M(
52
53
  (w, I, d) => {
53
54
  const r = {}, t = [];
54
55
  w.forEach((e, g) => {
@@ -68,7 +69,7 @@ function j(c) {
68
69
  };
69
70
  return b && (r.fixed = "left"), (typeof d != "number" || d === 0) && [...I].reverse().forEach((e, g) => {
70
71
  if (e.node) {
71
- const s = h.filter((H) => H.node).length - g - 1;
72
+ const s = p.filter((H) => H.node).length - g - 1;
72
73
  e.name === "expandNode" ? t.unshift({
73
74
  ...o,
74
75
  ...r,
@@ -95,23 +96,23 @@ function j(c) {
95
96
  $,
96
97
  A,
97
98
  b,
98
- h
99
+ p
99
100
  ]
100
- ), W = p(
101
+ ), W = h(
101
102
  () => y(k, R),
102
103
  [k, y, R]
103
- ), E = p(
104
+ ), E = h(
104
105
  () => v(u, i),
105
106
  [u, i]
106
107
  );
107
- return [p(() => {
108
- const w = Array.isArray(h) ? h.filter((t) => t.node).length : 0;
108
+ return [h(() => {
109
+ const w = K(p) ? p.filter((t) => t.node).length : 0;
109
110
  if (E === 1) {
110
111
  const t = u.map((o, C) => ({
111
112
  ...o,
112
113
  $$columnIndex: C + w
113
114
  }));
114
- return [y(t, h, 0)];
115
+ return [y(t, p, 0)];
115
116
  }
116
117
  let I = w;
117
118
  const d = [], r = (t, o = 0) => {
@@ -123,7 +124,7 @@ function j(c) {
123
124
  ).length, e.$$columnIndex = [I], d[o].push(e), r(e[i], o + 1), e.$$columnIndex.push(I - 1)) : (e.rowSpan = E - o, e.$$columnIndex = I++, d[o].push(e));
124
125
  }), d[o] = y(
125
126
  d[o],
126
- h,
127
+ p,
127
128
  o
128
129
  );
129
130
  };
@@ -133,9 +134,9 @@ function j(c) {
133
134
  i,
134
135
  E,
135
136
  y,
136
- h
137
+ p
137
138
  ]), W];
138
139
  }
139
140
  export {
140
- j as default
141
+ z as default
141
142
  };
@@ -1,24 +1,25 @@
1
- import o from "lodash/isPlainObject";
1
+ import p from "lodash/isArray";
2
+ import d from "lodash/isPlainObject";
2
3
  import { useMemo as m } from "react";
3
4
  import c from "@unicom-cloud/utils/class-name";
4
- function y(s, i, f) {
5
+ function N(s, i, f) {
5
6
  const n = i.map((e) => e.fixed);
6
- function d(e, t) {
7
+ function o(e, t) {
7
8
  return c({
8
9
  [`${f}-col-fixed-left`]: e.fixed === "left",
9
10
  [`${f}-col-fixed-right`]: e.fixed === "right",
10
- [`${f}-col-fixed-left-last`]: e.fixed === "left" && (o(i[t + 1]) ? i[t + 1].fixed !== "left" : !0),
11
- [`${f}-col-fixed-right-first`]: e.fixed === "right" && (o(i[t - 1]) ? i[t - 1].fixed !== "right" : !0)
11
+ [`${f}-col-fixed-left-last`]: e.fixed === "left" && (d(i[t + 1]) ? i[t + 1].fixed !== "left" : !0),
12
+ [`${f}-col-fixed-right-first`]: e.fixed === "right" && (d(i[t - 1]) ? i[t - 1].fixed !== "right" : !0)
12
13
  });
13
14
  }
14
15
  const x = m(() => i.map(
15
- (e, t) => d(e, t)
16
+ (e, t) => o(e, t)
16
17
  ), [n.join("-")]);
17
18
  return [m(
18
19
  () => s.map((e) => e.map((t, l) => {
19
20
  let a = l;
20
21
  const r = t.$$columnIndex;
21
- return Array.isArray(r) && r.length === 2 ? a = t.fixed === "right" ? r[0] : r[1] : typeof r == "number" && (a = r), d(t, a);
22
+ return p(r) && r.length === 2 ? a = t.fixed === "right" ? r[0] : r[1] : typeof r == "number" && (a = r), o(t, a);
22
23
  })),
23
24
  [
24
25
  s.map((e) => `|${e.map((t) => t.fixed || "undefined").join("-")}|`).join("_")
@@ -26,5 +27,5 @@ function y(s, i, f) {
26
27
  ), x];
27
28
  }
28
29
  export {
29
- y as default
30
+ N as default
30
31
  };
@@ -39,7 +39,7 @@ import "../../dist/react-transition-group/src/SwitchTransition.js";
39
39
  import "../../dist/react-transition-group/chunk/CPfP7aNL.js";
40
40
  import "../../dist/react-transition-group/src/TransitionGroup.js";
41
41
  import "../../components/common/utils/reactDOM.js";
42
- import "uuid";
42
+ import "../../utils/responsiveObserve.js";
43
43
  import "@unicom-cloud/utils/file/saveAs";
44
44
  import "@unicom-cloud/utils/screenfull";
45
45
  import "@unicom-cloud/utils/tinycolor";
@@ -48,10 +48,11 @@ import "@unicom-cloud/utils/constant/ui.js";
48
48
  import "react-is";
49
49
  import "@unicom-cloud/utils/tree";
50
50
  import { isArray as C } from "@unicom-cloud/utils/is";
51
+ import "uuid";
51
52
  import "../../dist/validate/src/index.js";
52
53
  import "@unicom-cloud/utils/constant/keyboardCode";
53
54
  import z from "../th-resizable/index.js";
54
- function Ht(f = {}, c = []) {
55
+ function It(f = {}, c = []) {
55
56
  const { columns: u } = f ?? {}, [d, m] = b(o(u));
56
57
  function h(t, i) {
57
58
  return {
@@ -82,5 +83,5 @@ function Ht(f = {}, c = []) {
82
83
  };
83
84
  }
84
85
  export {
85
- Ht as default
86
+ It as default
86
87
  };
@@ -40,7 +40,7 @@ import "../../dist/react-transition-group/src/SwitchTransition.js";
40
40
  import "../../dist/react-transition-group/chunk/CPfP7aNL.js";
41
41
  import "../../dist/react-transition-group/src/TransitionGroup.js";
42
42
  import "../../components/common/utils/reactDOM.js";
43
- import "uuid";
43
+ import "../../utils/responsiveObserve.js";
44
44
  import "@unicom-cloud/utils/file/saveAs";
45
45
  import "@unicom-cloud/utils/screenfull";
46
46
  import "@unicom-cloud/utils/tinycolor";
@@ -49,11 +49,12 @@ import "@unicom-cloud/utils/constant/ui.js";
49
49
  import "react-is";
50
50
  import "@unicom-cloud/utils/tree";
51
51
  import { isFunction as E, isPlainObject as T } from "@unicom-cloud/utils/is";
52
+ import "uuid";
52
53
  import "../../dist/validate/src/index.js";
53
54
  import "@unicom-cloud/utils/constant/keyboardCode";
54
55
  import { defaultComponent as D } from "../constant.js";
55
56
  import F from "../../config-provider/context.js";
56
- function Bt(b) {
57
+ function Ut(b) {
57
58
  let {
58
59
  className: r,
59
60
  children: u,
@@ -63,27 +64,27 @@ function Bt(b) {
63
64
  } = b;
64
65
  const v = D.header.th, f = s(null), x = s(null), o = s({}), { getPrefixCls: R } = X(F), a = R?.("table-th-resizable");
65
66
  function l(t) {
66
- o.current.boundingClientRect = f.current.getBoundingClientRect(), o.current.pageX = t?.pageX ?? 0, n(), N();
67
+ o.current.boundingClientRect = f.current.getBoundingClientRect(), o.current.pageX = t?.pageX ?? 0, p(), N();
67
68
  }
68
69
  function e(t) {
69
- n();
70
+ p();
70
71
  }
71
72
  function m(t) {
72
- let p = o.current.boundingClientRect.width + ((t?.pageX ?? 0) - o.current.pageX);
73
- p < 0 || (T(i) && (i.width = p), c?.({
73
+ let n = o.current.boundingClientRect.width + ((t?.pageX ?? 0) - o.current.pageX);
74
+ n < 0 || (T(i) && (i.width = n), c?.({
74
75
  column: i,
75
- width: p,
76
+ width: n,
76
77
  widthOrigin: o.current.boundingClientRect.width
77
78
  }));
78
79
  }
79
80
  function N(t) {
80
81
  C(document, "mousemove", m), C(document, "mouseup", e);
81
82
  }
82
- function n(t) {
83
+ function p(t) {
83
84
  g(document, "mousemove", m), g(document, "mouseup", e);
84
85
  }
85
86
  r = z(r, a), j(() => (l(), m(), e(), () => {
86
- n();
87
+ p();
87
88
  }), []);
88
89
  let d = u;
89
90
  return E(c) && (d = /* @__PURE__ */ M(P, { children: [
@@ -99,5 +100,5 @@ function Bt(b) {
99
100
  ] })), /* @__PURE__ */ h(v, { ref: f, ...w, className: r, children: d });
100
101
  }
101
102
  export {
102
- Bt as default
103
+ Ut as default
103
104
  };
@@ -6,9 +6,11 @@ import "../../config-provider/ConfigProvider.js";
6
6
  import { INTERNAL_SELECTION_KEY as se, INTERNAL_EXPAND_KEY as ne } from "../constant.js";
7
7
  import re from "../hook/useComponent.js";
8
8
  import c from "@unicom-cloud/utils/class-name";
9
+ import "../../components/common/utils/is.js";
9
10
  import ie from "./Column.js";
10
11
  import ae from "../../config-provider/context.js";
11
- function ke(R) {
12
+ import { isArray as le } from "@unicom-cloud/utils/is";
13
+ function we(R) {
12
14
  const {
13
15
  activeSorters: b,
14
16
  expandedRowRender: K,
@@ -24,16 +26,16 @@ function ke(R) {
24
26
  selectedRowKeys: E,
25
27
  rowSelection: t,
26
28
  allSelectedRowKeys: r = [],
27
- groupColumns: m,
29
+ groupColumns: f,
28
30
  stickyOffsets: N,
29
31
  groupStickyClassNames: Y,
30
32
  showSorterTooltip: D
31
- } = R, { rtl: y } = ee(ae), { ComponentThead: M, ComponentHeaderRow: W, getHeaderComponentOperations: X } = re(S), q = t && (t.type === "checkbox" || !("type" in t)), z = t && "checkAll" in t ? t.checkAll : !0, C = t && t.type === "radio", { columnTitle: A } = P, p = te(() => {
33
+ } = R, { rtl: y } = ee(ae), { ComponentThead: M, ComponentHeaderRow: W, getHeaderComponentOperations: X } = re(S), q = t && (t.type === "checkbox" || !("type" in t)), z = t && "checkAll" in t ? t.checkAll : !0, C = t && t.type === "radio", { columnTitle: T } = P, p = te(() => {
32
34
  const h = new Set(r);
33
- return E.filter((s, T, u) => h.has(s));
34
- }, [E, r]), B = m.length > 1 ? { rowSpan: m.length } : {}, k = c(`${o}-th`, `${o}-operation`);
35
- return /* @__PURE__ */ d(M, { children: m.map((h, s) => {
36
- const T = L?.(h, s), u = (q || C) && s === 0 && /* @__PURE__ */ d(
35
+ return E.filter((s, A, u) => h.has(s));
36
+ }, [E, r]), B = f.length > 1 ? { rowSpan: f.length } : {}, k = c(`${o}-th`, `${o}-operation`);
37
+ return /* @__PURE__ */ d(M, { children: f.map((h, s) => {
38
+ const A = L?.(h, s), u = (q || C) && s === 0 && /* @__PURE__ */ d(
37
39
  "th",
38
40
  {
39
41
  className: c(
@@ -53,21 +55,21 @@ function ke(R) {
53
55
  t && t.columnTitle
54
56
  ] })
55
57
  }
56
- ), G = K && /* @__PURE__ */ d("th", { className: c(k, `${o}-expand`), children: A && /* @__PURE__ */ d("div", { className: `${o}-th-item`, children: A }) }), J = Y[s], H = X({
58
+ ), G = K && /* @__PURE__ */ d("th", { className: c(k, `${o}-expand`), children: T && /* @__PURE__ */ d("div", { className: `${o}-th-item`, children: T }) }), J = Y[s], H = X({
57
59
  selectionNode: u,
58
60
  expandNode: G
59
61
  });
60
62
  return /* @__PURE__ */ _(
61
63
  W,
62
64
  {
63
- ...T,
65
+ ...A,
64
66
  key: s,
65
67
  className: `${o}-tr`
66
68
  },
67
69
  h.map((e, i) => {
68
70
  const n = e.$$columnIndex;
69
71
  let a = 0;
70
- Array.isArray(n) && n.length === 2 ? a = e.fixed === "right" ? N[n[1]] : N[n[0]] : typeof n == "number" && (a = N[n] || 0);
72
+ le(n) && n.length === 2 ? a = e.fixed === "right" ? N[n[1]] : N[n[0]] : typeof n == "number" && (a = N[n] || 0);
71
73
  const O = J[i];
72
74
  if (e.$$isOperation) {
73
75
  let l = e.node, x = !0;
@@ -76,18 +78,18 @@ function ke(R) {
76
78
  )?.node, x = !1), e.title === ne && (l = H.find(
77
79
  (w) => w.name === "expandNode"
78
80
  )?.node, x = !1);
79
- const f = l;
80
- return Z.cloneElement(f, {
81
+ const m = l;
82
+ return Z.cloneElement(m, {
81
83
  key: e.key || i,
82
- ...f.props,
84
+ ...m.props,
83
85
  ...B,
84
86
  className: c(
85
87
  x ? k : "",
86
- f?.props?.className,
88
+ m?.props?.className,
87
89
  O
88
90
  ),
89
91
  style: {
90
- ...f?.props?.style,
92
+ ...m?.props?.style,
91
93
  ...e.fixed === "left" ? {
92
94
  [y ? "right" : "left"]: a
93
95
  } : {},
@@ -125,5 +127,5 @@ function ke(R) {
125
127
  }) });
126
128
  }
127
129
  export {
128
- ke as default
130
+ we as default
129
131
  };
package/timeline/Item.js CHANGED
@@ -12,7 +12,7 @@ function k(h, v) {
12
12
  const { getPrefixCls: y, componentConfig: C } = S(j), r = W(
13
13
  h,
14
14
  D,
15
- C?.["Timeline.Item"]
15
+ C?.TimelineItem
16
16
  ), {
17
17
  children: n,
18
18
  className: b,
package/tour/index.js CHANGED
@@ -52,7 +52,7 @@ import "../dist/react-transition-group/src/SwitchTransition.js";
52
52
  import "../dist/react-transition-group/chunk/CPfP7aNL.js";
53
53
  import "../dist/react-transition-group/src/TransitionGroup.js";
54
54
  import { resizeObserver as yt } from "../components/common/utils/resizeObserver.js";
55
- import "uuid";
55
+ import "../utils/responsiveObserve.js";
56
56
  import "@unicom-cloud/utils/file/saveAs";
57
57
  import "@unicom-cloud/utils/screenfull";
58
58
  import "@unicom-cloud/utils/tinycolor";
@@ -61,6 +61,7 @@ import "@unicom-cloud/utils/constant/ui.js";
61
61
  import "react-is";
62
62
  import "@unicom-cloud/utils/tree";
63
63
  import "@unicom-cloud/utils/is";
64
+ import "uuid";
64
65
  import "../dist/validate/src/index.js";
65
66
  import $t from "../config-provider/context.js";
66
67
  const xt = {
@@ -75,7 +76,7 @@ const xt = {
75
76
  zIndex: 1e3,
76
77
  current: 0
77
78
  };
78
- function Ee(L) {
79
+ function Te(L) {
79
80
  const { getPrefixCls: X, componentConfig: Y, rtl: kt } = ct($t), K = gt(
80
81
  L,
81
82
  xt,
@@ -307,5 +308,5 @@ function Ee(L) {
307
308
  );
308
309
  }
309
310
  export {
310
- Ee as default
311
+ Te as default
311
312
  };