@baishuyun/ui-base 6.3.2 → 6.4.0

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 (249) hide show
  1. package/dist/Amap/AmapProvider/index.js +3 -3
  2. package/dist/Amap/{AmapProvider-CTn2CH8s.js → AmapProvider-By5tTMAj.js} +1 -1
  3. package/dist/Amap/index.js +3 -3
  4. package/dist/Calendar/{AllDaySection-DS0Frx1p.js → AllDaySection-DwQz-p7a.js} +3 -3
  5. package/dist/Calendar/{Calendar-BIjk9zys.js → Calendar-CuBzeTkR.js} +84 -95
  6. package/dist/Calendar/{CurrentTimeIndicator-DaIywtIA.js → CurrentTimeIndicator-CUeblc9r.js} +2 -2
  7. package/dist/Calendar/{EventCard-D_VeOVDQ.js → EventCard-DRJrT_AG.js} +2 -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-B6ZFxTt6.js +114 -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-C5H9UObs.js} +3 -3
  29. package/dist/DropDown/index.js +4 -4
  30. package/dist/Editor/{Buttons-BB3xV8ku.js → Buttons-B8_yDqF5.js} +3 -3
  31. package/dist/Editor/ToolbarPlugin/Buttons/index.js +7 -7
  32. package/dist/Editor/index.js +7 -7
  33. package/dist/Gantt/GanttChart/index.js +15 -0
  34. package/dist/Gantt/GanttChart-DpmbH0GI.js +1965 -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-DSTq5XmX.js +83 -0
  38. package/dist/Gantt/GanttToolBar/index.js +11 -0
  39. package/dist/Gantt/GanttToolBar-fCAi-4zZ.js +91 -0
  40. package/dist/Gantt/collapseKeys-BWMH5k37.js +156 -0
  41. package/dist/Gantt/columnResize-By_1E48E.js +46 -0
  42. package/dist/Gantt/constants-_vMvDXFh.js +40 -0
  43. package/dist/Gantt/highlightTarget-DmzCIiQb.js +25 -0
  44. package/dist/Gantt/index.js +374 -0
  45. package/dist/Gantt/timelineViewConfig-DshzoBp7.js +118 -0
  46. package/dist/Gantt/utils/index.js +6 -0
  47. package/dist/Select/{Select-Dz_xr4my.js → Select-Gkywa_sm.js} +140 -134
  48. package/dist/Select/{SelectInputSearch-GHYAmQ3A.js → SelectInputSearch-DXPTGSc2.js} +1 -1
  49. package/dist/Select/index.js +4 -4
  50. package/dist/Table/Table-DVTq4n2V.js +544 -0
  51. package/dist/Table/constants-CKqc9Os_.js +25 -0
  52. package/dist/Table/hooks/index.js +2 -0
  53. package/dist/Table/hooks-CJ2CnSep.js +108 -0
  54. package/dist/Table/index.js +7 -0
  55. package/dist/Table/processRowspan-BCzfI5un.js +144 -0
  56. package/dist/Table/utils/index.js +2 -0
  57. package/dist/Tabs/{Tabs-CPRNkfMo.js → Tabs-DVQcB3YG.js} +1 -1
  58. package/dist/Tabs/index.js +1 -1
  59. package/dist/Tooltip/Tooltip-DW_XP13m.js +171 -0
  60. package/dist/Tooltip/index.js +1 -1
  61. package/dist/animations/index.d.ts +2 -2
  62. package/dist/components/Amap/__tests__/helpers.d.ts +6 -0
  63. package/dist/components/Calendar/__tests__/helpers/testFormatMessage.d.ts +1 -1
  64. package/dist/components/Calendar/context/CalendarContext.d.ts +2 -1
  65. package/dist/components/Calendar/index.d.ts +2 -2
  66. package/dist/components/Calendar/{shared → subcomponents}/AllDaySection/AllDaySection.d.ts +1 -1
  67. package/dist/components/Calendar/subcomponents/DayView/DayView.d.ts +3 -0
  68. package/dist/components/Calendar/{shared → subcomponents}/EventCard/EventCard.d.ts +1 -1
  69. package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/MonthCell/MonthCellPopover/MonthCellPopover.d.ts +1 -1
  70. package/dist/components/Calendar/subcomponents/MonthView/MonthView.d.ts +3 -0
  71. package/dist/components/Calendar/{panels/WeekPanel → subcomponents}/WeekAllDaySection/WeekAllDaySection.d.ts +1 -1
  72. package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/WeekEventLayer/MoreButton.d.ts +1 -1
  73. package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/WeekEventLayer/WeekEventLayer.d.ts +1 -1
  74. package/dist/components/Calendar/subcomponents/WeekView/WeekView.d.ts +3 -0
  75. package/dist/components/Calendar/utils/dateUtils.d.ts +2 -1
  76. package/dist/components/Calendar/utils/eventUtils.d.ts +1 -1
  77. package/dist/components/Calendar/utils/layout/dayLayoutAlgorithm.d.ts +1 -1
  78. package/dist/components/Calendar/utils/localeKey.d.ts +2 -0
  79. package/dist/components/Calendar/utils/normalizeData.d.ts +1 -1
  80. package/dist/components/Calendar/{style → utils/theme}/index.d.ts +1 -0
  81. package/dist/components/Calendar/{adapters → utils/theme}/platformTheme.d.ts +1 -1
  82. package/dist/components/Calendar/{style → utils/theme}/resolveCalendarThemeVars.d.ts +1 -1
  83. package/dist/components/Calendar/{style → utils/theme}/resolveSubcomponentThemes.d.ts +3 -3
  84. package/dist/components/Calendar/utils/weekTimedLayout.d.ts +1 -1
  85. package/dist/components/DatePicker/__tests__/DatePicker.getPopupContainer.test.d.ts +1 -0
  86. package/dist/components/DatePicker/interface.d.ts +5 -0
  87. package/dist/components/Gantt/Gantt.d.ts +11 -0
  88. package/dist/components/Gantt/GanttChart/GanttBarTooltip/GanttBarTooltip.d.ts +3 -0
  89. package/dist/components/Gantt/GanttChart/GanttChart.d.ts +8 -0
  90. package/dist/components/Gantt/GanttChart/GanttChartCanvas.d.ts +4 -0
  91. package/dist/components/Gantt/GanttChart/GanttChartCanvasBackground.d.ts +4 -0
  92. package/dist/components/Gantt/GanttChart/GanttInteractionContext.d.ts +4 -0
  93. package/dist/components/Gantt/GanttChart/GanttSummaryBar/GanttSummaryBar.d.ts +4 -0
  94. package/dist/components/Gantt/GanttChart/GanttTaskBar/GanttTaskBar.d.ts +4 -0
  95. package/dist/components/Gantt/GanttChart/GanttTaskBar/useTaskBarPointer.d.ts +9 -0
  96. package/dist/components/Gantt/GanttChart/GanttTimelineContext.d.ts +4 -0
  97. package/dist/components/Gantt/GanttChart/GanttTimelineHeader/GanttTimelineHeader.d.ts +4 -0
  98. package/dist/components/Gantt/GanttChart/OffscreenTaskIndicators/OffscreenTaskIndicators.d.ts +4 -0
  99. package/dist/components/Gantt/GanttChart/TodayIndicator/TodayIndicator.d.ts +3 -0
  100. package/dist/components/Gantt/GanttChart/hooks/__tests__/timelineFocus.contract.test.d.ts +1 -0
  101. package/dist/components/Gantt/GanttChart/hooks/__tests__/useGanttColumnVirtual.test.d.ts +1 -0
  102. package/dist/components/Gantt/GanttChart/hooks/useBarTooltipHover.d.ts +19 -0
  103. package/dist/components/Gantt/GanttChart/hooks/useEdgeScroll.d.ts +7 -0
  104. package/dist/components/Gantt/GanttChart/hooks/useGanttColumnVirtual.d.ts +21 -0
  105. package/dist/components/Gantt/GanttChart/hooks/useGanttDrag.d.ts +15 -0
  106. package/dist/components/Gantt/GanttChart/hooks/useGanttRowVirtualScroll.d.ts +12 -0
  107. package/dist/components/Gantt/GanttChart/hooks/useGanttScrollbars.d.ts +2 -0
  108. package/dist/components/Gantt/GanttChart/hooks/useNormalizedItems.d.ts +11 -0
  109. package/dist/components/Gantt/GanttChart/hooks/useOffscreenIndicators.d.ts +11 -0
  110. package/dist/components/Gantt/GanttChart/hooks/useRowHoverHighlight.d.ts +10 -0
  111. package/dist/components/Gantt/GanttChart/hooks/useTimelineViewportController.d.ts +24 -0
  112. package/dist/components/Gantt/GanttChart/hooks/useTodayMs.d.ts +4 -0
  113. package/dist/components/Gantt/GanttChart/index.d.ts +1 -0
  114. package/dist/components/Gantt/GanttChart/utils/__tests__/dateRangeNormalizer.subday.test.d.ts +1 -0
  115. package/dist/components/Gantt/GanttChart/utils/__tests__/dragEngine.quarterMonth.test.d.ts +1 -0
  116. package/dist/components/Gantt/GanttChart/utils/__tests__/dragEngine.subday.test.d.ts +1 -0
  117. package/dist/components/Gantt/GanttChart/utils/__tests__/headerBuilder.quarterMonth.test.d.ts +1 -0
  118. package/dist/components/Gantt/GanttChart/utils/__tests__/headerBuilder.subday.test.d.ts +1 -0
  119. package/dist/components/Gantt/GanttChart/utils/__tests__/quarterMonthScale.test.d.ts +1 -0
  120. package/dist/components/Gantt/GanttChart/utils/__tests__/subdayScale.contract.test.d.ts +1 -0
  121. package/dist/components/Gantt/GanttChart/utils/__tests__/timelineViewConfig.test.d.ts +1 -0
  122. package/dist/components/Gantt/GanttChart/utils/buildSummaryBarTooltipContent.d.ts +6 -0
  123. package/dist/components/Gantt/GanttChart/utils/constants.d.ts +93 -0
  124. package/dist/components/Gantt/GanttChart/utils/dateRangeNormalizer.d.ts +18 -0
  125. package/dist/components/Gantt/GanttChart/utils/dragEngine.d.ts +60 -0
  126. package/dist/components/Gantt/GanttChart/utils/headerBuilder.d.ts +14 -0
  127. package/dist/components/Gantt/GanttChart/utils/quarterMonthScale.d.ts +8 -0
  128. package/dist/components/Gantt/GanttChart/utils/taskBarUtils.d.ts +3 -0
  129. package/dist/components/Gantt/GanttChart/utils/timeScale.d.ts +35 -0
  130. package/dist/components/Gantt/GanttChart/utils/timelineFocus.d.ts +42 -0
  131. package/dist/components/Gantt/GanttChart/utils/timelineMarkers.d.ts +1 -0
  132. package/dist/components/Gantt/GanttChart/utils/timelineViewConfig.d.ts +106 -0
  133. package/dist/components/Gantt/GanttChart/utils/timezoneUtils.d.ts +11 -0
  134. package/dist/components/Gantt/GanttHighlightContext.d.ts +3 -0
  135. package/dist/components/Gantt/GanttResizeIndicator.d.ts +3 -0
  136. package/dist/components/Gantt/GanttTable/GanttTable.d.ts +7 -0
  137. package/dist/components/Gantt/GanttTable/hooks/useGanttTableHighlightDomSync.d.ts +2 -0
  138. package/dist/components/Gantt/GanttTable/hooks/useGanttTableLinkedScroll.d.ts +7 -0
  139. package/dist/components/Gantt/GanttTable/index.d.ts +1 -0
  140. package/dist/components/Gantt/GanttTable/utils/mapGanttColumns.d.ts +13 -0
  141. package/dist/components/Gantt/GanttToolBar/GanttToolBar.d.ts +3 -0
  142. package/dist/components/Gantt/GanttToolBar/index.d.ts +1 -0
  143. package/dist/components/Gantt/__tests__/Gantt.contract.test.d.ts +0 -0
  144. package/dist/components/Gantt/__tests__/Gantt.grouped.contract.test.d.ts +0 -0
  145. package/dist/components/Gantt/__tests__/GanttChart.contract.test.d.ts +0 -0
  146. package/dist/components/Gantt/__tests__/GanttSummaryBar.tooltip.test.d.ts +1 -0
  147. package/dist/components/Gantt/__tests__/GanttToolBar.test.d.ts +1 -0
  148. package/dist/components/Gantt/__tests__/filterItemsByCollapse.test.d.ts +1 -0
  149. package/dist/components/Gantt/__tests__/helpers/ganttDomSetup.d.ts +1 -0
  150. package/dist/components/Gantt/__tests__/helpers/ganttTestFixtures.d.ts +7 -0
  151. package/dist/components/Gantt/__tests__/helpers/ganttTestMocks.d.ts +8 -0
  152. package/dist/components/Gantt/__tests__/helpers/renderWithLocale.d.ts +3 -0
  153. package/dist/components/Gantt/__tests__/helpers/testFormatMessage.d.ts +2 -0
  154. package/dist/components/Gantt/__tests__/interface.contract.types.test.d.ts +1 -0
  155. package/dist/components/Gantt/__tests__/timezoneUtils.test.d.ts +1 -0
  156. package/dist/components/Gantt/__tests__/useBarTooltipHover.test.d.ts +1 -0
  157. package/dist/components/Gantt/__tests__/useGanttHighlight.test.d.ts +1 -0
  158. package/dist/components/Gantt/__tests__/useTaskBarPointer.test.d.ts +1 -0
  159. package/dist/components/Gantt/hooks/useGanttCollapseState.d.ts +6 -0
  160. package/dist/components/Gantt/hooks/useGanttHighlight.d.ts +10 -0
  161. package/dist/components/Gantt/hooks/useGanttLayout.d.ts +7 -0
  162. package/dist/components/Gantt/hooks/useLinkedVerticalScroll.d.ts +6 -0
  163. package/dist/components/Gantt/index.d.ts +9 -0
  164. package/dist/components/Gantt/interface.d.ts +140 -0
  165. package/dist/components/Gantt/internal/GanttLayout.d.ts +8 -0
  166. package/dist/components/Gantt/internal/GanttTableShell.d.ts +3 -0
  167. package/dist/components/Gantt/types.internal.d.ts +313 -0
  168. package/dist/components/Gantt/utils/collapseKeys.d.ts +4 -0
  169. package/dist/components/Gantt/utils/columnResize.d.ts +19 -0
  170. package/dist/components/Gantt/utils/constants.d.ts +4 -0
  171. package/dist/components/Gantt/utils/filterItemsByCollapse.d.ts +9 -0
  172. package/dist/components/Gantt/utils/highlightTarget.d.ts +13 -0
  173. package/dist/components/Gantt/utils/index.d.ts +8 -0
  174. package/dist/components/Gantt/utils/localeKey.d.ts +2 -0
  175. package/dist/components/Gantt/utils/tableWidthStorage.d.ts +3 -0
  176. package/dist/components/Select/__tests__/Select.getPopupContainer.test.d.ts +1 -0
  177. package/dist/components/Select/interface.d.ts +4 -0
  178. package/dist/components/Table/Table.d.ts +4 -0
  179. package/dist/components/Table/__tests__/HeaderCell.test.d.ts +1 -0
  180. package/dist/components/Table/__tests__/TableBody.test.d.ts +1 -0
  181. package/dist/components/Table/__tests__/processRowspan.test.d.ts +1 -0
  182. package/dist/components/Table/components/HeaderCell.d.ts +16 -0
  183. package/dist/components/Table/components/TableBody.d.ts +45 -0
  184. package/dist/components/Table/components/TableFooter.d.ts +18 -0
  185. package/dist/components/Table/components/TableHeader.d.ts +14 -0
  186. package/dist/components/Table/constants.d.ts +29 -0
  187. package/dist/components/Table/hooks/index.d.ts +2 -0
  188. package/dist/components/Table/hooks/useColumnResize.d.ts +11 -0
  189. package/dist/components/Table/hooks/useTableVirtual.d.ts +19 -0
  190. package/dist/components/Table/index.d.ts +9 -0
  191. package/dist/components/Table/interface.d.ts +114 -0
  192. package/dist/components/Table/utils/flattenColumns.d.ts +17 -0
  193. package/dist/components/Table/utils/index.d.ts +3 -0
  194. package/dist/components/Table/utils/processRowspan.d.ts +16 -0
  195. package/dist/components/Table/utils/tableUtils.d.ts +22 -0
  196. package/dist/components/Tooltip/Tooltip.type.d.ts +2 -0
  197. package/dist/components/index.d.ts +4 -2
  198. package/dist/hooks/useLatchedPopupPortalRoot.d.ts +11 -0
  199. package/dist/index.js +24 -23
  200. package/dist/locale/lang/en-US.json.d.ts +63 -0
  201. package/dist/locale/lang/zh-CN.json.d.ts +63 -0
  202. package/dist/locale/lang/zh-TW.json.d.ts +63 -0
  203. package/dist/style.css +1 -1
  204. package/dist/vendors/{ConfigProvider-DCm-93oJ.js → ConfigProvider-BRfJ7gWc.js} +123 -1
  205. package/dist/vendors/{LocaleContext-CRlzP8UO.js → LocaleContext-BJdHS0sH.js} +61 -0
  206. package/dist/vendors/{animations-BmT0HT5q.js → animations-BeI8JZp1.js} +7 -3
  207. package/dist/vendors/{useFloatingOverlay-uxlI1G-V.js → useFloatingOverlay-3KB88hpZ.js} +1 -0
  208. package/dist/vendors/{useLocale-D9kAzQlB.js → useLocale-BTz4slNW.js} +1 -1
  209. package/dist/vitest-matchers.d.ts +1 -0
  210. package/package.json +3 -2
  211. package/dist/Calendar/adapters/index.js +0 -2
  212. package/dist/Calendar/adapters-zYR7CgzD.js +0 -20
  213. package/dist/Calendar/shared/AllDaySection/index.js +0 -8
  214. package/dist/Calendar/shared/CurrentTimeIndicator/index.js +0 -5
  215. package/dist/Calendar/shared/EventCard/index.js +0 -6
  216. package/dist/Calendar/shared/TimeAxis/index.js +0 -4
  217. package/dist/Calendar/shared/TimeGrid/index.js +0 -4
  218. package/dist/Calendar/style/index.js +0 -2
  219. package/dist/DatePicker/DatePicker-B2skjsiQ.js +0 -91
  220. package/dist/Tooltip/Tooltip-RkD8fs0B.js +0 -169
  221. package/dist/components/Calendar/adapters/index.d.ts +0 -1
  222. package/dist/components/Calendar/panels/DayPanel/DayPanel.d.ts +0 -3
  223. package/dist/components/Calendar/panels/MonthPanel/MonthPanel.d.ts +0 -3
  224. package/dist/components/Calendar/panels/WeekPanel/WeekPanel.d.ts +0 -3
  225. /package/dist/components/Calendar/{shared → subcomponents}/AllDaySection/index.d.ts +0 -0
  226. /package/dist/components/Calendar/{Header → subcomponents}/CalendarHeader/CalendarHeader.d.ts +0 -0
  227. /package/dist/components/Calendar/{Header → subcomponents}/CalendarHeaderLeft/CalendarHeaderLeft.d.ts +0 -0
  228. /package/dist/components/Calendar/{shared → subcomponents}/CurrentTimeIndicator/CurrentTimeIndicator.d.ts +0 -0
  229. /package/dist/components/Calendar/{shared → subcomponents}/CurrentTimeIndicator/index.d.ts +0 -0
  230. /package/dist/components/Calendar/{Header → subcomponents}/DateDisplay/DateDisplay.d.ts +0 -0
  231. /package/dist/components/Calendar/{Header → subcomponents}/DateDisplay/__tests__/DateDisplay.weekPicker.test.d.ts +0 -0
  232. /package/dist/components/Calendar/{panels/DayPanel → subcomponents/DayView}/__tests__/CalendarDay.dayFilter.test.d.ts +0 -0
  233. /package/dist/components/Calendar/{shared → subcomponents}/EventCard/__tests__/EventCard.tooltip.test.d.ts +0 -0
  234. /package/dist/components/Calendar/{shared → subcomponents}/EventCard/index.d.ts +0 -0
  235. /package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/MonthCell/MonthCell.d.ts +0 -0
  236. /package/dist/components/Calendar/{panels/MonthPanel → subcomponents}/MonthHeader/MonthHeader.d.ts +0 -0
  237. /package/dist/components/Calendar/{Header → subcomponents}/NavButton/NavButton.d.ts +0 -0
  238. /package/dist/components/Calendar/{shared → subcomponents}/TimeAxis/TimeAxis.d.ts +0 -0
  239. /package/dist/components/Calendar/{shared → subcomponents}/TimeAxis/index.d.ts +0 -0
  240. /package/dist/components/Calendar/{shared → subcomponents}/TimeGrid/TimeGrid.d.ts +0 -0
  241. /package/dist/components/Calendar/{shared → subcomponents}/TimeGrid/index.d.ts +0 -0
  242. /package/dist/components/Calendar/{Header → subcomponents}/TodayButton/TodayButton.d.ts +0 -0
  243. /package/dist/components/Calendar/{panels/WeekPanel → subcomponents}/WeekHeader/WeekHeader.d.ts +0 -0
  244. /package/dist/components/Calendar/{internalTypes.d.ts → types.internal.d.ts} +0 -0
  245. /package/dist/components/Calendar/{adapters → utils/theme}/__tests__/platformTheme.test.d.ts +0 -0
  246. /package/dist/components/Calendar/{style → utils/theme}/__tests__/resolveCalendarThemeVars.test.d.ts +0 -0
  247. /package/dist/components/Calendar/{style → utils/theme}/__tests__/resolveScheduleColorVars.test.d.ts +0 -0
  248. /package/dist/components/Calendar/{style → utils/theme}/__tests__/resolveSubcomponentThemes.test.d.ts +0 -0
  249. /package/dist/components/Calendar/{style → utils/theme}/resolveScheduleColorVars.d.ts +0 -0
@@ -0,0 +1,8 @@
1
+ /** 内部 barrel;公开 API 请从 `@baishuyun/ui-base/Gantt` 导入 */
2
+ export { GANTT_DEFAULT_ROW_HEIGHT, GANTT_TABLE_HEADER_ROW_SPAN, MIN_TABLE_WIDTH, HEADER_TOP_HEIGHT, HEADER_BOTTOM_HEIGHT, DRAG_MODE_MOVE, DRAG_MODE_RESIZE_START, DRAG_MODE_RESIZE_END, EMPTY_GROUP_VALUE, } from '../GanttChart/utils/constants';
3
+ export { DEFAULT_TABLE_WIDTH_FALLBACK, TABLE_WIDTH_PLACEHOLDER, MIN_CHART_WIDTH, } from './constants';
4
+ export { isGroupCollapsed, toggleCollapsedKey } from './collapseKeys';
5
+ export { isSameHighlightTarget, isHighlightMatch, resolveChartHighlightTarget, } from './highlightTarget';
6
+ export { GANTT_TABLE_DISABLED_RESIZE_COLUMNS, mergeColumnWidths, useGanttTableColumnResize, } from './columnResize';
7
+ export { normalizeTaskDateRange } from '../GanttChart/utils/dateRangeNormalizer';
8
+ export { isSubDayViewMode, ALL_GANTT_MODES, CALENDAR_TIER_MODES, DEFAULT_GANTT_MODE, } from '../GanttChart/utils/timelineViewConfig';
@@ -0,0 +1,2 @@
1
+ import { LocaleKeys } from '../../../hooks/useLocale';
2
+ export declare const toGanttLocaleKey: (key: string) => LocaleKeys;
@@ -0,0 +1,3 @@
1
+ export declare function getTableWidthCacheKey(id: string): string;
2
+ export declare function readCachedTableWidth(id: string | undefined | null): number | null;
3
+ export declare function writeCachedTableWidth(id: string | undefined | null, width: number): void;
@@ -179,6 +179,10 @@ export interface SelectProps<ValueType = any, OptionType extends DefaultOptionTy
179
179
  * @description 自定义浮层的最小宽度
180
180
  */
181
181
  popupMinWidth?: string;
182
+ /**
183
+ * @description 指定下拉浮层渲染的父级 DOM 节点;未传、返回空值或非元素节点时回退到 body
184
+ */
185
+ getPopupContainer?: () => HTMLElement;
182
186
  }
183
187
  export interface SelectRef {
184
188
  /**
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TableProps, TableRef } from './interface';
3
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TableProps & React.RefAttributes<TableRef>>>;
4
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { CSSProperties } from 'react';
2
+ import { ColumnConfig } from '../interface';
3
+ export interface HeaderCellProps {
4
+ column: ColumnConfig & {
5
+ index?: number;
6
+ };
7
+ style?: CSSProperties;
8
+ className?: string;
9
+ onResizeStart?: (columnKey: string, startWidth: number, startX: number) => void;
10
+ isResizing?: boolean;
11
+ resizable?: boolean;
12
+ colSpan?: number;
13
+ rowSpan?: number;
14
+ }
15
+ declare const HeaderCell: import('react').MemoExoticComponent<({ column, style, className, onResizeStart, isResizing, resizable, colSpan, rowSpan, }: HeaderCellProps) => import("react/jsx-runtime").JSX.Element>;
16
+ export default HeaderCell;
@@ -0,0 +1,45 @@
1
+ import { CSSProperties, MouseEvent, ReactNode } from 'react';
2
+ import { ColumnConfig } from '../interface';
3
+ export interface TableBodyProps {
4
+ leftFixedColumns?: ColumnConfig[];
5
+ normalColumns?: ColumnConfig[];
6
+ rightFixedColumns?: ColumnConfig[];
7
+ dataSource?: Record<string, unknown>[];
8
+ rowKey?: string;
9
+ rowHeight?: number | string;
10
+ emptyText?: ReactNode;
11
+ onRowClick?: (record: Record<string, unknown>, index: number, e: MouseEvent) => void;
12
+ onRow?: (record: Record<string, unknown>, index: number, defaults: {
13
+ className: string;
14
+ style: CSSProperties;
15
+ }) => Record<string, unknown>;
16
+ onCell?: (value: unknown, record: Record<string, unknown>, column: ColumnConfig, rowIndex: number, cellProps: {
17
+ className: string;
18
+ style: CSSProperties;
19
+ }) => Record<string, unknown>;
20
+ totalColumnsWidth?: number;
21
+ needSpacer?: boolean;
22
+ rowRefCallback?: (element: HTMLElement) => void;
23
+ isDynamicHeight?: boolean;
24
+ emptyRowContent?: ReactNode;
25
+ showEmptyRow?: boolean;
26
+ /**
27
+ * 分组数据块在全局虚拟列表中的起始下标。
28
+ * 传入(含 0)时强制 data-index = startVirtualIndex + rowIndex,不与 record.dataIndex 混用。
29
+ */
30
+ startVirtualIndex?: number;
31
+ /** 无数据时返回 null(分组块常用);优先于 showEmptyRow */
32
+ hideWhenEmpty?: boolean;
33
+ /** 追加到 .custom-table-body */
34
+ wrapperClassName?: string;
35
+ /**
36
+ * 为 true 时即使 isDynamicHeight 也使用 rowHeight(对齐 Gantt 分组块现状)。
37
+ * 默认 false:平坦路径保持 isDynamicHeight ? 'auto' : rowHeight。
38
+ */
39
+ forceRowHeight?: boolean;
40
+ }
41
+ declare const _default: import('react').MemoExoticComponent<{
42
+ ({ leftFixedColumns, normalColumns, rightFixedColumns, dataSource, rowKey, rowHeight, emptyText, onRowClick, onRow, onCell, totalColumnsWidth, needSpacer, rowRefCallback, isDynamicHeight, emptyRowContent, showEmptyRow, startVirtualIndex, hideWhenEmpty, wrapperClassName, forceRowHeight, }: TableBodyProps): import("react/jsx-runtime").JSX.Element | null;
43
+ displayName: string;
44
+ }>;
45
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+ import { ColumnConfig } from '../interface';
3
+ export interface TableFooterProps {
4
+ leftFixedColumns?: ColumnConfig[];
5
+ normalColumns?: ColumnConfig[];
6
+ rightFixedColumns?: ColumnConfig[];
7
+ footerData?: Record<string, unknown>;
8
+ summary?: Record<string, ReactNode>;
9
+ render?: (value: unknown, column: ColumnConfig) => ReactNode;
10
+ enableFixed?: boolean;
11
+ totalColumnsWidth?: number;
12
+ needSpacer?: boolean;
13
+ }
14
+ declare const _default: import('react').MemoExoticComponent<{
15
+ ({ leftFixedColumns, normalColumns, rightFixedColumns, footerData, summary, render, enableFixed, totalColumnsWidth, needSpacer, }: TableFooterProps): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ }>;
18
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { ColumnConfig } from '../interface';
2
+ export interface TableHeaderProps {
3
+ columns?: ColumnConfig[];
4
+ enableFixed?: boolean;
5
+ height?: number;
6
+ resizingColumn?: string | null;
7
+ onResizeStart?: (columnKey: string, startWidth: number, startX: number) => void;
8
+ disabledResizeColumns?: string[];
9
+ totalColumnsWidth?: number;
10
+ needSpacer?: boolean;
11
+ headerRowSpan?: number;
12
+ }
13
+ declare const _default: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<TableHeaderProps & import('react').RefAttributes<HTMLDivElement>>>;
14
+ export default _default;
@@ -0,0 +1,29 @@
1
+ export declare const DEFAULT_CONFIG: {
2
+ ROW_HEIGHT: number;
3
+ HEADER_HEIGHT: number;
4
+ EMPTY_TEXT_KEY: "table.empty";
5
+ };
6
+ export declare const ROW_DEFAULTS: {
7
+ MIN_HEIGHT: number;
8
+ MAX_HEIGHT: number;
9
+ };
10
+ export declare const VIRTUALIZATION_DEFAULTS: {
11
+ DEFAULT_OVERSCAN: number;
12
+ ENABLE_AUTO_SIZE: number;
13
+ };
14
+ export declare const COLUMN_DEFAULTS: {
15
+ DEFAULT_WIDTH: number;
16
+ MIN_WIDTH: number;
17
+ MAX_WIDTH: number;
18
+ };
19
+ export declare const SORT_DIRECTION: {
20
+ readonly ASC: "asc";
21
+ readonly DESC: "desc";
22
+ readonly NONE: null;
23
+ };
24
+ /** 集成方应依赖这些 class,而非 DOM 层级假设(联动滚动、行高测量等) */
25
+ export declare const TABLE_DOM: {
26
+ readonly wrapper: "custom-table-wrapper";
27
+ readonly body: "custom-table-body";
28
+ };
29
+ export default DEFAULT_CONFIG;
@@ -0,0 +1,2 @@
1
+ export { useTableVirtual } from './useTableVirtual';
2
+ export { useColumnResize } from './useColumnResize';
@@ -0,0 +1,11 @@
1
+ export interface UseColumnResizeOptions {
2
+ minColumnWidth?: number;
3
+ maxColumnWidth?: number;
4
+ onColumnResize?: (event: MouseEvent, columnKey: string, newWidth: number) => void;
5
+ onColumnResizeEnd?: (columnKey: string, newWidth: number) => void;
6
+ }
7
+ export declare function useColumnResize(options?: UseColumnResizeOptions): {
8
+ isResizing: boolean;
9
+ resizingColumn: string | undefined;
10
+ startResize: (this: unknown, columnKey: string, startWidth: number, startX: number) => void;
11
+ };
@@ -0,0 +1,19 @@
1
+ export interface UseTableVirtualOptions {
2
+ rowHeight?: number | string | ((index: number) => number);
3
+ enabled?: boolean;
4
+ overscan?: number;
5
+ estimateSize?: (index: number, row?: Record<string, unknown>) => number;
6
+ minRowHeight?: number;
7
+ maxRowHeight?: number;
8
+ }
9
+ export declare function useTableVirtual(rows: Record<string, unknown>[], options: UseTableVirtualOptions, containerRef: React.RefObject<HTMLElement | null>): {
10
+ enabled: boolean;
11
+ virtualRows: any;
12
+ rowRefCallback: any;
13
+ totalHeight: any;
14
+ paddingTop: any;
15
+ paddingBottom: number;
16
+ remeasure: (this: unknown) => void;
17
+ clearRowHeightCache: (this: unknown, rowIds?: string | number | (string | number)[] | undefined) => void;
18
+ isDynamicHeight: boolean;
19
+ };
@@ -0,0 +1,9 @@
1
+ export { default as Table } from './Table';
2
+ export { default } from './Table';
3
+ export { default as TableBody } from './components/TableBody';
4
+ export type { TableBodyProps } from './components/TableBody';
5
+ export type { TableProps, ColumnConfig, HeaderRenderApi, TableRenderBodyContext, } from './interface';
6
+ export { processRowspan, shouldRenderCell, getCellRowspan } from './utils/processRowspan';
7
+ export { getRowKey, calculateFixedOffset, splitFixedColumns, getColumnsWidth, expandLeafColumns, sortData, } from './utils/tableUtils';
8
+ export { useTableVirtual, useColumnResize } from './hooks';
9
+ export { TABLE_DOM, DEFAULT_CONFIG, COLUMN_DEFAULTS } from './constants';
@@ -0,0 +1,114 @@
1
+ import { CSSProperties, MouseEvent, MutableRefObject, ReactNode } from 'react';
2
+ /** 表头自定义渲染时注入的 API(供外部挂载菜单等) */
3
+ export interface HeaderRenderApi {
4
+ /** 外部可写入 triggerClick,供 th 点击时回调 */
5
+ menuRef: MutableRefObject<{
6
+ triggerClick?: (e: MouseEvent) => void;
7
+ } | null>;
8
+ }
9
+ export interface ColumnConfig {
10
+ key: string;
11
+ title?: ReactNode;
12
+ dataIndex?: string;
13
+ width?: number;
14
+ fixed?: 'left' | 'right';
15
+ sortable?: boolean;
16
+ align?: 'left' | 'center' | 'right';
17
+ className?: string;
18
+ type?: string;
19
+ colorEnable?: boolean;
20
+ regex?: string;
21
+ name?: string;
22
+ parentKey?: string;
23
+ isParent?: boolean;
24
+ isLeaf?: boolean;
25
+ colSpan?: number;
26
+ rowSpan?: number;
27
+ children?: ColumnConfig[];
28
+ /** 自定义表头;第二个参数含 menuRef,供外部挂载 triggerClick */
29
+ header?: (column: ColumnConfig, api: HeaderRenderApi) => ReactNode;
30
+ render?: (value: unknown, record: Record<string, unknown>, index: number) => ReactNode;
31
+ renderFooter?: (value: unknown, column: ColumnConfig) => ReactNode;
32
+ [key: string]: unknown;
33
+ }
34
+ export interface OverlayScrollbarOptions {
35
+ overflowX?: 'scroll' | 'hidden';
36
+ overflowY?: 'scroll' | 'hidden';
37
+ theme?: string;
38
+ autoHide?: 'never' | 'scroll' | 'move' | 'leave';
39
+ }
40
+ /** renderBody 注入上下文:分组等自定义 body 应复用已拆分列,避免二次 splitFixedColumns */
41
+ export interface TableRenderBodyContext {
42
+ columns: ColumnConfig[];
43
+ flatColumns: ColumnConfig[];
44
+ leftFixedColumns: ColumnConfig[];
45
+ normalColumns: ColumnConfig[];
46
+ rightFixedColumns: ColumnConfig[];
47
+ totalColumnsWidth: number;
48
+ needSpacer: boolean;
49
+ rowRefCallback: (element: HTMLElement) => void;
50
+ isDynamicHeight: boolean;
51
+ rowHeight: number | string;
52
+ onRowClick?: (record: Record<string, unknown>, index: number, e: MouseEvent) => void;
53
+ scrollRef: MutableRefObject<HTMLDivElement | null>;
54
+ virtualRows: Array<{
55
+ index: number;
56
+ start: number;
57
+ size: number;
58
+ end: number;
59
+ }>;
60
+ /** 当前是否启用行虚拟滚动(供 renderBody 区分「未测量」与「已关闭」) */
61
+ virtualEnabled: boolean;
62
+ }
63
+ export interface TableProps {
64
+ columns?: ColumnConfig[];
65
+ dataSource?: Record<string, unknown>[];
66
+ rowKey?: string;
67
+ height?: number | string;
68
+ bordered?: boolean;
69
+ emptyText?: ReactNode;
70
+ onRowClick?: (record: Record<string, unknown>, index: number, e: MouseEvent) => void;
71
+ scroll?: {
72
+ x?: number | string;
73
+ y?: number | string;
74
+ };
75
+ footerData?: Record<string, unknown>;
76
+ footerSummary?: Record<string, ReactNode>;
77
+ renderFooter?: (value: unknown, column: ColumnConfig) => ReactNode;
78
+ hasFooter?: boolean;
79
+ onRow?: (record: Record<string, unknown>, index: number, defaults: {
80
+ className: string;
81
+ style: CSSProperties;
82
+ }) => Record<string, unknown>;
83
+ onCell?: (value: unknown, record: Record<string, unknown>, column: ColumnConfig, rowIndex: number, cellProps: {
84
+ className: string;
85
+ style: CSSProperties;
86
+ }) => Record<string, unknown>;
87
+ rowHeightStyle?: 'low' | 'middle' | 'high' | 'auto';
88
+ resizable?: boolean;
89
+ disabledResizeColumns?: string[];
90
+ minColumnWidth?: number;
91
+ maxColumnWidth?: number;
92
+ onColumnResize?: (columnKey: string, newWidth: number, widths: Map<string, number>) => void;
93
+ onColumnResizeEnd?: (columnKey: string, newWidth: number, widths: Map<string, number>) => void;
94
+ renderBody?: (ctx: TableRenderBodyContext) => ReactNode;
95
+ estimateSize?: (index: number, row?: Record<string, unknown>) => number;
96
+ /**
97
+ * 强制开启行虚拟滚动。默认按行数自动启用(> ENABLE_AUTO_SIZE)。
98
+ * 甘特分组 `renderBody` 依赖非空 `virtualRows`,应传 `true`。
99
+ */
100
+ virtualEnabled?: boolean;
101
+ dataProcessor?: (rows: Record<string, unknown>[]) => Record<string, unknown>[];
102
+ headerRowSpan?: number;
103
+ fixedShadowMask?: {
104
+ left?: boolean;
105
+ right?: boolean;
106
+ };
107
+ onRenderEmpty?: () => ReactNode;
108
+ overlayScrollbarOptions?: OverlayScrollbarOptions;
109
+ wrapperStyle?: CSSProperties;
110
+ }
111
+ export interface TableRef {
112
+ clearRowHeightCache: (rowIds?: string | number | Array<string | number>) => void;
113
+ remeasure: () => void;
114
+ }
@@ -0,0 +1,17 @@
1
+ import { ColumnConfig } from '../interface';
2
+ type HeaderCell = ColumnConfig & {
3
+ colSpan?: number;
4
+ rowSpan?: number;
5
+ isParent?: boolean;
6
+ isLeaf?: boolean;
7
+ isPlaceholder?: boolean;
8
+ displayIndex?: number;
9
+ };
10
+ /**
11
+ * 扁平化列配置,计算多级表头的 colspan 和 rowspan
12
+ */
13
+ export declare const flattenColumns: (columns: ColumnConfig[]) => {
14
+ flatColumns: HeaderCell[];
15
+ headerRows: HeaderCell[][];
16
+ };
17
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './tableUtils';
2
+ export * from './processRowspan';
3
+ export * from './flattenColumns';
@@ -0,0 +1,16 @@
1
+ import { ColumnConfig } from '../interface';
2
+ type RowRecord = Record<string, unknown> & {
3
+ _rowspan?: Record<string, number>;
4
+ _showMainFields?: boolean;
5
+ _groupIndex?: number;
6
+ _groupSize?: number;
7
+ _subformRowCounts?: Record<string, number>;
8
+ };
9
+ /**
10
+ * 处理 tbody 数据的 rowspan。
11
+ * 主表字段与子表单字段同屏时,主表字段按组合并。
12
+ */
13
+ export declare const processRowspan: (flatDataSource: RowRecord[] | null | undefined, columns: ColumnConfig[], data_key?: string) => RowRecord[];
14
+ export declare const getCellRowspan: (record: RowRecord, column: ColumnConfig) => number;
15
+ export declare const shouldRenderCell: (record: RowRecord, column: ColumnConfig) => boolean;
16
+ export {};
@@ -0,0 +1,22 @@
1
+ import { SORT_DIRECTION } from '../constants';
2
+ import { ColumnConfig } from '../interface';
3
+ import { CSSProperties } from 'react';
4
+ type SortDirection = (typeof SORT_DIRECTION)[keyof typeof SORT_DIRECTION];
5
+ /** 展开一级 children,得到叶列(非多级表头算法) */
6
+ export declare const expandLeafColumns: (columns?: ColumnConfig[]) => ColumnConfig[];
7
+ export declare const findFlatColumnIndex: (column: ColumnConfig, flatColumns: ColumnConfig[]) => number;
8
+ export declare const calculateFixedOffset: (columnIndex: number, columns: ColumnConfig[], fixedType: "left" | "right", defaultWidth?: number) => number;
9
+ /** 固定列 sticky 定位样式;非固定返回 null */
10
+ export declare const getFixedStickyStyle: (columnIndex: number, flatColumns: ColumnConfig[], fixed: "left" | "right" | undefined) => CSSProperties | null;
11
+ /**
12
+ * 排序数据。compareFn 按升序编写,降序由内部 reverse。
13
+ */
14
+ export declare const sortData: <T extends Record<string, unknown>>(data: T[], key: string, direction: SortDirection, compareFn?: (aVal: unknown, bVal: unknown, a: T, b: T) => number) => T[];
15
+ export declare const getRowKey: (record: Record<string, unknown>, rowKey: string, index: number) => string | number;
16
+ export declare const splitFixedColumns: (columns: ColumnConfig[]) => {
17
+ leftFixedColumns: ColumnConfig[];
18
+ normalColumns: ColumnConfig[];
19
+ rightFixedColumns: ColumnConfig[];
20
+ };
21
+ export declare const getColumnsWidth: (columns: ColumnConfig[], defaultWidth?: number) => number;
22
+ export {};
@@ -11,6 +11,8 @@ export type TooltipProps = {
11
11
  content?: ReactNode;
12
12
  trigger?: TooltipTrigger;
13
13
  style?: CSSProperties;
14
+ /** 浮层 z-index,默认通过 CSS 变量 `--bsy-tooltip-z-index` 生效 */
15
+ zIndex?: number;
14
16
  showArrow?: boolean;
15
17
  placement?: Placement;
16
18
  onClose?: () => void;
@@ -22,7 +22,9 @@ export { NotFoundContent } from './NotFoundContent';
22
22
  export { default as TabSelect } from './Tabs/TabSelect/TabSelect';
23
23
  export { default as InputTag } from './InputTag';
24
24
  export { default as Calendar } from './Calendar';
25
- export type { CalendarProps, CalendarDataItem, CalendarTimeInput, CalendarMode, CalendarAxis, CalendarTheme, CalendarPanelBgImagePosition, CalendarTooltipConfig, CalendarEventClickHandler, AddClickPayload, PlatformCalendarThemeConfig, } from './Calendar';
26
- export { resolveCalendarThemeVars, resolvePlatformCalendarTheme } from './Calendar';
25
+ export type { CalendarProps, CalendarDataItem, CalendarTimeInput, CalendarMode, CalendarAxis, CalendarTheme, CalendarPanelBgImagePosition, CalendarTooltipConfig, CalendarEventClickHandler, AddClickPayload, } from './Calendar';
27
26
  export { default as DatePicker } from './DatePicker';
28
27
  export type { DatePickerProps, DatePickerTheme, PickerType } from './DatePicker';
28
+ export { default as Table } from './Table';
29
+ export type { TableProps, ColumnConfig, HeaderRenderApi } from './Table';
30
+ export { processRowspan, shouldRenderCell, getCellRowspan, getRowKey, calculateFixedOffset, splitFixedColumns, getColumnsWidth, expandLeafColumns, sortData, useTableVirtual, useColumnResize, } from './Table';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 打开时同步解析 getPopupContainer;关闭后保留 root/key 直到退场结束。
3
+ * 避免关闭瞬间切换 FloatingPortal root/key 导致 AnimatePresence exit 被打断,
4
+ * 也避免异步 latch 造成首帧挂到错误容器。
5
+ */
6
+ declare const useLatchedPopupPortalRoot: (isOpen: boolean, getPopupContainer?: () => HTMLElement) => {
7
+ portalRoot: HTMLElement | undefined;
8
+ portalMountKey: string;
9
+ handleExitComplete: () => void;
10
+ };
11
+ export default useLatchedPopupPortalRoot;
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./Icon/Icon-BQ3Whub2.js";
2
- import "./vendors/LocaleContext-CRlzP8UO.js";
3
- import { r as t, t as n } from "./vendors/ConfigProvider-DCm-93oJ.js";
2
+ import "./vendors/LocaleContext-BJdHS0sH.js";
3
+ import { r as t, t as n } from "./vendors/ConfigProvider-BRfJ7gWc.js";
4
4
  import "./Amap/AmapContext-JaYk1a3H.js";
5
- import { t as r } from "./Amap/AmapProvider-CTn2CH8s.js";
5
+ import { t as r } from "./Amap/AmapProvider-By5tTMAj.js";
6
6
  import { t as i } from "./Amap/Amap-DL5dLiUm.js";
7
7
  import { n as a, t as o } from "./Amap/hooks-D1m8KgVM.js";
8
8
  import { t as s } from "./Amap/AmapCircle-mh92P2l6.js";
@@ -11,14 +11,14 @@ import { t as c } from "./Amap/AmapMarker-DYW0-8Hd.js";
11
11
  import { t as l } from "./Amap/AmapMarkerCluster-BRVHHMbi.js";
12
12
  import { t as u } from "./Card/Card-CRrtIjNT.js";
13
13
  import { t as d } from "./Modal/Modal-CrK8gFOn.js";
14
- import { t as f } from "./ColorPicker/ColorPicker-BNPxmfw_.js";
15
- import "./vendors/useFloatingOverlay-uxlI1G-V.js";
16
- import "./vendors/useLocale-D9kAzQlB.js";
14
+ import { t as f } from "./ColorPicker/ColorPicker-By-Y8Tyz.js";
15
+ import "./vendors/useFloatingOverlay-3KB88hpZ.js";
16
+ import "./vendors/useLocale-BTz4slNW.js";
17
17
  import "./vendors/color-BeQo449h.js";
18
18
  import { t as p } from "./Segmented/Segmented-BTW445jc.js";
19
- import { n as m, t as h } from "./Tooltip/Tooltip-RkD8fs0B.js";
20
- import { t as g } from "./Select/Select-Dz_xr4my.js";
21
- import "./Select/SelectInputSearch-GHYAmQ3A.js";
19
+ import { n as m, t as h } from "./Tooltip/Tooltip-DW_XP13m.js";
20
+ import { t as g } from "./Select/Select-Gkywa_sm.js";
21
+ import "./Select/SelectInputSearch-DXPTGSc2.js";
22
22
  import { t as _ } from "./vendors/Tree-DJpkMB5u.js";
23
23
  import "./CheckBox/CheckBox-CkVe5Boq.js";
24
24
  import { t as v } from "./CheckBox/CheckBox-DIunYcfS.js";
@@ -26,23 +26,24 @@ import { t as y } from "./Radio/Radio-DkrZHoG1.js";
26
26
  import { t as b } from "./NotFoundContent/NotFoundContent-7xV-zOG2.js";
27
27
  import "./vendors/useFloatingPortal-DsEtsAGW.js";
28
28
  import "./Tree/index.js";
29
- import { n as x, t as S } from "./Tabs/Tabs-CPRNkfMo.js";
30
- import { t as C } from "./DropDown/DropDown-m3HT_eex.js";
29
+ import { n as x, t as S } from "./Tabs/Tabs-DVQcB3YG.js";
30
+ import { t as C } from "./DropDown/DropDown-C5H9UObs.js";
31
31
  import { t as w } from "./Loading/Loading-WjmzBabh.js";
32
32
  import "./NotFoundContent/index.js";
33
33
  import { t as T } from "./InputTag/InputTag-zP5QdId7.js";
34
34
  import "./Calendar/context-DNOJ9LW_.js";
35
- import { t as E } from "./Calendar/Calendar-BIjk9zys.js";
36
- import { t as D } from "./DatePicker/DatePicker-B2skjsiQ.js";
37
- import "./DatePicker/ensureDayjsPlugins-DZjJnZgo.js";
35
+ import { t as E } from "./Calendar/Calendar-CuBzeTkR.js";
36
+ import { t as D } from "./DatePicker/DatePicker-B6ZFxTt6.js";
37
+ import "./DatePicker/ensureDayjsPlugins-C3aqki6i.js";
38
38
  import "./DatePicker/pickerLocale-VqSP_iIm.js";
39
39
  import "./DatePicker/style-DZaSSoNs.js";
40
- import "./Calendar/layout-DvWx_7gn.js";
41
- import "./Calendar/TimeAxis-gKb8dTwY.js";
42
- import "./Calendar/TimeGrid-D8Du5vFP.js";
43
- import "./Calendar/CurrentTimeIndicator-DaIywtIA.js";
44
- import "./Calendar/EventCard-D_VeOVDQ.js";
45
- import "./Calendar/AllDaySection-DS0Frx1p.js";
46
- import { i as O } from "./Calendar/style-hCRKx3m1.js";
47
- import { t as k } from "./Calendar/adapters-zYR7CgzD.js";
48
- export { i as Amap, s as AmapCircle, c as AmapMarker, l as AmapMarkerCluster, r as AmapProvider, E as Calendar, u as Card, v as Checkbox, f as ColorPicker, n as ConfigProvider, D as DatePicker, C as DropDown, e as Icon, T as InputTag, w as Loading, t as LocalTheme, d as Modal, b as NotFoundContent, y as Ratio, p as Segmented, g as Select, S as TabSelect, x as Tabs, h as Tooltip, m as TooltipFloatingContext, _ as Tree, O as resolveCalendarThemeVars, k as resolvePlatformCalendarTheme, a as useAmap, o as useCurrentLocation };
40
+ import "./Calendar/layout-CaPxiRd-.js";
41
+ import "./Calendar/TimeAxis-cK2_3FeM.js";
42
+ import "./Calendar/TimeGrid-B8lvUb1W.js";
43
+ import "./Calendar/CurrentTimeIndicator-CUeblc9r.js";
44
+ import "./Calendar/EventCard-DRJrT_AG.js";
45
+ import "./Calendar/AllDaySection-DwQz-p7a.js";
46
+ import { a as O, c as k, d as A, f as j, n as M, o as N, r as P, t as F, u as I } from "./Table/processRowspan-BCzfI5un.js";
47
+ import { t as L } from "./Table/Table-DVTq4n2V.js";
48
+ import { n as R, t as z } from "./Table/hooks-CJ2CnSep.js";
49
+ export { i as Amap, s as AmapCircle, c as AmapMarker, l as AmapMarkerCluster, r as AmapProvider, E as Calendar, u as Card, v as Checkbox, f as ColorPicker, n as ConfigProvider, D as DatePicker, C as DropDown, e as Icon, T as InputTag, w as Loading, t as LocalTheme, d as Modal, b as NotFoundContent, y as Ratio, p as Segmented, g as Select, S as TabSelect, L as Table, x as Tabs, h as Tooltip, m as TooltipFloatingContext, _ as Tree, O as calculateFixedOffset, N as expandLeafColumns, F as getCellRowspan, k as getColumnsWidth, I as getRowKey, M as processRowspan, P as shouldRenderCell, A as sortData, j as splitFixedColumns, a as useAmap, z as useColumnResize, o as useCurrentLocation, R as useTableVirtual };
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "table": {
3
+ "empty": "No Data"
4
+ },
2
5
  "select": "Please select",
3
6
  "search": "search",
4
7
  "noFindData": "No search data",
@@ -99,6 +102,66 @@ declare const _default: {
99
102
  "5": "Sat",
100
103
  "6": "Sun"
101
104
  }
105
+ },
106
+ "gantt": {
107
+ "today": "Today",
108
+ "timeBegin": "Start time",
109
+ "timeEnd": "End time",
110
+ "firstHalf": "H1",
111
+ "secondHalf": "H2",
112
+ "emptyGroup": "(Empty)",
113
+ "mode": {
114
+ "oneMinute": "Minute",
115
+ "tenMinute": "10 min",
116
+ "halfHour": "30 min",
117
+ "hour": "Hour",
118
+ "sixHour": "6 hours",
119
+ "halfDay": "AM/PM",
120
+ "day": "Day",
121
+ "week": "Week",
122
+ "month": "Month",
123
+ "quarter": "Quarter",
124
+ "quarterMonth": "Q/M",
125
+ "year": "Year"
126
+ },
127
+ "header": {
128
+ "top": {
129
+ "yearMonth": "{{year}}-{{month}}",
130
+ "monthDay": "{{month}}/{{day}}",
131
+ "hourWithDate": "{{month}}/{{day}} {{hour}}:00",
132
+ "hourOnly": "{{hour}}:00",
133
+ "year": "{{year}}",
134
+ "quarter": "{{year}} Q{{ordinal}}"
135
+ },
136
+ "lower": {
137
+ "week": "W{{week}}",
138
+ "quarter": "Q{{quarter}}",
139
+ "halfDayAm": "AM",
140
+ "halfDayPm": "PM",
141
+ "sixHourRange": "{{start}}-{{end}}",
142
+ "month": "{{month}}"
143
+ }
144
+ },
145
+ "quarter": {
146
+ "1": "1",
147
+ "2": "2",
148
+ "3": "3",
149
+ "4": "4"
150
+ },
151
+ "summary": {
152
+ "startTime": "Start: {{datetime}}",
153
+ "endTime": "End: {{datetime}}",
154
+ "progress": "Progress: {{percent}}%",
155
+ "datetime": "{{year}}-{{month}}-{{day}} {{hour}}:{{minute}}:{{second}}",
156
+ "empty": "—"
157
+ },
158
+ "aria": {
159
+ "timeline": "Gantt timeline",
160
+ "scrollPrev": "Scroll left",
161
+ "scrollNext": "Scroll right",
162
+ "jumpLeft": "Jump to left task",
163
+ "jumpRight": "Jump to right task"
164
+ }
102
165
  }
103
166
  }
104
167
  ;