@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,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-DwmA94S2.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-CwKdpmCg.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";
@@ -10,39 +10,40 @@ import "./Amap/useMarkerInfoWindowController-CRgf2I0Q.js";
10
10
  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
- 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";
13
+ import { t as d } from "./Modal/Modal-D3LFqIV4.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";
22
- import { t as _ } from "./vendors/Tree-DJpkMB5u.js";
19
+ import { n as m, t as h } from "./Tooltip/Tooltip-DW_XP13m.js";
20
+ import { t as g } from "./Select/Select-OjCjCogR.js";
21
+ import "./Select/SelectInputSearch-DXPTGSc2.js";
22
+ import { t as _ } from "./vendors/Tree-C7BgkjCQ.js";
23
23
  import "./CheckBox/CheckBox-CkVe5Boq.js";
24
24
  import { t as v } from "./CheckBox/CheckBox-DIunYcfS.js";
25
25
  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-CvQAbsEo.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-Yu2HfA5D.js";
36
+ import { t as D } from "./DatePicker/DatePicker-PCdNachD.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-L6jaKgEw.js";
45
+ import "./Calendar/AllDaySection-CseF1DuB.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-3-kFIm5v.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
  ;
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "table": {
3
+ "empty": "暂无数据"
4
+ },
2
5
  "select": "请选择",
3
6
  "search": "搜索",
4
7
  "noFindData": "未搜索到任何数据",
@@ -99,6 +102,66 @@ declare const _default: {
99
102
  "5": "周六",
100
103
  "6": "周日"
101
104
  }
105
+ },
106
+ "gantt": {
107
+ "today": "今天",
108
+ "timeBegin": "开始时间",
109
+ "timeEnd": "结束时间",
110
+ "firstHalf": "上半年",
111
+ "secondHalf": "下半年",
112
+ "emptyGroup": "(空)",
113
+ "mode": {
114
+ "oneMinute": "分钟",
115
+ "tenMinute": "10分钟",
116
+ "halfHour": "半小时",
117
+ "hour": "小时",
118
+ "sixHour": "6小时",
119
+ "halfDay": "上午/下午",
120
+ "day": "日",
121
+ "week": "周",
122
+ "month": "月",
123
+ "quarter": "季",
124
+ "quarterMonth": "季/月",
125
+ "year": "年"
126
+ },
127
+ "header": {
128
+ "top": {
129
+ "yearMonth": "{{year}}年{{month}}月",
130
+ "monthDay": "{{month}}月{{day}}日",
131
+ "hourWithDate": "{{month}}月{{day}}日{{hour}}点",
132
+ "hourOnly": "{{hour}}点",
133
+ "year": "{{year}}",
134
+ "quarter": "{{year}}年{{ordinal}}季度"
135
+ },
136
+ "lower": {
137
+ "week": "{{week}}周",
138
+ "quarter": "{{quarter}}季度",
139
+ "halfDayAm": "上午",
140
+ "halfDayPm": "下午",
141
+ "sixHourRange": "{{start}}-{{end}}点",
142
+ "month": "{{month}}月"
143
+ }
144
+ },
145
+ "quarter": {
146
+ "1": "一",
147
+ "2": "二",
148
+ "3": "三",
149
+ "4": "四"
150
+ },
151
+ "summary": {
152
+ "startTime": "开始时间:{{datetime}}",
153
+ "endTime": "结束时间:{{datetime}}",
154
+ "progress": "进度:{{percent}}%",
155
+ "datetime": "{{year}}-{{month}}-{{day}} {{hour}}:{{minute}}:{{second}}",
156
+ "empty": "—"
157
+ },
158
+ "aria": {
159
+ "timeline": "甘特图时间轴",
160
+ "scrollPrev": "向左滚动",
161
+ "scrollNext": "向右滚动",
162
+ "jumpLeft": "跳转到左侧任务",
163
+ "jumpRight": "跳转到右侧任务"
164
+ }
102
165
  }
103
166
  }
104
167
  ;
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "table": {
3
+ "empty": "暫無資料"
4
+ },
2
5
  "select": "請選擇",
3
6
  "search": "搜尋",
4
7
  "noFindData": "未搜尋到任何資料",
@@ -99,6 +102,66 @@ declare const _default: {
99
102
  "5": "週六",
100
103
  "6": "週日"
101
104
  }
105
+ },
106
+ "gantt": {
107
+ "today": "今天",
108
+ "timeBegin": "開始時間",
109
+ "timeEnd": "結束時間",
110
+ "firstHalf": "上半年",
111
+ "secondHalf": "下半年",
112
+ "emptyGroup": "(空)",
113
+ "mode": {
114
+ "oneMinute": "分鐘",
115
+ "tenMinute": "10分鐘",
116
+ "halfHour": "半小時",
117
+ "hour": "小時",
118
+ "sixHour": "6小時",
119
+ "halfDay": "上午/下午",
120
+ "day": "日",
121
+ "week": "週",
122
+ "month": "月",
123
+ "quarter": "季",
124
+ "quarterMonth": "季/月",
125
+ "year": "年"
126
+ },
127
+ "header": {
128
+ "top": {
129
+ "yearMonth": "{{year}}年{{month}}月",
130
+ "monthDay": "{{month}}月{{day}}日",
131
+ "hourWithDate": "{{month}}月{{day}}日{{hour}}點",
132
+ "hourOnly": "{{hour}}點",
133
+ "year": "{{year}}",
134
+ "quarter": "{{year}}年{{ordinal}}季度"
135
+ },
136
+ "lower": {
137
+ "week": "{{week}}週",
138
+ "quarter": "{{quarter}}季度",
139
+ "halfDayAm": "上午",
140
+ "halfDayPm": "下午",
141
+ "sixHourRange": "{{start}}-{{end}}點",
142
+ "month": "{{month}}月"
143
+ }
144
+ },
145
+ "quarter": {
146
+ "1": "一",
147
+ "2": "二",
148
+ "3": "三",
149
+ "4": "四"
150
+ },
151
+ "summary": {
152
+ "startTime": "開始時間:{{datetime}}",
153
+ "endTime": "結束時間:{{datetime}}",
154
+ "progress": "進度:{{percent}}%",
155
+ "datetime": "{{year}}-{{month}}-{{day}} {{hour}}:{{minute}}:{{second}}",
156
+ "empty": "—"
157
+ },
158
+ "aria": {
159
+ "timeline": "甘特圖時間軸",
160
+ "scrollPrev": "向左滾動",
161
+ "scrollNext": "向右滾動",
162
+ "jumpLeft": "跳轉到左側任務",
163
+ "jumpRight": "跳轉到右側任務"
164
+ }
102
165
  }
103
166
  }
104
167
  ;