dishui 0.0.66 → 0.0.68

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 (49) hide show
  1. package/dist/calendar.js +5 -0
  2. package/dist/components/Accordion/index.d.ts +39 -0
  3. package/dist/components/Accordion/index.js +70 -0
  4. package/dist/components/Accordion/index.js.map +1 -0
  5. package/dist/components/Avatar/index.d.ts +48 -0
  6. package/dist/components/Avatar/index.js +71 -0
  7. package/dist/components/Avatar/index.js.map +1 -0
  8. package/dist/components/Card/index.d.ts +66 -0
  9. package/dist/components/Card/index.js +193 -3
  10. package/dist/components/Card/index.js.map +1 -1
  11. package/dist/components/Demo/index.js +76 -80
  12. package/dist/components/Demo/index.js.map +1 -1
  13. package/dist/components/Icon/index.d.ts +3 -1
  14. package/dist/components/Icon/index.js +9 -8
  15. package/dist/components/Icon/index.js.map +1 -1
  16. package/dist/components/Page/index.d.ts +1 -1
  17. package/dist/components/Page/index.js.map +1 -1
  18. package/dist/components/pro/Calendar/Calendar.js +576 -0
  19. package/dist/components/pro/Calendar/Calendar.js.map +1 -0
  20. package/dist/components/pro/Calendar/hooks/useCalendarDrag.js +104 -0
  21. package/dist/components/pro/Calendar/hooks/useCalendarDrag.js.map +1 -0
  22. package/dist/components/pro/Calendar/hooks/useCalendarState.js +187 -0
  23. package/dist/components/pro/Calendar/hooks/useCalendarState.js.map +1 -0
  24. package/dist/components/pro/Calendar/utils.js +193 -0
  25. package/dist/components/pro/Calendar/utils.js.map +1 -0
  26. package/dist/components/pro/Gantt/Gantt.js +868 -0
  27. package/dist/components/pro/Gantt/Gantt.js.map +1 -0
  28. package/dist/components/pro/Gantt/hooks/useGanttDrag.js +99 -0
  29. package/dist/components/pro/Gantt/hooks/useGanttDrag.js.map +1 -0
  30. package/dist/components/pro/Gantt/hooks/useGanttState.js +95 -0
  31. package/dist/components/pro/Gantt/hooks/useGanttState.js.map +1 -0
  32. package/dist/components/pro/Gantt/utils.js +236 -0
  33. package/dist/components/pro/Gantt/utils.js.map +1 -0
  34. package/dist/dishui.css +1 -1
  35. package/dist/gantt.js +5 -0
  36. package/dist/hooks/useCopyToClipboard.d.ts +2 -1
  37. package/dist/hooks/useCopyToClipboard.js +17 -9
  38. package/dist/hooks/useCopyToClipboard.js.map +1 -1
  39. package/dist/index.d.ts +9 -3
  40. package/dist/index.js +103 -94
  41. package/dist/utils/i18n.js +58 -8
  42. package/dist/utils/i18n.js.map +1 -1
  43. package/package.json +12 -1
  44. package/dist/components/StatCard/index.d.ts +0 -52
  45. package/dist/components/StatCard/index.js +0 -193
  46. package/dist/components/StatCard/index.js.map +0 -1
  47. package/dist/pages/components/Gantt/index.d.ts +0 -3
  48. package/dist/pages/components/Gantt/index.en.d.ts +0 -3
  49. package/dist/pages/components/Gantt/index.zh.d.ts +0 -3
package/dist/gantt.js ADDED
@@ -0,0 +1,5 @@
1
+ import { DEFAULT_CATEGORY_CONFIG as e, DEFAULT_SCALE_CONFIGS as t, DEFAULT_TIME_WINDOW as n, addDays as r, addWorkingDays as i, calculateWorkingDays as a, computeDateRange as o, dateToX as s, daysBetween as c, flattenTree as l, formatDate as u, generateDateRange as d, generateHeaderGroups as f, getISOWeekNumber as p, getISOWeekYear as m, isNonWorkingDay as h, isWeekend as g, parseDate as _, startOfDay as v, xToDate as y } from "./components/pro/Gantt/utils.js";
2
+ import { useGanttState as b } from "./components/pro/Gantt/hooks/useGanttState.js";
3
+ import { useGanttDrag as x } from "./components/pro/Gantt/hooks/useGanttDrag.js";
4
+ import S from "./components/pro/Gantt/Gantt.js";
5
+ export { e as DEFAULT_CATEGORY_CONFIG, t as DEFAULT_SCALE_CONFIGS, n as DEFAULT_TIME_WINDOW, S as Gantt, r as addDays, i as addWorkingDays, a as calculateWorkingDays, o as computeDateRange, s as dateToX, c as daysBetween, l as flattenTree, u as formatDate, d as generateDateRange, f as generateHeaderGroups, p as getISOWeekNumber, m as getISOWeekYear, h as isNonWorkingDay, g as isWeekend, _ as parseDate, v as startOfDay, x as useGanttDrag, b as useGanttState, y as xToDate };
@@ -2,7 +2,7 @@
2
2
  * 复制到剪贴板的 Hook,带有自动重置的反馈状态
3
3
  *
4
4
  * @param resetDelay - 复制成功后 `copied` 状态重置的延迟(毫秒),默认 2000
5
- * @returns `{ copied, copy }` — `copied` 为当前复制反馈状态,`copy` 为触发复制的函数
5
+ * @returns `{ copied, error, copy }` — 复制反馈、失败原因及触发函数;重复复制会重置反馈计时
6
6
  *
7
7
  * @example
8
8
  * ```tsx
@@ -14,5 +14,6 @@
14
14
  */
15
15
  export declare function useCopyToClipboard(resetDelay?: number): {
16
16
  copied: boolean;
17
+ error: Error | null;
17
18
  copy: (text: string) => Promise<void>;
18
19
  };
@@ -1,19 +1,27 @@
1
- import { useCallback as e, useState as t } from "react";
1
+ import { useCallback as e, useEffect as t, useRef as n, useState as r } from "react";
2
2
  //#region src/hooks/useCopyToClipboard.ts
3
- function n(n = 2e3) {
4
- let [r, i] = t(!1);
5
- return {
6
- copied: r,
3
+ function i(i = 2e3) {
4
+ let [a, o] = r(!1), [s, c] = r(null), l = n(void 0), u = n(0);
5
+ return t(() => () => {
6
+ clearTimeout(l.current), u.current += 1;
7
+ }, []), {
8
+ copied: a,
9
+ error: s,
7
10
  copy: e(async (e) => {
11
+ let t = ++u.current;
12
+ clearTimeout(l.current), o(!1), c(null);
8
13
  try {
9
- await navigator.clipboard.writeText(e), i(!0), setTimeout(() => i(!1), n);
14
+ if (typeof navigator > "u" || !navigator.clipboard?.writeText) throw Error("Clipboard access requires a supported browser and a secure context.");
15
+ if (await navigator.clipboard.writeText(e), t !== u.current) return;
16
+ o(!0), l.current = setTimeout(() => o(!1), i);
10
17
  } catch (e) {
11
- console.error("Failed to copy to clipboard:", e);
18
+ if (t !== u.current) return;
19
+ c(e instanceof Error ? e : Error(String(e)));
12
20
  }
13
- }, [n])
21
+ }, [i])
14
22
  };
15
23
  }
16
24
  //#endregion
17
- export { n as useCopyToClipboard };
25
+ export { i as useCopyToClipboard };
18
26
 
19
27
  //# sourceMappingURL=useCopyToClipboard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCopyToClipboard.js","names":[],"sources":["../../src/hooks/useCopyToClipboard.ts"],"sourcesContent":["import { useState, useCallback } from 'react';\n\n/**\n * 复制到剪贴板的 Hook,带有自动重置的反馈状态\n *\n * @param resetDelay - 复制成功后 `copied` 状态重置的延迟(毫秒),默认 2000\n * @returns `{ copied, copy }` — `copied` 为当前复制反馈状态,`copy` 为触发复制的函数\n *\n * @example\n * ```tsx\n * const { copied, copy } = useCopyToClipboard();\n * <button onClick={() => copy(text)}>\n * {copied ? '已复制' : '复制'}\n * </button>\n * ```\n */\nexport function useCopyToClipboard(resetDelay: number = 2000) {\n const [copied, setCopied] = useState(false);\n\n const copy = useCallback(\n async (text: string) => {\n try {\n await navigator.clipboard.writeText(text);\n setCopied(true);\n setTimeout(() => setCopied(false), resetDelay);\n } catch (err) {\n console.error('Failed to copy to clipboard:', err);\n }\n },\n [resetDelay]\n );\n\n return { copied, copy };\n}\n"],"mappings":";;AAgBA,SAAgB,EAAmB,IAAqB,KAAM;CAC1D,IAAM,CAAC,GAAQ,KAAa,EAAS,EAAK;CAe1C,OAAO;EAAE;EAAQ,MAbJ,EACT,OAAO,MAAiB;GACpB,IAAI;IAGA,AAFA,MAAM,UAAU,UAAU,UAAU,CAAI,GACxC,EAAU,EAAI,GACd,iBAAiB,EAAU,EAAK,GAAG,CAAU;GACjD,SAAS,GAAK;IACV,QAAQ,MAAM,gCAAgC,CAAG;GACrD;EACJ,GACA,CAAC,CAAU,CAGE;CAAK;AAC1B"}
1
+ {"version":3,"file":"useCopyToClipboard.js","names":[],"sources":["../../src/hooks/useCopyToClipboard.ts"],"sourcesContent":["import { useState, useCallback, useEffect, useRef } from 'react';\n\n/**\n * 复制到剪贴板的 Hook,带有自动重置的反馈状态\n *\n * @param resetDelay - 复制成功后 `copied` 状态重置的延迟(毫秒),默认 2000\n * @returns `{ copied, error, copy }` — 复制反馈、失败原因及触发函数;重复复制会重置反馈计时\n *\n * @example\n * ```tsx\n * const { copied, copy } = useCopyToClipboard();\n * <button onClick={() => copy(text)}>\n * {copied ? '已复制' : '复制'}\n * </button>\n * ```\n */\nexport function useCopyToClipboard(resetDelay: number = 2000) {\n const [copied, setCopied] = useState(false);\n const [error, setError] = useState<Error | null>(null);\n const timer = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);\n const request = useRef(0);\n\n useEffect(() => () => {\n clearTimeout(timer.current);\n request.current += 1;\n }, []);\n\n const copy = useCallback(\n async (text: string) => {\n const currentRequest = ++request.current;\n clearTimeout(timer.current);\n setCopied(false);\n setError(null);\n try {\n if (typeof navigator === 'undefined' || !navigator.clipboard?.writeText) {\n throw new Error('Clipboard access requires a supported browser and a secure context.');\n }\n await navigator.clipboard.writeText(text);\n if (currentRequest !== request.current) return;\n setCopied(true);\n timer.current = setTimeout(() => setCopied(false), resetDelay);\n } catch (err) {\n if (currentRequest !== request.current) return;\n setError(err instanceof Error ? err : new Error(String(err)));\n }\n },\n [resetDelay]\n );\n\n return { copied, error, copy };\n}\n"],"mappings":";;AAgBA,SAAgB,EAAmB,IAAqB,KAAM;CAC1D,IAAM,CAAC,GAAQ,KAAa,EAAS,EAAK,GACpC,CAAC,GAAO,KAAY,EAAuB,IAAI,GAC/C,IAAQ,EAAkD,KAAA,CAAS,GACnE,IAAU,EAAO,CAAC;CA6BxB,OA3BA,cAAsB;EAElB,AADA,aAAa,EAAM,OAAO,GAC1B,EAAQ,WAAW;CACvB,GAAG,CAAC,CAAC,GAwBE;EAAE;EAAQ;EAAO,MAtBX,EACT,OAAO,MAAiB;GACpB,IAAM,IAAiB,EAAE,EAAQ;GAGjC,AAFA,aAAa,EAAM,OAAO,GAC1B,EAAU,EAAK,GACf,EAAS,IAAI;GACb,IAAI;IACA,IAAI,OAAO,YAAc,OAAe,CAAC,UAAU,WAAW,WAC1D,MAAU,MAAM,qEAAqE;IAGzF,IADA,MAAM,UAAU,UAAU,UAAU,CAAI,GACpC,MAAmB,EAAQ,SAAS;IAExC,AADA,EAAU,EAAI,GACd,EAAM,UAAU,iBAAiB,EAAU,EAAK,GAAG,CAAU;GACjE,SAAS,GAAK;IACV,IAAI,MAAmB,EAAQ,SAAS;IACxC,EAAS,aAAe,QAAQ,IAAU,MAAM,OAAO,CAAG,CAAC,CAAC;GAChE;EACJ,GACA,CAAC,CAAU,CAGS;CAAK;AACjC"}
package/dist/index.d.ts CHANGED
@@ -17,14 +17,16 @@ export type { DividerProps } from './components/Divider';
17
17
  export { default as Select } from './components/Select';
18
18
  export type { SelectProps, Option } from './components/Select';
19
19
  export { default as Card } from './components/Card';
20
- export type { CardProps, CardFeatureProps, CardQuoteProps, CardMetaProps, } from './components/Card';
20
+ export type { CardProps, CardFeatureProps, CardQuoteProps, CardMetaProps, CardInfoProps, CardInfoTone, CardStatProps, } from './components/Card';
21
21
  export { default as PageHeader } from './components/PageHeader';
22
22
  export type { PageHeaderProps } from './components/PageHeader';
23
23
  export { default as Page, PageBody, PageLeft, PageRight, PageMain } from './components/Page';
24
24
  export type { PageProps, PageBodyProps, PageAsideProps, PageMainProps } from './components/Page';
25
- export { default as StatCard } from './components/StatCard';
26
- export type { StatCardProps } from './components/StatCard';
27
25
  export { default as EmptyState } from './components/EmptyState';
26
+ export { default as Avatar } from './components/Avatar';
27
+ export type { AvatarProps, AvatarShape, AvatarBorderStyle, AvatarNotificationPosition, } from './components/Avatar';
28
+ export { default as Accordion } from './components/Accordion';
29
+ export type { AccordionProps, AccordionItemType } from './components/Accordion';
28
30
  export type { EmptyStateProps } from './components/EmptyState';
29
31
  export { default as Modal } from './components/Modal';
30
32
  export type { ModalProps } from './components/Modal';
@@ -99,3 +101,7 @@ export { RichTextEditor, AIRewrite, MarkdownBlockExtension, CodeBlockExtension,
99
101
  export type { RichTextEditorProps, AIConfig, AIAction, ToolbarSection as RichTextToolbarSection, RichTextEditorLabels, } from './components/pro/RichTextEditor';
100
102
  export { Flow, useFlowContext, FlowProvider, useFlowUI, FlowUIProvider, useNodeMutations, useEdgeMutations, useLineMutations, useSelection as useFlowSelection, useClipboard as useFlowClipboard, useLayoutActions, useFlowImportExport, exportCanvasToPNG, downloadDataURL, FlowToolbar, ShapePalette as FlowShapePalette, InspectorPanel as FlowInspectorPanel, OutlinePanel as FlowOutlinePanel, ContextMenu as FlowContextMenu, FLOW_NODE_TYPES, PALETTE_ITEMS, EDGE_TYPE_OPTIONS, EDGE_MARKER_OPTIONS, EDGE_LINE_STYLE_OPTIONS, BORDER_STYLE_OPTIONS, DASH_DENSITY_OPTIONS, GRADIENT_DIRECTION_OPTIONS, DEFAULT_NODE_DATA, DEFAULT_EDGE_DATA, createEmptyDocument, ROOT_CANVAS_ID, } from './components/pro/Flow';
101
103
  export type { FlowProps, FlowDocument, FlowCanvasData, FlowNode, FlowNodeData, FlowEdge, FlowEdgeData, FlowLine, FlowLineType, FlowShapeType, FlowEdgeTypeName, FlowEdgeMarkerKind, FlowEdgeLineStyle, FlowEdgeDashDensity, FlowBezierControl, FlowBorderStyle, FlowToolMode, ViewportState, SelectionState as FlowSelectionState, FlowNodeAttribute, GradientDirection, FlowGroupLabelPlacement, FlowGroupLabelAlign, FlowIconLabelPlacement, FlowMediaKind, FlowModelFormat, FlowDataConfig, FlowDataColumn, FlowDataColumnType, FlowDataView, FlowDataChartType, FlowDataChartConfig, FlowDataPivotConfig, FlowDataPivotPanelPlacement, FlowDataAggFn, ContextMenuItem as FlowContextMenuItem, ContextMenuProps as FlowContextMenuProps, FlowToolbarProps, FlowHandle, } from './components/pro/Flow';
104
+ export { Gantt, useGanttState, useGanttDrag, DEFAULT_SCALE_CONFIGS, DEFAULT_CATEGORY_CONFIG, DEFAULT_TIME_WINDOW, parseDate as parseGanttDate, formatDate as formatGanttDate, isWeekend as isGanttWeekend, isNonWorkingDay as isGanttNonWorkingDay, calculateWorkingDays, addWorkingDays, daysBetween, addDays as addGanttDays, startOfDay as startOfGanttDay, computeDateRange, generateDateRange, generateHeaderGroups, flattenTree as flattenGanttTree, xToDate as ganttXToDate, dateToX as ganttDateToX, getISOWeekNumber, getISOWeekYear, } from './components/pro/Gantt';
105
+ export type { GanttProps, GanttHandle, GanttNode, GanttNodeId, GanttColumn, GanttLabels, GanttScaleLevel, GanttScaleConfig, GanttCategoryConfig, GanttBarRenderProps, GanttBarChangeEvent, GanttContextMenuEvent, GanttTodayMarker, GanttTooltipConfig, GanttGridConfig, GanttDependencyLink, DependencyLineStyle, HolidayCalendar, HolidayEntry, TimeWindow, FlatGanttNode, TimelineHeaderGroup, } from './components/pro/Gantt';
106
+ export { Calendar, useCalendarState, useCalendarDrag, LABELS_EN as CALENDAR_LABELS_EN, LABELS_ZH as CALENDAR_LABELS_ZH, DEFAULT_COLOR_OPTIONS as CALENDAR_DEFAULT_COLOR_OPTIONS, parseDate as parseCalendarDate, formatDate as formatCalendarDate, todayStr as calendarTodayStr, isToday as isCalendarToday, isSameDay as isCalendarSameDay, isWeekend as isCalendarWeekend, isHoliday as isCalendarHoliday, isNonWorkingDay as isCalendarNonWorkingDay, getHolidayEntry as getCalendarHolidayEntry, getDaysInMonth as getCalendarDaysInMonth, getFirstDayOfMonth as getCalendarFirstDayOfMonth, getMonthDates as getCalendarMonthDates, getWeekDates as getCalendarWeekDates, minutesToTime as calendarMinutesToTime, timeToMinutes as calendarTimeToMinutes, formatTime as formatCalendarTime, parseTime as parseCalendarTime, generateTimeSlots as generateCalendarTimeSlots, TIME_SLOTS as CALENDAR_TIME_SLOTS, SLOT_HEIGHT as CALENDAR_SLOT_HEIGHT, TIME_GRID_HEIGHT as CALENDAR_TIME_GRID_HEIGHT, addDays as addCalendarDays, generateId as generateCalendarId, clamp as calendarClamp, } from './components/pro/Calendar';
107
+ export type { CalendarProps, CalendarHandle, CalendarEntry, CalendarViewMode, CalendarLabels, CalendarDragEvent, HolidayCalendar as CalendarHolidayCalendar, HolidayEntry as CalendarHolidayEntry, UseCalendarStateOptions, EntryModalState, CalendarDragState, CalendarDropTarget, UseCalendarDragOptions, } from './components/pro/Calendar';
package/dist/index.js CHANGED
@@ -12,97 +12,106 @@ import l from "./components/Select/index.js";
12
12
  import u from "./components/Card/index.js";
13
13
  import d from "./components/PageHeader/index.js";
14
14
  import f, { PageBody as p, PageLeft as m, PageMain as h, PageRight as g } from "./components/Page/index.js";
15
- import _ from "./components/StatCard/index.js";
16
- import v from "./components/EmptyState/index.js";
17
- import y from "./components/Modal/index.js";
18
- import b from "./components/Tabs/index.js";
19
- import x, { Container as S, Flex as C, Grid as w, GridItem as T, Group as E, Space as D } from "./components/Layout/index.js";
20
- import O from "./components/List/index.js";
21
- import k from "./components/Row/index.js";
22
- import A from "./components/Column/index.js";
23
- import j from "./components/Text/index.js";
24
- import M from "./components/Image/index.js";
25
- import N from "./components/Icon/index.js";
26
- import P from "./components/Slider/index.js";
27
- import F from "./components/DateTimeInput/index.js";
28
- import I from "./components/MultipleChoice/index.js";
29
- import L from "./components/ChoicePicker/index.js";
30
- import R from "./components/Table/index.js";
31
- import { generateSidebarActiveStyles as z, generateTreeActiveStyles as B, themeActiveStyles as V } from "./styles/themeStyles.js";
32
- import H from "./components/Tree/Tree.js";
33
- import U from "./layouts/Sidebar.js";
34
- import W from "./layouts/headbar/Headbar.js";
35
- import G from "./layouts/headbar/HeadbarTitle.js";
36
- import K from "./layouts/headbar/HeadbarSearch.js";
37
- import q from "./layouts/headbar/HeadbarLangSwitcher.js";
38
- import { getThemes as J } from "./utils/themes.js";
39
- import Y from "./layouts/headbar/HeadbarThemeSwitcher.js";
40
- import { DesktopSidebarToggleButton as X, MobileSidebarToggleButton as Z, SidebarToggleButtons as Q } from "./components/SidebarToggleButton/index.js";
41
- import { AppLayoutWrapper as $, AppProvider as ee, AppShell as te, useAppContext as ne, useAuth as re } from "./contexts/AppContext.js";
42
- import ie from "./hooks/useTableColumns.js";
43
- import ae from "./hooks/useTableData.js";
44
- import { defineExtension as oe } from "./components/pro/DataTable/extension.js";
45
- import { computePivot as se } from "./components/pro/DataTable/pivotEngine.js";
46
- import { PivotView as ce } from "./components/pro/DataTable/PivotView.js";
47
- import { PivotPanel as le } from "./components/pro/DataTable/PivotPanel.js";
48
- import { usePivotExtension as ue } from "./components/pro/DataTable/pivotExtension.js";
49
- import { useRowDetailExtension as de } from "./components/pro/DataTable/rowDetailExtension.js";
50
- import fe, { createActionColumn as pe, createColumn as me, createComputedColumn as he, createSelectOptions as ge, createSelectionColumn as _e, dateSort as ve, defaultFilterFunctions as ye, extractUniqueOptions as be, numericSort as xe, stringSort as Se, treeSort as Ce } from "./data-table.js";
51
- import we from "./components/Chart/Chart.js";
52
- import Te from "./components/Demo/index.js";
53
- import Ee from "./components/pro/ArticleControl/ArticleControl2.js";
54
- import De from "./components/pro/ArticleContextMenu/index.js";
55
- import Oe from "./components/Markdown/Markdown.js";
56
- import { getDefaultSnippets as ke, javascriptSnippets as Ae, pythonSnippets as je } from "./components/pro/CodeEditor/langs/snippets.js";
57
- import { jsJumpableKeywords as Me, jsKeywords as Ne } from "./components/pro/CodeEditor/langs/javascript.js";
58
- import { pyJumpableKeywords as Pe, pyKeywords as Fe } from "./components/pro/CodeEditor/langs/python.js";
59
- import { getJumpableKeywords as Ie, getLanguageKeywords as Le } from "./components/pro/CodeEditor/langs/index.js";
60
- import { bracketMatchingStyle as Re, jumpTargetHighlight as ze, jumpToDefinition as Be, lineHighlightStyle as Ve, smartAutocompletion as He } from "./components/pro/CodeEditor/extensions/index.js";
61
- import { createThemeExtension as Ue } from "./components/pro/CodeEditor/themes.js";
62
- import { collectVariables as We, generateOutline as Ge } from "./components/pro/CodeEditor/utils.js";
63
- import { defaultContextMenu as Ke } from "./components/pro/CodeEditor/extensions/contextMenu.js";
64
- import qe from "./components/pro/CodeEditor/editors/CodeEditor.js";
65
- import Je from "./components/pro/CodeEditor/panels/TableOfContentsPanel.js";
66
- import Ye from "./components/pro/CodeEditor/panels/FootnotePanel.js";
67
- import Xe from "./components/pro/CodeEditor/editors/MarkdownEditor.js";
68
- import Ze from "./components/pro/CodeEditor/panels/OutlinePanel.js";
69
- import Qe from "./components/pro/CodeEditor/panels/VariablePanel.js";
70
- import $e from "./layouts/MainLayout.js";
71
- import et from "./layouts/Navbar.js";
72
- import { ProtectedRoute as tt } from "./components/ProtectedRoute/index.js";
73
- import { buildRouter as nt, createRouterFromConfig as rt } from "./utils/routerBuilder.js";
74
- import { DropZone as it, formatFileSize as at } from "./components/FileUploader/DropZone.js";
75
- import { FileItem as ot } from "./components/FileUploader/FileItem.js";
76
- import { UploadQueue as st } from "./components/FileUploader/UploadQueue.js";
77
- import { FileUploader as ct } from "./components/FileUploader/FileUploader.js";
78
- import { FileIcon as lt } from "./components/pro/FileExplorer/FileIcon.js";
79
- import { Breadcrumb as ut } from "./components/pro/FileExplorer/Breadcrumb.js";
80
- import { Toolbar as dt } from "./components/pro/FileExplorer/Toolbar.js";
81
- import { ListView as ft } from "./components/pro/FileExplorer/ListView.js";
82
- import { GridView as pt } from "./components/pro/FileExplorer/GridView.js";
83
- import { CreateDialog as mt } from "./components/pro/FileExplorer/CreateDialog.js";
84
- import { FileExplorer as ht } from "./components/pro/FileExplorer/FileExplorer.js";
85
- import { defaultLabels as gt } from "./components/pro/RichTextEditor/types.js";
86
- import _t from "./components/pro/RichTextEditor/Toolbar/Toolbar.js";
87
- import vt from "./components/pro/RichTextEditor/AIRewrite.js";
88
- import { MarkdownBlockExtension as yt } from "./components/pro/RichTextEditor/extensions/MarkdownBlock.js";
89
- import { CodeBlockExtension as bt } from "./components/pro/RichTextEditor/extensions/CodeBlockView.js";
90
- import xt from "./components/pro/RichTextEditor/RichTextEditor.js";
91
- import { BORDER_STYLE_OPTIONS as St, DASH_DENSITY_OPTIONS as Ct, DEFAULT_EDGE_DATA as wt, DEFAULT_NODE_DATA as Tt, EDGE_LINE_STYLE_OPTIONS as Et, EDGE_MARKER_OPTIONS as Dt, EDGE_TYPE_OPTIONS as Ot, GRADIENT_DIRECTION_OPTIONS as kt, PALETTE_ITEMS as At, ROOT_CANVAS_ID as jt, createEmptyDocument as Mt } from "./components/pro/Flow/constants.js";
92
- import { FlowProvider as Nt, useFlowContext as Pt } from "./components/pro/Flow/context/FlowContext.js";
93
- import { FlowUIProvider as Ft, useFlowUI as It } from "./components/pro/Flow/context/FlowUIContext.js";
94
- import { downloadDataURL as Lt, exportCanvasToPNG as Rt, useFlowImportExport as zt } from "./components/pro/Flow/hooks/useFlowImportExport.js";
95
- import { useLayoutActions as Bt } from "./components/pro/Flow/hooks/useLayoutActions.js";
96
- import Vt from "./components/pro/Flow/panels/FlowToolbar.js";
97
- import Ht from "./components/pro/Flow/panels/ShapePalette.js";
98
- import { FLOW_NODE_TYPES as Ut } from "./components/pro/Flow/types.js";
99
- import Wt from "./components/pro/Flow/panels/InspectorPanel.js";
100
- import Gt from "./components/pro/Flow/panels/OutlinePanel.js";
101
- import Kt from "./components/pro/Flow/panels/ContextMenu.js";
102
- import { useClipboard as qt } from "./components/pro/Flow/hooks/useClipboard.js";
103
- import Jt from "./components/pro/Flow/Flow.js";
104
- import { useNodeMutations as Yt } from "./components/pro/Flow/hooks/useNodeMutations.js";
105
- import { useEdgeMutations as Xt } from "./components/pro/Flow/hooks/useEdgeMutations.js";
106
- import { useLineMutations as Zt } from "./components/pro/Flow/hooks/useLineMutations.js";
107
- import { useSelection as Qt } from "./components/pro/Flow/hooks/useSelection.js";
108
- export { vt as AIRewrite, $ as AppLayoutWrapper, ee as AppProvider, te as AppShell, De as ArticleContextMenu, Ee as ArticleControl, St as BORDER_STYLE_OPTIONS, n as Badge, ut as Breadcrumb, t as Button, u as Card, we as Chart, a as Checkbox, L as ChoicePicker, bt as CodeBlockExtension, qe as CodeEditor, A as Column, S as Container, mt as CreateDialog, Ct as DASH_DENSITY_OPTIONS, wt as DEFAULT_EDGE_DATA, Tt as DEFAULT_NODE_DATA, fe as DataTable, F as DateTimeInput, Te as Demo, X as DesktopSidebarToggleButton, c as Divider, it as DropZone, Et as EDGE_LINE_STYLE_OPTIONS, Dt as EDGE_MARKER_OPTIONS, Ot as EDGE_TYPE_OPTIONS, v as EmptyState, Ut as FLOW_NODE_TYPES, ht as FileExplorer, dt as FileExplorerToolbar, lt as FileIcon, ct as FileUploader, C as Flex, Jt as Flow, Kt as FlowContextMenu, Wt as FlowInspectorPanel, Gt as FlowOutlinePanel, Nt as FlowProvider, Ht as FlowShapePalette, Vt as FlowToolbar, Ft as FlowUIProvider, Ye as FootnotePanel, kt as GRADIENT_DIRECTION_OPTIONS, w as Grid, T as GridItem, pt as GridView, E as Group, W as Headbar, q as HeadbarLangSwitcher, K as HeadbarSearch, Y as HeadbarThemeSwitcher, G as HeadbarTitle, N as Icon, M as Image, r as Input, i as Label, x as Layout, O as List, ft as ListView, $e as MainLayout, Oe as Markdown, yt as MarkdownBlockExtension, Xe as MarkdownEditor, Z as MobileSidebarToggleButton, y as Modal, I as MultipleChoice, et as Navbar, Ze as OutlinePanel, At as PALETTE_ITEMS, f as Page, p as PageBody, d as PageHeader, m as PageLeft, h as PageMain, g as PageRight, le as PivotPanel, ce as PivotView, tt as ProtectedRoute, jt as ROOT_CANVAS_ID, xt as RichTextEditor, _t as RichTextToolbar, k as Row, l as Select, U as Sidebar, Q as SidebarToggleButtons, P as Slider, D as Space, _ as StatCard, o as Switch, R as Table, Je as TableOfContentsPanel, b as Tabs, j as Text, s as Tooltip, H as Tree, ot as UploadFileItem, st as UploadQueue, Qe as VariablePanel, Re as bracketMatchingStyle, nt as buildRouter, e as cn, We as collectVariables, se as computePivot, pe as createActionColumn, me as createColumn, he as createComputedColumn, Mt as createEmptyDocument, rt as createRouterFromConfig, ge as createSelectOptions, _e as createSelectionColumn, Ue as createThemeExtension, ve as dateSort, Ke as defaultContextMenu, ye as defaultFilterFunctions, oe as defineExtension, Lt as downloadDataURL, Rt as exportCanvasToPNG, be as extractUniqueOptions, at as formatFileSize, Ge as generateOutline, z as generateSidebarActiveStyles, B as generateTreeActiveStyles, ke as getDefaultSnippets, Ie as getJumpableKeywords, Le as getLanguageKeywords, J as getThemes, Ae as javascriptSnippets, Me as jsJumpableKeywords, Ne as jsKeywords, ze as jumpTargetHighlight, Be as jumpToDefinition, Ve as lineHighlightStyle, xe as numericSort, Pe as pyJumpableKeywords, Fe as pyKeywords, je as pythonSnippets, gt as richTextDefaultLabels, He as smartAutocompletion, Se as stringSort, V as themeActiveStyles, Ce as treeSort, ne as useAppContext, re as useAuth, Xt as useEdgeMutations, qt as useFlowClipboard, Pt as useFlowContext, zt as useFlowImportExport, Qt as useFlowSelection, It as useFlowUI, Bt as useLayoutActions, Zt as useLineMutations, Yt as useNodeMutations, ue as usePivotExtension, de as useRowDetailExtension, ie as useTableColumns, ae as useTableData };
15
+ import _ from "./components/EmptyState/index.js";
16
+ import v from "./components/Avatar/index.js";
17
+ import y from "./components/Accordion/index.js";
18
+ import b from "./components/Modal/index.js";
19
+ import x from "./components/Tabs/index.js";
20
+ import S, { Container as C, Flex as w, Grid as T, GridItem as E, Group as D, Space as O } from "./components/Layout/index.js";
21
+ import k from "./components/List/index.js";
22
+ import A from "./components/Row/index.js";
23
+ import j from "./components/Column/index.js";
24
+ import M from "./components/Text/index.js";
25
+ import N from "./components/Image/index.js";
26
+ import P from "./components/Icon/index.js";
27
+ import F from "./components/Slider/index.js";
28
+ import I from "./components/DateTimeInput/index.js";
29
+ import L from "./components/MultipleChoice/index.js";
30
+ import R from "./components/ChoicePicker/index.js";
31
+ import z from "./components/Table/index.js";
32
+ import { generateSidebarActiveStyles as B, generateTreeActiveStyles as V, themeActiveStyles as H } from "./styles/themeStyles.js";
33
+ import U from "./components/Tree/Tree.js";
34
+ import W from "./layouts/Sidebar.js";
35
+ import G from "./layouts/headbar/Headbar.js";
36
+ import K from "./layouts/headbar/HeadbarTitle.js";
37
+ import q from "./layouts/headbar/HeadbarSearch.js";
38
+ import J from "./layouts/headbar/HeadbarLangSwitcher.js";
39
+ import { getThemes as Y } from "./utils/themes.js";
40
+ import X from "./layouts/headbar/HeadbarThemeSwitcher.js";
41
+ import { DesktopSidebarToggleButton as Z, MobileSidebarToggleButton as Q, SidebarToggleButtons as $ } from "./components/SidebarToggleButton/index.js";
42
+ import { AppLayoutWrapper as ee, AppProvider as te, AppShell as ne, useAppContext as re, useAuth as ie } from "./contexts/AppContext.js";
43
+ import ae from "./hooks/useTableColumns.js";
44
+ import oe from "./hooks/useTableData.js";
45
+ import { defineExtension as se } from "./components/pro/DataTable/extension.js";
46
+ import { computePivot as ce } from "./components/pro/DataTable/pivotEngine.js";
47
+ import { PivotView as le } from "./components/pro/DataTable/PivotView.js";
48
+ import { PivotPanel as ue } from "./components/pro/DataTable/PivotPanel.js";
49
+ import { usePivotExtension as de } from "./components/pro/DataTable/pivotExtension.js";
50
+ import { useRowDetailExtension as fe } from "./components/pro/DataTable/rowDetailExtension.js";
51
+ import pe, { createActionColumn as me, createColumn as he, createComputedColumn as ge, createSelectOptions as _e, createSelectionColumn as ve, dateSort as ye, defaultFilterFunctions as be, extractUniqueOptions as xe, numericSort as Se, stringSort as Ce, treeSort as we } from "./data-table.js";
52
+ import Te from "./components/Chart/Chart.js";
53
+ import Ee from "./components/Demo/index.js";
54
+ import De from "./components/pro/ArticleControl/ArticleControl2.js";
55
+ import Oe from "./components/pro/ArticleContextMenu/index.js";
56
+ import ke from "./components/Markdown/Markdown.js";
57
+ import { getDefaultSnippets as Ae, javascriptSnippets as je, pythonSnippets as Me } from "./components/pro/CodeEditor/langs/snippets.js";
58
+ import { jsJumpableKeywords as Ne, jsKeywords as Pe } from "./components/pro/CodeEditor/langs/javascript.js";
59
+ import { pyJumpableKeywords as Fe, pyKeywords as Ie } from "./components/pro/CodeEditor/langs/python.js";
60
+ import { getJumpableKeywords as Le, getLanguageKeywords as Re } from "./components/pro/CodeEditor/langs/index.js";
61
+ import { bracketMatchingStyle as ze, jumpTargetHighlight as Be, jumpToDefinition as Ve, lineHighlightStyle as He, smartAutocompletion as Ue } from "./components/pro/CodeEditor/extensions/index.js";
62
+ import { createThemeExtension as We } from "./components/pro/CodeEditor/themes.js";
63
+ import { collectVariables as Ge, generateOutline as Ke } from "./components/pro/CodeEditor/utils.js";
64
+ import { defaultContextMenu as qe } from "./components/pro/CodeEditor/extensions/contextMenu.js";
65
+ import Je from "./components/pro/CodeEditor/editors/CodeEditor.js";
66
+ import Ye from "./components/pro/CodeEditor/panels/TableOfContentsPanel.js";
67
+ import Xe from "./components/pro/CodeEditor/panels/FootnotePanel.js";
68
+ import Ze from "./components/pro/CodeEditor/editors/MarkdownEditor.js";
69
+ import Qe from "./components/pro/CodeEditor/panels/OutlinePanel.js";
70
+ import $e from "./components/pro/CodeEditor/panels/VariablePanel.js";
71
+ import et from "./layouts/MainLayout.js";
72
+ import tt from "./layouts/Navbar.js";
73
+ import { ProtectedRoute as nt } from "./components/ProtectedRoute/index.js";
74
+ import { buildRouter as rt, createRouterFromConfig as it } from "./utils/routerBuilder.js";
75
+ import { DropZone as at, formatFileSize as ot } from "./components/FileUploader/DropZone.js";
76
+ import { FileItem as st } from "./components/FileUploader/FileItem.js";
77
+ import { UploadQueue as ct } from "./components/FileUploader/UploadQueue.js";
78
+ import { FileUploader as lt } from "./components/FileUploader/FileUploader.js";
79
+ import { FileIcon as ut } from "./components/pro/FileExplorer/FileIcon.js";
80
+ import { Breadcrumb as dt } from "./components/pro/FileExplorer/Breadcrumb.js";
81
+ import { Toolbar as ft } from "./components/pro/FileExplorer/Toolbar.js";
82
+ import { ListView as pt } from "./components/pro/FileExplorer/ListView.js";
83
+ import { GridView as mt } from "./components/pro/FileExplorer/GridView.js";
84
+ import { CreateDialog as ht } from "./components/pro/FileExplorer/CreateDialog.js";
85
+ import { FileExplorer as gt } from "./components/pro/FileExplorer/FileExplorer.js";
86
+ import { defaultLabels as _t } from "./components/pro/RichTextEditor/types.js";
87
+ import vt from "./components/pro/RichTextEditor/Toolbar/Toolbar.js";
88
+ import yt from "./components/pro/RichTextEditor/AIRewrite.js";
89
+ import { MarkdownBlockExtension as bt } from "./components/pro/RichTextEditor/extensions/MarkdownBlock.js";
90
+ import { CodeBlockExtension as xt } from "./components/pro/RichTextEditor/extensions/CodeBlockView.js";
91
+ import St from "./components/pro/RichTextEditor/RichTextEditor.js";
92
+ import { BORDER_STYLE_OPTIONS as Ct, DASH_DENSITY_OPTIONS as wt, DEFAULT_EDGE_DATA as Tt, DEFAULT_NODE_DATA as Et, EDGE_LINE_STYLE_OPTIONS as Dt, EDGE_MARKER_OPTIONS as Ot, EDGE_TYPE_OPTIONS as kt, GRADIENT_DIRECTION_OPTIONS as At, PALETTE_ITEMS as jt, ROOT_CANVAS_ID as Mt, createEmptyDocument as Nt } from "./components/pro/Flow/constants.js";
93
+ import { FlowProvider as Pt, useFlowContext as Ft } from "./components/pro/Flow/context/FlowContext.js";
94
+ import { FlowUIProvider as It, useFlowUI as Lt } from "./components/pro/Flow/context/FlowUIContext.js";
95
+ import { downloadDataURL as Rt, exportCanvasToPNG as zt, useFlowImportExport as Bt } from "./components/pro/Flow/hooks/useFlowImportExport.js";
96
+ import { useLayoutActions as Vt } from "./components/pro/Flow/hooks/useLayoutActions.js";
97
+ import Ht from "./components/pro/Flow/panels/FlowToolbar.js";
98
+ import Ut from "./components/pro/Flow/panels/ShapePalette.js";
99
+ import { FLOW_NODE_TYPES as Wt } from "./components/pro/Flow/types.js";
100
+ import Gt from "./components/pro/Flow/panels/InspectorPanel.js";
101
+ import Kt from "./components/pro/Flow/panels/OutlinePanel.js";
102
+ import qt from "./components/pro/Flow/panels/ContextMenu.js";
103
+ import { useClipboard as Jt } from "./components/pro/Flow/hooks/useClipboard.js";
104
+ import Yt from "./components/pro/Flow/Flow.js";
105
+ import { useNodeMutations as Xt } from "./components/pro/Flow/hooks/useNodeMutations.js";
106
+ import { useEdgeMutations as Zt } from "./components/pro/Flow/hooks/useEdgeMutations.js";
107
+ import { useLineMutations as Qt } from "./components/pro/Flow/hooks/useLineMutations.js";
108
+ import { useSelection as $t } from "./components/pro/Flow/hooks/useSelection.js";
109
+ import { DEFAULT_CATEGORY_CONFIG as en, DEFAULT_SCALE_CONFIGS as tn, DEFAULT_TIME_WINDOW as nn, addDays as rn, addWorkingDays as an, calculateWorkingDays as on, computeDateRange as sn, dateToX as cn, daysBetween as ln, flattenTree as un, formatDate as dn, generateDateRange as fn, generateHeaderGroups as pn, getISOWeekNumber as mn, getISOWeekYear as hn, isNonWorkingDay as gn, isWeekend as _n, parseDate as vn, startOfDay as yn, xToDate as bn } from "./components/pro/Gantt/utils.js";
110
+ import { useGanttState as xn } from "./components/pro/Gantt/hooks/useGanttState.js";
111
+ import { useGanttDrag as Sn } from "./components/pro/Gantt/hooks/useGanttDrag.js";
112
+ import Cn from "./components/pro/Gantt/Gantt.js";
113
+ import { DEFAULT_COLOR_OPTIONS as wn, LABELS_EN as Tn, LABELS_ZH as En, SLOT_HEIGHT as Dn, TIME_GRID_HEIGHT as On, TIME_SLOTS as kn, addDays as An, clamp as jn, formatDate as Mn, formatTime as Nn, generateId as Pn, generateTimeSlots as Fn, getDaysInMonth as In, getFirstDayOfMonth as Ln, getHolidayEntry as Rn, getMonthDates as zn, getWeekDates as Bn, isHoliday as Vn, isNonWorkingDay as Hn, isSameDay as Un, isToday as Wn, isWeekend as Gn, minutesToTime as Kn, parseDate as qn, parseTime as Jn, timeToMinutes as Yn, todayStr as Xn } from "./components/pro/Calendar/utils.js";
114
+ import { useCalendarState as Zn } from "./components/pro/Calendar/hooks/useCalendarState.js";
115
+ import { useCalendarDrag as Qn } from "./components/pro/Calendar/hooks/useCalendarDrag.js";
116
+ import $n from "./components/pro/Calendar/Calendar.js";
117
+ export { yt as AIRewrite, y as Accordion, ee as AppLayoutWrapper, te as AppProvider, ne as AppShell, Oe as ArticleContextMenu, De as ArticleControl, v as Avatar, Ct as BORDER_STYLE_OPTIONS, n as Badge, dt as Breadcrumb, t as Button, wn as CALENDAR_DEFAULT_COLOR_OPTIONS, Tn as CALENDAR_LABELS_EN, En as CALENDAR_LABELS_ZH, Dn as CALENDAR_SLOT_HEIGHT, On as CALENDAR_TIME_GRID_HEIGHT, kn as CALENDAR_TIME_SLOTS, $n as Calendar, u as Card, Te as Chart, a as Checkbox, R as ChoicePicker, xt as CodeBlockExtension, Je as CodeEditor, j as Column, C as Container, ht as CreateDialog, wt as DASH_DENSITY_OPTIONS, en as DEFAULT_CATEGORY_CONFIG, Tt as DEFAULT_EDGE_DATA, Et as DEFAULT_NODE_DATA, tn as DEFAULT_SCALE_CONFIGS, nn as DEFAULT_TIME_WINDOW, pe as DataTable, I as DateTimeInput, Ee as Demo, Z as DesktopSidebarToggleButton, c as Divider, at as DropZone, Dt as EDGE_LINE_STYLE_OPTIONS, Ot as EDGE_MARKER_OPTIONS, kt as EDGE_TYPE_OPTIONS, _ as EmptyState, Wt as FLOW_NODE_TYPES, gt as FileExplorer, ft as FileExplorerToolbar, ut as FileIcon, lt as FileUploader, w as Flex, Yt as Flow, qt as FlowContextMenu, Gt as FlowInspectorPanel, Kt as FlowOutlinePanel, Pt as FlowProvider, Ut as FlowShapePalette, Ht as FlowToolbar, It as FlowUIProvider, Xe as FootnotePanel, At as GRADIENT_DIRECTION_OPTIONS, Cn as Gantt, T as Grid, E as GridItem, mt as GridView, D as Group, G as Headbar, J as HeadbarLangSwitcher, q as HeadbarSearch, X as HeadbarThemeSwitcher, K as HeadbarTitle, P as Icon, N as Image, r as Input, i as Label, S as Layout, k as List, pt as ListView, et as MainLayout, ke as Markdown, bt as MarkdownBlockExtension, Ze as MarkdownEditor, Q as MobileSidebarToggleButton, b as Modal, L as MultipleChoice, tt as Navbar, Qe as OutlinePanel, jt as PALETTE_ITEMS, f as Page, p as PageBody, d as PageHeader, m as PageLeft, h as PageMain, g as PageRight, ue as PivotPanel, le as PivotView, nt as ProtectedRoute, Mt as ROOT_CANVAS_ID, St as RichTextEditor, vt as RichTextToolbar, A as Row, l as Select, W as Sidebar, $ as SidebarToggleButtons, F as Slider, O as Space, o as Switch, z as Table, Ye as TableOfContentsPanel, x as Tabs, M as Text, s as Tooltip, U as Tree, st as UploadFileItem, ct as UploadQueue, $e as VariablePanel, An as addCalendarDays, rn as addGanttDays, an as addWorkingDays, ze as bracketMatchingStyle, rt as buildRouter, on as calculateWorkingDays, jn as calendarClamp, Kn as calendarMinutesToTime, Yn as calendarTimeToMinutes, Xn as calendarTodayStr, e as cn, Ge as collectVariables, sn as computeDateRange, ce as computePivot, me as createActionColumn, he as createColumn, ge as createComputedColumn, Nt as createEmptyDocument, it as createRouterFromConfig, _e as createSelectOptions, ve as createSelectionColumn, We as createThemeExtension, ye as dateSort, ln as daysBetween, qe as defaultContextMenu, be as defaultFilterFunctions, se as defineExtension, Rt as downloadDataURL, zt as exportCanvasToPNG, xe as extractUniqueOptions, un as flattenGanttTree, Mn as formatCalendarDate, Nn as formatCalendarTime, ot as formatFileSize, dn as formatGanttDate, cn as ganttDateToX, bn as ganttXToDate, Pn as generateCalendarId, Fn as generateCalendarTimeSlots, fn as generateDateRange, pn as generateHeaderGroups, Ke as generateOutline, B as generateSidebarActiveStyles, V as generateTreeActiveStyles, In as getCalendarDaysInMonth, Ln as getCalendarFirstDayOfMonth, Rn as getCalendarHolidayEntry, zn as getCalendarMonthDates, Bn as getCalendarWeekDates, Ae as getDefaultSnippets, mn as getISOWeekNumber, hn as getISOWeekYear, Le as getJumpableKeywords, Re as getLanguageKeywords, Y as getThemes, Vn as isCalendarHoliday, Hn as isCalendarNonWorkingDay, Un as isCalendarSameDay, Wn as isCalendarToday, Gn as isCalendarWeekend, gn as isGanttNonWorkingDay, _n as isGanttWeekend, je as javascriptSnippets, Ne as jsJumpableKeywords, Pe as jsKeywords, Be as jumpTargetHighlight, Ve as jumpToDefinition, He as lineHighlightStyle, Se as numericSort, qn as parseCalendarDate, Jn as parseCalendarTime, vn as parseGanttDate, Fe as pyJumpableKeywords, Ie as pyKeywords, Me as pythonSnippets, _t as richTextDefaultLabels, Ue as smartAutocompletion, yn as startOfGanttDay, Ce as stringSort, H as themeActiveStyles, we as treeSort, re as useAppContext, ie as useAuth, Qn as useCalendarDrag, Zn as useCalendarState, Zt as useEdgeMutations, Jt as useFlowClipboard, Ft as useFlowContext, Bt as useFlowImportExport, $t as useFlowSelection, Lt as useFlowUI, Sn as useGanttDrag, xn as useGanttState, Vt as useLayoutActions, Qt as useLineMutations, Xt as useNodeMutations, de as usePivotExtension, fe as useRowDetailExtension, ae as useTableColumns, oe as useTableData };
@@ -51,10 +51,15 @@ var e = {
51
51
  label: "卡片 Card",
52
52
  path: "/components/card"
53
53
  },
54
- statcard: {
55
- id: "statcard",
56
- label: "统计卡片 StatCard",
57
- path: "/components/statcard"
54
+ avatar: {
55
+ id: "avatar",
56
+ label: "头像 Avatar",
57
+ path: "/components/avatar"
58
+ },
59
+ accordion: {
60
+ id: "accordion",
61
+ label: "手风琴 Accordion",
62
+ path: "/components/accordion"
58
63
  },
59
64
  emptystate: {
60
65
  id: "emptystate",
@@ -339,6 +344,26 @@ var e = {
339
344
  id: "flow-mobile",
340
345
  label: "Flow 移动端示例",
341
346
  path: "/components/flow/mobile"
347
+ },
348
+ gantt: {
349
+ id: "gantt",
350
+ label: "甘特图 Gantt",
351
+ path: "/components/gantt"
352
+ },
353
+ ganttScenarios: {
354
+ id: "gantt-scenarios",
355
+ label: "Gantt 场景示例",
356
+ path: "/components/gantt/scenarios"
357
+ },
358
+ calendar: {
359
+ id: "calendar",
360
+ label: "日历 Calendar",
361
+ path: "/components/calendar"
362
+ },
363
+ calendarScenarios: {
364
+ id: "calendar-scenarios",
365
+ label: "Calendar 场景示例",
366
+ path: "/components/calendar/scenarios"
342
367
  }
343
368
  }
344
369
  }
@@ -395,10 +420,15 @@ var e = {
395
420
  label: "Card",
396
421
  path: "/components/card"
397
422
  },
398
- statcard: {
399
- id: "statcard",
400
- label: "StatCard",
401
- path: "/components/statcard"
423
+ avatar: {
424
+ id: "avatar",
425
+ label: "Avatar",
426
+ path: "/components/avatar"
427
+ },
428
+ accordion: {
429
+ id: "accordion",
430
+ label: "Accordion",
431
+ path: "/components/accordion"
402
432
  },
403
433
  emptystate: {
404
434
  id: "emptystate",
@@ -683,6 +713,26 @@ var e = {
683
713
  id: "flow-mobile",
684
714
  label: "Flow Mobile Guide",
685
715
  path: "/components/flow/mobile"
716
+ },
717
+ gantt: {
718
+ id: "gantt",
719
+ label: "Gantt Chart",
720
+ path: "/components/gantt"
721
+ },
722
+ ganttScenarios: {
723
+ id: "gantt-scenarios",
724
+ label: "Gantt Scenarios",
725
+ path: "/components/gantt/scenarios"
726
+ },
727
+ calendar: {
728
+ id: "calendar",
729
+ label: "Calendar",
730
+ path: "/components/calendar"
731
+ },
732
+ calendarScenarios: {
733
+ id: "calendar-scenarios",
734
+ label: "Calendar Scenarios",
735
+ path: "/components/calendar/scenarios"
686
736
  }
687
737
  }
688
738
  }
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.js","names":[],"sources":["../../src/utils/i18n.tsx"],"sourcesContent":["// 导入类型\nimport { MenuItem } from '../types/menu';\n\n// 定义语言类型\nexport type Language = 'zh' | 'en';\n\n// 定义翻译类型\nexport type Translations = {\n navbar: {\n search: string;\n searchPlaceholder: string;\n searchShortcut: string;\n noResults: string;\n };\n sidebar: {\n menu: {\n home: MenuItem;\n components: Omit<MenuItem, 'children'> & {\n children: Record<string, MenuItem>;\n };\n layouts: Omit<MenuItem, 'children'> & {\n children: Record<string, MenuItem>;\n };\n advanced: Omit<MenuItem, 'children'> & {\n children: Record<string, MenuItem>;\n };\n charts: MenuItem;\n };\n };\n};\n\n// 中文翻译\nexport const zhTranslations: Translations = {\n navbar: {\n search: '搜索组件',\n searchPlaceholder: '搜索组件、文档、示例...',\n searchShortcut: 'Cmd+K',\n noResults: '没有找到匹配的结果',\n },\n sidebar: {\n menu: {\n home: {\n id: 'home',\n label: '主页',\n path: '/',\n },\n components: {\n id: 'components',\n label: '组件',\n children: {\n button: {\n id: 'button',\n label: '按钮 Button',\n path: '/components/button',\n },\n badge: {\n id: 'badge',\n label: '徽章 Badge',\n path: '/components/badge',\n },\n input: {\n id: 'input',\n label: '输入框 Input',\n path: '/components/input',\n },\n label: {\n id: 'label',\n label: '标签 Label',\n path: '/components/label',\n },\n checkbox: {\n id: 'checkbox',\n label: '复选框 Checkbox',\n path: '/components/checkbox',\n },\n select: {\n id: 'select',\n label: '选择器 Select',\n path: '/components/select',\n },\n card: {\n id: 'card',\n label: '卡片 Card',\n path: '/components/card',\n },\n statcard: {\n id: 'statcard',\n label: '统计卡片 StatCard',\n path: '/components/statcard',\n },\n emptystate: {\n id: 'emptystate',\n label: '空状态 EmptyState',\n path: '/components/emptystate',\n },\n modal: {\n id: 'modal',\n label: '模态框 Modal',\n path: '/components/modal',\n },\n tabs: {\n id: 'tabs',\n label: '标签页 Tabs',\n path: '/components/tabs',\n },\n list: {\n id: 'list',\n label: '列表 List',\n path: '/components/list',\n },\n table: {\n id: 'table',\n label: '表格 Table',\n path: '/components/table',\n },\n markdown: {\n id: 'markdown',\n label: '文档 Markdown',\n path: '/components/markdown',\n },\n tree: {\n id: 'tree',\n label: '树形控件 Tree',\n path: '/components/tree',\n },\n fileuploader: {\n id: 'fileuploader',\n label: '文件上传 FileUploader',\n path: '/components/fileuploader',\n },\n text: {\n id: 'text',\n label: '文本 Text',\n path: '/components/text',\n },\n image: {\n id: 'image',\n label: '图片 Image',\n path: '/components/image',\n },\n icon: {\n id: 'icon',\n label: '图标 Icon',\n path: '/components/icon',\n },\n slider: {\n id: 'slider',\n label: '滑块 Slider',\n path: '/components/slider',\n },\n datetimeinput: {\n id: 'datetimeinput',\n label: '日期时间 DateTimeInput',\n path: '/components/datetime-input',\n },\n multiplechoice: {\n id: 'multiplechoice',\n label: '多选组 MultipleChoice',\n path: '/components/multiple-choice',\n },\n choicepicker: {\n id: 'choicepicker',\n label: '单选组 ChoicePicker',\n path: '/components/choice-picker',\n },\n },\n },\n layouts: {\n id: 'layouts',\n label: '布局 Layout',\n children: {\n layout: { id: 'layout', label: '布局总览 Layout', path: '/layouts/layout' },\n container: { id: 'container', label: '容器 Container', path: '/layouts/container' },\n grid: { id: 'grid', label: '栅格 Grid', path: '/layouts/grid' },\n flex: { id: 'flex', label: '弹性布局 Flex', path: '/layouts/flex' },\n group: { id: 'group', label: '布局组 Group', path: '/layouts/group' },\n space: { id: 'space', label: '占位 Space', path: '/layouts/space' },\n page: { id: 'page', label: '页面布局 Page', path: '/layouts/page' },\n row: { id: 'row', label: '行布局 Row', path: '/layouts/row' },\n column: { id: 'column', label: '列布局 Column', path: '/layouts/column' },\n },\n },\n charts: {\n id: 'charts',\n label: '图表 Charts',\n path: '/components/chart',\n children: [\n { id: 'chart-line', label: '折线图 Line', path: '/components/chart/line' },\n { id: 'chart-area', label: '面积图 Area', path: '/components/chart/area' },\n { id: 'chart-bar', label: '柱状图 Bar', path: '/components/chart/bar' },\n { id: 'chart-pie', label: '饼图 Pie', path: '/components/chart/pie' },\n { id: 'chart-scatter', label: '散点图 Scatter', path: '/components/chart/scatter' },\n { id: 'chart-combo', label: '组合图 Combo', path: '/components/chart/complex/combo' },\n { id: 'chart-stacked', label: '堆叠面积图 Stacked Area', path: '/components/chart/complex/stacked' },\n { id: 'chart-heatmap', label: '热力图 Heatmap', path: '/components/chart/complex/heatmap' },\n { id: 'chart-regression', label: '回归分析 Regression', path: '/components/chart/complex/regression' },\n { id: 'chart-radar', label: '雷达图 Radar', path: '/components/chart/special/radar' },\n { id: 'chart-sankey', label: '桑基图 Sankey', path: '/components/chart/special/sankey' },\n { id: 'chart-network', label: '网络图 Network', path: '/components/chart/special/network' },\n { id: 'chart-calendar', label: '日历热力图 Calendar', path: '/components/chart/special/calendar' },\n { id: 'chart-stacked-pie', label: '堆叠饼图 Stacked Pie', path: '/components/chart/special/stacked-pie' },\n { id: 'chart-funnel', label: '销售漏斗图 Funnel', path: '/components/chart/special/funnel' },\n { id: 'chart-treemap', label: '矩形树图 Treemap', path: '/components/chart/special/treemap' },\n { id: 'chart-globe', label: '地球 Globe', path: '/components/chart/special/globe' },\n { id: 'chart-world-map', label: '世界地图 World Map', path: '/components/chart/special/world-map' },\n ],\n },\n advanced: {\n id: 'advanced-components',\n label: '高级组件',\n children: {\n datatable: {\n id: 'datatable',\n label: '数据表格 DataTable',\n path: '/components/datatable',\n },\n\n jukebox: {\n id: 'jukebox',\n label: '音乐播放器 Jukebox',\n path: '/components/jukebox',\n },\n articlecontrol: {\n id: 'articlecontrol',\n label: '文档悬浮控件 ArticleControl',\n path: '/components/articlecontrol',\n },\n codeeditor: {\n id: 'codeeditor',\n label: '代码编辑器 CodeEditor',\n path: '/components/codeeditor',\n },\n markdowneditor: {\n id: 'markdowneditor',\n label: 'Markdown编辑器 MarkdownEditor',\n path: '/components/markdowneditor',\n },\n sidebar: {\n id: 'sidebar-demo',\n label: '侧边栏 Sidebar',\n path: '/components/sidebar',\n },\n fileexplorer: {\n id: 'fileexplorer',\n label: '文件浏览器 FileExplorer',\n path: '/components/fileexplorer',\n },\n richtexteditor: {\n id: 'richtexteditor',\n label: '富文本编辑器 RichTextEditor',\n path: '/components/richtexteditor',\n },\n flow: {\n id: 'flow',\n label: '流程图编辑器 Flow',\n path: '/components/flow',\n },\n flowUsage: {\n id: 'flow-usage',\n label: 'Flow 使用示例',\n path: '/components/flow/usage',\n },\n flowMobile: {\n id: 'flow-mobile',\n label: 'Flow 移动端示例',\n path: '/components/flow/mobile',\n },\n },\n },\n },\n },\n};\n\n// 英文翻译\nexport const enTranslations: Translations = {\n navbar: {\n search: 'Search Components',\n searchPlaceholder: 'Search components, docs, examples...',\n searchShortcut: 'Cmd+K',\n noResults: 'No results found',\n },\n sidebar: {\n menu: {\n home: {\n id: 'home',\n label: 'Home',\n path: '/',\n },\n components: {\n id: 'components',\n label: 'Components',\n children: {\n button: {\n id: 'button',\n label: 'Button',\n path: '/components/button',\n },\n badge: {\n id: 'badge',\n label: 'Badge',\n path: '/components/badge',\n },\n input: {\n id: 'input',\n label: 'Input',\n path: '/components/input',\n },\n label: {\n id: 'label',\n label: 'Label',\n path: '/components/label',\n },\n checkbox: {\n id: 'checkbox',\n label: 'Checkbox',\n path: '/components/checkbox',\n },\n select: {\n id: 'select',\n label: 'Select',\n path: '/components/select',\n },\n card: {\n id: 'card',\n label: 'Card',\n path: '/components/card',\n },\n statcard: {\n id: 'statcard',\n label: 'StatCard',\n path: '/components/statcard',\n },\n emptystate: {\n id: 'emptystate',\n label: 'EmptyState',\n path: '/components/emptystate',\n },\n modal: {\n id: 'modal',\n label: 'Modal',\n path: '/components/modal',\n },\n tabs: {\n id: 'tabs',\n label: 'Tabs',\n path: '/components/tabs',\n },\n list: {\n id: 'list',\n label: 'List',\n path: '/components/list',\n },\n table: {\n id: 'table',\n label: 'Table',\n path: '/components/table',\n },\n markdown: {\n id: 'markdown',\n label: 'Markdown',\n path: '/components/markdown',\n },\n tree: {\n id: 'tree',\n label: 'Tree',\n path: '/components/tree',\n },\n fileuploader: {\n id: 'fileuploader',\n label: 'FileUploader',\n path: '/components/fileuploader',\n },\n text: {\n id: 'text',\n label: 'Text',\n path: '/components/text',\n },\n image: {\n id: 'image',\n label: 'Image',\n path: '/components/image',\n },\n icon: {\n id: 'icon',\n label: 'Icon',\n path: '/components/icon',\n },\n slider: {\n id: 'slider',\n label: 'Slider',\n path: '/components/slider',\n },\n datetimeinput: {\n id: 'datetimeinput',\n label: 'DateTimeInput',\n path: '/components/datetime-input',\n },\n multiplechoice: {\n id: 'multiplechoice',\n label: 'MultipleChoice',\n path: '/components/multiple-choice',\n },\n choicepicker: {\n id: 'choicepicker',\n label: 'ChoicePicker',\n path: '/components/choice-picker',\n },\n },\n },\n layouts: {\n id: 'layouts',\n label: 'Layout',\n children: {\n layout: { id: 'layout', label: 'Layout Overview', path: '/layouts/layout' },\n container: { id: 'container', label: 'Container', path: '/layouts/container' },\n grid: { id: 'grid', label: 'Grid', path: '/layouts/grid' },\n flex: { id: 'flex', label: 'Flex', path: '/layouts/flex' },\n group: { id: 'group', label: 'Group', path: '/layouts/group' },\n space: { id: 'space', label: 'Space', path: '/layouts/space' },\n page: { id: 'page', label: 'Page Layout', path: '/layouts/page' },\n row: { id: 'row', label: 'Row', path: '/layouts/row' },\n column: { id: 'column', label: 'Column', path: '/layouts/column' },\n },\n },\n charts: {\n id: 'charts',\n label: 'Charts',\n path: '/components/chart',\n children: [\n { id: 'chart-line', label: 'Line Chart', path: '/components/chart/line' },\n { id: 'chart-area', label: 'Area Chart', path: '/components/chart/area' },\n { id: 'chart-bar', label: 'Bar Chart', path: '/components/chart/bar' },\n { id: 'chart-pie', label: 'Pie Chart', path: '/components/chart/pie' },\n { id: 'chart-scatter', label: 'Scatter Chart', path: '/components/chart/scatter' },\n { id: 'chart-combo', label: 'Combo Chart', path: '/components/chart/complex/combo' },\n { id: 'chart-stacked', label: 'Stacked Area', path: '/components/chart/complex/stacked' },\n { id: 'chart-heatmap', label: 'Heatmap', path: '/components/chart/complex/heatmap' },\n { id: 'chart-regression', label: 'Regression Analysis', path: '/components/chart/complex/regression' },\n { id: 'chart-radar', label: 'Radar Chart', path: '/components/chart/special/radar' },\n { id: 'chart-sankey', label: 'Sankey Diagram', path: '/components/chart/special/sankey' },\n { id: 'chart-network', label: 'Network Graph', path: '/components/chart/special/network' },\n { id: 'chart-calendar', label: 'Calendar Heatmap', path: '/components/chart/special/calendar' },\n { id: 'chart-stacked-pie', label: 'Stacked Pie', path: '/components/chart/special/stacked-pie' },\n { id: 'chart-funnel', label: 'Sales Funnel', path: '/components/chart/special/funnel' },\n { id: 'chart-treemap', label: 'Treemap', path: '/components/chart/special/treemap' },\n { id: 'chart-globe', label: 'Globe', path: '/components/chart/special/globe' },\n { id: 'chart-world-map', label: 'World Map', path: '/components/chart/special/world-map' }\n ],\n },\n advanced: {\n id: 'advanced-components',\n label: 'Advanced Components',\n children: {\n datatable: {\n id: 'datatable',\n label: 'DataTable',\n path: '/components/datatable',\n },\n\n jukebox: {\n id: 'jukebox',\n label: 'Jukebox',\n path: '/components/jukebox',\n },\n articlecontrol: {\n id: 'articlecontrol',\n label: 'ArticleControl',\n path: '/components/articlecontrol',\n },\n codeeditor: {\n id: 'codeeditor',\n label: 'CodeEditor',\n path: '/components/codeeditor',\n },\n markdowneditor: {\n id: 'markdowneditor',\n label: 'MarkdownEditor',\n path: '/components/markdowneditor',\n },\n sidebar: {\n id: 'sidebar-demo',\n label: 'Sidebar',\n path: '/components/sidebar',\n },\n fileexplorer: {\n id: 'fileexplorer',\n label: 'FileExplorer',\n path: '/components/fileexplorer',\n },\n richtexteditor: {\n id: 'richtexteditor',\n label: 'RichTextEditor',\n path: '/components/richtexteditor',\n },\n flow: {\n id: 'flow',\n label: 'Flow Editor',\n path: '/components/flow',\n },\n flowUsage: {\n id: 'flow-usage',\n label: 'Flow Usage Guide',\n path: '/components/flow/usage',\n },\n flowMobile: {\n id: 'flow-mobile',\n label: 'Flow Mobile Guide',\n path: '/components/flow/mobile',\n },\n },\n },\n },\n },\n};\n\n// 根据语言获取翻译\nexport const getTranslations = (language: Language): Translations => {\n return language === 'zh' ? zhTranslations : enTranslations;\n};"],"mappings":";AAgCA,IAAa,IAA+B;CAC1C,QAAQ;EACN,QAAQ;EACR,mBAAmB;EACnB,gBAAgB;EAChB,WAAW;CACb;CACA,SAAS,EACP,MAAM;EACJ,MAAM;GACJ,IAAI;GACJ,OAAO;GACP,MAAM;EACR;EACA,YAAY;GACV,IAAI;GACJ,OAAO;GACP,UAAU;IACR,QAAQ;KACN,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,OAAO;KACL,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,OAAO;KACL,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,OAAO;KACL,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,UAAU;KACR,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,QAAQ;KACN,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,MAAM;KACJ,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,UAAU;KACR,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,YAAY;KACV,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IAC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O;KACP,MAAM;IACR;IACA,gBAAgB;KACd,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,MAAM;KACJ,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,WAAW;KACT,IAAI;KACJ,OAAO;KACP,MAAM;IACR;IACA,YAAY;KACV,IAAI;KACJ,OAAO;KACP,MAAM;IACR;GACF;EACF;CACF,EACF;AACF,GAGa,KAAmB,MACvB,MAAa,OAAO,IAAiB"}
1
+ {"version":3,"file":"i18n.js","names":[],"sources":["../../src/utils/i18n.tsx"],"sourcesContent":["// 导入类型\nimport { MenuItem } from '../types/menu';\n\n// 定义语言类型\nexport type Language = 'zh' | 'en';\n\n// 定义翻译类型\nexport type Translations = {\n navbar: {\n search: string;\n searchPlaceholder: string;\n searchShortcut: string;\n noResults: string;\n };\n sidebar: {\n menu: {\n home: MenuItem;\n components: Omit<MenuItem, 'children'> & {\n children: Record<string, MenuItem>;\n };\n layouts: Omit<MenuItem, 'children'> & {\n children: Record<string, MenuItem>;\n };\n advanced: Omit<MenuItem, 'children'> & {\n children: Record<string, MenuItem>;\n };\n charts: MenuItem;\n };\n };\n};\n\n// 中文翻译\nexport const zhTranslations: Translations = {\n navbar: {\n search: '搜索组件',\n searchPlaceholder: '搜索组件、文档、示例...',\n searchShortcut: 'Cmd+K',\n noResults: '没有找到匹配的结果',\n },\n sidebar: {\n menu: {\n home: {\n id: 'home',\n label: '主页',\n path: '/',\n },\n components: {\n id: 'components',\n label: '组件',\n children: {\n button: {\n id: 'button',\n label: '按钮 Button',\n path: '/components/button',\n },\n badge: {\n id: 'badge',\n label: '徽章 Badge',\n path: '/components/badge',\n },\n input: {\n id: 'input',\n label: '输入框 Input',\n path: '/components/input',\n },\n label: {\n id: 'label',\n label: '标签 Label',\n path: '/components/label',\n },\n checkbox: {\n id: 'checkbox',\n label: '复选框 Checkbox',\n path: '/components/checkbox',\n },\n select: {\n id: 'select',\n label: '选择器 Select',\n path: '/components/select',\n },\n card: {\n id: 'card',\n label: '卡片 Card',\n path: '/components/card',\n },\n avatar: {\n id: 'avatar',\n label: '头像 Avatar',\n path: '/components/avatar',\n },\n accordion: {\n id: 'accordion',\n label: '手风琴 Accordion',\n path: '/components/accordion',\n },\n emptystate: {\n id: 'emptystate',\n label: '空状态 EmptyState',\n path: '/components/emptystate',\n },\n modal: {\n id: 'modal',\n label: '模态框 Modal',\n path: '/components/modal',\n },\n tabs: {\n id: 'tabs',\n label: '标签页 Tabs',\n path: '/components/tabs',\n },\n list: {\n id: 'list',\n label: '列表 List',\n path: '/components/list',\n },\n table: {\n id: 'table',\n label: '表格 Table',\n path: '/components/table',\n },\n markdown: {\n id: 'markdown',\n label: '文档 Markdown',\n path: '/components/markdown',\n },\n tree: {\n id: 'tree',\n label: '树形控件 Tree',\n path: '/components/tree',\n },\n fileuploader: {\n id: 'fileuploader',\n label: '文件上传 FileUploader',\n path: '/components/fileuploader',\n },\n text: {\n id: 'text',\n label: '文本 Text',\n path: '/components/text',\n },\n image: {\n id: 'image',\n label: '图片 Image',\n path: '/components/image',\n },\n icon: {\n id: 'icon',\n label: '图标 Icon',\n path: '/components/icon',\n },\n slider: {\n id: 'slider',\n label: '滑块 Slider',\n path: '/components/slider',\n },\n datetimeinput: {\n id: 'datetimeinput',\n label: '日期时间 DateTimeInput',\n path: '/components/datetime-input',\n },\n multiplechoice: {\n id: 'multiplechoice',\n label: '多选组 MultipleChoice',\n path: '/components/multiple-choice',\n },\n choicepicker: {\n id: 'choicepicker',\n label: '单选组 ChoicePicker',\n path: '/components/choice-picker',\n },\n },\n },\n layouts: {\n id: 'layouts',\n label: '布局 Layout',\n children: {\n layout: { id: 'layout', label: '布局总览 Layout', path: '/layouts/layout' },\n container: { id: 'container', label: '容器 Container', path: '/layouts/container' },\n grid: { id: 'grid', label: '栅格 Grid', path: '/layouts/grid' },\n flex: { id: 'flex', label: '弹性布局 Flex', path: '/layouts/flex' },\n group: { id: 'group', label: '布局组 Group', path: '/layouts/group' },\n space: { id: 'space', label: '占位 Space', path: '/layouts/space' },\n page: { id: 'page', label: '页面布局 Page', path: '/layouts/page' },\n row: { id: 'row', label: '行布局 Row', path: '/layouts/row' },\n column: { id: 'column', label: '列布局 Column', path: '/layouts/column' },\n },\n },\n charts: {\n id: 'charts',\n label: '图表 Charts',\n path: '/components/chart',\n children: [\n { id: 'chart-line', label: '折线图 Line', path: '/components/chart/line' },\n { id: 'chart-area', label: '面积图 Area', path: '/components/chart/area' },\n { id: 'chart-bar', label: '柱状图 Bar', path: '/components/chart/bar' },\n { id: 'chart-pie', label: '饼图 Pie', path: '/components/chart/pie' },\n { id: 'chart-scatter', label: '散点图 Scatter', path: '/components/chart/scatter' },\n { id: 'chart-combo', label: '组合图 Combo', path: '/components/chart/complex/combo' },\n { id: 'chart-stacked', label: '堆叠面积图 Stacked Area', path: '/components/chart/complex/stacked' },\n { id: 'chart-heatmap', label: '热力图 Heatmap', path: '/components/chart/complex/heatmap' },\n { id: 'chart-regression', label: '回归分析 Regression', path: '/components/chart/complex/regression' },\n { id: 'chart-radar', label: '雷达图 Radar', path: '/components/chart/special/radar' },\n { id: 'chart-sankey', label: '桑基图 Sankey', path: '/components/chart/special/sankey' },\n { id: 'chart-network', label: '网络图 Network', path: '/components/chart/special/network' },\n { id: 'chart-calendar', label: '日历热力图 Calendar', path: '/components/chart/special/calendar' },\n { id: 'chart-stacked-pie', label: '堆叠饼图 Stacked Pie', path: '/components/chart/special/stacked-pie' },\n { id: 'chart-funnel', label: '销售漏斗图 Funnel', path: '/components/chart/special/funnel' },\n { id: 'chart-treemap', label: '矩形树图 Treemap', path: '/components/chart/special/treemap' },\n { id: 'chart-globe', label: '地球 Globe', path: '/components/chart/special/globe' },\n { id: 'chart-world-map', label: '世界地图 World Map', path: '/components/chart/special/world-map' },\n ],\n },\n advanced: {\n id: 'advanced-components',\n label: '高级组件',\n children: {\n datatable: {\n id: 'datatable',\n label: '数据表格 DataTable',\n path: '/components/datatable',\n },\n\n jukebox: {\n id: 'jukebox',\n label: '音乐播放器 Jukebox',\n path: '/components/jukebox',\n },\n articlecontrol: {\n id: 'articlecontrol',\n label: '文档悬浮控件 ArticleControl',\n path: '/components/articlecontrol',\n },\n codeeditor: {\n id: 'codeeditor',\n label: '代码编辑器 CodeEditor',\n path: '/components/codeeditor',\n },\n markdowneditor: {\n id: 'markdowneditor',\n label: 'Markdown编辑器 MarkdownEditor',\n path: '/components/markdowneditor',\n },\n sidebar: {\n id: 'sidebar-demo',\n label: '侧边栏 Sidebar',\n path: '/components/sidebar',\n },\n fileexplorer: {\n id: 'fileexplorer',\n label: '文件浏览器 FileExplorer',\n path: '/components/fileexplorer',\n },\n richtexteditor: {\n id: 'richtexteditor',\n label: '富文本编辑器 RichTextEditor',\n path: '/components/richtexteditor',\n },\n flow: {\n id: 'flow',\n label: '流程图编辑器 Flow',\n path: '/components/flow',\n },\n flowUsage: {\n id: 'flow-usage',\n label: 'Flow 使用示例',\n path: '/components/flow/usage',\n },\n flowMobile: {\n id: 'flow-mobile',\n label: 'Flow 移动端示例',\n path: '/components/flow/mobile',\n },\n gantt: {\n id: 'gantt',\n label: '甘特图 Gantt',\n path: '/components/gantt',\n },\n ganttScenarios: {\n id: 'gantt-scenarios',\n label: 'Gantt 场景示例',\n path: '/components/gantt/scenarios',\n },\n calendar: {\n id: 'calendar',\n label: '日历 Calendar',\n path: '/components/calendar',\n },\n calendarScenarios: {\n id: 'calendar-scenarios',\n label: 'Calendar 场景示例',\n path: '/components/calendar/scenarios',\n },\n },\n },\n },\n },\n};\n\n// 英文翻译\nexport const enTranslations: Translations = {\n navbar: {\n search: 'Search Components',\n searchPlaceholder: 'Search components, docs, examples...',\n searchShortcut: 'Cmd+K',\n noResults: 'No results found',\n },\n sidebar: {\n menu: {\n home: {\n id: 'home',\n label: 'Home',\n path: '/',\n },\n components: {\n id: 'components',\n label: 'Components',\n children: {\n button: {\n id: 'button',\n label: 'Button',\n path: '/components/button',\n },\n badge: {\n id: 'badge',\n label: 'Badge',\n path: '/components/badge',\n },\n input: {\n id: 'input',\n label: 'Input',\n path: '/components/input',\n },\n label: {\n id: 'label',\n label: 'Label',\n path: '/components/label',\n },\n checkbox: {\n id: 'checkbox',\n label: 'Checkbox',\n path: '/components/checkbox',\n },\n select: {\n id: 'select',\n label: 'Select',\n path: '/components/select',\n },\n card: {\n id: 'card',\n label: 'Card',\n path: '/components/card',\n },\n avatar: {\n id: 'avatar',\n label: 'Avatar',\n path: '/components/avatar',\n },\n accordion: {\n id: 'accordion',\n label: 'Accordion',\n path: '/components/accordion',\n },\n emptystate: {\n id: 'emptystate',\n label: 'EmptyState',\n path: '/components/emptystate',\n },\n modal: {\n id: 'modal',\n label: 'Modal',\n path: '/components/modal',\n },\n tabs: {\n id: 'tabs',\n label: 'Tabs',\n path: '/components/tabs',\n },\n list: {\n id: 'list',\n label: 'List',\n path: '/components/list',\n },\n table: {\n id: 'table',\n label: 'Table',\n path: '/components/table',\n },\n markdown: {\n id: 'markdown',\n label: 'Markdown',\n path: '/components/markdown',\n },\n tree: {\n id: 'tree',\n label: 'Tree',\n path: '/components/tree',\n },\n fileuploader: {\n id: 'fileuploader',\n label: 'FileUploader',\n path: '/components/fileuploader',\n },\n text: {\n id: 'text',\n label: 'Text',\n path: '/components/text',\n },\n image: {\n id: 'image',\n label: 'Image',\n path: '/components/image',\n },\n icon: {\n id: 'icon',\n label: 'Icon',\n path: '/components/icon',\n },\n slider: {\n id: 'slider',\n label: 'Slider',\n path: '/components/slider',\n },\n datetimeinput: {\n id: 'datetimeinput',\n label: 'DateTimeInput',\n path: '/components/datetime-input',\n },\n multiplechoice: {\n id: 'multiplechoice',\n label: 'MultipleChoice',\n path: '/components/multiple-choice',\n },\n choicepicker: {\n id: 'choicepicker',\n label: 'ChoicePicker',\n path: '/components/choice-picker',\n },\n },\n },\n layouts: {\n id: 'layouts',\n label: 'Layout',\n children: {\n layout: { id: 'layout', label: 'Layout Overview', path: '/layouts/layout' },\n container: { id: 'container', label: 'Container', path: '/layouts/container' },\n grid: { id: 'grid', label: 'Grid', path: '/layouts/grid' },\n flex: { id: 'flex', label: 'Flex', path: '/layouts/flex' },\n group: { id: 'group', label: 'Group', path: '/layouts/group' },\n space: { id: 'space', label: 'Space', path: '/layouts/space' },\n page: { id: 'page', label: 'Page Layout', path: '/layouts/page' },\n row: { id: 'row', label: 'Row', path: '/layouts/row' },\n column: { id: 'column', label: 'Column', path: '/layouts/column' },\n },\n },\n charts: {\n id: 'charts',\n label: 'Charts',\n path: '/components/chart',\n children: [\n { id: 'chart-line', label: 'Line Chart', path: '/components/chart/line' },\n { id: 'chart-area', label: 'Area Chart', path: '/components/chart/area' },\n { id: 'chart-bar', label: 'Bar Chart', path: '/components/chart/bar' },\n { id: 'chart-pie', label: 'Pie Chart', path: '/components/chart/pie' },\n { id: 'chart-scatter', label: 'Scatter Chart', path: '/components/chart/scatter' },\n { id: 'chart-combo', label: 'Combo Chart', path: '/components/chart/complex/combo' },\n { id: 'chart-stacked', label: 'Stacked Area', path: '/components/chart/complex/stacked' },\n { id: 'chart-heatmap', label: 'Heatmap', path: '/components/chart/complex/heatmap' },\n { id: 'chart-regression', label: 'Regression Analysis', path: '/components/chart/complex/regression' },\n { id: 'chart-radar', label: 'Radar Chart', path: '/components/chart/special/radar' },\n { id: 'chart-sankey', label: 'Sankey Diagram', path: '/components/chart/special/sankey' },\n { id: 'chart-network', label: 'Network Graph', path: '/components/chart/special/network' },\n { id: 'chart-calendar', label: 'Calendar Heatmap', path: '/components/chart/special/calendar' },\n { id: 'chart-stacked-pie', label: 'Stacked Pie', path: '/components/chart/special/stacked-pie' },\n { id: 'chart-funnel', label: 'Sales Funnel', path: '/components/chart/special/funnel' },\n { id: 'chart-treemap', label: 'Treemap', path: '/components/chart/special/treemap' },\n { id: 'chart-globe', label: 'Globe', path: '/components/chart/special/globe' },\n { id: 'chart-world-map', label: 'World Map', path: '/components/chart/special/world-map' }\n ],\n },\n advanced: {\n id: 'advanced-components',\n label: 'Advanced Components',\n children: {\n datatable: {\n id: 'datatable',\n label: 'DataTable',\n path: '/components/datatable',\n },\n\n jukebox: {\n id: 'jukebox',\n label: 'Jukebox',\n path: '/components/jukebox',\n },\n articlecontrol: {\n id: 'articlecontrol',\n label: 'ArticleControl',\n path: '/components/articlecontrol',\n },\n codeeditor: {\n id: 'codeeditor',\n label: 'CodeEditor',\n path: '/components/codeeditor',\n },\n markdowneditor: {\n id: 'markdowneditor',\n label: 'MarkdownEditor',\n path: '/components/markdowneditor',\n },\n sidebar: {\n id: 'sidebar-demo',\n label: 'Sidebar',\n path: '/components/sidebar',\n },\n fileexplorer: {\n id: 'fileexplorer',\n label: 'FileExplorer',\n path: '/components/fileexplorer',\n },\n richtexteditor: {\n id: 'richtexteditor',\n label: 'RichTextEditor',\n path: '/components/richtexteditor',\n },\n flow: {\n id: 'flow',\n label: 'Flow Editor',\n path: '/components/flow',\n },\n flowUsage: {\n id: 'flow-usage',\n label: 'Flow Usage Guide',\n path: '/components/flow/usage',\n },\n flowMobile: {\n id: 'flow-mobile',\n label: 'Flow Mobile Guide',\n path: '/components/flow/mobile',\n },\n gantt: {\n id: 'gantt',\n label: 'Gantt Chart',\n path: '/components/gantt',\n },\n ganttScenarios: {\n id: 'gantt-scenarios',\n label: 'Gantt Scenarios',\n path: '/components/gantt/scenarios',\n },\n calendar: {\n id: 'calendar',\n label: 'Calendar',\n path: '/components/calendar',\n },\n calendarScenarios: {\n id: 'calendar-scenarios',\n label: 'Calendar Scenarios',\n path: '/components/calendar/scenarios',\n },\n },\n },\n },\n },\n};\n\n// 根据语言获取翻译\nexport const getTranslations = (language: Language): Translations => {\n return language === 'zh' ? zhTranslations : enTranslations;\n};"],"mappings":";AAgCA,IAAa,IAA+B;CAC1C,QAAQ;EACN,QAAQ;EACR,mBAAmB;EACnB,gBAAgB;EAChB,WAAW;CACb;CACA,SAAS,EACP,MAAM;EACJ,MAAM;GACJ,IAAI;GACJ,OAAO;GACP,MAAM;EACR;EACA,YAAY;GACV,IAAI;GACJ,OAAO;GACP,UAAU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