@cloudtower/eagle 0.27.70 → 0.27.71

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 (269) hide show
  1. package/dist/cjs/UIKitProvider/index.js +5 -5
  2. package/dist/cjs/antd.js +151 -0
  3. package/dist/cjs/core/Arch/index.js +3 -1
  4. package/dist/cjs/core/ButtonGroup/index.js +2 -1
  5. package/dist/cjs/core/Cascader/index.js +16 -0
  6. package/dist/cjs/core/DonutChart/index.js +9 -0
  7. package/dist/cjs/core/Error/index.js +12 -0
  8. package/dist/cjs/core/ErrorBoundary/index.js +27 -0
  9. package/dist/cjs/core/Metric/MetricActions.js +18 -0
  10. package/dist/cjs/core/Metric/MetricLegend.js +73 -0
  11. package/dist/cjs/core/Metric/Pointer.js +45 -0
  12. package/dist/cjs/core/Metric/RenderChart.js +203 -0
  13. package/dist/cjs/core/Metric/TooltipFormatter.js +45 -0
  14. package/dist/cjs/core/Metric/index.js +63 -0
  15. package/dist/cjs/core/Metric/metric.js +146 -0
  16. package/dist/cjs/core/Metric/styled.js +33 -0
  17. package/dist/cjs/core/Metric/type.js +16 -0
  18. package/dist/cjs/core/Overflow/index.js +2 -1
  19. package/dist/cjs/core/Progress/index.js +2 -0
  20. package/dist/cjs/core/SidebarMenu/SidebarMenu.js +33 -0
  21. package/dist/cjs/core/StatusCapsule/index.js +7 -7
  22. package/dist/cjs/core/Styled/index.js +139 -0
  23. package/dist/cjs/core/Table/TableWidget.js +6 -1
  24. package/dist/cjs/core/Table/index.js +4 -1
  25. package/dist/cjs/core/TableForm/index.js +5 -3
  26. package/dist/cjs/core/Tag/SplitTag.js +2 -2
  27. package/dist/cjs/core/Tag/const.js +2 -2
  28. package/dist/cjs/core/Tag/index.js +4 -4
  29. package/dist/cjs/core/Token/index.js +3 -3
  30. package/dist/cjs/core/index.js +32 -0
  31. package/dist/cjs/core/message/index.js +4 -0
  32. package/dist/cjs/coreX/CronPlan/index.js +2 -1
  33. package/dist/cjs/coreX/DateRangePicker/AbsoluteDate.js +2 -2
  34. package/dist/cjs/coreX/DateRangePicker/Calendar.js +5 -3
  35. package/dist/cjs/coreX/DateRangePicker/InputTime.js +1 -1
  36. package/dist/cjs/coreX/DateRangePicker/RelativeTime.js +2 -2
  37. package/dist/cjs/coreX/DateRangePicker/index.js +1 -1
  38. package/dist/cjs/coreX/I18nNameTag/index.js +1 -1
  39. package/dist/cjs/index.js +456 -82
  40. package/dist/cjs/legacy-antd.js +213 -0
  41. package/dist/cjs/stats1.html +1 -1
  42. package/dist/cjs/store/chart.js +7 -0
  43. package/dist/cjs/store/index.js +1 -0
  44. package/dist/components.css +2916 -2916
  45. package/dist/esm/UIKitProvider/index.js +1 -1
  46. package/dist/esm/antd.js +16 -0
  47. package/dist/esm/core/ButtonGroup/index.js +2 -1
  48. package/dist/esm/core/Cascader/index.js +3 -1
  49. package/dist/esm/core/DonutChart/index.js +9 -1
  50. package/dist/esm/core/Error/index.js +6 -0
  51. package/dist/esm/core/ErrorBoundary/index.js +21 -0
  52. package/dist/esm/core/Metric/MetricActions.js +12 -0
  53. package/dist/esm/core/Metric/MetricLegend.js +62 -0
  54. package/dist/esm/core/Metric/Pointer.js +38 -0
  55. package/dist/esm/core/Metric/RenderChart.js +195 -0
  56. package/dist/esm/core/Metric/TooltipFormatter.js +39 -0
  57. package/dist/esm/core/Metric/index.js +52 -0
  58. package/dist/esm/core/Metric/metric.js +138 -2
  59. package/dist/esm/core/Metric/styled.js +24 -0
  60. package/dist/esm/core/Metric/type.js +13 -0
  61. package/dist/esm/core/Overflow/index.js +2 -1
  62. package/dist/esm/core/Progress/index.js +2 -1
  63. package/dist/esm/core/SidebarMenu/SidebarMenu.js +27 -0
  64. package/dist/esm/core/StatusCapsule/index.js +3 -3
  65. package/dist/esm/core/Styled/index.js +112 -1
  66. package/dist/esm/core/Table/TableWidget.js +5 -2
  67. package/dist/esm/core/Table/index.js +5 -3
  68. package/dist/esm/core/TableForm/index.js +2 -2
  69. package/dist/esm/core/Tag/SplitTag.js +3 -3
  70. package/dist/esm/core/Tag/const.js +2 -2
  71. package/dist/esm/core/Tag/index.js +5 -5
  72. package/dist/esm/core/Token/index.js +3 -3
  73. package/dist/esm/core/index.js +21 -0
  74. package/dist/esm/core/message/index.js +4 -1
  75. package/dist/esm/coreX/CronPlan/index.js +2 -1
  76. package/dist/esm/coreX/DateRangePicker/AbsoluteDate.js +2 -2
  77. package/dist/esm/coreX/DateRangePicker/Calendar.js +5 -3
  78. package/dist/esm/coreX/DateRangePicker/InputTime.js +1 -1
  79. package/dist/esm/coreX/DateRangePicker/RelativeTime.js +2 -2
  80. package/dist/esm/coreX/DateRangePicker/index.js +1 -1
  81. package/dist/esm/coreX/I18nNameTag/index.js +1 -1
  82. package/dist/esm/index.js +104 -18
  83. package/dist/esm/legacy-antd.js +206 -0
  84. package/dist/esm/stats1.html +1 -1
  85. package/dist/esm/store/chart.js +7 -1
  86. package/dist/esm/store/index.js +1 -0
  87. package/dist/src/UIKitProvider/UIKitProvider.stories.d.ts +1 -1
  88. package/dist/src/antd.d.ts +45 -0
  89. package/dist/src/core/AccordionCard/accordionCard.type.d.ts +9 -0
  90. package/dist/src/core/AccordionCard/index.d.ts +3 -8
  91. package/dist/src/core/Alert/alert.type.d.ts +6 -0
  92. package/dist/src/core/Alert/index.d.ts +2 -1
  93. package/dist/src/core/Arch/arch.type.d.ts +8 -0
  94. package/dist/src/core/Arch/index.d.ts +2 -1
  95. package/dist/src/core/Badge/badge.type.d.ts +7 -0
  96. package/dist/src/core/Badge/index.d.ts +2 -1
  97. package/dist/src/core/Bit/index.d.ts +1 -1
  98. package/dist/src/core/BitPerSecond/index.d.ts +1 -1
  99. package/dist/src/core/Bps/index.d.ts +1 -1
  100. package/dist/src/core/Breadcrumb/breadcrumb.type.d.ts +11 -0
  101. package/dist/src/core/Breadcrumb/index.d.ts +2 -1
  102. package/dist/src/core/Button/button.type.d.ts +20 -0
  103. package/dist/src/core/Button/index.d.ts +1 -0
  104. package/dist/src/core/ButtonGroup/index.d.ts +1 -1
  105. package/dist/src/core/Byte/index.d.ts +1 -1
  106. package/dist/src/core/Calendar/calendar.type.d.ts +4 -0
  107. package/dist/src/core/Calendar/index.d.ts +2 -1
  108. package/dist/src/core/Cascader/cascader.type.d.ts +1 -1
  109. package/dist/src/core/Cascader/index.d.ts +3 -0
  110. package/dist/src/core/DetailCard/detailCard.type.d.ts +4 -0
  111. package/dist/src/core/DetailCard/index.d.ts +2 -1
  112. package/dist/src/core/DropdownMenu/dropdownMenu.type.d.ts +28 -0
  113. package/dist/src/core/DropdownMenu/index.d.ts +3 -17
  114. package/dist/src/core/Error/index.d.ts +5 -0
  115. package/dist/src/core/ExpandableList/index.d.ts +8 -0
  116. package/dist/src/core/Fields/FieldsBoolean/index.d.ts +1 -1
  117. package/dist/src/core/Fields/FieldsDateTime/index.d.ts +1 -1
  118. package/dist/src/core/Fields/FieldsDateTimeRange/index.d.ts +1 -1
  119. package/dist/src/core/Fields/FieldsEnum/fieldsEnum.type.d.ts +19 -0
  120. package/dist/src/core/Fields/FieldsEnum/index.d.ts +2 -1
  121. package/dist/src/core/Fields/FieldsInt/fieldsInt.type.d.ts +15 -0
  122. package/dist/src/core/Fields/FieldsInt/index.d.ts +2 -1
  123. package/dist/src/core/Fields/FieldsString/fieldsString.type.d.ts +17 -0
  124. package/dist/src/core/Fields/FieldsString/index.d.ts +3 -1
  125. package/dist/src/core/Fields/FieldsTextArea/index.d.ts +1 -1
  126. package/dist/src/core/Fields/FieldsTimePicker/index.d.ts +1 -1
  127. package/dist/src/{spec/react-final-form.d.ts → core/Fields/fields.type.d.ts} +15 -10
  128. package/dist/src/core/Fields/index.d.ts +21 -10
  129. package/dist/src/core/Frequency/index.d.ts +1 -1
  130. package/dist/src/core/Input/index.d.ts +1 -0
  131. package/dist/src/core/Input/input.type.d.ts +14 -0
  132. package/dist/src/core/InputGroup/index.d.ts +1 -0
  133. package/dist/src/core/InputGroup/inputGroup.type.d.ts +4 -0
  134. package/dist/src/core/InputInteger/index.d.ts +1 -1
  135. package/dist/src/core/InputNumber/index.d.ts +1 -1
  136. package/dist/src/core/Link/index.d.ts +2 -1
  137. package/dist/src/core/Link/link.type.d.ts +6 -0
  138. package/dist/src/core/Loading/index.d.ts +2 -1
  139. package/dist/src/core/Loading/loading.type.d.ts +4 -0
  140. package/dist/src/core/Modal/index.d.ts +2 -1
  141. package/dist/src/core/Modal/modal.type.d.ts +28 -0
  142. package/dist/src/core/Pagination/index.d.ts +2 -1
  143. package/dist/src/core/Pagination/pagination.type.d.ts +11 -0
  144. package/dist/src/core/Percent/index.d.ts +1 -1
  145. package/dist/src/core/Progress/index.d.ts +2 -0
  146. package/dist/src/core/Progress/progress.type.d.ts +2 -1
  147. package/dist/src/core/Radio/index.d.ts +2 -1
  148. package/dist/src/core/Radio/radio.type.d.ts +16 -0
  149. package/dist/src/core/SearchInput/index.d.ts +2 -1
  150. package/dist/src/core/SearchInput/searchInput.type.d.ts +7 -0
  151. package/dist/src/core/Second/index.d.ts +1 -1
  152. package/dist/src/core/SegmentControl/index.d.ts +2 -1
  153. package/dist/src/core/SegmentControl/segmentControl.type.d.ts +4 -0
  154. package/dist/src/core/Select/index.d.ts +2 -1
  155. package/dist/src/core/Select/select.type.d.ts +32 -0
  156. package/dist/src/core/SimplePagination/index.d.ts +2 -1
  157. package/dist/src/core/SimplePagination/simplePagination.type.d.ts +7 -0
  158. package/dist/src/core/Space/index.d.ts +1 -0
  159. package/dist/src/core/Space/space.type.d.ts +10 -0
  160. package/dist/src/core/Speed/index.d.ts +1 -1
  161. package/dist/src/core/StatusCapsule/index.d.ts +3 -2
  162. package/dist/src/core/StatusCapsule/statusCapsule.type.d.ts +10 -0
  163. package/dist/src/core/StepProgress/index.d.ts +2 -1
  164. package/dist/src/core/StepProgress/stepProgress.type.d.ts +5 -0
  165. package/dist/src/core/Steps/index.d.ts +2 -1
  166. package/dist/src/core/Steps/steps.type.d.ts +19 -0
  167. package/dist/src/core/Switch/index.d.ts +2 -1
  168. package/dist/src/core/Switch/switch.type.d.ts +4 -0
  169. package/dist/src/core/Table/index.d.ts +2 -1
  170. package/dist/src/core/Table/table.type.d.ts +73 -0
  171. package/dist/src/core/TableForm/Columns/index.d.ts +10 -10
  172. package/dist/src/core/TableForm/index.d.ts +1 -0
  173. package/dist/src/core/TableForm/types.d.ts +1 -1
  174. package/dist/src/core/Tag/SplitTag.d.ts +1 -1
  175. package/dist/src/core/Tag/const.d.ts +1 -1
  176. package/dist/src/core/Tag/index.d.ts +3 -2
  177. package/dist/src/core/Tag/tag.type.d.ts +22 -0
  178. package/dist/src/core/TextArea/index.d.ts +2 -1
  179. package/dist/src/core/TextArea/textArea.type.d.ts +10 -0
  180. package/dist/src/core/Time/index.d.ts +2 -1
  181. package/dist/src/core/Time/time.type.d.ts +7 -0
  182. package/dist/src/core/TimeZoneSelect/index.d.ts +2 -1
  183. package/dist/src/core/TimeZoneSelect/timeZoneSelect.type.d.ts +9 -0
  184. package/dist/src/core/Token/index.d.ts +4 -3
  185. package/dist/src/core/Token/token.type.d.ts +12 -0
  186. package/dist/src/core/Tooltip/index.d.ts +1 -0
  187. package/dist/src/core/Units/index.d.ts +1 -0
  188. package/dist/src/core/Units/units.type.d.ts +17 -0
  189. package/dist/src/core/index.d.ts +140 -22
  190. package/dist/src/coreX/BatchOperation/batchOperation.type.d.ts +31 -0
  191. package/dist/src/coreX/BatchOperation/index.d.ts +2 -1
  192. package/dist/src/coreX/Counting/counting.type.d.ts +6 -0
  193. package/dist/src/coreX/Counting/index.d.ts +2 -1
  194. package/dist/src/coreX/CronCalendar/cronCalendar.type.d.ts +8 -0
  195. package/dist/src/coreX/CronCalendar/index.d.ts +2 -1
  196. package/dist/src/coreX/CronPlan/cronPlan.type.d.ts +13 -0
  197. package/dist/src/coreX/CronPlan/index.d.ts +2 -1
  198. package/dist/src/coreX/DateRangePicker/AbsoluteDate.d.ts +1 -1
  199. package/dist/src/coreX/DateRangePicker/Calendar.d.ts +1 -1
  200. package/dist/src/coreX/DateRangePicker/InputTime.d.ts +1 -1
  201. package/dist/src/coreX/DateRangePicker/RelativeTime.d.ts +1 -1
  202. package/dist/src/coreX/DateRangePicker/common.d.ts +2 -60
  203. package/dist/src/coreX/DateRangePicker/dateRangePicker.type.d.ts +64 -0
  204. package/dist/src/coreX/DateRangePicker/index.d.ts +4 -3
  205. package/dist/src/coreX/DropdownTransition/dropdownTransition.type.d.ts +4 -0
  206. package/dist/src/coreX/DropdownTransition/index.d.ts +1 -0
  207. package/dist/src/coreX/GoBackButton/goBackButton.type.d.ts +18 -0
  208. package/dist/src/coreX/GoBackButton/index.d.ts +2 -1
  209. package/dist/src/coreX/I18nNameTag/i18nNameTag.type.d.ts +14 -0
  210. package/dist/src/coreX/I18nNameTag/index.d.ts +2 -1
  211. package/dist/src/coreX/NamesTooltip/index.d.ts +2 -1
  212. package/dist/src/coreX/NamesTooltip/namesTooltip.type.d.ts +6 -0
  213. package/dist/src/coreX/OverflowTooltip/index.d.ts +1 -0
  214. package/dist/src/coreX/SidebarSubtitle/index.d.ts +2 -1
  215. package/dist/src/coreX/SidebarSubtitle/sidebarSubtitle.type.d.ts +5 -0
  216. package/dist/src/coreX/SortableList/index.d.ts +2 -1
  217. package/dist/src/coreX/SortableList/sortableList.type.d.ts +7 -0
  218. package/dist/src/coreX/SummaryTable/index.d.ts +2 -1
  219. package/dist/src/coreX/SummaryTable/summaryTable.type.d.ts +31 -0
  220. package/dist/src/coreX/SwitchWithText/index.d.ts +2 -1
  221. package/dist/src/coreX/SwitchWithText/switchWithText.type.d.ts +9 -0
  222. package/dist/src/coreX/TruncatedTextWithTooltip/index.d.ts +2 -1
  223. package/dist/src/coreX/TruncatedTextWithTooltip/truncatedTextWithTooltip.type.d.ts +5 -0
  224. package/dist/src/coreX/UnitWithChart/index.d.ts +8 -8
  225. package/dist/src/coreX/common/index.d.ts +1 -0
  226. package/dist/src/coreX/index.d.ts +38 -4
  227. package/dist/src/index.d.ts +5 -40
  228. package/dist/src/{core/antd.d.ts → legacy-antd.d.ts} +1 -1
  229. package/dist/src/spec/base.d.ts +7 -456
  230. package/dist/src/spec/index.d.ts +0 -1
  231. package/dist/stories/docs/core/Alert.stories.d.ts +1 -1
  232. package/dist/stories/docs/core/Arch.stories.d.ts +1 -1
  233. package/dist/stories/docs/core/Bit.stories.d.ts +6 -6
  234. package/dist/stories/docs/core/BitPerSecond.stories.d.ts +6 -6
  235. package/dist/stories/docs/core/Bps.stories.d.ts +6 -6
  236. package/dist/stories/docs/core/Byte.stories.d.ts +6 -6
  237. package/dist/stories/docs/core/FieldsBoolean.stories.d.ts +2 -2
  238. package/dist/stories/docs/core/FieldsString.stories.d.ts +8 -8
  239. package/dist/stories/docs/core/FieldsTimePicker.stories.d.ts +2 -2
  240. package/dist/stories/docs/core/Frequency.stories.d.ts +6 -6
  241. package/dist/stories/docs/core/Icon.stories.d.ts +6 -6
  242. package/dist/stories/docs/core/Link.stories.d.ts +1 -1
  243. package/dist/stories/docs/core/Modal.stories.d.ts +1 -1
  244. package/dist/stories/docs/core/Percent.stories.d.ts +10 -10
  245. package/dist/stories/docs/core/Second.stories.d.ts +8 -8
  246. package/dist/stories/docs/core/Speed.stories.d.ts +6 -6
  247. package/dist/stories/docs/core/StatusCapsule.stories.d.ts +1 -1
  248. package/dist/stories/docs/core/Steps.stories.d.ts +1 -1
  249. package/dist/stories/docs/core/Table.stories.d.ts +4 -4
  250. package/dist/stories/docs/core/Tag.stories.d.ts +1 -1
  251. package/dist/stories/docs/core/Token.stories.d.ts +1 -1
  252. package/dist/stories/docs/core/Tooltip.stories.d.ts +1 -1
  253. package/dist/stories/docs/coreX/CronCalendar.stories.d.ts +1 -1
  254. package/dist/stories/docs/coreX/CronPlan.stories.d.ts +1 -1
  255. package/dist/stories/docs/coreX/GoBackButton.stories.d.ts +1 -1
  256. package/dist/stories/docs/coreX/NamesTooltip.stories.d.ts +1 -1
  257. package/dist/stories/docs/coreX/SidebarSubtitle.stories.d.ts +1 -1
  258. package/dist/stories/docs/coreX/SortableList.stories.d.ts +1 -1
  259. package/dist/stories/docs/coreX/SummaryTable.stories.d.ts +1 -1
  260. package/dist/stories/docs/coreX/SwitchWithText.stories.d.ts +1 -1
  261. package/dist/stories/docs/coreX/TruncatedTextWithTooltip.stories.d.ts +1 -1
  262. package/dist/stories/types.d.ts +1 -1
  263. package/dist/style.css +2921 -2921
  264. package/package.json +5 -5
  265. package/dist/cjs/core/antd.js +0 -212
  266. package/dist/esm/core/antd.js +0 -205
  267. package/dist/src/spec/type.d.ts +0 -157
  268. /package/dist/cjs/{spec/type.js → core/Arch/arch.type.js} +0 -0
  269. /package/dist/esm/{spec/type.js → core/Arch/arch.type.js} +0 -0
@@ -0,0 +1,24 @@
1
+ import { styled } from '@linaria/react';
2
+
3
+ const MetricLegendTabStyle = "E_mp64wfi";
4
+ const LegendStyle = "E_l1oyigan";
5
+ const LegendItemStyle = "E_l1noi4n1";
6
+ const ColorBlockStyle = "E_cz19rz6";
7
+ const ExtraResource = "E_e17r5r9c";
8
+ const MetricWrapper = /*#__PURE__*/styled('div')({
9
+ name: "MetricWrapper",
10
+ class: "E_m1y1hhnr",
11
+ propsAsIs: false
12
+ });
13
+ const TooltipWrapper = /*#__PURE__*/styled('div')({
14
+ name: "TooltipWrapper",
15
+ class: "E_tnvijvs",
16
+ propsAsIs: false
17
+ });
18
+ const TooltipColumn = /*#__PURE__*/styled('div')({
19
+ name: "TooltipColumn",
20
+ class: "E_t1ub2aex",
21
+ propsAsIs: false
22
+ });
23
+
24
+ export { ColorBlockStyle, ExtraResource, LegendItemStyle, LegendStyle, MetricLegendTabStyle, MetricWrapper, TooltipColumn, TooltipWrapper };
@@ -0,0 +1,13 @@
1
+ var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
2
+ TimeUnit2["Day"] = "DAY";
3
+ TimeUnit2["Hour"] = "HOUR";
4
+ TimeUnit2["Month"] = "MONTH";
5
+ return TimeUnit2;
6
+ })(TimeUnit || {});
7
+ var GraphType = /* @__PURE__ */ ((GraphType2) => {
8
+ GraphType2["Area"] = "AREA";
9
+ GraphType2["Stack"] = "STACK";
10
+ return GraphType2;
11
+ })(GraphType || {});
12
+
13
+ export { GraphType, TimeUnit };
@@ -108,5 +108,6 @@ const ExtraOverflow = props => {
108
108
  ref: wrapperRef
109
109
  }, els);
110
110
  };
111
+ var Overflow$1 = Overflow;
111
112
 
112
- export { ExtraOverflow, Overflow as default };
113
+ export { ExtraOverflow, Overflow$1 as default };
@@ -3,6 +3,7 @@ import { styled } from '@linaria/react';
3
3
  import { StatusColorMap } from './progress.const.js';
4
4
  import { FlexFullContentStyle, ProgressStyle, BaseProgressStyle } from './progress.style.js';
5
5
  import { Area } from './progress.widgets.js';
6
+ export { TitleArea } from './progress.widgets.js';
6
7
  import { isStringArray } from '../../utils/isStringArr.js';
7
8
  import { Progress as Progress$1 } from 'antd5';
8
9
  import React__default from 'react';
@@ -132,4 +133,4 @@ const Progress = _a => {
132
133
  }) : leftBottom, actionNode) : null);
133
134
  };
134
135
 
135
- export { Progress };
136
+ export { Area, Progress };
@@ -0,0 +1,27 @@
1
+ import { Menu } from 'antd5';
2
+ import React__default from 'react';
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __defProps = Object.defineProperties;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __spreadValues = (a, b) => {
12
+ for (var prop in b || (b = {}))
13
+ if (__hasOwnProp.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ if (__getOwnPropSymbols)
16
+ for (var prop of __getOwnPropSymbols(b)) {
17
+ if (__propIsEnum.call(b, prop))
18
+ __defNormalProp(a, prop, b[prop]);
19
+ }
20
+ return a;
21
+ };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
+ const SidebarMenu = (props) => {
24
+ return /* @__PURE__ */ React__default.createElement(Menu, __spreadProps(__spreadValues({}, props), { mode: "inline" }));
25
+ };
26
+
27
+ export { SidebarMenu };
@@ -34,7 +34,7 @@ var __objRest = (source, exclude) => {
34
34
  }
35
35
  return target;
36
36
  };
37
- const PresetColors = ["blue", "red", "yellow", "green", "gray"];
37
+ const StatusPresetColors = ["blue", "red", "yellow", "green", "gray"];
38
38
  const StatusCapsuleStyle = "E_sddwhm6";
39
39
  const StatusCode = /*#__PURE__*/styled('i')({
40
40
  name: "StatusCode",
@@ -77,7 +77,7 @@ const StatusCapsule = _a => {
77
77
  const computedColor = ColorMap[color] || color;
78
78
  return /* @__PURE__ */React__default.createElement(Tag, __spreadProps(__spreadValues({}, props), {
79
79
  className: cs(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
80
- [`ant-tag-${computedColor}`]: PresetColors.includes(computedColor),
80
+ [`ant-tag-${computedColor}`]: StatusPresetColors.includes(computedColor),
81
81
  "tag-hover": hoverable,
82
82
  "off-white": offWhiteMode
83
83
  }),
@@ -91,4 +91,4 @@ const StatusCapsule = _a => {
91
91
  };
92
92
  var StatusCapsule$1 = StatusCapsule;
93
93
 
94
- export { PresetColors, StatusIcon, StatusCapsule$1 as default };
94
+ export { StatusIcon, StatusPresetColors, StatusCapsule$1 as default };
@@ -1,15 +1,122 @@
1
1
  import { styled } from '@linaria/react';
2
2
 
3
+ const CommonContent = /*#__PURE__*/styled('div')({
4
+ name: "CommonContent",
5
+ class: "E_cnujxq2",
6
+ propsAsIs: false
7
+ });
8
+ const ModalBody = /*#__PURE__*/styled('div')({
9
+ name: "ModalBody",
10
+ class: "E_m7s48ia",
11
+ propsAsIs: false
12
+ });
3
13
  const WizardBody = /*#__PURE__*/styled('div')({
4
14
  name: "WizardBody",
5
15
  class: "E_wt5zbg6",
6
16
  propsAsIs: false
7
17
  });
18
+ const HorizontalWizardModalCompactStyle = "E_h18jprzg";
19
+ const HorizontalWizardModalLooseStyle = "E_h16z9xgz";
20
+ const FormWrapper = /*#__PURE__*/styled('div')({
21
+ name: "FormWrapper",
22
+ class: "E_f1lrhghm",
23
+ propsAsIs: false
24
+ });
25
+ const FormSectionTitle = /*#__PURE__*/styled('h4')({
26
+ name: "FormSectionTitle",
27
+ class: "E_f18ot8em",
28
+ propsAsIs: false
29
+ });
30
+ const FormField = /*#__PURE__*/styled('div')({
31
+ name: "FormField",
32
+ class: "E_f1l1g2k0",
33
+ propsAsIs: false
34
+ });
35
+ const ErrorSpan = /*#__PURE__*/styled('span')({
36
+ name: "ErrorSpan",
37
+ class: "E_e1k89cwg",
38
+ propsAsIs: false
39
+ });
40
+ const Divider = /*#__PURE__*/styled('div')({
41
+ name: "Divider",
42
+ class: "E_d1oui1gf",
43
+ propsAsIs: false
44
+ });
45
+ const LoadingWrapper = /*#__PURE__*/styled('div')({
46
+ name: "LoadingWrapper",
47
+ class: "E_l15itdbb",
48
+ propsAsIs: false
49
+ });
50
+ const Dot = /*#__PURE__*/styled('span')({
51
+ name: "Dot",
52
+ class: "E_d1y3z4w",
53
+ propsAsIs: false
54
+ });
55
+ const ModalWrapper = "E_m177r7a3";
56
+ const _exp = () => ({
57
+ color
58
+ }) => {
59
+ switch (color) {
60
+ case "red":
61
+ return "linear-gradient(262.79deg, #FA5F3C 0%, #FF9412 100%)";
62
+ case "yellow":
63
+ return "linear-gradient(260.13deg, #FFA600 0%, #FFD900 100%)";
64
+ case "blue":
65
+ return "linear-gradient(276.05deg, #0066FF 10.65%, #5CA8FF 89.35%)";
66
+ }
67
+ };
68
+ const TagSpan = /*#__PURE__*/styled('span')({
69
+ name: "TagSpan",
70
+ class: "E_t1wwio3v",
71
+ propsAsIs: false,
72
+ vars: {
73
+ "t1wwio3v-0": [_exp()]
74
+ }
75
+ });
8
76
  const FullView = /*#__PURE__*/styled('div')({
9
77
  name: "FullView",
10
78
  class: "E_f17jvtfk",
11
79
  propsAsIs: false
12
80
  });
81
+ const NameTag = /*#__PURE__*/styled('span')({
82
+ name: "NameTag",
83
+ class: "E_nzppkea",
84
+ propsAsIs: false
85
+ });
86
+ const FormItemDiv = /*#__PURE__*/styled('div')({
87
+ name: "FormItemDiv",
88
+ class: "E_f4mi9eq",
89
+ propsAsIs: false
90
+ });
91
+ const FieldTitle = /*#__PURE__*/styled('div')({
92
+ name: "FieldTitle",
93
+ class: "E_fh0ewl8",
94
+ propsAsIs: false
95
+ });
96
+ const ExpandArrow = /*#__PURE__*/styled('i')({
97
+ name: "ExpandArrow",
98
+ class: "E_e1qrlvot",
99
+ propsAsIs: false
100
+ });
101
+ const WarningAlert = "E_w9ic984";
102
+ const NoticeAlert = "E_n1k9qi4r";
103
+ const NormalAlert = "E_n16fsg9x";
104
+ const InfoAlert = "E_i173wxzw";
105
+ const Description = /*#__PURE__*/styled('div')({
106
+ name: "Description",
107
+ class: "E_dld369h",
108
+ propsAsIs: false
109
+ });
110
+ const SelectOptionDisabledText = /*#__PURE__*/styled('div')({
111
+ name: "SelectOptionDisabledText",
112
+ class: "E_s1epv22q",
113
+ propsAsIs: false
114
+ });
115
+ const OperationWraper = /*#__PURE__*/styled('div')({
116
+ name: "OperationWraper",
117
+ class: "E_okus5hk",
118
+ propsAsIs: false
119
+ });
13
120
  const TertiaryText = /*#__PURE__*/styled('div')({
14
121
  name: "TertiaryText",
15
122
  class: "E_t1auuzri",
@@ -17,6 +124,10 @@ const TertiaryText = /*#__PURE__*/styled('div')({
17
124
  });
18
125
  const InputStyle = "E_i74cfyt";
19
126
  const KitInputStyle = "E_k1ci6977";
127
+ const LeftEndInputStyle = "E_l1f7td1d";
128
+ const RightEndInputStyle = "E_rf8rlle";
129
+ const LeftEndSelectStyle = "E_llt2k48";
130
+ const RightEndSelectStyle = "E_rdwz7eh";
20
131
  const ContentWrapper = /*#__PURE__*/styled('div')({
21
132
  name: "ContentWrapper",
22
133
  class: "E_c3ni091",
@@ -42,4 +153,4 @@ const RadioDesc = /*#__PURE__*/styled(_exp3())({
42
153
  const radioStyle = "E_r1skkc3l";
43
154
  const CannotOperationInfo = "E_c3cobmo";
44
155
 
45
- export { CannotOperationInfo, ContentWrapper, Desc, FullView, InputStyle, KitInputStyle, LightDesc, RadioDesc, TertiaryText, WizardBody, radioStyle };
156
+ 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, WarningAlert, WizardBody, radioStyle };
@@ -28,7 +28,7 @@ const TableLoading = () => {
28
28
  className: "td-loading"
29
29
  }))));
30
30
  };
31
- createContext({});
31
+ const KitTableContext = createContext({});
32
32
  const ColumnTitle = props => {
33
33
  const {
34
34
  title,
@@ -40,5 +40,8 @@ const ColumnTitle = props => {
40
40
  src: ArrowChevronUp16BoldSecondaryIcon
41
41
  }));
42
42
  };
43
+ const EmptyRowMenu = () => {
44
+ return /* @__PURE__ */React__default.createElement(React__default.Fragment, null);
45
+ };
43
46
 
44
- export { ColumnTitle, TableLoading };
47
+ export { ColumnTitle, EmptyRowMenu, KitTableContext, TableLoading };
@@ -2,7 +2,8 @@ import { cx } from '@linaria/core';
2
2
  import Loading from '../Loading/index.js';
3
3
  import { useTableBodyHasScrollBar } from './common.js';
4
4
  import { ColumnTitle, TableLoading } from './TableWidget.js';
5
- import { Table as Table$1 } from 'antd';
5
+ export { EmptyRowMenu, KitTableContext } from './TableWidget.js';
6
+ import { Table as Table$2 } from 'antd';
6
7
  import cs from 'classnames';
7
8
  import React__default, { useRef, useMemo } from 'react';
8
9
 
@@ -66,7 +67,7 @@ const Table = props => {
66
67
  }), [columns]);
67
68
  return /* @__PURE__ */React__default.createElement("div", {
68
69
  className: cx(TableContainerStyle, "table-container", !hasScrollBard && "no-scroll-bar")
69
- }, /* @__PURE__ */React__default.createElement(Table$1, {
70
+ }, /* @__PURE__ */React__default.createElement(Table$2, {
70
71
  className: cs(tableStyleCover, !(dataSource == null ? void 0 : dataSource.length) && "empty-table", initLoading && "table-init-loading", rowSelection && "has-selection"),
71
72
  bordered,
72
73
  loading: {
@@ -100,5 +101,6 @@ const Table = props => {
100
101
  showSorterTooltip: false
101
102
  }));
102
103
  };
104
+ var Table$1 = Table;
103
105
 
104
- export { ColumnTitle, TableLoading, Table as default, tableStyleCover, useTableBodyHasScrollBar };
106
+ export { ColumnTitle, TableLoading, Table$1 as default, tableStyleCover, useTableBodyHasScrollBar };
@@ -70,7 +70,7 @@ const TableForm = React__default.forwardRef(
70
70
  [...Array(DEFAULT_ROW_COUNT)].map(() => genEmptyRow(columns))
71
71
  );
72
72
  }
73
- }, []);
73
+ }, [columns, defaultData, updateData]);
74
74
  const handleBatchChange = useCallback(
75
75
  (newData, columnKey, shouldUpdateData) => {
76
76
  setLatestData(newData);
@@ -132,7 +132,7 @@ const TableForm = React__default.forwardRef(
132
132
  () => maxHeight ? {
133
133
  maxHeight: typeof maxHeight === "number" ? maxHeight + "px" : maxHeight
134
134
  } : void 0,
135
- []
135
+ [maxHeight]
136
136
  );
137
137
  return /* @__PURE__ */ React__default.createElement("div", { className }, /* @__PURE__ */ React__default.createElement(
138
138
  TableFormWrapper,
@@ -1,4 +1,4 @@
1
- import { PresetColors } from './const.js';
1
+ import { TagBasePresetColors } from './const.js';
2
2
  import { TagStyle, Size, IconStyle } from './style.js';
3
3
  import { Typo } from '../Typo/index.js';
4
4
  import { Tag } from 'antd';
@@ -47,11 +47,11 @@ const SplitTag = _a => {
47
47
  props = __objRest(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
48
48
  return /* @__PURE__ */React__default.createElement(Tag, __spreadProps(__spreadValues({}, props), {
49
49
  className: cs(className, TagStyle, Size[size], WrapperStyle, Typo.Label.l4_regular, {
50
- [`ant-tag-${color}`]: PresetColors.includes(color)
50
+ [`ant-tag-${color}`]: TagBasePresetColors.includes(color)
51
51
  }, "outside-tag")
52
52
  }), /* @__PURE__ */React__default.createElement(Tag, {
53
53
  className: cs(Size[size], TagStyle, Typo.Label.l4_regular, {
54
- [`ant-tag-${color}`]: PresetColors.includes(color)
54
+ [`ant-tag-${color}`]: TagBasePresetColors.includes(color)
55
55
  }, "inside-tag")
56
56
  }, icon && /* @__PURE__ */React__default.createElement("span", {
57
57
  className: cs("ui-kit-tag-icon", IconStyle)
@@ -1,4 +1,4 @@
1
- const PresetColors = [
1
+ const TagBasePresetColors = [
2
2
  "blue",
3
3
  "red",
4
4
  "yellow",
@@ -7,4 +7,4 @@ const PresetColors = [
7
7
  "purple"
8
8
  ];
9
9
 
10
- export { PresetColors };
10
+ export { TagBasePresetColors };
@@ -1,4 +1,4 @@
1
- import { PresetColors as PresetColors$1 } from './const.js';
1
+ import { TagBasePresetColors } from './const.js';
2
2
  import SplitTag from './SplitTag.js';
3
3
  import { Size, TagStyle, IconStyle, NameTagStyle } from './style.js';
4
4
  import { Typo } from '../Typo/index.js';
@@ -37,8 +37,8 @@ var __objRest = (source, exclude) => {
37
37
  }
38
38
  return target;
39
39
  };
40
- const PresetColors = [
41
- ...PresetColors$1,
40
+ const TagPresetColors = [
41
+ ...TagBasePresetColors,
42
42
  "red-ontint",
43
43
  "green-ontint"
44
44
  ];
@@ -70,7 +70,7 @@ const Tag = (_a) => {
70
70
  Tag$2,
71
71
  __spreadProps(__spreadValues({}, props), {
72
72
  className: cs(className, Size[size], TagStyle, Typo.Label.l4_regular, {
73
- [`ant-tag-${computedColor}`]: PresetColors.includes(computedColor),
73
+ [`ant-tag-${computedColor}`]: TagPresetColors.includes(computedColor),
74
74
  "tag-hover": hoverable
75
75
  }),
76
76
  closable: false,
@@ -88,4 +88,4 @@ Tag.SplitTag = SplitTag;
88
88
  Tag.NameTag = NameTag;
89
89
  var Tag$1 = Tag;
90
90
 
91
- export { PresetColors, Tag$1 as default };
91
+ export { TagPresetColors, Tag$1 as default };
@@ -35,7 +35,7 @@ var __objRest = (source, exclude) => {
35
35
  }
36
36
  return target;
37
37
  };
38
- const PresetColors = ["blue", "red", "yellow", "green", "gray", "purple"];
38
+ const TokenPresetColors = ["blue", "red", "yellow", "green", "gray", "purple"];
39
39
  const Size = {
40
40
  small: "E_s1sck0th",
41
41
  medium: "E_m855nr1",
@@ -59,7 +59,7 @@ const Token = React__default.forwardRef((_a, ref) => {
59
59
  className: cs(className, Size[size], TokenStyle, {
60
60
  [Typo.Label.l4_regular]: size === "small" || size === "medium",
61
61
  [Typo.Label.l3_regular]: size === "large",
62
- [`ant-tag-${color}`]: PresetColors.includes(color)
62
+ [`ant-tag-${color}`]: TokenPresetColors.includes(color)
63
63
  }, "ui-kit-token", checked && "ui-kit-token-checked"),
64
64
  closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues({
65
65
  title: tooltipConfig == null ? void 0 : tooltipConfig.title
@@ -78,4 +78,4 @@ const Token = React__default.forwardRef((_a, ref) => {
78
78
  });
79
79
  var Token$1 = Token;
80
80
 
81
- export { PresetColors, Token$1 as default };
81
+ export { TokenPresetColors, Token$1 as default };
@@ -0,0 +1,21 @@
1
+ import Bit from './Bit/index.js';
2
+ import BitPerSecond from './BitPerSecond/index.js';
3
+ import Bps from './Bps/index.js';
4
+ import Byte from './Byte/index.js';
5
+ import Frequency from './Frequency/index.js';
6
+ import Percent from './Percent/index.js';
7
+ import Second from './Second/index.js';
8
+ import Speed from './Speed/index.js';
9
+
10
+ const units = {
11
+ Percent,
12
+ Byte,
13
+ Frequency,
14
+ Speed,
15
+ Bps,
16
+ BitPerSecond,
17
+ Bit,
18
+ Second
19
+ };
20
+
21
+ export { Bit, BitPerSecond, Bps, Byte, Frequency, Percent, Second, Speed, units as Units, units };
@@ -35,6 +35,9 @@ let transitionName = "move-up";
35
35
  let getContainer;
36
36
  let maxCount;
37
37
  let rtl = false;
38
+ function getKeyThenIncreaseKey() {
39
+ return key++;
40
+ }
38
41
  function setMessageConfig(options) {
39
42
  if (options.top !== void 0) {
40
43
  defaultTop = options.top;
@@ -176,4 +179,4 @@ function attachTypeApi(originalApi, type) {
176
179
  api.warn = api.warning;
177
180
  var _message = api;
178
181
 
179
- export { attachTypeApi, _message as default };
182
+ export { attachTypeApi, _message as default, getKeyThenIncreaseKey };
@@ -453,5 +453,6 @@ const CronPlan = props => {
453
453
  }, t("components.will_save_one_to_thirty_report")))))
454
454
  });
455
455
  };
456
+ var CronPlan$1 = CronPlan;
456
457
 
457
- export { CronPlan as default, stringifyPlan };
458
+ export { CronPlan$1 as default, stringifyPlan };
@@ -2,14 +2,14 @@ import { cx } from '@linaria/core';
2
2
  import Button from '../../core/Button/index.js';
3
3
  import { Typo } from '../../core/Typo/index.js';
4
4
  import Calendar from './Calendar.js';
5
- import { copyDay, time2string } from './common.js';
6
- import { AbsoluteTimeStyle } from './DateRangePicker.style.js';
7
5
  import InputTime from './InputTime.js';
8
6
  import useMemoCompare from '../../hooks/useMemoCompare.js';
9
7
  import useParrotTranslation from '../../hooks/useParrotTranslation.js';
10
8
  import dayjs from 'dayjs';
11
9
  import { isEqual } from 'lodash';
12
10
  import React__default, { useState, useImperativeHandle, useEffect, useMemo, useRef } from 'react';
11
+ import { copyDay, time2string } from './common.js';
12
+ import { AbsoluteTimeStyle } from './DateRangePicker.style.js';
13
13
 
14
14
  function transformTime(type, day, boundaryDate) {
15
15
  if (day) {
@@ -4,12 +4,12 @@ import Button from '../../core/Button/index.js';
4
4
  import Icon from '../../core/Icon/index.js';
5
5
  import Input from '../../core/Input/index.js';
6
6
  import { Typo } from '../../core/Typo/index.js';
7
- import { getDiffMonthAndDate, getTime, checkDateNotInRange, getClassNameForDateBlock } from './common.js';
8
- import { CalendarStyle } from './DateRangePicker.style.js';
9
7
  import useElementIntersectionRatio from '../../hooks/useElementIntersectionRatio.js';
10
8
  import useParrotTranslation from '../../hooks/useParrotTranslation.js';
11
9
  import dayjs from 'dayjs';
12
10
  import React__default, { useState, useEffect, useRef } from 'react';
11
+ import { getDiffMonthAndDate, getTime, checkDateNotInRange, getClassNameForDateBlock } from './common.js';
12
+ import { CalendarStyle } from './DateRangePicker.style.js';
13
13
 
14
14
  const Year = (props) => {
15
15
  const { year, onChange } = props;
@@ -260,7 +260,9 @@ const Week = () => {
260
260
  const Calendar = (props) => {
261
261
  const { range: initRange, minDate, maxDate, onChange } = props;
262
262
  const [year, setYear] = useState(dayjs().year());
263
- const [range, setRange] = useState(initRange || [null, null]);
263
+ const [range, setRange] = useState(
264
+ initRange || [null, null]
265
+ );
264
266
  useEffect(() => {
265
267
  setRange(initRange || [null, null]);
266
268
  }, [initRange]);
@@ -1,8 +1,8 @@
1
1
  import { cx } from '@linaria/core';
2
2
  import { Typo } from '../../core/Typo/index.js';
3
+ import React__default, { useState, useRef } from 'react';
3
4
  import { time2stringByUnit } from './common.js';
4
5
  import { InputTimeStyle } from './DateRangePicker.style.js';
5
- import React__default, { useState, useRef } from 'react';
6
6
 
7
7
  const InputTime = (props) => {
8
8
  const { className, value, danger, error, onChange, onBlur } = props;
@@ -1,11 +1,11 @@
1
1
  import { cx } from '@linaria/core';
2
2
  import Input from '../../core/Input/index.js';
3
3
  import { Typo } from '../../core/Typo/index.js';
4
- import { BASIC_RELATIVE_TIME_CONFIG, getDateText } from './common.js';
5
- import { RelativeTimeStyle } from './DateRangePicker.style.js';
6
4
  import useParrotTranslation from '../../hooks/useParrotTranslation.js';
7
5
  import React__default, { useRef, useState } from 'react';
8
6
  import Highlighter from 'react-highlight-words';
7
+ import { BASIC_RELATIVE_TIME_CONFIG, getDateText } from './common.js';
8
+ import { RelativeTimeStyle } from './DateRangePicker.style.js';
9
9
 
10
10
  const HighlightKeywordStyle = "E_h1ol2wl7";
11
11
  const RelativeTime = props => {
@@ -5,7 +5,6 @@ import Input from '../../core/Input/index.js';
5
5
  import Tooltip from '../../core/Tooltip/index.js';
6
6
  import { Typo } from '../../core/Typo/index.js';
7
7
  import AbsoluteDate from './AbsoluteDate.js';
8
- import { getDateText } from './common.js';
9
8
  import { DateRangePickerStyle, ResetPopoverStyle } from './DateRangePicker.style.js';
10
9
  import RelativeTime from './RelativeTime.js';
11
10
  import TabMenu from '../TabMenu/index.js';
@@ -13,6 +12,7 @@ import useParrotTranslation from '../../hooks/useParrotTranslation.js';
13
12
  import { Popover } from 'antd';
14
13
  import dayjs from 'dayjs';
15
14
  import React__default, { useState, useEffect, useRef } from 'react';
15
+ import { getDateText } from './common.js';
16
16
 
17
17
  var __defProp = Object.defineProperty;
18
18
  var __defProps = Object.defineProperties;
@@ -1,5 +1,5 @@
1
- import Tag from '../../core/Tag/index.js';
2
1
  import { ParrotTrans } from '../../core/ParrotTrans/index.js';
2
+ import Tag from '../../core/Tag/index.js';
3
3
  import React__default from 'react';
4
4
 
5
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;