@baishuyun/ui-base 6.4.2 → 6.5.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 (153) hide show
  1. package/dist/Amap/{Amap-DL5dLiUm.js → Amap-Dnvu_pUP.js} +1 -1
  2. package/dist/Amap/AmapCircle/index.js +3 -3
  3. package/dist/Amap/{AmapCircle-mh92P2l6.js → AmapCircle-Wfn43qco.js} +1 -1
  4. package/dist/Amap/AmapMarker/index.js +4 -4
  5. package/dist/Amap/{AmapMarker-DYW0-8Hd.js → AmapMarker-CB66dQIG.js} +2 -2
  6. package/dist/Amap/AmapMarkerCluster/index.js +4 -4
  7. package/dist/Amap/{AmapMarkerCluster-BRVHHMbi.js → AmapMarkerCluster-DvXchCC0.js} +2 -2
  8. package/dist/Amap/AmapProvider/index.js +4 -4
  9. package/dist/Amap/{AmapProvider-CwKdpmCg.js → AmapProvider-XCrqzo9W.js} +2 -2
  10. package/dist/Amap/hooks/index.js +2 -2
  11. package/dist/Amap/{hooks-D1m8KgVM.js → hooks-DwRvpafb.js} +1 -1
  12. package/dist/Amap/index.js +10 -10
  13. package/dist/Calendar/{AllDaySection-CseF1DuB.js → AllDaySection-M-b9tRHh.js} +4 -4
  14. package/dist/Calendar/{Calendar-Yu2HfA5D.js → Calendar-C9PhASp0.js} +13 -13
  15. package/dist/Calendar/{CurrentTimeIndicator-CUeblc9r.js → CurrentTimeIndicator-Dpi36eVJ.js} +1 -1
  16. package/dist/Calendar/{EventCard-L6jaKgEw.js → EventCard-BIfRqCk5.js} +3 -3
  17. package/dist/Calendar/{TimeGrid-B8lvUb1W.js → TimeGrid-Dk3soSo4.js} +2 -2
  18. package/dist/Calendar/context/index.js +1 -1
  19. package/dist/Calendar/index.js +19 -19
  20. package/dist/Calendar/subcomponents/AllDaySection/index.js +7 -7
  21. package/dist/Calendar/subcomponents/CurrentTimeIndicator/index.js +4 -4
  22. package/dist/Calendar/subcomponents/EventCard/index.js +5 -5
  23. package/dist/Calendar/subcomponents/TimeAxis/index.js +3 -3
  24. package/dist/Calendar/subcomponents/TimeGrid/index.js +3 -3
  25. package/dist/Calendar/{theme-BzNDRi0U.js → theme-Cgn0zQoC.js} +2 -2
  26. package/dist/Calendar/utils/index.js +3 -3
  27. package/dist/Calendar/utils/layout/index.js +2 -2
  28. package/dist/Calendar/utils/theme/index.js +1 -1
  29. package/dist/Card/{Card-CRrtIjNT.js → Card-BjWdQRjq.js} +1 -1
  30. package/dist/Card/index.js +2 -2
  31. package/dist/CheckBox/{CheckBox-DIunYcfS.js → CheckBox-81R8QKHb.js} +1 -1
  32. package/dist/CheckBox/{CheckBox-CkVe5Boq.js → CheckBox-ejvbDr-a.js} +1 -1
  33. package/dist/CheckBox/index.js +3 -3
  34. package/dist/ColorPicker/{ColorPicker-By-Y8Tyz.js → ColorPicker-aj57lMA5.js} +5 -5
  35. package/dist/ColorPicker/index.js +6 -6
  36. package/dist/ConfigProvider/index.js +2 -2
  37. package/dist/DatePicker/{DatePicker-PCdNachD.js → DatePicker-EIFyC9zF.js} +6 -6
  38. package/dist/DatePicker/{DatePickerPanel-HoxXteK0.js → DatePickerPanel-BjnLfncu.js} +5 -5
  39. package/dist/DatePicker/index.js +7 -7
  40. package/dist/DatePicker/style/index.js +1 -1
  41. package/dist/DatePicker/{style-DZaSSoNs.js → style-BxWyBhZ3.js} +1 -1
  42. package/dist/DropDown/DropDown-B34vfoOs.js +172 -0
  43. package/dist/DropDown/index.js +8 -7
  44. package/dist/DropDown/style/index.js +2 -0
  45. package/dist/DropDown/style-4LK6rNHe.js +9 -0
  46. package/dist/Editor/{Buttons-DmSUkHWl.js → Buttons-Ds6bLmnl.js} +6 -6
  47. package/dist/Editor/ToolbarPlugin/Buttons/index.js +15 -14
  48. package/dist/Editor/index.js +15 -14
  49. package/dist/Gantt/GanttChart/index.js +15 -14
  50. package/dist/Gantt/{GanttChart-BgDJOyW1.js → GanttChart-CnIWe_wk.js} +672 -590
  51. package/dist/Gantt/GanttTable/index.js +9 -9
  52. package/dist/Gantt/{GanttTable-Di_p-0M1.js → GanttTable-C3PLGmKr.js} +20 -19
  53. package/dist/Gantt/GanttToolBar/index.js +11 -10
  54. package/dist/Gantt/GanttToolBar-8jPQ9BAG.js +121 -0
  55. package/dist/Gantt/{collapseKeys-C8139wvy.js → collapseKeys-1N9ci2oJ.js} +2 -2
  56. package/dist/Gantt/index.js +195 -162
  57. package/dist/Gantt/theme-C197Dtjy.js +31 -0
  58. package/dist/Gantt/{timelineViewConfig-BXl2UkN8.js → timelineViewConfig-Dl3AXO45.js} +1 -1
  59. package/dist/Gantt/utils/index.js +5 -5
  60. package/dist/Gantt/utils/theme/index.js +2 -0
  61. package/dist/Icon/index.js +1 -1
  62. package/dist/InputTag/InputTag-CGQ5dXyf.js +143 -0
  63. package/dist/InputTag/index.js +3 -2
  64. package/dist/Loading/index.js +1 -1
  65. package/dist/Modal/{Modal-D3LFqIV4.js → Modal-GGHNlZv3.js} +1 -1
  66. package/dist/Modal/index.js +2 -2
  67. package/dist/NotFoundContent/index.js +1 -1
  68. package/dist/Radio/index.js +1 -1
  69. package/dist/ScrollBar/ScrollBar-CSGBOE3e.js +68 -0
  70. package/dist/ScrollBar/index.js +2 -0
  71. package/dist/Segmented/{Segmented-BTW445jc.js → Segmented-CzVKrL6o.js} +1 -1
  72. package/dist/Segmented/index.js +1 -1
  73. package/dist/Select/{Select-OjCjCogR.js → Select-B0r9VgF6.js} +199 -200
  74. package/dist/Select/{SelectInputSearch-DXPTGSc2.js → SelectInputSearch-BDwg-Noi.js} +2 -2
  75. package/dist/Select/index.js +12 -11
  76. package/dist/Table/Table-BtH9Oa14.js +545 -0
  77. package/dist/Table/hooks/index.js +1 -1
  78. package/dist/Table/{hooks-CJ2CnSep.js → hooks-DK8Pf7iH.js} +1 -1
  79. package/dist/Table/index.js +8 -7
  80. package/dist/Table/{processRowspan-BCzfI5un.js → processRowspan-D4uv6zLk.js} +1 -1
  81. package/dist/Table/style/index.js +2 -0
  82. package/dist/Table/style-BwcnT2ee.js +9 -0
  83. package/dist/Table/utils/index.js +1 -1
  84. package/dist/Tabs/{Tabs-DVQcB3YG.js → Tabs-7wEcxUv6.js} +4 -4
  85. package/dist/Tabs/index.js +4 -4
  86. package/dist/Tooltip/{Tooltip-DW_XP13m.js → Tooltip-B_SZOy6k.js} +41 -44
  87. package/dist/Tooltip/index.js +1 -1
  88. package/dist/Tree/index.js +4 -4
  89. package/dist/components/DropDown/index.d.ts +1 -0
  90. package/dist/components/DropDown/interface.d.ts +45 -0
  91. package/dist/components/DropDown/style/__tests__/resolveDropDownThemeVars.test.d.ts +1 -0
  92. package/dist/components/DropDown/style/index.d.ts +1 -0
  93. package/dist/components/DropDown/style/resolveDropDownThemeVars.d.ts +2 -0
  94. package/dist/components/Gantt/Gantt.d.ts +1 -1
  95. package/dist/components/Gantt/GanttChart/hooks/useEdgeScroll.d.ts +1 -1
  96. package/dist/components/Gantt/GanttTable/GanttTable.d.ts +1 -1
  97. package/dist/components/Gantt/GanttThemeContext.d.ts +3 -0
  98. package/dist/components/Gantt/index.d.ts +2 -1
  99. package/dist/components/Gantt/interface.d.ts +39 -0
  100. package/dist/components/Gantt/internal/GanttLayout.d.ts +1 -1
  101. package/dist/components/Gantt/types.internal.d.ts +2 -0
  102. package/dist/components/Gantt/utils/theme/__tests__/resolveGanttTheme.test.d.ts +1 -0
  103. package/dist/components/Gantt/utils/theme/__tests__/resolveGanttThemeVars.test.d.ts +1 -0
  104. package/dist/components/Gantt/utils/theme/__tests__/resolveTableThemeFromGantt.test.d.ts +1 -0
  105. package/dist/components/Gantt/utils/theme/index.d.ts +3 -0
  106. package/dist/components/Gantt/utils/theme/resolveGanttTheme.d.ts +3 -0
  107. package/dist/components/Gantt/utils/theme/resolveGanttThemeVars.d.ts +5 -0
  108. package/dist/components/Gantt/utils/theme/resolveTableThemeFromGantt.d.ts +4 -0
  109. package/dist/components/ScrollBar/ScrollBar.d.ts +3 -0
  110. package/dist/components/ScrollBar/__tests__/ScrollBar.test.d.ts +1 -0
  111. package/dist/components/ScrollBar/index.d.ts +3 -0
  112. package/dist/components/ScrollBar/interface.d.ts +23 -0
  113. package/dist/components/Table/index.d.ts +2 -1
  114. package/dist/components/Table/interface.d.ts +17 -0
  115. package/dist/components/Table/style/__tests__/resolveTableThemeVars.test.d.ts +1 -0
  116. package/dist/components/Table/style/index.d.ts +1 -0
  117. package/dist/components/Table/style/resolveTableThemeVars.d.ts +3 -0
  118. package/dist/components/index.d.ts +5 -2
  119. package/dist/index.js +50 -47
  120. package/dist/style.css +1 -1
  121. package/dist/utils/mergeRefs.d.ts +1 -0
  122. package/dist/vendors/{ConfigProvider-DwmA94S2.js → ConfigProvider-AQTr7T_c.js} +1 -1
  123. package/dist/vendors/{Tree-C7BgkjCQ.js → Tree-DqnOGJtB.js} +3 -3
  124. package/dist/vendors/mergeRefs-TiJ0xjUN.js +9 -0
  125. package/dist/vendors/{useLocale-BTz4slNW.js → useLocale-DZ8XW2VL.js} +1 -1
  126. package/package.json +1 -2
  127. package/dist/DropDown/DropDown-CvQAbsEo.js +0 -168
  128. package/dist/Gantt/GanttToolBar-D5pQdrzv.js +0 -105
  129. package/dist/InputTag/InputTag-zP5QdId7.js +0 -139
  130. package/dist/Table/Table-3-kFIm5v.js +0 -543
  131. /package/dist/Amap/{AmapContext-JaYk1a3H.js → AmapContext-CFmsMycg.js} +0 -0
  132. /package/dist/Amap/{useMarkerInfoWindowController-CRgf2I0Q.js → useMarkerInfoWindowController-G-Bg-NDJ.js} +0 -0
  133. /package/dist/Calendar/{TimeAxis-cK2_3FeM.js → TimeAxis-Chwxo6Yj.js} +0 -0
  134. /package/dist/Calendar/{colorUtils-DcpqM3KR.js → colorUtils-FNbm3zBQ.js} +0 -0
  135. /package/dist/Calendar/{context-DNOJ9LW_.js → context-CzS6P3nk.js} +0 -0
  136. /package/dist/Calendar/{layout-CaPxiRd-.js → layout-Cb39seCc.js} +0 -0
  137. /package/dist/DatePicker/{ensureDayjsPlugins-C3aqki6i.js → ensureDayjsPlugins-DxqbKqon.js} +0 -0
  138. /package/dist/DatePicker/{pickerLocale-VqSP_iIm.js → pickerLocale-CtDOOxxD.js} +0 -0
  139. /package/dist/Gantt/{GanttHighlightContext-AIpN3-af.js → GanttHighlightContext-CtT98ZnK.js} +0 -0
  140. /package/dist/Gantt/{columnResize-By_1E48E.js → columnResize-DFe7F98O.js} +0 -0
  141. /package/dist/Gantt/{constants-D4ur8WRs.js → constants-CrBb5i5p.js} +0 -0
  142. /package/dist/Gantt/{highlightTarget-DmzCIiQb.js → highlightTarget-DtCe7zto.js} +0 -0
  143. /package/dist/Icon/{Icon-BQ3Whub2.js → Icon-SQ5tu-yG.js} +0 -0
  144. /package/dist/Loading/{Loading-WjmzBabh.js → Loading-ho-6d72M.js} +0 -0
  145. /package/dist/NotFoundContent/{NotFoundContent-7xV-zOG2.js → NotFoundContent-CV9fTylQ.js} +0 -0
  146. /package/dist/Radio/{Radio-DkrZHoG1.js → Radio-C2zJzZc3.js} +0 -0
  147. /package/dist/Table/{constants-CKqc9Os_.js → constants-CuBlYZLO.js} +0 -0
  148. /package/dist/vendors/{LocaleContext-BJdHS0sH.js → LocaleContext-CBcJzvUD.js} +0 -0
  149. /package/dist/vendors/{animations-BeI8JZp1.js → animations-Mlw78WYo.js} +0 -0
  150. /package/dist/vendors/{color-BeQo449h.js → color-BQYy0Wgy.js} +0 -0
  151. /package/dist/vendors/{cssVars-C4BlzyxA.js → cssVars-DoQgQ2CM.js} +0 -0
  152. /package/dist/vendors/{useFloatingOverlay-3KB88hpZ.js → useFloatingOverlay-WbbHmuT-.js} +0 -0
  153. /package/dist/vendors/{useFloatingPortal-DsEtsAGW.js → useFloatingPortal-B2SDNV5C.js} +0 -0
@@ -1,10 +1,10 @@
1
- import "../../vendors/LocaleContext-BJdHS0sH.js";
2
- import "../../vendors/useLocale-BTz4slNW.js";
3
- import "../../Table/processRowspan-BCzfI5un.js";
4
- import "../../Table/Table-3-kFIm5v.js";
5
- import "../../Table/hooks-CJ2CnSep.js";
6
- import "../constants-D4ur8WRs.js";
7
- import "../columnResize-By_1E48E.js";
8
- import { t as e } from "../GanttTable-Di_p-0M1.js";
9
- import "../GanttHighlightContext-AIpN3-af.js";
1
+ import "../../vendors/LocaleContext-CBcJzvUD.js";
2
+ import "../../vendors/useLocale-DZ8XW2VL.js";
3
+ import "../../Table/processRowspan-D4uv6zLk.js";
4
+ import "../../Table/Table-BtH9Oa14.js";
5
+ import "../../Table/hooks-DK8Pf7iH.js";
6
+ import "../constants-CrBb5i5p.js";
7
+ import "../columnResize-DFe7F98O.js";
8
+ import { t as e } from "../GanttTable-C3PLGmKr.js";
9
+ import "../GanttHighlightContext-CtT98ZnK.js";
10
10
  export { e as default };
@@ -1,8 +1,8 @@
1
- import { t as e } from "../Table/Table-3-kFIm5v.js";
2
- import { l as t } from "./constants-D4ur8WRs.js";
3
- import { r as n } from "./columnResize-By_1E48E.js";
4
- import { t as r } from "./GanttHighlightContext-AIpN3-af.js";
5
- import { r as i } from "./highlightTarget-DmzCIiQb.js";
1
+ import { t as e } from "../Table/Table-BtH9Oa14.js";
2
+ import { l as t } from "./constants-CrBb5i5p.js";
3
+ import { r as n } from "./columnResize-DFe7F98O.js";
4
+ import { t as r } from "./GanttHighlightContext-CtT98ZnK.js";
5
+ import { r as i } from "./highlightTarget-DtCe7zto.js";
6
6
  import { jsx as a } from "react/jsx-runtime";
7
7
  import { useCallback as o, useMemo as s } from "react";
8
8
  import { useContextSelector as c } from "use-context-selector";
@@ -42,23 +42,23 @@ function u(e = []) {
42
42
  }
43
43
  //#endregion
44
44
  //#region src/components/Gantt/GanttTable/GanttTable.tsx
45
- var d = ({ data: l = [], columns: d = [], onRowClick: f, rowHeight: p = 34 }) => {
46
- let m = c(r, (e) => e.setTableHighlightTarget), { columns: h, resizable: g, disabledResizeColumns: _, onColumnResizeEnd: v } = n(s(() => u(d), [d])), y = o((e) => {
45
+ var d = ({ data: l = [], columns: d = [], onRowClick: f, rowHeight: p = 34, tableTheme: m }) => {
46
+ let h = c(r, (e) => e.setTableHighlightTarget), { columns: g, resizable: _, disabledResizeColumns: v, onColumnResizeEnd: y } = n(s(() => u(d), [d])), b = o((e) => {
47
47
  let t = i(e);
48
- t && m?.(t);
49
- }, [m]), b = o(() => {
50
- m?.(null);
51
- }, [m]);
48
+ t && h?.(t);
49
+ }, [h]), x = o(() => {
50
+ h?.(null);
51
+ }, [h]);
52
52
  return /* @__PURE__ */ a(e, {
53
- columns: h,
53
+ columns: g,
54
54
  dataSource: l,
55
55
  rowKey: "id",
56
56
  rowHeightStyle: "low",
57
57
  bordered: !1,
58
58
  hasFooter: !1,
59
- resizable: g,
60
- disabledResizeColumns: _,
61
- onColumnResizeEnd: v,
59
+ resizable: _,
60
+ disabledResizeColumns: v,
61
+ onColumnResizeEnd: y,
62
62
  scroll: { y: "100%" },
63
63
  estimateSize: () => p,
64
64
  headerRowSpan: t,
@@ -71,11 +71,12 @@ var d = ({ data: l = [], columns: d = [], onRowClick: f, rowHeight: p = 34 }) =>
71
71
  ...n,
72
72
  "data-highlight-id": r?.id || "",
73
73
  "data-highlight-type": r?.type || "",
74
- onMouseEnter: () => y(e),
75
- onMouseLeave: b
74
+ onMouseEnter: () => b(e),
75
+ onMouseLeave: x
76
76
  };
77
- }, [y, b]),
78
- emptyText: " "
77
+ }, [b, x]),
78
+ emptyText: " ",
79
+ theme: m
79
80
  });
80
81
  };
81
82
  d.displayName = "GanttTable";
@@ -1,11 +1,12 @@
1
- import "../../Icon/Icon-BQ3Whub2.js";
2
- import "../../vendors/LocaleContext-BJdHS0sH.js";
3
- import "../../vendors/useLocale-BTz4slNW.js";
4
- import "../../Select/SelectInputSearch-DXPTGSc2.js";
5
- import "../../NotFoundContent/NotFoundContent-7xV-zOG2.js";
6
- import "../../vendors/useFloatingPortal-DsEtsAGW.js";
7
- import "../../DropDown/DropDown-CvQAbsEo.js";
8
- import "../constants-D4ur8WRs.js";
9
- import "../timelineViewConfig-BXl2UkN8.js";
10
- import { t as e } from "../GanttToolBar-D5pQdrzv.js";
1
+ import "../../ScrollBar/ScrollBar-CSGBOE3e.js";
2
+ import "../../Icon/Icon-SQ5tu-yG.js";
3
+ import "../../vendors/LocaleContext-CBcJzvUD.js";
4
+ import "../../vendors/useLocale-DZ8XW2VL.js";
5
+ import "../../Select/SelectInputSearch-BDwg-Noi.js";
6
+ import "../../NotFoundContent/NotFoundContent-CV9fTylQ.js";
7
+ import "../../vendors/useFloatingPortal-B2SDNV5C.js";
8
+ import "../../DropDown/DropDown-B34vfoOs.js";
9
+ import "../constants-CrBb5i5p.js";
10
+ import "../timelineViewConfig-Dl3AXO45.js";
11
+ import { t as e } from "../GanttToolBar-8jPQ9BAG.js";
11
12
  export { e as default };
@@ -0,0 +1,121 @@
1
+ import { t as e } from "../Icon/Icon-SQ5tu-yG.js";
2
+ import { t } from "../vendors/useLocale-DZ8XW2VL.js";
3
+ import { t as n } from "../DropDown/DropDown-B34vfoOs.js";
4
+ import { l as r } from "./timelineViewConfig-Dl3AXO45.js";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { createContext as o, useCallback as s, useContext as c, useMemo as l, useRef as u, useState as d } from "react";
7
+ import f from "clsx";
8
+ //#region src/components/Gantt/utils/localeKey.ts
9
+ var p = (e) => e.startsWith("gantt.") ? e : `gantt.${e}`, m = o(void 0), h = m.Provider, g = () => c(m), _ = {
10
+ modeTrigger: "_modeTrigger_cbumr_1",
11
+ todayBtn: "_todayBtn_cbumr_1",
12
+ iconBtn: "_iconBtn_cbumr_1",
13
+ root: "_root_cbumr_8",
14
+ modeTriggerArrow: "_modeTriggerArrow_cbumr_29",
15
+ isActive: "_isActive_cbumr_29",
16
+ modeTriggerLabel: "_modeTriggerLabel_cbumr_36",
17
+ divider: "_divider_cbumr_60",
18
+ scrollBtns: "_scrollBtns_cbumr_67"
19
+ }, v = ".bsy-form-view-data-manager", y = {
20
+ oneMinute: "mode.oneMinute",
21
+ tenMinute: "mode.tenMinute",
22
+ halfHour: "mode.halfHour",
23
+ hour: "mode.hour",
24
+ sixHour: "mode.sixHour",
25
+ halfDay: "mode.halfDay",
26
+ day: "mode.day",
27
+ week: "mode.week",
28
+ month: "mode.month",
29
+ quarter: "mode.quarter",
30
+ quarterMonth: "mode.quarterMonth",
31
+ year: "mode.year"
32
+ }, b = ({ viewMode: o = "day", availableModes: c, onViewModeChange: m, onTodayClick: h, onScrollPrev: b, onScrollNext: x, className: S = "" }) => {
33
+ let { t: C } = t(), w = g()?.dropdownTheme, T = s((e) => C(p(y[e])), [C]), E = u(null), [D, O] = d(!1), k = s(() => {
34
+ let e = E.current;
35
+ if (!e) return document.body;
36
+ let t = e.closest(v);
37
+ return t instanceof HTMLElement ? t : document.body;
38
+ }, []), A = l(() => {
39
+ let e = new Set(c ?? r);
40
+ return r.filter((t) => e.has(t)).map((e) => ({
41
+ key: e,
42
+ label: T(e)
43
+ }));
44
+ }, [c, T]), j = l(() => A.find((e) => e.key === o)?.label ?? o, [A, o]), M = s((e) => {
45
+ e?.key && e.key !== o && m?.(e.key);
46
+ }, [m, o]);
47
+ return /* @__PURE__ */ a("div", {
48
+ className: f(_.root, S),
49
+ "data-testid": "gantt-toolbar",
50
+ ref: E,
51
+ children: [
52
+ /* @__PURE__ */ i(n, {
53
+ menus: A,
54
+ activeKey: [o],
55
+ showSearch: !1,
56
+ visible: D,
57
+ onOpenChange: O,
58
+ offset: {
59
+ x: 0,
60
+ y: 4
61
+ },
62
+ zIndex: 10001,
63
+ getPopupContainer: k,
64
+ onClick: M,
65
+ theme: w,
66
+ style: {
67
+ width: 100,
68
+ minWidth: 100
69
+ },
70
+ children: /* @__PURE__ */ a("button", {
71
+ type: "button",
72
+ className: f(_.modeTrigger, { [_.isActive]: D }),
73
+ "data-testid": "gantt-toolbar-mode-trigger",
74
+ "aria-haspopup": "listbox",
75
+ "aria-expanded": D,
76
+ children: [/* @__PURE__ */ i("span", {
77
+ className: _.modeTriggerLabel,
78
+ children: j
79
+ }), /* @__PURE__ */ i("span", {
80
+ className: _.modeTriggerArrow,
81
+ children: /* @__PURE__ */ i(e, {
82
+ name: "arrow-down",
83
+ size: 16
84
+ })
85
+ })]
86
+ })
87
+ }),
88
+ /* @__PURE__ */ i("span", { className: _.divider }),
89
+ /* @__PURE__ */ i("button", {
90
+ type: "button",
91
+ className: _.todayBtn,
92
+ onClick: h,
93
+ children: C("gantt.today")
94
+ }),
95
+ /* @__PURE__ */ a("div", {
96
+ className: _.scrollBtns,
97
+ children: [/* @__PURE__ */ i("button", {
98
+ type: "button",
99
+ className: _.iconBtn,
100
+ "aria-label": C("gantt.aria.scrollPrev"),
101
+ onClick: b,
102
+ children: /* @__PURE__ */ i(e, {
103
+ name: "Pulldownleft",
104
+ size: 16
105
+ })
106
+ }), /* @__PURE__ */ i("button", {
107
+ type: "button",
108
+ className: _.iconBtn,
109
+ "aria-label": C("gantt.aria.scrollNext"),
110
+ onClick: x,
111
+ children: /* @__PURE__ */ i(e, {
112
+ name: "Pulldownright",
113
+ size: 16
114
+ })
115
+ })]
116
+ })
117
+ ]
118
+ });
119
+ };
120
+ //#endregion
121
+ export { h as n, p as r, b as t };
@@ -1,5 +1,5 @@
1
- import { m as e, n as t, r as n, t as r } from "./constants-D4ur8WRs.js";
2
- import { n as i, r as a, t as o } from "./timelineViewConfig-BXl2UkN8.js";
1
+ import { m as e, n as t, r as n, t as r } from "./constants-CrBb5i5p.js";
2
+ import { n as i, r as a, t as o } from "./timelineViewConfig-Dl3AXO45.js";
3
3
  import { isString as s } from "lodash-es";
4
4
  import c from "dayjs";
5
5
  import l from "dayjs/plugin/isoWeek";