@cloudtower/eagle 0.32.1 → 0.32.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 (81) hide show
  1. package/dist/cjs/UIKitProvider/index.js +2 -16
  2. package/dist/cjs/core/BytePerSecond/index.js +45 -0
  3. package/dist/cjs/core/ConfigProvider/index.js +37 -1
  4. package/dist/cjs/core/Fields/FieldsEnum/index.js +1 -1
  5. package/dist/cjs/core/LegacySelect/index.js +185 -0
  6. package/dist/cjs/core/LegacySelect/select.style.js +5 -0
  7. package/dist/cjs/core/Select/index.js +106 -117
  8. package/dist/cjs/core/Select/select.style.js +11 -0
  9. package/dist/cjs/core/Select/select.widgets.js +63 -0
  10. package/dist/cjs/core/SimplePagination/index.js +1 -1
  11. package/dist/cjs/core/TableForm/TableFormBodyCell.js +6 -3
  12. package/dist/cjs/core/TableForm/TableFormBodyRows.js +7 -2
  13. package/dist/cjs/core/TableForm/index.js +12 -1
  14. package/dist/cjs/core/TimeZoneSelect/index.js +1 -1
  15. package/dist/cjs/core/Tooltip/EllipsisTooltipContent.js +55 -0
  16. package/dist/cjs/core/Tooltip/index.js +4 -1
  17. package/dist/cjs/core/index.js +15 -12
  18. package/dist/cjs/coreX/ChartWithTooltip/index.js +14 -12
  19. package/dist/cjs/coreX/DateRangePicker/Calendar.js +4 -3
  20. package/dist/cjs/coreX/DateRangePicker/index.js +2 -2
  21. package/dist/cjs/coreX/SummaryTable/index.js +6 -3
  22. package/dist/cjs/coreX/UnitWithChart/index.js +14 -12
  23. package/dist/cjs/index.js +245 -239
  24. package/dist/cjs/legacy-antd.js +137 -133
  25. package/dist/cjs/stats1.html +1 -1
  26. package/dist/cjs/utils/tower.js +17 -0
  27. package/dist/components.css +2732 -2531
  28. package/dist/esm/UIKitProvider/index.js +2 -12
  29. package/dist/esm/core/BytePerSecond/index.js +39 -0
  30. package/dist/esm/core/ConfigProvider/index.js +32 -2
  31. package/dist/esm/core/Fields/FieldsEnum/index.js +4 -4
  32. package/dist/esm/core/LegacySelect/index.js +177 -0
  33. package/dist/esm/core/LegacySelect/select.style.js +3 -0
  34. package/dist/esm/core/Select/index.js +104 -116
  35. package/dist/esm/core/Select/select.style.js +6 -0
  36. package/dist/esm/core/Select/select.widgets.js +57 -0
  37. package/dist/esm/core/SimplePagination/index.js +1 -1
  38. package/dist/esm/core/TableForm/TableFormBodyCell.js +6 -3
  39. package/dist/esm/core/TableForm/TableFormBodyRows.js +7 -2
  40. package/dist/esm/core/TableForm/index.js +13 -2
  41. package/dist/esm/core/TimeZoneSelect/index.js +2 -2
  42. package/dist/esm/core/Tooltip/EllipsisTooltipContent.js +49 -0
  43. package/dist/esm/core/Tooltip/index.js +4 -1
  44. package/dist/esm/core/index.js +3 -1
  45. package/dist/esm/coreX/ChartWithTooltip/index.js +2 -0
  46. package/dist/esm/coreX/DateRangePicker/Calendar.js +4 -3
  47. package/dist/esm/coreX/DateRangePicker/index.js +3 -3
  48. package/dist/esm/coreX/SummaryTable/index.js +6 -3
  49. package/dist/esm/coreX/UnitWithChart/index.js +2 -0
  50. package/dist/esm/index.js +6 -3
  51. package/dist/esm/legacy-antd.js +4 -0
  52. package/dist/esm/stats1.html +1 -1
  53. package/dist/esm/utils/tower.js +17 -1
  54. package/dist/src/UIKitProvider/UIKitProvider.stories.d.ts +1 -2
  55. package/dist/src/antd.d.ts +1 -0
  56. package/dist/src/core/BytePerSecond/index.d.ts +3 -0
  57. package/dist/src/core/ConfigProvider/index.d.ts +2 -0
  58. package/dist/src/core/LegacySelect/index.d.ts +4 -0
  59. package/dist/src/core/LegacySelect/select.style.d.ts +1 -0
  60. package/dist/src/core/LegacySelect/select.type.d.ts +31 -0
  61. package/dist/src/core/Select/index.d.ts +1 -0
  62. package/dist/src/core/Select/select.style.d.ts +4 -0
  63. package/dist/src/core/Select/select.type.d.ts +6 -31
  64. package/dist/src/core/Select/select.widgets.d.ts +7 -0
  65. package/dist/src/core/TableForm/types.d.ts +3 -0
  66. package/dist/src/core/Tooltip/EllipsisTooltipContent.d.ts +1 -1
  67. package/dist/src/core/Tooltip/index.d.ts +7 -1
  68. package/dist/src/core/index.d.ts +7 -2
  69. package/dist/src/coreX/SummaryTable/index.d.ts +1 -0
  70. package/dist/src/coreX/UnitWithChart/index.d.ts +1 -0
  71. package/dist/src/spec/base.d.ts +3 -1
  72. package/dist/src/utils/tower.d.ts +1 -0
  73. package/dist/stories/docs/core/BytePerSecond.stories.d.ts +17 -0
  74. package/dist/stories/docs/core/EllipsisTooltipContent.stories.d.ts +1 -1
  75. package/dist/stories/docs/core/{Select.Simple.stories.d.ts → LegacySelect.Simple.stories.d.ts} +3 -3
  76. package/dist/stories/docs/core/LegacySelect.stories.d.ts +16 -0
  77. package/dist/stories/docs/core/Tooltip.stories.d.ts +3 -1
  78. package/dist/stories/docs/coreX/Calendar.stories.d.ts +11 -0
  79. package/dist/style.css +2692 -2524
  80. package/package.json +6 -4
  81. package/dist/src/core/Tooltip/tooltip.widget.d.ts +0 -5
@@ -37,20 +37,22 @@ const TableFormBodyCell = (props) => {
37
37
  onChange,
38
38
  onBlur,
39
39
  validateAll,
40
- error
40
+ error,
41
+ onValidate
41
42
  } = props;
42
43
  const [validateResult, setValidateResult] = useState();
43
44
  const [isTouched, setIsTouched] = useState(false);
44
45
  const width = typeof column.width === "number" ? column.width + "px" : column.width;
45
46
  const isCellErrorStyle = Boolean((validateResult == null ? void 0 : validateResult.isError) || isRowError);
46
47
  useEffect(() => {
47
- if (isTouched)
48
+ if (isTouched) {
48
49
  setValidateResult(
49
50
  error ? {
50
51
  msg: error,
51
52
  isError: true
52
53
  } : void 0
53
54
  );
55
+ }
54
56
  }, [error, isTouched]);
55
57
  const triggerValidate = useCallback(
56
58
  (currentValue) => {
@@ -69,10 +71,11 @@ const TableFormBodyCell = (props) => {
69
71
  });
70
72
  const isError = result ? typeof result === "string" : false;
71
73
  setValidateResult({ msg: result || "", isError });
74
+ onValidate == null ? void 0 : onValidate(`${column.key}${rowIndex}`, !isError);
72
75
  return;
73
76
  }
74
77
  },
75
- [data, rowIndex, column, getRowValidateResult]
78
+ [data, rowIndex, column, getRowValidateResult, onValidate]
76
79
  );
77
80
  useEffect(() => {
78
81
  if (validateAll) {
@@ -78,7 +78,8 @@ const TableFormRow = (props) => {
78
78
  updateData,
79
79
  onBodyBlur,
80
80
  renderRowDescription,
81
- validateAll
81
+ validateAll,
82
+ onValidate
82
83
  } = props;
83
84
  const rowData = data[rowIndex];
84
85
  const errorFromProps = errors[rowIndex];
@@ -89,6 +90,9 @@ const TableFormRow = (props) => {
89
90
  useEffect(() => {
90
91
  setRowError(rowLevelError);
91
92
  }, [rowLevelError]);
93
+ useEffect(() => {
94
+ onValidate == null ? void 0 : onValidate(`table_row_${rowIndex}`, !rowError);
95
+ }, [onValidate, rowError, rowIndex]);
92
96
  const rowDeletable = typeof (row == null ? void 0 : row.deletable) === "boolean" ? row.deletable : (_a = typeof (row == null ? void 0 : row.deletable) === "function" || (deleteConfig == null ? void 0 : deleteConfig.deletable)) != null ? _a : false;
93
97
  const getRowValidateResult = useCallback(
94
98
  (rowData2) => {
@@ -118,7 +122,8 @@ const TableFormRow = (props) => {
118
122
  isRowError: !!rowError,
119
123
  getRowValidateResult,
120
124
  validateAll,
121
- error: cellError
125
+ error: cellError,
126
+ onValidate
122
127
  }
123
128
  );
124
129
  });
@@ -3,7 +3,7 @@ import { TableFormWrapper, DraggableHandleWrapper } from './style.js';
3
3
  import TableFormBodyRows from './TableFormBodyRows.js';
4
4
  import { BatchInputListHeaderCell } from './TableFormHeaderCell.js';
5
5
  import { List } from 'antd';
6
- import React__default, { useState, useCallback, useImperativeHandle, useMemo } from 'react';
6
+ import React__default, { useState, useRef, useCallback, useImperativeHandle, useMemo } from 'react';
7
7
 
8
8
  var __defProp = Object.defineProperty;
9
9
  var __defProps = Object.defineProperties;
@@ -55,6 +55,7 @@ const TableForm = React__default.forwardRef(
55
55
  const [validateAll, setValidateAll] = useState(false);
56
56
  const rowSplitType = (row == null ? void 0 : row.splitType) || props.rowSplitType || "border";
57
57
  const draggable = (_b = (_a = row == null ? void 0 : row.draggable) != null ? _a : props.draggable) != null ? _b : false;
58
+ const formValidMapRef = useRef({});
58
59
  const updateData = useCallback(
59
60
  (value, rowIndex, columnKey) => {
60
61
  setLatestData(value);
@@ -99,11 +100,20 @@ const TableForm = React__default.forwardRef(
99
100
  updateData(data2);
100
101
  },
101
102
  validateWholeFields() {
103
+ formValidMapRef.current = {};
102
104
  setValidateAll(true);
105
+ },
106
+ isValid() {
107
+ return Object.values(formValidMapRef.current).every(
108
+ (v) => v === true
109
+ );
103
110
  }
104
111
  }),
105
112
  [updateData]
106
113
  );
114
+ const onValidate = (id, isValid) => {
115
+ formValidMapRef.current[id] = isValid;
116
+ };
107
117
  const headerCells = columns.map((col) => {
108
118
  return /* @__PURE__ */ React__default.createElement(
109
119
  BatchInputListHeaderCell,
@@ -159,7 +169,8 @@ const TableForm = React__default.forwardRef(
159
169
  renderRowDescription,
160
170
  rowValidator,
161
171
  validateAll,
162
- errors
172
+ errors,
173
+ onValidate
163
174
  }
164
175
  ))
165
176
  ), (rowAddConfig == null ? void 0 : rowAddConfig.addible) ? /* @__PURE__ */ React__default.createElement(
@@ -1,7 +1,7 @@
1
1
  import { CheckmarkDoneSuccessCorrect16BlueIcon } from '@cloudtower/icons-react';
2
2
  import { cx } from '@linaria/core';
3
3
  import Icon from '../Icon/index.js';
4
- import Select$1 from '../Select/index.js';
4
+ import LegacySelect from '../LegacySelect/index.js';
5
5
  import { Typo } from '../Typo/index.js';
6
6
  import useParrotTranslation from '../../hooks/useParrotTranslation.js';
7
7
  import { Select, Tag } from 'antd';
@@ -86,7 +86,7 @@ const TimeZoneSelect = props => {
86
86
  }));
87
87
  }));
88
88
  });
89
- return /* @__PURE__ */React__default.createElement(Select$1, {
89
+ return /* @__PURE__ */React__default.createElement(LegacySelect, {
90
90
  className: cx(SelectStyle, className),
91
91
  dropdownClassName: DropdownStyle,
92
92
  placeholder: /* @__PURE__ */React__default.createElement("span", null, placeholder || t("components.time_zone_select_placeholder")),
@@ -0,0 +1,49 @@
1
+ import { cx } from '@linaria/core';
2
+ import { styled } from '@linaria/react';
3
+ import { debounce, isNull } from 'lodash';
4
+ import React__default, { useRef, useState, useEffect } from 'react';
5
+
6
+ const _exp = /*#__PURE__*/() => props => props.maxHeight ? `${props.maxHeight}px` : "unset";
7
+ const Wrapper = /*#__PURE__*/styled('div')({
8
+ name: "Wrapper",
9
+ class: "E_w1dxz879",
10
+ propsAsIs: false,
11
+ vars: {
12
+ "w1dxz879-0": [_exp()]
13
+ }
14
+ });
15
+ const EllipsisTooltipContent = ({
16
+ tooltip,
17
+ maxHeight,
18
+ contentWrapperClassName,
19
+ ellipsisTips
20
+ }) => {
21
+ const overFlowWrapperRef = useRef(null);
22
+ const [showTips, setShowTips] = useState(null);
23
+ useEffect(() => {
24
+ const wrapperEle = overFlowWrapperRef.current;
25
+ let wrapperObserver;
26
+ if (wrapperEle) {
27
+ const handleVisibleTips = debounce(() => {
28
+ setShowTips(wrapperEle.scrollHeight > (maxHeight || Infinity));
29
+ }, 200);
30
+ wrapperObserver = new ResizeObserver(handleVisibleTips);
31
+ wrapperObserver.observe(wrapperEle);
32
+ }
33
+ return () => {
34
+ wrapperObserver == null ? void 0 : wrapperObserver.disconnect();
35
+ };
36
+ }, [maxHeight]);
37
+ return /* @__PURE__ */React__default.createElement(Wrapper, {
38
+ className: cx(contentWrapperClassName, isNull(showTips) && "eagle-ellipsis-content"),
39
+ maxHeight
40
+ }, /* @__PURE__ */React__default.createElement("div", {
41
+ className: "ellipsis-tooltip",
42
+ ref: overFlowWrapperRef
43
+ }, tooltip), !!showTips && /* @__PURE__ */React__default.createElement("span", {
44
+ className: "tips"
45
+ }, ellipsisTips));
46
+ };
47
+ var EllipsisTooltipContent$1 = EllipsisTooltipContent;
48
+
49
+ export { EllipsisTooltipContent$1 as default };
@@ -1,6 +1,7 @@
1
1
  import { Tooltip as Tooltip$2 } from 'antd';
2
2
  import cs from 'classnames';
3
3
  import React__default, { useRef, useMemo, useCallback, useEffect } from 'react';
4
+ import EllipsisTooltipContent from './EllipsisTooltipContent.js';
4
5
 
5
6
  var __defProp = Object.defineProperty;
6
7
  var __defProps = Object.defineProperties;
@@ -32,7 +33,7 @@ var __objRest = (source, exclude) => {
32
33
  };
33
34
  let componentId = 0;
34
35
  const TooltipDefaultClass = "E_t1m2x205";
35
- const Tooltip = props => {
36
+ const InternalTooltip = props => {
36
37
  const _a = props,
37
38
  {
38
39
  followMouse,
@@ -80,6 +81,8 @@ const Tooltip = props => {
80
81
  }, overlayStyle) : overlayStyle
81
82
  }));
82
83
  };
84
+ const Tooltip = InternalTooltip;
85
+ Tooltip.EllipsisContent = EllipsisTooltipContent;
83
86
  var Tooltip$1 = Tooltip;
84
87
 
85
88
  export { Tooltip$1 as default };
@@ -2,6 +2,7 @@ import Bit from './Bit/index.js';
2
2
  import BitPerSecond from './BitPerSecond/index.js';
3
3
  import Bps from './Bps/index.js';
4
4
  import Byte from './Byte/index.js';
5
+ import BytePerSecond from './BytePerSecond/index.js';
5
6
  import Frequency from './Frequency/index.js';
6
7
  import Percent from './Percent/index.js';
7
8
  import Second from './Second/index.js';
@@ -10,6 +11,7 @@ import Speed from './Speed/index.js';
10
11
  const units = {
11
12
  Percent,
12
13
  Byte,
14
+ BytePerSecond,
13
15
  Frequency,
14
16
  Speed,
15
17
  Bps,
@@ -18,4 +20,4 @@ const units = {
18
20
  Second
19
21
  };
20
22
 
21
- export { Bit, BitPerSecond, Bps, Byte, Frequency, Percent, Second, Speed, units as Units, units };
23
+ export { Bit, BitPerSecond, Bps, Byte, BytePerSecond, Frequency, Percent, Second, Speed, units as Units, units };
@@ -3,6 +3,7 @@ import Bit from '../../core/Bit/index.js';
3
3
  import BitPerSecond from '../../core/BitPerSecond/index.js';
4
4
  import Bps from '../../core/Bps/index.js';
5
5
  import Byte from '../../core/Byte/index.js';
6
+ import BytePerSecond from '../../core/BytePerSecond/index.js';
6
7
  import Frequency from '../../core/Frequency/index.js';
7
8
  import Percent from '../../core/Percent/index.js';
8
9
  import Second from '../../core/Second/index.js';
@@ -17,6 +18,7 @@ import React__default from 'react';
17
18
  const units = {
18
19
  Percent,
19
20
  Byte,
21
+ BytePerSecond,
20
22
  Frequency,
21
23
  Speed,
22
24
  Bps,
@@ -10,6 +10,8 @@ import dayjs from 'dayjs';
10
10
  import React__default, { useState, useEffect, useRef } from 'react';
11
11
  import { getDiffMonthAndDate, getTime, checkDateNotInRange, getClassNameForDateBlock } from './common.js';
12
12
  import { CalendarStyle } from './DateRangePicker.style.js';
13
+ import { parrotI18n } from '@cloudtower/parrot';
14
+ import { getCalendarTitle } from '../common/getCalendarTitle.js';
13
15
 
14
16
  const Year = (props) => {
15
17
  const { year, onChange } = props;
@@ -78,7 +80,7 @@ const MonthItem = (props) => {
78
80
  onRangeChange,
79
81
  onMouseEnter
80
82
  } = props;
81
- const { t } = useParrotTranslation();
83
+ useParrotTranslation();
82
84
  const containerRef = useRef(null);
83
85
  const datesContainerRef = useRef(null);
84
86
  const headerRef = useRef(null);
@@ -129,8 +131,7 @@ const MonthItem = (props) => {
129
131
  className: cx(Typo.Label.l1_bold, isPinned && "pinned"),
130
132
  ref: headerRef
131
133
  },
132
- initMonth.month,
133
- t("common.month")
134
+ getCalendarTitle(initMonth.month.toString(), parrotI18n.t, parrotI18n)
134
135
  ), /* @__PURE__ */ React__default.createElement("div", { className: "dates-in-month", ref: datesContainerRef }, new Array(initMonth.firstDateOfDay).fill(null).map((value, index) => /* @__PURE__ */ React__default.createElement("span", { key: `blank-date-${index}`, className: "blank" })), initMonth.dates.map((date) => {
135
136
  const _date = getTime(initYear, initMonth.month, date);
136
137
  const dateNotIncludeInRange = checkDateNotInRange(
@@ -1,4 +1,4 @@
1
- import { CalendarClockDateTime24GradientGrayIcon, CalendarClockDateTime24GradientBlueIcon, CalendarTimeRecord16Icon } from '@cloudtower/icons-react';
1
+ import { CalendarClockDateTime16SecondaryIcon, CalendarClockDateTime16GradientBlueIcon, CalendarTimeRecord16Icon } from '@cloudtower/icons-react';
2
2
  import { cx } from '@linaria/core';
3
3
  import Icon from '../../core/Icon/index.js';
4
4
  import Input from '../../core/Input/index.js';
@@ -247,7 +247,7 @@ const DateRangePicker = (props) => {
247
247
  className: "default-calendar-icon",
248
248
  iconWidth: 16,
249
249
  iconHeight: 16,
250
- src: CalendarClockDateTime24GradientGrayIcon
250
+ src: CalendarClockDateTime16SecondaryIcon
251
251
  }
252
252
  ),
253
253
  /* @__PURE__ */ React__default.createElement(
@@ -256,7 +256,7 @@ const DateRangePicker = (props) => {
256
256
  className: "hover-calendar-icon",
257
257
  iconWidth: 16,
258
258
  iconHeight: 16,
259
- src: CalendarClockDateTime24GradientBlueIcon
259
+ src: CalendarClockDateTime16GradientBlueIcon
260
260
  }
261
261
  ),
262
262
  /* @__PURE__ */ React__default.createElement(
@@ -40,12 +40,14 @@ const SummaryTableRow = props => {
40
40
  title,
41
41
  children,
42
42
  hiddenTitle = false,
43
- hiddenBorder = false
43
+ hiddenBorder = false,
44
+ dataKey
44
45
  } = props;
45
46
  return /* @__PURE__ */React__default.createElement(TableRow, {
46
47
  className: cs("table-row", {
47
48
  hiddenBorder
48
- })
49
+ }),
50
+ "data-key": dataKey
49
51
  }, /* @__PURE__ */React__default.createElement(RowLabel, {
50
52
  width: labelWidth,
51
53
  className: cs({
@@ -71,7 +73,8 @@ const SummaryTableContent = props => {
71
73
  labelWidth,
72
74
  hiddenTitle: item == null ? void 0 : item.hiddenTitle,
73
75
  hiddenBorder: item == null ? void 0 : item.hiddenBorder,
74
- title: item.title
76
+ title: item.title,
77
+ dataKey: item.key
75
78
  }, item.render ? item.render(value, dataSource) : _.isNull(value) || _.isUndefined(value) || value === "" ? Empty : value);
76
79
  }));
77
80
  };
@@ -3,6 +3,7 @@ import Bit from '../../core/Bit/index.js';
3
3
  import BitPerSecond from '../../core/BitPerSecond/index.js';
4
4
  import Bps from '../../core/Bps/index.js';
5
5
  import Byte from '../../core/Byte/index.js';
6
+ import BytePerSecond from '../../core/BytePerSecond/index.js';
6
7
  import Empty from '../../core/Empty/index.js';
7
8
  import Frequency from '../../core/Frequency/index.js';
8
9
  import Percent from '../../core/Percent/index.js';
@@ -32,6 +33,7 @@ var __spreadValues = (a, b) => {
32
33
  const units = {
33
34
  Percent,
34
35
  Byte,
36
+ BytePerSecond,
35
37
  Frequency,
36
38
  Speed,
37
39
  Bps,
package/dist/esm/index.js CHANGED
@@ -20,6 +20,7 @@ export { BreadWrapper, default as Breadcrumb } from './core/Breadcrumb/index.js'
20
20
  export { default as Button } from './core/Button/index.js';
21
21
  export { default as ButtonGroup, ButtonStyle } from './core/ButtonGroup/index.js';
22
22
  export { default as Byte } from './core/Byte/index.js';
23
+ export { default as BytePerSecond } from './core/BytePerSecond/index.js';
23
24
  export { default as Calendar } from './core/Calendar/index.js';
24
25
  export { default as Card } from './core/Card/index.js';
25
26
  export { default as Checkbox } from './core/Checkbox/index.js';
@@ -43,6 +44,7 @@ export { AntdInputNumberStyled, default as InputNumber } from './core/InputNumbe
43
44
  export { AntdPasswordInputStyled, default as InputPassword } from './core/InputPassword/index.js';
44
45
  export { default as InputTagItem } from './core/InputTagItem/index.js';
45
46
  export { default as KitStoreProvider, useCloseModal, useKitDispatch, useKitSelector, usePopModal, usePushModal } from './core/KitStoreProvider/index.js';
47
+ export { default as LegacySelect } from './core/LegacySelect/index.js';
46
48
  export { default as Link } from './core/Link/index.js';
47
49
  export { default as Loading } from './core/Loading/index.js';
48
50
  export { attachTypeApi, getKeyThenIncreaseKey, default as message } from './core/message/index.js';
@@ -79,6 +81,7 @@ export { Architecture } from './core/Arch/arch.type.js';
79
81
  export { CascaderDefaultHeader, CascaderDefaultHeaderContainer, CascaderDefaultHeaderSearch, CascaderDefaultOptionLabel, CascaderDropdown, CascaderInputStyle, CascaderLargeDropdown, CascaderNotData, CascaderSmallDropdown, DoubleRowOptionStyleWrapper, Hide } from './core/Cascader/cascader.style.js';
80
82
  export { CascaderDoubleRowOption, CascaderOptionWithCount, NotDataContent, PresetCascaderHeader, PresetCascaderRender, defaultTagRender } from './core/Cascader/cascader.widget.js';
81
83
  export { Cascader } from './core/Cascader/index.js';
84
+ export { ConfigProvider } from './core/ConfigProvider/index.js';
82
85
  export { default as ExpandableContainer } from './core/ExpandableList/ExpandableContainer.js';
83
86
  export { default as ExpandableItem } from './core/ExpandableList/ExpandableItem.js';
84
87
  export { default as ExpandIcon } from './core/ExpandableList/ExpandIcon.js';
@@ -94,7 +97,10 @@ export { GraphType, TimeUnit } from './core/Metric/type.js';
94
97
  export { ParrotTrans } from './core/ParrotTrans/index.js';
95
98
  export { Area, TitleArea } from './core/Progress/progress.widgets.js';
96
99
  export { Progress } from './core/Progress/index.js';
100
+ export { getOptions } from './core/Select/select.widgets.js';
97
101
  export { SidebarMenu } from './core/SidebarMenu/SidebarMenu.js';
102
+ export { default as Skeleton } from './core/Skeleton/index.js';
103
+ export { default as SkeletonContent } from './core/Skeleton/Content.js';
98
104
  export { CircleProgress } from './core/StepProgress/index.js';
99
105
  export { CannotOperationInfo, CommonContent, ContentWrapper, Desc, Description, Divider, Dot, ErrorSpan, ExpandArrow, FieldTitle, FormField, FormItemDiv, FormSectionTitle, FormWrapper, FullView, HorizontalWizardModalCompactStyle, HorizontalWizardModalLooseStyle, InfoAlert, InputStyle, KitInputStyle, LeftEndInputStyle, LeftEndSelectStyle, LightDesc, LoadingWrapper, ModalBody, ModalWrapper, NameTag, NormalAlert, NoticeAlert, OperationWraper, RadioDesc, RightEndInputStyle, RightEndSelectStyle, SelectOptionDisabledText, TagSpan, TertiaryText, UnitStyle, WarningAlert, WizardBody, radioStyle } from './core/Styled/index.js';
100
106
  export { useTableBodyHasScrollBar } from './core/Table/common.js';
@@ -102,9 +108,6 @@ export { TableSkeleton } from './core/Table/TableSkeleton.js';
102
108
  export { ColumnTitle, EmptyRowMenu, KitTableContext, TableLoading } from './core/Table/TableWidget.js';
103
109
  export { ValidateTriggerType } from './core/TableForm/types.js';
104
110
  export { Typo } from './core/Typo/index.js';
105
- export { ConfigProvider } from './core/ConfigProvider/index.js';
106
- export { default as Skeleton } from './core/Skeleton/index.js';
107
- export { default as SkeletonContent } from './core/Skeleton/Content.js';
108
111
  export { default as BarChart, getWidth } from './coreX/BarChart/index.js';
109
112
  export { default as BatchOperation, renderBatchOperationMenuItem } from './coreX/BatchOperation/index.js';
110
113
  export { default as ChartWithTooltip, ChartWithUnit } from './coreX/ChartWithTooltip/index.js';
@@ -11,6 +11,7 @@ import Breadcrumb from './core/Breadcrumb/index.js';
11
11
  import Button from './core/Button/index.js';
12
12
  import ButtonGroup from './core/ButtonGroup/index.js';
13
13
  import Byte from './core/Byte/index.js';
14
+ import BytePerSecond from './core/BytePerSecond/index.js';
14
15
  import Calendar from './core/Calendar/index.js';
15
16
  import Card from './core/Card/index.js';
16
17
  import Checkbox from './core/Checkbox/index.js';
@@ -27,6 +28,7 @@ import Form from './core/Form/index.js';
27
28
  import Frequency from './core/Frequency/index.js';
28
29
  import Input from './core/Input/index.js';
29
30
  import InputGroup from './core/InputGroup/index.js';
31
+ import LegacySelect from './core/LegacySelect/index.js';
30
32
  import Link from './core/Link/index.js';
31
33
  import Loading from './core/Loading/index.js';
32
34
  import _message from './core/message/index.js';
@@ -76,6 +78,7 @@ function getAntdKit() {
76
78
  loading: Loading,
77
79
  error: Error,
78
80
  pagination: Pagination,
81
+ legacySelect: LegacySelect,
79
82
  select: Select,
80
83
  option: Select$1.Option,
81
84
  selectOptGroup: Select$1.OptGroup,
@@ -94,6 +97,7 @@ function getAntdKit() {
94
97
  units: {
95
98
  Percent,
96
99
  Byte,
100
+ BytePerSecond,
97
101
  Frequency,
98
102
  Speed,
99
103
  Bps,