@baishuyun/ui-base 6.3.2 → 6.4.1

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 (264) hide show
  1. package/dist/Amap/AmapProvider/index.js +3 -3
  2. package/dist/Amap/{AmapProvider-CTn2CH8s.js → AmapProvider-CwKdpmCg.js} +1 -1
  3. package/dist/Amap/index.js +3 -3
  4. package/dist/Calendar/{AllDaySection-DS0Frx1p.js → AllDaySection-CseF1DuB.js} +3 -3
  5. package/dist/Calendar/{Calendar-BIjk9zys.js → Calendar-Yu2HfA5D.js} +85 -95
  6. package/dist/Calendar/{CurrentTimeIndicator-DaIywtIA.js → CurrentTimeIndicator-CUeblc9r.js} +2 -2
  7. package/dist/Calendar/{EventCard-D_VeOVDQ.js → EventCard-L6jaKgEw.js} +3 -2
  8. package/dist/Calendar/{TimeAxis-gKb8dTwY.js → TimeAxis-cK2_3FeM.js} +1 -1
  9. package/dist/Calendar/{TimeGrid-D8Du5vFP.js → TimeGrid-B8lvUb1W.js} +2 -2
  10. package/dist/Calendar/index.js +15 -16
  11. package/dist/Calendar/{layout-DvWx_7gn.js → layout-CaPxiRd-.js} +94 -96
  12. package/dist/Calendar/subcomponents/AllDaySection/index.js +8 -0
  13. package/dist/Calendar/subcomponents/CurrentTimeIndicator/index.js +5 -0
  14. package/dist/Calendar/subcomponents/EventCard/index.js +6 -0
  15. package/dist/Calendar/subcomponents/TimeAxis/index.js +4 -0
  16. package/dist/Calendar/subcomponents/TimeGrid/index.js +4 -0
  17. package/dist/Calendar/{style-hCRKx3m1.js → theme-BzNDRi0U.js} +19 -3
  18. package/dist/Calendar/utils/index.js +37 -41
  19. package/dist/Calendar/utils/layout/index.js +2 -2
  20. package/dist/Calendar/utils/theme/index.js +2 -0
  21. package/dist/ColorPicker/{ColorPicker-BNPxmfw_.js → ColorPicker-By-Y8Tyz.js} +3 -3
  22. package/dist/ColorPicker/index.js +4 -4
  23. package/dist/ConfigProvider/index.js +2 -2
  24. package/dist/DatePicker/DatePicker-PCdNachD.js +115 -0
  25. package/dist/DatePicker/{DatePickerPanel-BaVC1tq2.js → DatePickerPanel-HoxXteK0.js} +13 -12
  26. package/dist/DatePicker/{ensureDayjsPlugins-DZjJnZgo.js → ensureDayjsPlugins-C3aqki6i.js} +3 -4
  27. package/dist/DatePicker/index.js +5 -5
  28. package/dist/DropDown/{DropDown-m3HT_eex.js → DropDown-CvQAbsEo.js} +11 -11
  29. package/dist/DropDown/index.js +4 -4
  30. package/dist/Editor/{Buttons-BB3xV8ku.js → Buttons-DmSUkHWl.js} +4 -4
  31. package/dist/Editor/ToolbarPlugin/Buttons/index.js +8 -8
  32. package/dist/Editor/index.js +8 -8
  33. package/dist/Gantt/GanttChart/index.js +15 -0
  34. package/dist/Gantt/GanttChart-DJA8pG9U.js +2139 -0
  35. package/dist/Gantt/GanttHighlightContext-AIpN3-af.js +12 -0
  36. package/dist/Gantt/GanttTable/index.js +10 -0
  37. package/dist/Gantt/GanttTable-Di_p-0M1.js +83 -0
  38. package/dist/Gantt/GanttToolBar/index.js +11 -0
  39. package/dist/Gantt/GanttToolBar-D5pQdrzv.js +105 -0
  40. package/dist/Gantt/collapseKeys-C8139wvy.js +160 -0
  41. package/dist/Gantt/columnResize-By_1E48E.js +46 -0
  42. package/dist/Gantt/constants-D4ur8WRs.js +39 -0
  43. package/dist/Gantt/highlightTarget-DmzCIiQb.js +25 -0
  44. package/dist/Gantt/index.js +374 -0
  45. package/dist/Gantt/timelineViewConfig-BXl2UkN8.js +118 -0
  46. package/dist/Gantt/utils/index.js +6 -0
  47. package/dist/Modal/{Modal-CrK8gFOn.js → Modal-D3LFqIV4.js} +3 -3
  48. package/dist/Modal/index.js +1 -1
  49. package/dist/Select/{Select-Dz_xr4my.js → Select-OjCjCogR.js} +144 -138
  50. package/dist/Select/{SelectInputSearch-GHYAmQ3A.js → SelectInputSearch-DXPTGSc2.js} +1 -1
  51. package/dist/Select/index.js +5 -5
  52. package/dist/Table/Table-3-kFIm5v.js +543 -0
  53. package/dist/Table/constants-CKqc9Os_.js +25 -0
  54. package/dist/Table/hooks/index.js +2 -0
  55. package/dist/Table/hooks-CJ2CnSep.js +108 -0
  56. package/dist/Table/index.js +7 -0
  57. package/dist/Table/processRowspan-BCzfI5un.js +144 -0
  58. package/dist/Table/utils/index.js +2 -0
  59. package/dist/Tabs/{Tabs-CPRNkfMo.js → Tabs-DVQcB3YG.js} +1 -1
  60. package/dist/Tabs/index.js +1 -1
  61. package/dist/Tooltip/Tooltip-DW_XP13m.js +171 -0
  62. package/dist/Tooltip/index.js +1 -1
  63. package/dist/Tree/index.js +1 -1
  64. package/dist/animations/index.d.ts +2 -2
  65. package/dist/components/Amap/__tests__/helpers.d.ts +6 -0
  66. package/dist/components/Calendar/__tests__/helpers/testFormatMessage.d.ts +1 -1
  67. package/dist/components/Calendar/context/CalendarContext.d.ts +2 -1
  68. package/dist/components/Calendar/index.d.ts +2 -2
  69. package/dist/components/Calendar/{shared → subcomponents}/AllDaySection/AllDaySection.d.ts +1 -1
  70. package/dist/components/Calendar/subcomponents/DayView/DayView.d.ts +3 -0
  71. package/dist/components/Calendar/{shared → subcomponents}/EventCard/EventCard.d.ts +1 -1
  72. package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/MonthCell/MonthCellPopover/MonthCellPopover.d.ts +1 -1
  73. package/dist/components/Calendar/subcomponents/MonthView/MonthView.d.ts +3 -0
  74. package/dist/components/Calendar/{panels/WeekPanel → subcomponents}/WeekAllDaySection/WeekAllDaySection.d.ts +1 -1
  75. package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/WeekEventLayer/MoreButton.d.ts +1 -1
  76. package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/WeekEventLayer/WeekEventLayer.d.ts +1 -1
  77. package/dist/components/Calendar/subcomponents/WeekView/WeekView.d.ts +3 -0
  78. package/dist/components/Calendar/utils/dateUtils.d.ts +2 -1
  79. package/dist/components/Calendar/utils/eventUtils.d.ts +1 -1
  80. package/dist/components/Calendar/utils/layout/dayLayoutAlgorithm.d.ts +1 -1
  81. package/dist/components/Calendar/utils/localeKey.d.ts +2 -0
  82. package/dist/components/Calendar/utils/normalizeData.d.ts +1 -1
  83. package/dist/components/Calendar/{style → utils/theme}/index.d.ts +1 -0
  84. package/dist/components/Calendar/{adapters → utils/theme}/platformTheme.d.ts +1 -1
  85. package/dist/components/Calendar/{style → utils/theme}/resolveCalendarThemeVars.d.ts +1 -1
  86. package/dist/components/Calendar/{style → utils/theme}/resolveSubcomponentThemes.d.ts +3 -3
  87. package/dist/components/Calendar/utils/weekTimedLayout.d.ts +1 -1
  88. package/dist/components/DatePicker/__tests__/DatePicker.getPopupContainer.test.d.ts +1 -0
  89. package/dist/components/DatePicker/__tests__/DatePicker.triggerActiveClassName.test.d.ts +1 -0
  90. package/dist/components/DatePicker/interface.d.ts +7 -0
  91. package/dist/components/Gantt/Gantt.d.ts +11 -0
  92. package/dist/components/Gantt/GanttChart/GanttBarTooltip/GanttBarTooltip.d.ts +3 -0
  93. package/dist/components/Gantt/GanttChart/GanttChart.d.ts +8 -0
  94. package/dist/components/Gantt/GanttChart/GanttChartCanvas.d.ts +4 -0
  95. package/dist/components/Gantt/GanttChart/GanttChartCanvasBackground.d.ts +4 -0
  96. package/dist/components/Gantt/GanttChart/GanttInteractionContext.d.ts +4 -0
  97. package/dist/components/Gantt/GanttChart/GanttSummaryBar/GanttSummaryBar.d.ts +4 -0
  98. package/dist/components/Gantt/GanttChart/GanttTaskBar/GanttTaskBar.d.ts +4 -0
  99. package/dist/components/Gantt/GanttChart/GanttTaskBar/useTaskBarPointer.d.ts +9 -0
  100. package/dist/components/Gantt/GanttChart/GanttTimelineContext.d.ts +4 -0
  101. package/dist/components/Gantt/GanttChart/GanttTimelineHeader/GanttTimelineHeader.d.ts +4 -0
  102. package/dist/components/Gantt/GanttChart/OffscreenTaskIndicators/OffscreenTaskIndicators.d.ts +4 -0
  103. package/dist/components/Gantt/GanttChart/OffscreenTaskIndicators/__tests__/OffscreenTaskIndicators.test.d.ts +1 -0
  104. package/dist/components/Gantt/GanttChart/TodayIndicator/TodayIndicator.d.ts +3 -0
  105. package/dist/components/Gantt/GanttChart/hooks/__tests__/timelineFocus.contract.test.d.ts +1 -0
  106. package/dist/components/Gantt/GanttChart/hooks/__tests__/useGanttColumnVirtual.test.d.ts +1 -0
  107. package/dist/components/Gantt/GanttChart/hooks/__tests__/useGanttDrag.clippedQuarterMonth.test.d.ts +0 -0
  108. package/dist/components/Gantt/GanttChart/hooks/__tests__/useOffscreenIndicators.test.d.ts +1 -0
  109. package/dist/components/Gantt/GanttChart/hooks/__tests__/useTimelineViewportController.test.d.ts +0 -0
  110. package/dist/components/Gantt/GanttChart/hooks/useBarTooltipHover.d.ts +19 -0
  111. package/dist/components/Gantt/GanttChart/hooks/useEdgeScroll.d.ts +6 -0
  112. package/dist/components/Gantt/GanttChart/hooks/useGanttColumnVirtual.d.ts +21 -0
  113. package/dist/components/Gantt/GanttChart/hooks/useGanttDrag.d.ts +15 -0
  114. package/dist/components/Gantt/GanttChart/hooks/useGanttRowVirtualScroll.d.ts +12 -0
  115. package/dist/components/Gantt/GanttChart/hooks/useGanttScrollbars.d.ts +2 -0
  116. package/dist/components/Gantt/GanttChart/hooks/useNormalizedItems.d.ts +11 -0
  117. package/dist/components/Gantt/GanttChart/hooks/useOffscreenIndicators.d.ts +11 -0
  118. package/dist/components/Gantt/GanttChart/hooks/useRowHoverHighlight.d.ts +10 -0
  119. package/dist/components/Gantt/GanttChart/hooks/useTimelineViewportController.d.ts +26 -0
  120. package/dist/components/Gantt/GanttChart/hooks/useTodayMs.d.ts +4 -0
  121. package/dist/components/Gantt/GanttChart/index.d.ts +1 -0
  122. package/dist/components/Gantt/GanttChart/utils/__tests__/dateRangeNormalizer.subday.test.d.ts +1 -0
  123. package/dist/components/Gantt/GanttChart/utils/__tests__/dragEngine.quarterMonth.test.d.ts +1 -0
  124. package/dist/components/Gantt/GanttChart/utils/__tests__/dragEngine.subday.test.d.ts +1 -0
  125. package/dist/components/Gantt/GanttChart/utils/__tests__/headerBuilder.quarterMonth.test.d.ts +1 -0
  126. package/dist/components/Gantt/GanttChart/utils/__tests__/headerBuilder.subday.test.d.ts +1 -0
  127. package/dist/components/Gantt/GanttChart/utils/__tests__/quarterMonthScale.test.d.ts +1 -0
  128. package/dist/components/Gantt/GanttChart/utils/__tests__/subdayScale.contract.test.d.ts +1 -0
  129. package/dist/components/Gantt/GanttChart/utils/__tests__/timelineMarkers.test.d.ts +1 -0
  130. package/dist/components/Gantt/GanttChart/utils/__tests__/timelineRange.test.d.ts +1 -0
  131. package/dist/components/Gantt/GanttChart/utils/__tests__/timelineViewConfig.test.d.ts +1 -0
  132. package/dist/components/Gantt/GanttChart/utils/__tests__/timelineViewportEngine.test.d.ts +1 -0
  133. package/dist/components/Gantt/GanttChart/utils/buildSummaryBarTooltipContent.d.ts +6 -0
  134. package/dist/components/Gantt/GanttChart/utils/constants.d.ts +102 -0
  135. package/dist/components/Gantt/GanttChart/utils/dateRangeNormalizer.d.ts +18 -0
  136. package/dist/components/Gantt/GanttChart/utils/dragEngine.d.ts +62 -0
  137. package/dist/components/Gantt/GanttChart/utils/headerBuilder.d.ts +14 -0
  138. package/dist/components/Gantt/GanttChart/utils/quarterMonthScale.d.ts +9 -0
  139. package/dist/components/Gantt/GanttChart/utils/taskBarUtils.d.ts +3 -0
  140. package/dist/components/Gantt/GanttChart/utils/timeScale.d.ts +35 -0
  141. package/dist/components/Gantt/GanttChart/utils/timelineFocus.d.ts +8 -0
  142. package/dist/components/Gantt/GanttChart/utils/timelineMarkers.d.ts +2 -0
  143. package/dist/components/Gantt/GanttChart/utils/timelineRange.d.ts +8 -0
  144. package/dist/components/Gantt/GanttChart/utils/timelineViewConfig.d.ts +106 -0
  145. package/dist/components/Gantt/GanttChart/utils/timelineViewportEngine.d.ts +44 -0
  146. package/dist/components/Gantt/GanttChart/utils/timezoneUtils.d.ts +11 -0
  147. package/dist/components/Gantt/GanttHighlightContext.d.ts +3 -0
  148. package/dist/components/Gantt/GanttResizeIndicator.d.ts +3 -0
  149. package/dist/components/Gantt/GanttTable/GanttTable.d.ts +7 -0
  150. package/dist/components/Gantt/GanttTable/hooks/useGanttTableHighlightDomSync.d.ts +2 -0
  151. package/dist/components/Gantt/GanttTable/hooks/useGanttTableLinkedScroll.d.ts +7 -0
  152. package/dist/components/Gantt/GanttTable/index.d.ts +1 -0
  153. package/dist/components/Gantt/GanttTable/utils/mapGanttColumns.d.ts +13 -0
  154. package/dist/components/Gantt/GanttToolBar/GanttToolBar.d.ts +3 -0
  155. package/dist/components/Gantt/GanttToolBar/index.d.ts +1 -0
  156. package/dist/components/Gantt/__tests__/Gantt.contract.test.d.ts +0 -0
  157. package/dist/components/Gantt/__tests__/Gantt.grouped.contract.test.d.ts +0 -0
  158. package/dist/components/Gantt/__tests__/GanttBars.renderWindow.test.d.ts +1 -0
  159. package/dist/components/Gantt/__tests__/GanttChart.contract.test.d.ts +0 -0
  160. package/dist/components/Gantt/__tests__/GanttSummaryBar.tooltip.test.d.ts +1 -0
  161. package/dist/components/Gantt/__tests__/GanttToolBar.test.d.ts +1 -0
  162. package/dist/components/Gantt/__tests__/filterItemsByCollapse.test.d.ts +1 -0
  163. package/dist/components/Gantt/__tests__/helpers/ganttDomSetup.d.ts +1 -0
  164. package/dist/components/Gantt/__tests__/helpers/ganttTestFixtures.d.ts +7 -0
  165. package/dist/components/Gantt/__tests__/helpers/ganttTestMocks.d.ts +8 -0
  166. package/dist/components/Gantt/__tests__/helpers/renderWithLocale.d.ts +3 -0
  167. package/dist/components/Gantt/__tests__/helpers/testFormatMessage.d.ts +2 -0
  168. package/dist/components/Gantt/__tests__/interface.contract.types.test.d.ts +1 -0
  169. package/dist/components/Gantt/__tests__/timezoneUtils.test.d.ts +1 -0
  170. package/dist/components/Gantt/__tests__/useBarTooltipHover.test.d.ts +1 -0
  171. package/dist/components/Gantt/__tests__/useGanttHighlight.test.d.ts +1 -0
  172. package/dist/components/Gantt/__tests__/useTaskBarPointer.test.d.ts +1 -0
  173. package/dist/components/Gantt/hooks/useGanttCollapseState.d.ts +6 -0
  174. package/dist/components/Gantt/hooks/useGanttHighlight.d.ts +10 -0
  175. package/dist/components/Gantt/hooks/useGanttLayout.d.ts +7 -0
  176. package/dist/components/Gantt/hooks/useLinkedVerticalScroll.d.ts +6 -0
  177. package/dist/components/Gantt/index.d.ts +9 -0
  178. package/dist/components/Gantt/interface.d.ts +140 -0
  179. package/dist/components/Gantt/internal/GanttLayout.d.ts +8 -0
  180. package/dist/components/Gantt/internal/GanttTableShell.d.ts +3 -0
  181. package/dist/components/Gantt/types.internal.d.ts +327 -0
  182. package/dist/components/Gantt/utils/collapseKeys.d.ts +4 -0
  183. package/dist/components/Gantt/utils/columnResize.d.ts +19 -0
  184. package/dist/components/Gantt/utils/constants.d.ts +4 -0
  185. package/dist/components/Gantt/utils/filterItemsByCollapse.d.ts +9 -0
  186. package/dist/components/Gantt/utils/highlightTarget.d.ts +13 -0
  187. package/dist/components/Gantt/utils/index.d.ts +8 -0
  188. package/dist/components/Gantt/utils/localeKey.d.ts +2 -0
  189. package/dist/components/Gantt/utils/tableWidthStorage.d.ts +3 -0
  190. package/dist/components/Select/__tests__/Select.getPopupContainer.test.d.ts +1 -0
  191. package/dist/components/Select/interface.d.ts +4 -0
  192. package/dist/components/Table/Table.d.ts +4 -0
  193. package/dist/components/Table/__tests__/HeaderCell.test.d.ts +1 -0
  194. package/dist/components/Table/__tests__/TableBody.test.d.ts +1 -0
  195. package/dist/components/Table/__tests__/processRowspan.test.d.ts +1 -0
  196. package/dist/components/Table/components/HeaderCell.d.ts +16 -0
  197. package/dist/components/Table/components/TableBody.d.ts +45 -0
  198. package/dist/components/Table/components/TableFooter.d.ts +18 -0
  199. package/dist/components/Table/components/TableHeader.d.ts +14 -0
  200. package/dist/components/Table/constants.d.ts +29 -0
  201. package/dist/components/Table/hooks/index.d.ts +2 -0
  202. package/dist/components/Table/hooks/useColumnResize.d.ts +11 -0
  203. package/dist/components/Table/hooks/useTableVirtual.d.ts +19 -0
  204. package/dist/components/Table/index.d.ts +9 -0
  205. package/dist/components/Table/interface.d.ts +114 -0
  206. package/dist/components/Table/utils/flattenColumns.d.ts +17 -0
  207. package/dist/components/Table/utils/index.d.ts +3 -0
  208. package/dist/components/Table/utils/processRowspan.d.ts +16 -0
  209. package/dist/components/Table/utils/tableUtils.d.ts +22 -0
  210. package/dist/components/Tooltip/Tooltip.type.d.ts +2 -0
  211. package/dist/components/index.d.ts +4 -2
  212. package/dist/hooks/useLatchedPopupPortalRoot.d.ts +11 -0
  213. package/dist/index.js +26 -25
  214. package/dist/locale/lang/en-US.json.d.ts +63 -0
  215. package/dist/locale/lang/zh-CN.json.d.ts +63 -0
  216. package/dist/locale/lang/zh-TW.json.d.ts +63 -0
  217. package/dist/style.css +1 -1
  218. package/dist/vendors/{ConfigProvider-DCm-93oJ.js → ConfigProvider-DwmA94S2.js} +128 -1
  219. package/dist/vendors/{LocaleContext-CRlzP8UO.js → LocaleContext-BJdHS0sH.js} +61 -0
  220. package/dist/vendors/{Tree-DJpkMB5u.js → Tree-C7BgkjCQ.js} +1 -1
  221. package/dist/vendors/{animations-BmT0HT5q.js → animations-BeI8JZp1.js} +7 -3
  222. package/dist/vendors/{useFloatingOverlay-uxlI1G-V.js → useFloatingOverlay-3KB88hpZ.js} +1 -0
  223. package/dist/vendors/{useLocale-D9kAzQlB.js → useLocale-BTz4slNW.js} +1 -1
  224. package/dist/vitest-matchers.d.ts +1 -0
  225. package/package.json +3 -2
  226. package/dist/Calendar/adapters/index.js +0 -2
  227. package/dist/Calendar/adapters-zYR7CgzD.js +0 -20
  228. package/dist/Calendar/shared/AllDaySection/index.js +0 -8
  229. package/dist/Calendar/shared/CurrentTimeIndicator/index.js +0 -5
  230. package/dist/Calendar/shared/EventCard/index.js +0 -6
  231. package/dist/Calendar/shared/TimeAxis/index.js +0 -4
  232. package/dist/Calendar/shared/TimeGrid/index.js +0 -4
  233. package/dist/Calendar/style/index.js +0 -2
  234. package/dist/DatePicker/DatePicker-B2skjsiQ.js +0 -91
  235. package/dist/Tooltip/Tooltip-RkD8fs0B.js +0 -169
  236. package/dist/components/Calendar/adapters/index.d.ts +0 -1
  237. package/dist/components/Calendar/panels/DayPanel/DayPanel.d.ts +0 -3
  238. package/dist/components/Calendar/panels/MonthPanel/MonthPanel.d.ts +0 -3
  239. package/dist/components/Calendar/panels/WeekPanel/WeekPanel.d.ts +0 -3
  240. /package/dist/components/Calendar/{shared → subcomponents}/AllDaySection/index.d.ts +0 -0
  241. /package/dist/components/Calendar/{Header → subcomponents}/CalendarHeader/CalendarHeader.d.ts +0 -0
  242. /package/dist/components/Calendar/{Header → subcomponents}/CalendarHeaderLeft/CalendarHeaderLeft.d.ts +0 -0
  243. /package/dist/components/Calendar/{shared → subcomponents}/CurrentTimeIndicator/CurrentTimeIndicator.d.ts +0 -0
  244. /package/dist/components/Calendar/{shared → subcomponents}/CurrentTimeIndicator/index.d.ts +0 -0
  245. /package/dist/components/Calendar/{Header → subcomponents}/DateDisplay/DateDisplay.d.ts +0 -0
  246. /package/dist/components/Calendar/{Header → subcomponents}/DateDisplay/__tests__/DateDisplay.weekPicker.test.d.ts +0 -0
  247. /package/dist/components/Calendar/{panels/DayPanel → subcomponents/DayView}/__tests__/CalendarDay.dayFilter.test.d.ts +0 -0
  248. /package/dist/components/Calendar/{shared → subcomponents}/EventCard/__tests__/EventCard.tooltip.test.d.ts +0 -0
  249. /package/dist/components/Calendar/{shared → subcomponents}/EventCard/index.d.ts +0 -0
  250. /package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/MonthCell/MonthCell.d.ts +0 -0
  251. /package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/MonthHeader/MonthHeader.d.ts +0 -0
  252. /package/dist/components/Calendar/{Header → subcomponents}/NavButton/NavButton.d.ts +0 -0
  253. /package/dist/components/Calendar/{shared → subcomponents}/TimeAxis/TimeAxis.d.ts +0 -0
  254. /package/dist/components/Calendar/{shared → subcomponents}/TimeAxis/index.d.ts +0 -0
  255. /package/dist/components/Calendar/{shared → subcomponents}/TimeGrid/TimeGrid.d.ts +0 -0
  256. /package/dist/components/Calendar/{shared → subcomponents}/TimeGrid/index.d.ts +0 -0
  257. /package/dist/components/Calendar/{Header → subcomponents}/TodayButton/TodayButton.d.ts +0 -0
  258. /package/dist/components/Calendar/{panels/WeekPanel → subcomponents}/WeekHeader/WeekHeader.d.ts +0 -0
  259. /package/dist/components/Calendar/{internalTypes.d.ts → types.internal.d.ts} +0 -0
  260. /package/dist/components/Calendar/{adapters → utils/theme}/__tests__/platformTheme.test.d.ts +0 -0
  261. /package/dist/components/Calendar/{style → utils/theme}/__tests__/resolveCalendarThemeVars.test.d.ts +0 -0
  262. /package/dist/components/Calendar/{style → utils/theme}/__tests__/resolveScheduleColorVars.test.d.ts +0 -0
  263. /package/dist/components/Calendar/{style → utils/theme}/__tests__/resolveSubcomponentThemes.test.d.ts +0 -0
  264. /package/dist/components/Calendar/{style → utils/theme}/resolveScheduleColorVars.d.ts +0 -0
@@ -0,0 +1,374 @@
1
+ import "../Icon/Icon-BQ3Whub2.js";
2
+ import "../vendors/LocaleContext-BJdHS0sH.js";
3
+ import "../vendors/useLocale-BTz4slNW.js";
4
+ import "../Tooltip/Tooltip-DW_XP13m.js";
5
+ import "../Select/SelectInputSearch-DXPTGSc2.js";
6
+ import "../NotFoundContent/NotFoundContent-7xV-zOG2.js";
7
+ import "../vendors/useFloatingPortal-DsEtsAGW.js";
8
+ import "../DropDown/DropDown-CvQAbsEo.js";
9
+ import "../Table/processRowspan-BCzfI5un.js";
10
+ import "../Table/Table-3-kFIm5v.js";
11
+ import "../Table/hooks-CJ2CnSep.js";
12
+ import { a as e, c as t, i as n, l as r, o as i, s as a } from "./constants-D4ur8WRs.js";
13
+ import { r as o } from "./columnResize-By_1E48E.js";
14
+ import { t as s } from "./GanttTable-Di_p-0M1.js";
15
+ import { t as c } from "./GanttHighlightContext-AIpN3-af.js";
16
+ import { n as l, t as u } from "./highlightTarget-DmzCIiQb.js";
17
+ import { c as d, o as f, r as p, s as m } from "./timelineViewConfig-BXl2UkN8.js";
18
+ import { n as h, r as g, t as _ } from "./collapseKeys-C8139wvy.js";
19
+ import { t as v } from "./GanttChart-DJA8pG9U.js";
20
+ import "./GanttToolBar-D5pQdrzv.js";
21
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
22
+ import { forwardRef as x, useCallback as S, useEffect as C, useMemo as w, useRef as T, useState as E } from "react";
23
+ import D from "clsx";
24
+ import { useEventListener as O, useSize as k } from "ahooks";
25
+ import { useContextSelector as A } from "use-context-selector";
26
+ //#region src/components/Gantt/GanttResizeIndicator.tsx
27
+ var j = ({ tableWidth: e, onWidthChange: t, onResizeEnd: n, containerRef: r }) => {
28
+ let [i, a] = E(!1), [o, s] = E(!1), c = T(0), l = T(0), u = T(e);
29
+ C(() => {
30
+ u.current = e;
31
+ }, [e]);
32
+ let d = i || o, f = S((e) => {
33
+ s(!0), c.current = e.clientX, l.current = u.current, e.preventDefault();
34
+ }, []), p = S((e) => {
35
+ if (!o) return;
36
+ let n = e.clientX - c.current, i = l.current + n, a = (r.current?.offsetWidth || 1e3) - 300;
37
+ i < 200 ? i = 200 : i > a && (i = a), t(i);
38
+ }, [
39
+ o,
40
+ r,
41
+ t
42
+ ]), m = S(() => {
43
+ o && (s(!1), n?.(u.current));
44
+ }, [o, n]);
45
+ return O("mousemove", p, { target: () => document }), O("mouseup", m, { target: () => document }), /* @__PURE__ */ y("div", {
46
+ className: "bsy-gantt-resize-indicator",
47
+ style: { left: `${e}px` },
48
+ onMouseEnter: () => a(!0),
49
+ onMouseLeave: () => a(!1),
50
+ onMouseDown: f,
51
+ children: d ? /* @__PURE__ */ y("div", { className: "bsy-gantt-resize-indicator__bar" }) : null
52
+ });
53
+ }, M = Object.freeze({ source: "table" });
54
+ function N() {
55
+ let e = T(null), t = T(void 0), n = T(/* @__PURE__ */ new Set()), r = T(!1), i = T(null), a = S(() => e.current, []), o = S((r) => (n.current.add(r), r(e.current, { source: t.current }), () => {
56
+ n.current.delete(r);
57
+ }), []), s = S((e, t) => {
58
+ let r = t === "table" ? M : { source: t };
59
+ n.current.forEach((t) => t(e, r));
60
+ }, []), c = S(() => {
61
+ e.current !== null && (e.current = null, t.current = void 0, s(null, void 0));
62
+ }, [s]), u = S(() => {
63
+ r.current || (r.current = !0, c()), i.current && clearTimeout(i.current), i.current = setTimeout(() => {
64
+ r.current = !1, i.current = null;
65
+ }, 150);
66
+ }, [c]), d = S((n, i) => {
67
+ if (r.current) return;
68
+ let a = i?.source;
69
+ l(e.current, n) && (a !== "table" || t.current === "table") || (e.current = n, t.current = a, s(n, a));
70
+ }, [s]), f = S((e) => {
71
+ d(e, M);
72
+ }, [d]), p = S(() => r.current, []);
73
+ return C(() => () => {
74
+ i.current && clearTimeout(i.current);
75
+ }, []), {
76
+ highlightContextValue: w(() => ({
77
+ getHighlightTarget: a,
78
+ setHighlightTarget: d,
79
+ setTableHighlightTarget: f,
80
+ subscribeHighlight: o,
81
+ notifyScrollActivity: u,
82
+ getIsScrollActive: p
83
+ }), [
84
+ a,
85
+ d,
86
+ f,
87
+ o,
88
+ u,
89
+ p
90
+ ]),
91
+ setHighlightTarget: d,
92
+ setTableHighlightTarget: f,
93
+ notifyScrollActivity: u
94
+ };
95
+ }
96
+ //#endregion
97
+ //#region src/components/Gantt/utils/tableWidthStorage.ts
98
+ function P(e) {
99
+ return `gantt_view_${e}`;
100
+ }
101
+ function F(e) {
102
+ if (!e) return null;
103
+ try {
104
+ let t = localStorage.getItem(P(e));
105
+ if (t === null || t === "") return null;
106
+ let n = parseInt(t, 10);
107
+ return Number.isNaN(n) ? null : n;
108
+ } catch {
109
+ return null;
110
+ }
111
+ }
112
+ function I(e, t) {
113
+ if (!(!e || !Number.isFinite(t))) try {
114
+ localStorage.setItem(P(e), String(Math.round(t)));
115
+ } catch {}
116
+ }
117
+ //#endregion
118
+ //#region src/components/Gantt/hooks/useGanttLayout.ts
119
+ var L = (e) => e > 0 ? e / 3 : 333, R = (e, t) => {
120
+ if (!t) return e;
121
+ let n = Math.max(200, t - 300);
122
+ return Math.min(Math.max(e, 200), n);
123
+ };
124
+ function z({ id: e } = {}) {
125
+ let t = T(null), n = k(t), [r, i] = E(300), a = T(!1), o = n?.width || t.current?.offsetWidth || 0;
126
+ return C(() => {
127
+ !o || a.current || (i(R((e ? F(e) : null) ?? L(o), o)), a.current = !0);
128
+ }, [o, e]), C(() => {
129
+ a.current = !1;
130
+ }, [e]), {
131
+ containerRef: t,
132
+ resolvedTableWidth: w(() => o ? R(r, o) : r, [o, r]),
133
+ handleTableWidthChange: S((e) => {
134
+ i(e);
135
+ }, []),
136
+ handleResizeEnd: S((t) => {
137
+ e && I(e, o ? R(t, o) : t);
138
+ }, [e, o])
139
+ };
140
+ }
141
+ //#endregion
142
+ //#region src/components/Gantt/hooks/useGanttCollapseState.ts
143
+ function B({ collapsedKeys: e, onToggleCollapse: t } = {}) {
144
+ let [n, r] = E(() => /* @__PURE__ */ new Set()), i = e !== void 0;
145
+ return {
146
+ collapsedKeys: i ? e : n,
147
+ onToggleCollapse: S((e) => {
148
+ e && (t?.(e), i || r((t) => h(t, e)));
149
+ }, [i, t]),
150
+ isControlled: i
151
+ };
152
+ }
153
+ //#endregion
154
+ //#region src/components/Gantt/hooks/useLinkedVerticalScroll.ts
155
+ function V(e = {}) {
156
+ let { onScrollActivity: t } = e, n = T(t);
157
+ n.current = t;
158
+ let r = T(null), i = T(null), a = T(null), o = S((e) => (i.current = e, () => {
159
+ i.current = null;
160
+ }), []), s = S((e) => (a.current = e, () => {
161
+ a.current = null;
162
+ }), []), c = S((e, t) => {
163
+ if (r.current === e) return;
164
+ let o = e === "timeline" ? "table" : "timeline", s = o === "timeline" ? i.current : a.current;
165
+ s?.setScrollTop && (r.current = o, s.setScrollTop(t), n.current?.(), requestAnimationFrame(() => {
166
+ r.current === o && (r.current = null);
167
+ }));
168
+ }, []);
169
+ return w(() => ({
170
+ registerTimelineScroller: o,
171
+ registerTableScroller: s,
172
+ sync: c
173
+ }), [
174
+ o,
175
+ s,
176
+ c
177
+ ]);
178
+ }
179
+ //#endregion
180
+ //#region src/components/Gantt/utils/filterItemsByCollapse.ts
181
+ function H(e, t) {
182
+ if (!Array.isArray(e) || e.length === 0) return e || [];
183
+ if (!t || !(t instanceof Set ? t.size > 0 : Array.isArray(t) && t.length > 0)) return e;
184
+ let n = [], r = null;
185
+ for (let i of e) {
186
+ if (i?.type === "summary") {
187
+ let e = i.depth ?? 0;
188
+ if (r !== null && e > r) continue;
189
+ r !== null && e <= r && (r = null), n.push(i), _(t, i.groupKey) && (r = e);
190
+ continue;
191
+ }
192
+ r === null && n.push(i);
193
+ }
194
+ return n;
195
+ }
196
+ //#endregion
197
+ //#region src/components/Gantt/GanttTable/hooks/useGanttTableHighlightDomSync.ts
198
+ function U(e) {
199
+ let t = A(c, (e) => e.getHighlightTarget), n = A(c, (e) => e.subscribeHighlight), r = T(null), i = S((e, t) => {
200
+ if (!e || !t?.id || !t?.type) return [];
201
+ let n = CSS.escape(String(t.id)), r = CSS.escape(String(t.type));
202
+ return Array.from(e.querySelectorAll(`[data-highlight-id="${n}"][data-highlight-type="${r}"]`));
203
+ }, []), a = S((t, n) => {
204
+ if (l(t, n)) return;
205
+ let r = e.current;
206
+ r && (t?.id && i(r, t).forEach((e) => {
207
+ e.classList.remove("table-row-hover");
208
+ }), n?.id && i(r, n).forEach((e) => {
209
+ e.classList.add("table-row-hover");
210
+ }));
211
+ }, [i, e]);
212
+ C(() => {
213
+ let e = t?.() || null;
214
+ return r.current = e, a(null, e), n?.((e) => {
215
+ let t = r.current;
216
+ r.current = e, a(t, e);
217
+ });
218
+ }, [
219
+ a,
220
+ t,
221
+ n
222
+ ]);
223
+ }
224
+ //#endregion
225
+ //#region src/components/Gantt/GanttTable/hooks/useGanttTableLinkedScroll.ts
226
+ function W({ tableRef: e, verticalScrollController: t, dataLength: n }) {
227
+ C(() => {
228
+ if (!t || !e.current) return;
229
+ let n = e.current.querySelector(".custom-table-wrapper");
230
+ if (n) return t.registerTableScroller({ setScrollTop: (e) => {
231
+ n.scrollTop = e;
232
+ } });
233
+ }, [
234
+ t,
235
+ n,
236
+ e
237
+ ]), O("scroll", () => {
238
+ let n = e.current?.querySelector(".custom-table-wrapper");
239
+ n && t && t.sync("table", n.scrollTop);
240
+ }, {
241
+ target: () => e.current?.querySelector(".custom-table-wrapper"),
242
+ passive: !0
243
+ });
244
+ }
245
+ //#endregion
246
+ //#region src/components/Gantt/internal/GanttTableShell.tsx
247
+ var G = x(function({ width: e, verticalScrollController: t, dataLength: n = 0, emptyOverlay: r = null, children: i }, a) {
248
+ let o = T(null), s = S((e) => {
249
+ o.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
250
+ }, [a]);
251
+ return U(o), W({
252
+ tableRef: o,
253
+ verticalScrollController: t,
254
+ dataLength: n
255
+ }), /* @__PURE__ */ b("div", {
256
+ ref: s,
257
+ className: "bsy-gantt-table",
258
+ style: { width: e ? `${e}px` : void 0 },
259
+ children: [i, r ? /* @__PURE__ */ y("div", {
260
+ className: "bsy-gantt-table__empty-overlay",
261
+ style: { top: 68 },
262
+ children: /* @__PURE__ */ y("div", {
263
+ className: "bsy-gantt-table__empty-overlay-inner",
264
+ children: r
265
+ })
266
+ }) : null]
267
+ });
268
+ });
269
+ G.displayName = "GanttTableShell";
270
+ //#endregion
271
+ //#region src/components/Gantt/internal/GanttLayout.tsx
272
+ function K({ data: e = [], tableData: t, columns: n, mode: r, availableModes: i, onModeChange: a, id: o, onRowClick: l, onTaskTimeChange: u, tooltip: d, className: f, style: p, renderTable: m, collapsedKeys: h, onToggleCollapse: g, emptyOverlay: _ = null }, x) {
273
+ let { highlightContextValue: C, setTableHighlightTarget: T, notifyScrollActivity: O } = N(), k = V({ onScrollActivity: O }), [A, M] = E("day"), P = r ?? A, { containerRef: F, resolvedTableWidth: I, handleTableWidthChange: L, handleResizeEnd: R } = z({ id: o }), U = S((e) => {
274
+ r === void 0 && M(e), a?.(e);
275
+ }, [r, a]), { collapsedKeys: W, onToggleCollapse: K, isControlled: q } = B({
276
+ collapsedKeys: h,
277
+ onToggleCollapse: g
278
+ }), J = w(() => q ? e : H(e, W), [
279
+ e,
280
+ q,
281
+ W
282
+ ]), Y = typeof m == "function", X = w(() => Y ? t ?? [] : J, [
283
+ Y,
284
+ t,
285
+ J
286
+ ]), Z = X.length, Q = w(() => ({
287
+ columns: n,
288
+ tableData: X,
289
+ setHighlightTarget: T,
290
+ rowHeight: 34,
291
+ collapsedKeys: W ?? void 0,
292
+ onToggleCollapse: K
293
+ }), [
294
+ n,
295
+ X,
296
+ T,
297
+ W,
298
+ K
299
+ ]), $ = Y ? m(Q) : /* @__PURE__ */ y(s, {
300
+ data: J,
301
+ columns: n,
302
+ onRowClick: l,
303
+ rowHeight: 34
304
+ });
305
+ return /* @__PURE__ */ y(c.Provider, {
306
+ value: C,
307
+ children: /* @__PURE__ */ y("div", {
308
+ className: D("bsy-gantt", f),
309
+ style: p,
310
+ children: /* @__PURE__ */ b("div", {
311
+ ref: F,
312
+ className: "bsy-gantt__body",
313
+ children: [
314
+ /* @__PURE__ */ y(G, {
315
+ ref: x,
316
+ width: I,
317
+ verticalScrollController: k,
318
+ dataLength: Z,
319
+ emptyOverlay: _,
320
+ children: $
321
+ }),
322
+ /* @__PURE__ */ y(j, {
323
+ tableWidth: I,
324
+ onWidthChange: L,
325
+ onResizeEnd: R,
326
+ containerRef: F
327
+ }),
328
+ /* @__PURE__ */ y("div", {
329
+ className: "bsy-gantt__chart",
330
+ children: /* @__PURE__ */ y(v, {
331
+ items: J,
332
+ viewMode: P,
333
+ availableModes: i,
334
+ onViewModeChange: U,
335
+ verticalScrollController: k,
336
+ onRowClick: l,
337
+ onTaskTimeChange: u,
338
+ tooltip: d,
339
+ collapsedKeys: W,
340
+ onToggleCollapse: K
341
+ })
342
+ })
343
+ ]
344
+ })
345
+ })
346
+ });
347
+ }
348
+ var q = x(K);
349
+ //#endregion
350
+ //#region src/components/Gantt/Gantt.tsx
351
+ function J({ data: e, columns: t, mode: n, availableModes: r, onModeChange: i, id: a, onRowClick: o, onTaskTimeChange: s, tooltip: c, className: l, style: u, tableData: d, renderTable: f, collapsedKeys: p, onToggleCollapse: m, emptyOverlay: h }, g) {
352
+ return /* @__PURE__ */ y(q, {
353
+ ref: g,
354
+ data: e,
355
+ columns: t,
356
+ mode: n,
357
+ availableModes: r,
358
+ onModeChange: i,
359
+ id: a,
360
+ onRowClick: o,
361
+ onTaskTimeChange: s,
362
+ tooltip: c,
363
+ className: l,
364
+ style: u,
365
+ tableData: d,
366
+ renderTable: f,
367
+ collapsedKeys: p,
368
+ onToggleCollapse: m,
369
+ emptyOverlay: h
370
+ });
371
+ }
372
+ var Y = x(J);
373
+ //#endregion
374
+ export { f as ALL_GANTT_MODES, m as CALENDAR_TIER_MODES, d as DEFAULT_GANTT_MODE, n as DRAG_MODE_MOVE, e as DRAG_MODE_RESIZE_END, i as DRAG_MODE_RESIZE_START, a as EMPTY_GROUP_VALUE, t as GANTT_DEFAULT_ROW_HEIGHT, r as GANTT_TABLE_HEADER_ROW_SPAN, Y as default, _ as isGroupCollapsed, u as isHighlightMatch, p as isSubDayViewMode, g as normalizeTaskDateRange, o as useGanttTableColumnResize };
@@ -0,0 +1,118 @@
1
+ import { m as e } from "./constants-D4ur8WRs.js";
2
+ //#region src/components/Gantt/interface.ts
3
+ var t = [
4
+ "day",
5
+ "week",
6
+ "month",
7
+ "quarter",
8
+ "quarterMonth",
9
+ "year"
10
+ ], n = [
11
+ "halfDay",
12
+ "sixHour",
13
+ "hour",
14
+ "halfHour",
15
+ "tenMinute",
16
+ "oneMinute"
17
+ ], r = [...t, ...n], i = [...[...n].reverse(), ...t], a = "day";
18
+ function o(e) {
19
+ return r.includes(e);
20
+ }
21
+ function s(e) {
22
+ return n.includes(e);
23
+ }
24
+ //#endregion
25
+ //#region src/components/Gantt/GanttChart/utils/timelineViewConfig.ts
26
+ var c = e / 24, l = c / 60, u = {
27
+ hour: c,
28
+ tenMinute: 10 * l,
29
+ oneMinute: l
30
+ }, d = {
31
+ day: {
32
+ tier: "calendar",
33
+ headerLayout: "flat",
34
+ topGroup: "month",
35
+ bottomCellMs: e,
36
+ snapUnitMs: e
37
+ },
38
+ week: {
39
+ tier: "calendar",
40
+ headerLayout: "flat",
41
+ topGroup: "month",
42
+ bottomCellMs: 7 * e,
43
+ snapUnitMs: e
44
+ },
45
+ month: {
46
+ tier: "calendar",
47
+ headerLayout: "flat",
48
+ topGroup: "year",
49
+ bottomCellMs: 30 * e,
50
+ snapUnitMs: e
51
+ },
52
+ quarter: {
53
+ tier: "calendar",
54
+ headerLayout: "flat",
55
+ topGroup: "year",
56
+ bottomCellMs: 90 * e,
57
+ snapUnitMs: e
58
+ },
59
+ quarterMonth: {
60
+ tier: "calendar",
61
+ headerLayout: "quarterNested",
62
+ topGroup: "quarter",
63
+ bottomCellMs: 30 * e,
64
+ bottomCellWidthPx: 100,
65
+ snapUnitMs: e
66
+ },
67
+ year: {
68
+ tier: "calendar",
69
+ headerLayout: "flat",
70
+ topGroup: "year",
71
+ bottomCellMs: 180 * e,
72
+ snapUnitMs: e
73
+ },
74
+ halfDay: {
75
+ tier: "subDay",
76
+ headerLayout: "dayNested",
77
+ topGroup: "day",
78
+ bottomCellMs: 12 * c,
79
+ snapUnitMs: u.hour
80
+ },
81
+ sixHour: {
82
+ tier: "subDay",
83
+ headerLayout: "dayNested",
84
+ topGroup: "day",
85
+ bottomCellMs: 6 * c,
86
+ snapUnitMs: u.hour
87
+ },
88
+ hour: {
89
+ tier: "subDay",
90
+ headerLayout: "dayNested",
91
+ topGroup: "day",
92
+ bottomCellMs: c,
93
+ snapUnitMs: u.hour
94
+ },
95
+ halfHour: {
96
+ tier: "subDay",
97
+ headerLayout: "hourNested",
98
+ topGroup: "hour",
99
+ bottomCellMs: 30 * l,
100
+ snapUnitMs: u.tenMinute
101
+ },
102
+ tenMinute: {
103
+ tier: "subDay",
104
+ headerLayout: "hourNested",
105
+ topGroup: "hour",
106
+ bottomCellMs: 10 * l,
107
+ snapUnitMs: u.tenMinute
108
+ },
109
+ oneMinute: {
110
+ tier: "subDay",
111
+ headerLayout: "hourNested",
112
+ topGroup: "hour",
113
+ bottomCellMs: l,
114
+ snapUnitMs: u.oneMinute
115
+ }
116
+ }, f = (e) => d[o(e) ? e : "day"], p = (e) => o(e) ? s(e) : f(e).tier === "subDay", m = (e) => e === "quarterMonth", h = (e) => f(e).snapUnitMs, g = (e) => f(e).bottomCellMs;
117
+ //#endregion
118
+ export { h as a, a as c, s as d, g as i, i as l, m as n, r as o, p as r, t as s, f as t, o as u };
@@ -0,0 +1,6 @@
1
+ import { a as e, c as t, d as n, i as r, l as i, o as a, p as o, s, u as c } from "../constants-D4ur8WRs.js";
2
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "../columnResize-By_1E48E.js";
3
+ import { n as h, r as g, t as _ } from "../highlightTarget-DmzCIiQb.js";
4
+ import { c as v, o as y, r as b, s as x } from "../timelineViewConfig-BXl2UkN8.js";
5
+ import { n as S, r as C, t as w } from "../collapseKeys-C8139wvy.js";
6
+ export { y as ALL_GANTT_MODES, x as CALENDAR_TIER_MODES, v as DEFAULT_GANTT_MODE, u as DEFAULT_TABLE_WIDTH_FALLBACK, r as DRAG_MODE_MOVE, e as DRAG_MODE_RESIZE_END, a as DRAG_MODE_RESIZE_START, s as EMPTY_GROUP_VALUE, t as GANTT_DEFAULT_ROW_HEIGHT, m as GANTT_TABLE_DISABLED_RESIZE_COLUMNS, i as GANTT_TABLE_HEADER_ROW_SPAN, c as HEADER_BOTTOM_HEIGHT, n as HEADER_TOP_HEIGHT, l as MIN_CHART_WIDTH, o as MIN_TABLE_WIDTH, f as TABLE_WIDTH_PLACEHOLDER, w as isGroupCollapsed, _ as isHighlightMatch, h as isSameHighlightTarget, b as isSubDayViewMode, d as mergeColumnWidths, C as normalizeTaskDateRange, g as resolveChartHighlightTarget, S as toggleCollapsedKey, p as useGanttTableColumnResize };
@@ -4,14 +4,14 @@ import { useState as r } from "react";
4
4
  import { Modal as i } from "antd";
5
5
  import { useControllableValue as a } from "ahooks";
6
6
  //#region src/components/Modal/constants.ts
7
- var o = "bsy-modal-motion", s = "bsy-modal-mask-motion", c = "rgba(0, 0, 0, 0.5)", l = "_modal_17jj2_1", u = "_modal__title_17jj2_7", d = "_modal__actions_17jj2_20", f = "_modal__button_groups_17jj2_24", p = "_modal__button_17jj2_24", m = "_modal__icon_17jj2_44", h = {
7
+ var o = "bsy-modal-motion", s = "bsy-modal-mask-motion", c = "rgba(0, 0, 0, 0.5)", l = "_modal_1wkiy_1", u = "_modal__title_1wkiy_7", d = "_modal__actions_1wkiy_20", f = "_modal__button_groups_1wkiy_24", p = "_modal__button_1wkiy_24", m = "_modal__icon_1wkiy_44", h = {
8
8
  modal: l,
9
9
  modal__title: u,
10
- "modal__title-text": "_modal__title-text_17jj2_16",
10
+ "modal__title-text": "_modal__title-text_1wkiy_16",
11
11
  modal__actions: d,
12
12
  modal__button_groups: f,
13
13
  modal__button: p,
14
- "modal__button--fullscreen": "_modal__button--fullscreen_17jj2_41",
14
+ "modal__button--fullscreen": "_modal__button--fullscreen_1wkiy_41",
15
15
  modal__icon: m
16
16
  }, g = (l) => {
17
17
  let { fullSwitch: u = !1 } = l, [d, f] = a(l, {
@@ -1,3 +1,3 @@
1
1
  import "../Icon/Icon-BQ3Whub2.js";
2
- import { t as e } from "./Modal-CrK8gFOn.js";
2
+ import { t as e } from "./Modal-D3LFqIV4.js";
3
3
  export { e as default };