@cloudtower/eagle 0.27.53 → 0.27.55

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 (323) hide show
  1. package/dist/cjs/UIKitProvider/index.js +77 -0
  2. package/dist/cjs/core/AccordionCard/index.js +59 -0
  3. package/dist/cjs/core/Alert/index.js +80 -0
  4. package/dist/cjs/core/Arch/index.js +17 -0
  5. package/dist/cjs/core/Badge/index.js +51 -0
  6. package/dist/cjs/core/BaseIcon/index.js +76 -0
  7. package/dist/cjs/core/Bit/index.js +40 -0
  8. package/dist/cjs/core/BitPerSecond/index.js +40 -0
  9. package/dist/cjs/core/Bps/index.js +40 -0
  10. package/dist/cjs/core/Breadcrumb/index.js +58 -0
  11. package/dist/cjs/core/Button/HoverableElement.js +14 -0
  12. package/dist/cjs/core/Button/index.js +89 -0
  13. package/dist/cjs/core/ButtonGroup/index.js +110 -0
  14. package/dist/cjs/core/Byte/index.js +49 -0
  15. package/dist/cjs/core/Calendar/index.js +25 -0
  16. package/dist/cjs/core/Card/CardBody.js +12 -0
  17. package/dist/cjs/core/Card/CardTitle.js +12 -0
  18. package/dist/cjs/core/Card/CardWrapper.js +55 -0
  19. package/dist/cjs/core/Card/index.js +94 -0
  20. package/dist/cjs/core/Cascader/cascader.style.js +23 -0
  21. package/dist/cjs/core/Cascader/cascader.widget.js +86 -0
  22. package/dist/cjs/core/Cascader/index.js +74 -0
  23. package/dist/cjs/core/Checkbox/checkbox.style.js +5 -0
  24. package/dist/cjs/core/Checkbox/index.js +53 -0
  25. package/dist/cjs/core/DetailCard/index.js +23 -0
  26. package/dist/cjs/core/DonutChart/index.js +167 -0
  27. package/dist/cjs/core/DropdownMenu/index.js +66 -0
  28. package/dist/cjs/core/Empty/index.js +11 -0
  29. package/dist/cjs/core/ExpandableList/ExpandIcon.js +17 -0
  30. package/dist/cjs/core/ExpandableList/ExpandableContainer.js +17 -0
  31. package/dist/cjs/core/ExpandableList/ExpandableItem.js +48 -0
  32. package/dist/cjs/core/ExpandableList/RoundOrder.js +22 -0
  33. package/dist/cjs/core/FailedLoad/index.js +32 -0
  34. package/dist/cjs/core/Fields/FieldsBoolean/index.js +47 -0
  35. package/dist/cjs/core/Fields/FieldsDateTime/index.js +24 -0
  36. package/dist/cjs/core/Fields/FieldsDateTimeRange/index.js +50 -0
  37. package/dist/cjs/core/Fields/FieldsEnum/index.js +60 -0
  38. package/dist/cjs/core/Fields/FieldsFloat/index.js +60 -0
  39. package/dist/cjs/core/Fields/FieldsInt/index.js +78 -0
  40. package/dist/cjs/core/Fields/FieldsInteger/index.js +57 -0
  41. package/dist/cjs/core/Fields/FieldsString/index.js +116 -0
  42. package/dist/cjs/core/Fields/FieldsTextArea/index.js +64 -0
  43. package/dist/cjs/core/Fields/FieldsTimePicker/index.js +54 -0
  44. package/dist/cjs/core/Fields/index.js +28 -0
  45. package/dist/cjs/core/Form/index.js +10 -0
  46. package/dist/cjs/core/FormItem/index.js +38 -0
  47. package/dist/cjs/core/Frequency/index.js +40 -0
  48. package/dist/cjs/core/Icon/index.js +117 -0
  49. package/dist/cjs/core/Input/index.js +66 -0
  50. package/dist/cjs/core/InputGroup/index.js +14 -0
  51. package/dist/cjs/core/InputInteger/formatterInteger.js +15 -0
  52. package/dist/cjs/core/InputInteger/index.js +97 -0
  53. package/dist/cjs/core/InputNumber/index.js +90 -0
  54. package/dist/cjs/core/InputTagItem/index.js +12 -0
  55. package/dist/cjs/core/KitStoreProvider/index.js +23 -0
  56. package/dist/cjs/core/Link/index.js +56 -0
  57. package/dist/cjs/core/Loading/index.js +33 -0
  58. package/dist/cjs/core/Loading/style.js +11 -0
  59. package/dist/cjs/core/Metric/metric.js +21 -0
  60. package/dist/cjs/core/Modal/index.js +214 -0
  61. package/dist/cjs/core/ModalStack/index.js +47 -0
  62. package/dist/cjs/core/Overflow/index.js +117 -0
  63. package/dist/cjs/core/Pagination/index.js +120 -0
  64. package/dist/cjs/core/ParrotTrans/index.js +28 -0
  65. package/dist/cjs/core/Percent/index.js +41 -0
  66. package/dist/cjs/core/Progress/index.js +25 -0
  67. package/dist/cjs/core/Radio/index.js +142 -0
  68. package/dist/cjs/core/SearchInput/index.js +50 -0
  69. package/dist/cjs/core/Second/index.js +43 -0
  70. package/dist/cjs/core/SegmentControl/index.js +43 -0
  71. package/dist/cjs/core/Select/index.js +140 -0
  72. package/dist/cjs/core/SimplePagination/index.js +90 -0
  73. package/dist/cjs/core/Speed/index.js +40 -0
  74. package/dist/cjs/core/StatusCapsule/index.js +100 -0
  75. package/dist/cjs/core/StepProgress/index.js +44 -0
  76. package/dist/cjs/core/Steps/index.js +126 -0
  77. package/dist/cjs/core/Steps/style.js +13 -0
  78. package/dist/cjs/core/Styled/index.js +57 -0
  79. package/dist/cjs/core/Switch/index.js +61 -0
  80. package/dist/cjs/core/Table/TableWidget.js +47 -0
  81. package/dist/cjs/core/Table/common.js +46 -0
  82. package/dist/cjs/core/Table/index.js +112 -0
  83. package/dist/cjs/core/TableForm/AddRowButton.js +108 -0
  84. package/dist/cjs/core/TableForm/Columns/AffixColumn.js +48 -0
  85. package/dist/cjs/core/TableForm/Columns/CheckboxColumn.js +35 -0
  86. package/dist/cjs/core/TableForm/Columns/FormItem.js +20 -0
  87. package/dist/cjs/core/TableForm/Columns/InputColumn.js +117 -0
  88. package/dist/cjs/core/TableForm/Columns/TextColumn.js +44 -0
  89. package/dist/cjs/core/TableForm/Columns/index.js +24 -0
  90. package/dist/cjs/core/TableForm/TableFormBodyCell.js +165 -0
  91. package/dist/cjs/core/TableForm/TableFormBodyRows.js +215 -0
  92. package/dist/cjs/core/TableForm/TableFormHeaderCell.js +93 -0
  93. package/dist/cjs/core/TableForm/index.js +187 -0
  94. package/dist/cjs/core/TableForm/style.js +35 -0
  95. package/dist/cjs/core/TableForm/types.js +10 -0
  96. package/dist/cjs/core/TableForm/utils.js +36 -0
  97. package/dist/cjs/core/Tag/SplitTag.js +64 -0
  98. package/dist/cjs/core/Tag/const.js +12 -0
  99. package/dist/cjs/core/Tag/index.js +96 -0
  100. package/dist/cjs/core/Tag/style.js +14 -0
  101. package/dist/cjs/core/TextArea/index.js +72 -0
  102. package/dist/cjs/core/Time/index.js +31 -0
  103. package/dist/cjs/core/TimePicker/index.js +66 -0
  104. package/dist/cjs/core/TimeZoneSelect/index.js +165 -0
  105. package/dist/cjs/core/Token/index.js +86 -0
  106. package/dist/cjs/core/Token/style.js +5 -0
  107. package/dist/cjs/core/Tooltip/index.js +89 -0
  108. package/dist/cjs/core/Truncate/index.js +49 -0
  109. package/dist/cjs/core/Typo/index.js +130 -0
  110. package/dist/cjs/core/antd.js +208 -0
  111. package/dist/cjs/core/message/index.js +203 -0
  112. package/dist/cjs/core/message-group/index.js +147 -0
  113. package/dist/cjs/coreX/BarChart/index.js +39 -0
  114. package/dist/cjs/coreX/BatchOperation/index.js +149 -0
  115. package/dist/cjs/coreX/ChartWithTooltip/index.js +154 -0
  116. package/dist/cjs/coreX/Counting/index.js +22 -0
  117. package/dist/cjs/coreX/CronCalendar/index.js +105 -0
  118. package/dist/cjs/coreX/CronPlan/index.js +462 -0
  119. package/dist/cjs/coreX/DateRangePicker/AbsoluteDate.js +179 -0
  120. package/dist/cjs/coreX/DateRangePicker/Calendar.js +286 -0
  121. package/dist/cjs/coreX/DateRangePicker/DateRangePicker.style.js +84 -0
  122. package/dist/cjs/coreX/DateRangePicker/InputTime.js +151 -0
  123. package/dist/cjs/coreX/DateRangePicker/RelativeTime.js +53 -0
  124. package/dist/cjs/coreX/DateRangePicker/common.js +195 -0
  125. package/dist/cjs/coreX/DateRangePicker/index.js +331 -0
  126. package/dist/cjs/coreX/DeprecatedDonutChart/index.js +39 -0
  127. package/dist/cjs/coreX/DropdownTransition/index.js +73 -0
  128. package/dist/cjs/coreX/GoBackButton/index.js +45 -0
  129. package/dist/cjs/coreX/I18nNameTag/index.js +37 -0
  130. package/dist/cjs/coreX/NamesTooltip/index.js +34 -0
  131. package/dist/cjs/coreX/OverflowTooltip/index.js +92 -0
  132. package/dist/cjs/coreX/SidebarSubtitle/index.js +13 -0
  133. package/dist/cjs/coreX/SortableList/index.js +33 -0
  134. package/dist/cjs/coreX/SummaryTable/index.js +113 -0
  135. package/dist/cjs/coreX/SwitchWithText/index.js +59 -0
  136. package/dist/cjs/coreX/TabMenu/index.js +152 -0
  137. package/dist/cjs/coreX/TruncatedTextWithTooltip/index.js +69 -0
  138. package/dist/cjs/coreX/UnitWithChart/index.js +118 -0
  139. package/dist/cjs/coreX/common/getCalendarTitle.js +26 -0
  140. package/dist/cjs/hooks/useElementIntersectionRatio.js +30 -0
  141. package/dist/cjs/hooks/useElementResize.js +69 -0
  142. package/dist/cjs/hooks/useElementsSize.js +58 -0
  143. package/dist/cjs/hooks/useMemoCompare.js +17 -0
  144. package/dist/cjs/hooks/useParrotTranslation.js +13 -0
  145. package/dist/cjs/index.js +120 -0
  146. package/dist/cjs/spec/type.js +9 -0
  147. package/dist/{umd → cjs}/stats1.html +1 -1
  148. package/dist/cjs/store/chart.js +65 -0
  149. package/dist/cjs/store/index.js +48 -0
  150. package/dist/cjs/store/modal.js +67 -0
  151. package/dist/cjs/styles/token/color.js +273 -0
  152. package/dist/cjs/utils/constants.js +8 -0
  153. package/dist/cjs/utils/cron-time.js +450 -0
  154. package/dist/cjs/utils/dom.js +16 -0
  155. package/dist/cjs/utils/icon.js +22 -0
  156. package/dist/cjs/utils/isEmpty.js +12 -0
  157. package/dist/cjs/utils/time.js +86 -0
  158. package/dist/cjs/utils/tower.js +188 -0
  159. package/dist/components.css +3101 -2209
  160. package/dist/esm/UIKitProvider/index.js +71 -0
  161. package/dist/esm/core/AccordionCard/index.js +57 -0
  162. package/dist/esm/core/Alert/index.js +78 -0
  163. package/dist/esm/core/Arch/index.js +15 -0
  164. package/dist/esm/core/Badge/index.js +49 -0
  165. package/dist/esm/core/BaseIcon/index.js +74 -0
  166. package/dist/esm/core/Bit/index.js +38 -0
  167. package/dist/esm/core/BitPerSecond/index.js +38 -0
  168. package/dist/esm/core/Bps/index.js +38 -0
  169. package/dist/esm/core/Breadcrumb/index.js +53 -0
  170. package/dist/esm/core/Button/HoverableElement.js +12 -0
  171. package/dist/esm/core/Button/index.js +87 -0
  172. package/dist/esm/core/ButtonGroup/index.js +105 -0
  173. package/dist/esm/core/Byte/index.js +47 -0
  174. package/dist/esm/core/Calendar/index.js +23 -0
  175. package/dist/esm/core/Card/CardBody.js +10 -0
  176. package/dist/esm/core/Card/CardTitle.js +10 -0
  177. package/dist/esm/core/Card/CardWrapper.js +53 -0
  178. package/dist/esm/core/Card/index.js +92 -0
  179. package/dist/esm/core/Cascader/cascader.style.js +12 -0
  180. package/dist/esm/core/Cascader/cascader.widget.js +79 -0
  181. package/dist/esm/core/Cascader/index.js +72 -0
  182. package/dist/esm/core/Checkbox/checkbox.style.js +3 -0
  183. package/dist/esm/core/Checkbox/index.js +51 -0
  184. package/dist/esm/core/DetailCard/index.js +21 -0
  185. package/dist/esm/core/DonutChart/index.js +161 -0
  186. package/dist/esm/core/DropdownMenu/index.js +61 -0
  187. package/dist/esm/core/Empty/index.js +9 -0
  188. package/dist/esm/core/ExpandableList/ExpandIcon.js +15 -0
  189. package/dist/esm/core/ExpandableList/ExpandableContainer.js +15 -0
  190. package/dist/esm/core/ExpandableList/ExpandableItem.js +46 -0
  191. package/dist/esm/core/ExpandableList/RoundOrder.js +20 -0
  192. package/dist/esm/core/FailedLoad/index.js +30 -0
  193. package/dist/esm/core/Fields/FieldsBoolean/index.js +45 -0
  194. package/dist/esm/core/Fields/FieldsDateTime/index.js +22 -0
  195. package/dist/esm/core/Fields/FieldsDateTimeRange/index.js +48 -0
  196. package/dist/esm/core/Fields/FieldsEnum/index.js +58 -0
  197. package/dist/esm/core/Fields/FieldsFloat/index.js +58 -0
  198. package/dist/esm/core/Fields/FieldsInt/index.js +76 -0
  199. package/dist/esm/core/Fields/FieldsInteger/index.js +55 -0
  200. package/dist/esm/core/Fields/FieldsString/index.js +114 -0
  201. package/dist/esm/core/Fields/FieldsTextArea/index.js +62 -0
  202. package/dist/esm/core/Fields/FieldsTimePicker/index.js +52 -0
  203. package/dist/esm/core/Fields/index.js +26 -0
  204. package/dist/esm/core/Form/index.js +8 -0
  205. package/dist/esm/core/FormItem/index.js +36 -0
  206. package/dist/esm/core/Frequency/index.js +38 -0
  207. package/dist/esm/core/Icon/index.js +115 -0
  208. package/dist/esm/core/Input/index.js +64 -0
  209. package/dist/esm/core/InputGroup/index.js +12 -0
  210. package/dist/esm/core/InputInteger/formatterInteger.js +13 -0
  211. package/dist/esm/core/InputInteger/index.js +92 -0
  212. package/dist/esm/core/InputNumber/index.js +85 -0
  213. package/dist/esm/core/InputTagItem/index.js +10 -0
  214. package/dist/esm/core/KitStoreProvider/index.js +17 -0
  215. package/dist/esm/core/Link/index.js +54 -0
  216. package/dist/esm/core/Loading/index.js +31 -0
  217. package/dist/esm/core/Loading/style.js +6 -0
  218. package/dist/esm/core/Metric/metric.js +19 -0
  219. package/dist/esm/core/Modal/index.js +212 -0
  220. package/dist/esm/core/ModalStack/index.js +45 -0
  221. package/dist/esm/core/Overflow/index.js +112 -0
  222. package/dist/esm/core/Pagination/index.js +115 -0
  223. package/dist/esm/core/ParrotTrans/index.js +26 -0
  224. package/dist/esm/core/Percent/index.js +39 -0
  225. package/dist/esm/core/Progress/index.js +23 -0
  226. package/dist/esm/core/Radio/index.js +136 -0
  227. package/dist/esm/core/SearchInput/index.js +48 -0
  228. package/dist/esm/core/Second/index.js +41 -0
  229. package/dist/esm/core/SegmentControl/index.js +41 -0
  230. package/dist/esm/core/Select/index.js +138 -0
  231. package/dist/esm/core/SimplePagination/index.js +88 -0
  232. package/dist/esm/core/Speed/index.js +38 -0
  233. package/dist/esm/core/StatusCapsule/index.js +94 -0
  234. package/dist/esm/core/StepProgress/index.js +42 -0
  235. package/dist/esm/core/Steps/index.js +124 -0
  236. package/dist/esm/core/Steps/style.js +7 -0
  237. package/dist/esm/core/Styled/index.js +45 -0
  238. package/dist/esm/core/Switch/index.js +59 -0
  239. package/dist/esm/core/Table/TableWidget.js +44 -0
  240. package/dist/esm/core/Table/common.js +44 -0
  241. package/dist/esm/core/Table/index.js +104 -0
  242. package/dist/esm/core/TableForm/AddRowButton.js +106 -0
  243. package/dist/esm/core/TableForm/Columns/AffixColumn.js +46 -0
  244. package/dist/esm/core/TableForm/Columns/CheckboxColumn.js +32 -0
  245. package/dist/esm/core/TableForm/Columns/FormItem.js +18 -0
  246. package/dist/esm/core/TableForm/Columns/InputColumn.js +114 -0
  247. package/dist/esm/core/TableForm/Columns/TextColumn.js +41 -0
  248. package/dist/esm/core/TableForm/Columns/index.js +21 -0
  249. package/dist/esm/core/TableForm/TableFormBodyCell.js +163 -0
  250. package/dist/esm/core/TableForm/TableFormBodyRows.js +213 -0
  251. package/dist/esm/core/TableForm/TableFormHeaderCell.js +91 -0
  252. package/dist/esm/core/TableForm/index.js +185 -0
  253. package/dist/esm/core/TableForm/style.js +27 -0
  254. package/dist/esm/core/TableForm/types.js +8 -0
  255. package/dist/esm/core/TableForm/utils.js +32 -0
  256. package/dist/esm/core/Tag/SplitTag.js +62 -0
  257. package/dist/esm/core/Tag/const.js +10 -0
  258. package/dist/esm/core/Tag/index.js +91 -0
  259. package/dist/esm/core/Tag/style.js +9 -0
  260. package/dist/esm/core/TextArea/index.js +70 -0
  261. package/dist/esm/core/Time/index.js +29 -0
  262. package/dist/esm/core/TimePicker/index.js +64 -0
  263. package/dist/esm/core/TimeZoneSelect/index.js +163 -0
  264. package/dist/esm/core/Token/index.js +81 -0
  265. package/dist/esm/core/Token/style.js +3 -0
  266. package/dist/esm/core/Tooltip/index.js +87 -0
  267. package/dist/esm/core/Truncate/index.js +47 -0
  268. package/dist/esm/core/Typo/index.js +128 -0
  269. package/dist/esm/core/antd.js +205 -0
  270. package/dist/esm/core/message/index.js +179 -0
  271. package/dist/esm/core/message-group/index.js +143 -0
  272. package/dist/esm/coreX/BarChart/index.js +34 -0
  273. package/dist/esm/coreX/BatchOperation/index.js +144 -0
  274. package/dist/esm/coreX/ChartWithTooltip/index.js +149 -0
  275. package/dist/esm/coreX/Counting/index.js +20 -0
  276. package/dist/esm/coreX/CronCalendar/index.js +103 -0
  277. package/dist/esm/coreX/CronPlan/index.js +457 -0
  278. package/dist/esm/coreX/DateRangePicker/AbsoluteDate.js +177 -0
  279. package/dist/esm/coreX/DateRangePicker/Calendar.js +284 -0
  280. package/dist/esm/coreX/DateRangePicker/DateRangePicker.style.js +77 -0
  281. package/dist/esm/coreX/DateRangePicker/InputTime.js +149 -0
  282. package/dist/esm/coreX/DateRangePicker/RelativeTime.js +51 -0
  283. package/dist/esm/coreX/DateRangePicker/common.js +183 -0
  284. package/dist/esm/coreX/DateRangePicker/index.js +325 -0
  285. package/dist/esm/coreX/DeprecatedDonutChart/index.js +37 -0
  286. package/dist/esm/coreX/DropdownTransition/index.js +71 -0
  287. package/dist/esm/coreX/GoBackButton/index.js +43 -0
  288. package/dist/esm/coreX/I18nNameTag/index.js +35 -0
  289. package/dist/esm/coreX/NamesTooltip/index.js +32 -0
  290. package/dist/esm/coreX/OverflowTooltip/index.js +90 -0
  291. package/dist/esm/coreX/SidebarSubtitle/index.js +11 -0
  292. package/dist/esm/coreX/SortableList/index.js +31 -0
  293. package/dist/esm/coreX/SummaryTable/index.js +108 -0
  294. package/dist/esm/coreX/SwitchWithText/index.js +57 -0
  295. package/dist/esm/coreX/TabMenu/index.js +150 -0
  296. package/dist/esm/coreX/TruncatedTextWithTooltip/index.js +67 -0
  297. package/dist/esm/coreX/UnitWithChart/index.js +113 -0
  298. package/dist/esm/coreX/common/getCalendarTitle.js +24 -0
  299. package/dist/esm/hooks/useElementIntersectionRatio.js +28 -0
  300. package/dist/esm/hooks/useElementResize.js +67 -0
  301. package/dist/esm/hooks/useElementsSize.js +56 -0
  302. package/dist/esm/hooks/useMemoCompare.js +15 -0
  303. package/dist/esm/hooks/useParrotTranslation.js +11 -0
  304. package/dist/esm/index.js +34 -10233
  305. package/dist/esm/spec/type.js +7 -0
  306. package/dist/esm/stats1.html +1 -1
  307. package/dist/esm/store/chart.js +62 -0
  308. package/dist/esm/store/index.js +37 -0
  309. package/dist/esm/store/modal.js +63 -0
  310. package/dist/esm/styles/token/color.js +271 -0
  311. package/dist/esm/utils/constants.js +5 -0
  312. package/dist/esm/utils/cron-time.js +448 -0
  313. package/dist/esm/utils/dom.js +14 -0
  314. package/dist/esm/utils/icon.js +20 -0
  315. package/dist/esm/utils/isEmpty.js +10 -0
  316. package/dist/esm/utils/time.js +76 -0
  317. package/dist/esm/utils/tower.js +173 -0
  318. package/dist/src/index.d.ts +0 -1
  319. package/dist/style.css +2011 -2011
  320. package/dist/token.css +209 -415
  321. package/package.json +8 -6
  322. package/dist/src/styles/token/token.d.ts +0 -1
  323. package/dist/umd/index.js +0 -10322
@@ -0,0 +1,147 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
9
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10
+ var __spreadValues = (a, b) => {
11
+ for (var prop in b || (b = {}))
12
+ if (__hasOwnProp.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ if (__getOwnPropSymbols)
15
+ for (var prop of __getOwnPropSymbols(b)) {
16
+ if (__propIsEnum.call(b, prop))
17
+ __defNormalProp(a, prop, b[prop]);
18
+ }
19
+ return a;
20
+ };
21
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
22
+ var __publicField = (obj, key, value) => {
23
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
24
+ return value;
25
+ };
26
+ function makeUUID(length = 25) {
27
+ let result = "";
28
+ const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
29
+ const charactersLength = characters.length;
30
+ for (let i = 0; i < length; i++) {
31
+ result += characters.charAt(Math.floor(Math.random() * charactersLength));
32
+ }
33
+ return result;
34
+ }
35
+ class Batcher {
36
+ constructor(originalMethod, batchHelper) {
37
+ __publicField(this, "batchSize", 2);
38
+ __publicField(this, "batchTime", 200);
39
+ __publicField(this, "scheduler", {});
40
+ __publicField(this, "originalMethod");
41
+ __publicField(this, "batchHelper");
42
+ this.originalMethod = originalMethod;
43
+ this.batchHelper = batchHelper;
44
+ }
45
+ addMessage(originContent) {
46
+ if (document.hidden) {
47
+ return;
48
+ }
49
+ const batchKey = this.batchHelper.getBatchKey(originContent.content);
50
+ if (batchKey == null) {
51
+ this.originalMethod(originContent);
52
+ return;
53
+ }
54
+ if (!this.scheduler[batchKey]) {
55
+ this.scheduler[batchKey] = {
56
+ firedHandlers: {},
57
+ pendingMessages: {}
58
+ };
59
+ }
60
+ const messageStore = this.scheduler[batchKey];
61
+ const { firedHandlers, pendingMessages, groupedCtx } = messageStore;
62
+ if (groupedCtx) {
63
+ groupedCtx.count++;
64
+ this.applyContent(batchKey, originContent, messageStore);
65
+ return;
66
+ }
67
+ const messageCount = Object.keys(firedHandlers).length + Object.keys(pendingMessages).length;
68
+ if (messageCount + 1 > this.batchSize) {
69
+ for (const k in firedHandlers) {
70
+ try {
71
+ firedHandlers[k]();
72
+ } catch (e) {
73
+ }
74
+ delete firedHandlers[k];
75
+ }
76
+ for (const k in pendingMessages) {
77
+ delete pendingMessages[k];
78
+ }
79
+ messageStore.groupedCtx = {
80
+ key: originContent.key,
81
+ count: messageCount + 1
82
+ };
83
+ this.applyContent(batchKey, originContent, messageStore);
84
+ return;
85
+ }
86
+ pendingMessages[originContent.key] = originContent;
87
+ setTimeout(() => {
88
+ if (originContent.key in pendingMessages) {
89
+ delete pendingMessages[originContent.key];
90
+ originContent.onClose = () => {
91
+ delete firedHandlers[originContent.key];
92
+ };
93
+ const handler = this.originalMethod(originContent);
94
+ firedHandlers[originContent.key] = handler;
95
+ }
96
+ }, this.batchTime);
97
+ }
98
+ applyContent(batchKey, content, store) {
99
+ content.content = this.batchHelper.getBatchContent(
100
+ batchKey,
101
+ store.groupedCtx.count
102
+ );
103
+ content.key = store.groupedCtx.key;
104
+ content.onClose = () => {
105
+ delete store.groupedCtx;
106
+ };
107
+ this.originalMethod(content);
108
+ }
109
+ }
110
+ function createBatchMessageMethods(message, batchHelper) {
111
+ let _message = __spreadValues({}, message);
112
+ const methods = [
113
+ "success",
114
+ "error",
115
+ "info",
116
+ "warning",
117
+ "warn",
118
+ "loading"
119
+ ];
120
+ for (const method of methods) {
121
+ const originalMethod = _message[method];
122
+ const batcher = new Batcher(originalMethod, batchHelper);
123
+ _message[method] = function(...args) {
124
+ const key = makeUUID();
125
+ const content = normalizeContent(args, method);
126
+ batcher.addMessage(__spreadProps(__spreadValues({}, content), { key }));
127
+ return () => {
128
+ };
129
+ };
130
+ }
131
+ return _message;
132
+ }
133
+ function normalizeContent(args, type) {
134
+ const c = args[0];
135
+ if (c && typeof c === "object" && "content" in c) {
136
+ return c;
137
+ }
138
+ return {
139
+ content: c,
140
+ duration: typeof args[1] === "number" ? args[1] : 6,
141
+ type: type === "warn" ? "warning" : type
142
+ };
143
+ }
144
+
145
+ exports.Batcher = Batcher;
146
+ exports.createBatchMessageMethods = createBatchMessageMethods;
147
+ exports.makeUUID = makeUUID;
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var tower = require('../../utils/tower.js');
6
+ var React = require('react');
7
+
8
+ const StackBar = "skwah65";
9
+ function getWidth(input) {
10
+ const {
11
+ value,
12
+ unit
13
+ } = tower.formatPercent(input);
14
+ return value + unit;
15
+ }
16
+ const BarChart = ({
17
+ data,
18
+ total
19
+ }) => /* @__PURE__ */React.createElement("div", {
20
+ className: StackBar
21
+ }, (data || []).map(item => {
22
+ const {
23
+ value,
24
+ color
25
+ } = item;
26
+ const width = total === 0 ? 0 : getWidth(100 * value / total);
27
+ return /* @__PURE__ */React.createElement("div", {
28
+ className: "stack-bar-item",
29
+ style: {
30
+ width,
31
+ background: color,
32
+ display: value === 0 || total === 0 ? "none" : "inline-block"
33
+ }
34
+ });
35
+ }));
36
+ var BarChart$1 = BarChart;
37
+
38
+ exports.default = BarChart$1;
39
+ exports.getWidth = getWidth;
@@ -0,0 +1,149 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var iconsReact = require('@cloudtower/icons-react');
6
+ var index$2 = require('../../core/Button/index.js');
7
+ var index$3 = require('../../core/Icon/index.js');
8
+ var index$4 = require('../../core/Overflow/index.js');
9
+ var index$1 = require('../../core/Tooltip/index.js');
10
+ var index = require('../../core/Typo/index.js');
11
+ var useParrotTranslation = require('../../hooks/useParrotTranslation.js');
12
+ var antd = require('antd');
13
+ var cs = require('classnames');
14
+ var React = require('react');
15
+
16
+ var __defProp = Object.defineProperty;
17
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
18
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
19
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
20
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
21
+ enumerable: true,
22
+ configurable: true,
23
+ writable: true,
24
+ value
25
+ }) : obj[key] = value;
26
+ var __spreadValues = (a, b) => {
27
+ for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
28
+ if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
29
+ if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
30
+ }
31
+ return a;
32
+ };
33
+ const SelectToolbar = "s1ebs0ra";
34
+ const renderBatchOperationMenuItem = (act, idx = 0) => {
35
+ if (act === "divider") {
36
+ return /* @__PURE__ */React.createElement(antd.Menu.Divider, {
37
+ key: `divider-${idx}`
38
+ });
39
+ }
40
+ if ("children" in act) {
41
+ return /* @__PURE__ */React.createElement(antd.Menu.SubMenu, {
42
+ className: cs(index.Typo.Label.l4_regular),
43
+ key: act.key,
44
+ title: (act == null ? void 0 : act.icon) ? React.cloneElement(act.icon, {}, act.title) : /* @__PURE__ */React.createElement("span", null, act.title)
45
+ }, act.children.map(renderBatchOperationMenuItem));
46
+ }
47
+ const Inner = props => {
48
+ return /* @__PURE__ */React.createElement("span", __spreadValues({}, props), act.icon ? React.cloneElement(act.icon, {}, act.title) : null, (act == null ? void 0 : act.count) && /* @__PURE__ */React.createElement("span", null, act.count));
49
+ };
50
+ return /* @__PURE__ */React.createElement(antd.Menu.Item, {
51
+ key: act.key,
52
+ onClick: act.onClick,
53
+ danger: act.danger,
54
+ disabled: !!(act == null ? void 0 : act.disabled),
55
+ className: (act == null ? void 0 : act.danger) && act.disabled ? "item-danger-disabled" : ""
56
+ }, "tooltip" in act && act.tooltip ? /* @__PURE__ */React.createElement(index$1, {
57
+ title: act.tooltip
58
+ }, /* @__PURE__ */React.createElement(Inner, null)) : /* @__PURE__ */React.createElement(Inner, null));
59
+ };
60
+ const BatchOperation = props => {
61
+ const {
62
+ count,
63
+ onClearSelection,
64
+ actions
65
+ } = props;
66
+ const {
67
+ t
68
+ } = useParrotTranslation();
69
+ const els = React.useMemo(() => {
70
+ return actions.map((act, idx) => {
71
+ if (act === "divider") {
72
+ return /* @__PURE__ */React.createElement(antd.Menu.Divider, {
73
+ key: `divider-${idx}`
74
+ });
75
+ }
76
+ if ("children" in act) {
77
+ return /* @__PURE__ */React.createElement(antd.Dropdown, {
78
+ key: act.key,
79
+ trigger: ["click"],
80
+ placement: "bottomRight",
81
+ overlay: /* @__PURE__ */React.createElement(antd.Menu, null, act.children.map(renderBatchOperationMenuItem))
82
+ }, /* @__PURE__ */React.createElement(index$2, {
83
+ key: act.key,
84
+ type: "ordinary-onTint",
85
+ prefixIcon: act.icon != null ? act.icon : void 0,
86
+ danger: act == null ? void 0 : act.danger,
87
+ className: `sub-menu-${act.key}`,
88
+ suffixIcon: /* @__PURE__ */React.createElement(index$3, {
89
+ src: iconsReact.ArrowChevronDown16SecondaryIcon
90
+ })
91
+ }, act.title));
92
+ }
93
+ if (act.tooltip) {
94
+ return /* @__PURE__ */React.createElement(index$1, {
95
+ title: act.tooltip
96
+ }, /* @__PURE__ */React.createElement(index$2, {
97
+ key: act.key,
98
+ type: "ordinary-onTint",
99
+ danger: act.danger,
100
+ onClick: act.onClick,
101
+ disabled: act.disabled,
102
+ prefixIcon: act.icon != null ? act.icon : void 0
103
+ }, act.title));
104
+ }
105
+ return /* @__PURE__ */React.createElement(index$2, {
106
+ key: act.key,
107
+ type: "ordinary-onTint",
108
+ danger: act.danger,
109
+ onClick: act.onClick,
110
+ disabled: act.disabled,
111
+ prefixIcon: act.icon != null ? act.icon : void 0
112
+ }, act.title);
113
+ });
114
+ }, [actions]);
115
+ const getExtraEl = React.useCallback(end => /* @__PURE__ */React.createElement(antd.Dropdown, {
116
+ overlay: /* @__PURE__ */React.createElement(antd.Menu, null, actions.slice(end).map((act, idx) => {
117
+ return act === "divider" ? /* @__PURE__ */React.createElement(antd.Menu.Divider, {
118
+ key: `divider-${idx}`
119
+ }) : "children" in act ? /* @__PURE__ */React.createElement(antd.Menu.SubMenu, {
120
+ className: cs(index.Typo.Label.l4_regular),
121
+ key: act.key,
122
+ title: (act == null ? void 0 : act.icon) ? React.cloneElement(act.icon, {}, act.title) : /* @__PURE__ */React.createElement("span", null, act.title)
123
+ }, act.children.map(renderBatchOperationMenuItem)) : renderBatchOperationMenuItem(act);
124
+ }))
125
+ }, /* @__PURE__ */React.createElement(index$3, {
126
+ className: "more-btn",
127
+ src: iconsReact.MoreEllipsis316BoldBlueIcon
128
+ })), [actions]);
129
+ return /* @__PURE__ */React.createElement("div", {
130
+ className: SelectToolbar
131
+ }, /* @__PURE__ */React.createElement("span", {
132
+ className: "select-total"
133
+ }, t("components.selected_item_with_count", {
134
+ count
135
+ }), /* @__PURE__ */React.createElement(index$3, {
136
+ src: iconsReact.XmarkRemove16SecondaryIcon,
137
+ hoverSrc: iconsReact.XmarkRemove16BlueIcon,
138
+ onClick: onClearSelection
139
+ })), /* @__PURE__ */React.createElement(index$4.ExtraOverflow, {
140
+ className: "action-group",
141
+ reverse: true,
142
+ els,
143
+ extraEl: getExtraEl
144
+ }));
145
+ };
146
+ var BatchOperation$1 = BatchOperation;
147
+
148
+ exports.default = BatchOperation$1;
149
+ exports.renderBatchOperationMenuItem = renderBatchOperationMenuItem;
@@ -0,0 +1,154 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var react = require('@linaria/react');
6
+ var index$9 = require('../../core/Bit/index.js');
7
+ var index$8 = require('../../core/BitPerSecond/index.js');
8
+ var index$7 = require('../../core/Bps/index.js');
9
+ var index$4 = require('../../core/Byte/index.js');
10
+ var index$5 = require('../../core/Frequency/index.js');
11
+ var index$3 = require('../../core/Percent/index.js');
12
+ var index$a = require('../../core/Second/index.js');
13
+ var index$6 = require('../../core/Speed/index.js');
14
+ var index$2 = require('../../core/Styled/index.js');
15
+ var index$1 = require('../../core/Tooltip/index.js');
16
+ var index = require('../UnitWithChart/index.js');
17
+ var tower = require('../../utils/tower.js');
18
+ var _ = require('lodash');
19
+ var React = require('react');
20
+
21
+ const units = {
22
+ Percent: index$3,
23
+ Byte: index$4,
24
+ Frequency: index$5,
25
+ Speed: index$6,
26
+ Bps: index$7,
27
+ BitPerSecond: index$8,
28
+ Bit: index$9,
29
+ Second: index$a
30
+ };
31
+ const ChartContent = /*#__PURE__*/react.styled('div')({
32
+ name: "ChartContent",
33
+ class: "c18bcrac",
34
+ propsAsIs: false
35
+ });
36
+ const ChartTooltipContainer = /*#__PURE__*/react.styled('div')({
37
+ name: "ChartTooltipContainer",
38
+ class: "cro7kg2",
39
+ propsAsIs: false
40
+ });
41
+ const ChartTooltipRow = /*#__PURE__*/react.styled('div')({
42
+ name: "ChartTooltipRow",
43
+ class: "c14wcxf0",
44
+ propsAsIs: false
45
+ });
46
+ const _exp = () => ChartTooltipRow;
47
+ const ChartTooltipTitle = /*#__PURE__*/react.styled(_exp())({
48
+ name: "ChartTooltipTitle",
49
+ class: "coy29mj",
50
+ propsAsIs: true
51
+ });
52
+ const _exp2 = () => props => props.color;
53
+ const SpaceStatus = /*#__PURE__*/react.styled('i')({
54
+ name: "SpaceStatus",
55
+ class: "s11212zy",
56
+ propsAsIs: false,
57
+ vars: {
58
+ "s11212zy-0": [_exp2()]
59
+ }
60
+ });
61
+ const PrimaryUnit = /*#__PURE__*/react.styled('div')({
62
+ name: "PrimaryUnit",
63
+ class: "p1lyky6c",
64
+ propsAsIs: false
65
+ });
66
+ const ChartWithUnit = props => {
67
+ const {
68
+ items,
69
+ rawValue,
70
+ unit,
71
+ chartType,
72
+ tableUnit,
73
+ total
74
+ } = props;
75
+ const finalTableUnit = tableUnit != null ? tableUnit : unit;
76
+ const emptyDisplay = rawValue2 => {
77
+ if (_.isNil(rawValue2)) {
78
+ return /* @__PURE__ */React.createElement(index$2.TertiaryText, null, "-");
79
+ }
80
+ return finalTableUnit === "Percent" ?
81
+ // process 0.0%
82
+ /* @__PURE__ */
83
+ React.createElement("span", {
84
+ className: index.UnitWrapper
85
+ }, /* @__PURE__ */React.createElement(index$3, {
86
+ rawValue: rawValue2,
87
+ decimals: 1
88
+ })) : rawValue2;
89
+ };
90
+ return /* @__PURE__ */React.createElement(ChartContent, null, rawValue || rawValue === 0 ? /* @__PURE__ */React.createElement(index.default, {
91
+ unit: finalTableUnit,
92
+ rawValue: chartType === "barChart" ? tower.formatPercent(rawValue / total * 100, 1).numberValue : rawValue,
93
+ total,
94
+ chartType,
95
+ data: items
96
+ }) : emptyDisplay(rawValue));
97
+ };
98
+ const ChartWithTooltip = props => {
99
+ const {
100
+ title,
101
+ items,
102
+ rawValue,
103
+ unit,
104
+ chartType,
105
+ tableUnit,
106
+ saturated
107
+ } = props;
108
+ const KitUnit = units[unit];
109
+ const total = title.value || 0;
110
+ const finalTableUnit = tableUnit != null ? tableUnit : unit;
111
+ const emptyDisplay = rawValue2 => {
112
+ if (_.isNil(rawValue2)) {
113
+ return /* @__PURE__ */React.createElement(index$2.TertiaryText, null, "-");
114
+ }
115
+ return finalTableUnit === "Percent" ?
116
+ // process 0.0%
117
+ /* @__PURE__ */
118
+ React.createElement(index$3, {
119
+ rawValue: rawValue2,
120
+ decimals: 1
121
+ }) : rawValue2;
122
+ };
123
+ return /* @__PURE__ */React.createElement(index$1, {
124
+ title: /* @__PURE__ */React.createElement(ChartTooltipContainer, null, /* @__PURE__ */React.createElement(ChartTooltipTitle, null, /* @__PURE__ */React.createElement("label", null, title.label), /* @__PURE__ */React.createElement(KitUnit, {
125
+ rawValue: total
126
+ })), items.map(item => {
127
+ var _a;
128
+ return /* @__PURE__ */React.createElement(ChartTooltipRow, {
129
+ key: item.label
130
+ }, /* @__PURE__ */React.createElement("label", null, /* @__PURE__ */React.createElement(SpaceStatus, {
131
+ color: item.color
132
+ }), /* @__PURE__ */React.createElement("span", null, item.label)), /* @__PURE__ */React.createElement(PrimaryUnit, {
133
+ className: "value"
134
+ }, /* @__PURE__ */React.createElement(KitUnit, {
135
+ rawValue: item.value || 0
136
+ }), /* @__PURE__ */React.createElement("span", null, "(", total ? (item.value ? tower.formatPercent((item.value || 0) / total * 100, 1, (_a = item.saturated) != null ? _a : true).value : 0) + "%" : "-", ")")));
137
+ })),
138
+ overlayStyle: {
139
+ maxWidth: 500,
140
+ minWidth: 246
141
+ }
142
+ }, /* @__PURE__ */React.createElement(ChartContent, null, total ? rawValue ? /* @__PURE__ */React.createElement(index.default, {
143
+ unit: finalTableUnit,
144
+ rawValue: chartType === "barChart" ? tower.formatPercent(rawValue / total * 100, 1, saturated != null ? saturated : true).numberValue : rawValue,
145
+ total,
146
+ chartType,
147
+ data: items,
148
+ saturated
149
+ }) : emptyDisplay(rawValue) : emptyDisplay(null)));
150
+ };
151
+ var ChartWithTooltip$1 = ChartWithTooltip;
152
+
153
+ exports.ChartWithUnit = ChartWithUnit;
154
+ exports.default = ChartWithTooltip$1;
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const Counting = (props) => {
6
+ const { stop, interval = 1e3, render } = props;
7
+ const [, setState] = React.useState(true);
8
+ React.useEffect(() => {
9
+ if (stop)
10
+ return;
11
+ const timer = setInterval(() => {
12
+ setState((state) => !state);
13
+ }, interval);
14
+ return () => {
15
+ clearInterval(timer);
16
+ };
17
+ }, [stop, interval]);
18
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, render());
19
+ };
20
+ var Counting$1 = Counting;
21
+
22
+ module.exports = Counting$1;
@@ -0,0 +1,105 @@
1
+ 'use strict';
2
+
3
+ var icons = require('@ant-design/icons');
4
+ var core = require('@linaria/core');
5
+ var index = require('../../core/Calendar/index.js');
6
+ var index$2 = require('../../core/Tooltip/index.js');
7
+ var index$1 = require('../../core/Typo/index.js');
8
+ var getCalendarTitle = require('../common/getCalendarTitle.js');
9
+ var useParrotTranslation = require('../../hooks/useParrotTranslation.js');
10
+ var cronTime = require('../../utils/cron-time.js');
11
+ var dayjs = require('dayjs');
12
+ var moment = require('moment');
13
+ var React = require('react');
14
+
15
+ const CronCalendarWrapper = "clm1wy1";
16
+ const Title = "t1tsm00v";
17
+ const Control = "c167wnad";
18
+ const Cell = "cxhf7dh";
19
+ const CronCalendar = ({
20
+ plans
21
+ }) => {
22
+ const {
23
+ t,
24
+ i18n
25
+ } = useParrotTranslation();
26
+ const [value, setValue] = React.useState(moment());
27
+ const days = React.useMemo(() => {
28
+ const sendAt = [];
29
+ const lastDayOfMonth = dayjs(value.valueOf()).endOf("month");
30
+ for (const plan of plans) {
31
+ if (plan.empty) {
32
+ continue;
33
+ }
34
+ const cronTime$1 = new cronTime.CronTime(plan.expression, plan.startAt);
35
+ let current = cronTime$1["getNextDateFromWithValidation"](dayjs());
36
+ while (current.isBefore(lastDayOfMonth)) {
37
+ sendAt.push(current);
38
+ cronTime$1.setLastSendAt(current);
39
+ current = cronTime$1["getNextDateFromWithValidation"](current);
40
+ }
41
+ }
42
+ return sendAt;
43
+ }, [value, plans]);
44
+ return /* @__PURE__ */React.createElement("div", {
45
+ className: CronCalendarWrapper
46
+ }, /* @__PURE__ */React.createElement(index, {
47
+ onChange: setValue,
48
+ value,
49
+ fullscreen: false,
50
+ headerRender: ({
51
+ value: value2,
52
+ onChange
53
+ }) => /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("div", {
54
+ className: core.cx(Title, index$1.Typo.Label.l4_bold)
55
+ }, t("components.generate_date_preview")), /* @__PURE__ */React.createElement("div", {
56
+ className: core.cx(Control, index$1.Typo.Label.l4_regular)
57
+ }, /* @__PURE__ */React.createElement(icons.LeftOutlined, {
58
+ onClick: () => onChange(value2.clone().subtract(1, "month"))
59
+ }), t("components.date_with_year_and_month", {
60
+ year: value2.format("YYYY"),
61
+ month: getCalendarTitle.getCalendarTitle(value2.format("M"), t, i18n),
62
+ interpolation: {
63
+ escapeValue: false
64
+ }
65
+ }), /* @__PURE__ */React.createElement(icons.RightOutlined, {
66
+ onClick: () => onChange(value2.clone().add(1, "month"))
67
+ }))),
68
+ dateFullCellRender: date => {
69
+ const activeDays = days.filter(d => d.startOf("day").isSame(dayjs(date.valueOf()).startOf("day")));
70
+ return /* @__PURE__ */React.createElement(index$2, {
71
+ title: activeDays.length === 0 ? null : activeDays.length === 1 ?
72
+ // TODO pass the callback via props and remove this
73
+ t("components.will_generate_one_reporte_with_date_and_time", {
74
+ date: activeDays[0].format("YYYY/M/D"),
75
+ time: activeDays[0].format("HH:mm"),
76
+ interpolation: {
77
+ escapeValue: false
78
+ }
79
+ }) : /* @__PURE__ */React.createElement(React.Fragment, null, t("components.will_generate_report_will_date_and_count", {
80
+ date: activeDays[0].format("YYYY/M/D"),
81
+ count: activeDays.length,
82
+ interpolation: {
83
+ escapeValue: false
84
+ }
85
+ }), /* @__PURE__ */React.createElement("br", null), activeDays.map((d, idx) => /* @__PURE__ */React.createElement("div", {
86
+ key: idx
87
+ }, d.format("HH:mm"), /* @__PURE__ */React.createElement("br", null)))),
88
+ placement: "bottom"
89
+ }, /* @__PURE__ */React.createElement("div", {
90
+ className: core.cx(Cell, index$1.Typo.Label.l4_regular, activeDays.length > 0 && "active"),
91
+ title: ""
92
+ }, date.date(), /* @__PURE__ */React.createElement("div", {
93
+ className: "dots"
94
+ }, activeDays.length < 4 && activeDays.map((_, idx) => /* @__PURE__ */React.createElement("span", {
95
+ className: "dot",
96
+ key: idx
97
+ })), activeDays.length >= 4 && /* @__PURE__ */React.createElement("div", {
98
+ className: "bar"
99
+ }))));
100
+ }
101
+ }));
102
+ };
103
+ var CronCalendar$1 = CronCalendar;
104
+
105
+ module.exports = CronCalendar$1;