dishui 0.0.45 → 0.0.46
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.
- package/dist/chart.js +46 -0
- package/dist/components/Chart/Chart.d.ts +17 -0
- package/dist/components/Chart/Chart.js +29 -0
- package/dist/components/Chart/Chart.js.map +1 -0
- package/dist/components/Chart/index.d.ts +15 -0
- package/dist/components/Input/index.js +2 -2
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/pro/Flow/Flow.js +492 -392
- package/dist/components/pro/Flow/Flow.js.map +1 -1
- package/dist/components/pro/Flow/FlowCanvas.js +895 -864
- package/dist/components/pro/Flow/FlowCanvas.js.map +1 -1
- package/dist/components/pro/Flow/context/FlowUIContext.d.ts +2 -0
- package/dist/components/pro/Flow/context/FlowUIContext.js +68 -65
- package/dist/components/pro/Flow/context/FlowUIContext.js.map +1 -1
- package/dist/components/pro/Flow/edges/edgePaths.js +234 -216
- package/dist/components/pro/Flow/edges/edgePaths.js.map +1 -1
- package/dist/components/pro/Flow/hooks/useKeyboardShortcuts.js +21 -10
- package/dist/components/pro/Flow/hooks/useKeyboardShortcuts.js.map +1 -1
- package/dist/components/pro/Flow/hooks/useMindMap.js +138 -134
- package/dist/components/pro/Flow/hooks/useMindMap.js.map +1 -1
- package/dist/components/pro/Flow/index.d.ts +1 -1
- package/dist/components/pro/Flow/nodes/MediaContent.js +47 -25
- package/dist/components/pro/Flow/nodes/MediaContent.js.map +1 -1
- package/dist/components/pro/Flow/nodes/Model3DView.d.ts +7 -0
- package/dist/components/pro/Flow/nodes/Model3DView.js +118 -0
- package/dist/components/pro/Flow/nodes/Model3DView.js.map +1 -0
- package/dist/components/pro/Flow/nodes/NodeHandles.d.ts +2 -1
- package/dist/components/pro/Flow/nodes/NodeHandles.js +4 -2
- package/dist/components/pro/Flow/nodes/NodeHandles.js.map +1 -1
- package/dist/components/pro/Flow/nodes/NodeRenderer.d.ts +2 -0
- package/dist/components/pro/Flow/nodes/NodeRenderer.js +115 -113
- package/dist/components/pro/Flow/nodes/NodeRenderer.js.map +1 -1
- package/dist/components/pro/Flow/nodes/NodeText.d.ts +3 -0
- package/dist/components/pro/Flow/nodes/NodeText.js +26 -17
- package/dist/components/pro/Flow/nodes/NodeText.js.map +1 -1
- package/dist/components/pro/Flow/panels/FlowToolbar.js +85 -79
- package/dist/components/pro/Flow/panels/FlowToolbar.js.map +1 -1
- package/dist/components/pro/Flow/panels/InspectorPanel.js +618 -488
- package/dist/components/pro/Flow/panels/InspectorPanel.js.map +1 -1
- package/dist/components/pro/Flow/panels/OutlinePanel.js +15 -15
- package/dist/components/pro/Flow/panels/OutlinePanel.js.map +1 -1
- package/dist/components/pro/Flow/panels/ShapePalette.js +71 -55
- package/dist/components/pro/Flow/panels/ShapePalette.js.map +1 -1
- package/dist/components/pro/Flow/panels/toolbarIcons.d.ts +1 -0
- package/dist/components/pro/Flow/panels/toolbarIcons.js +59 -41
- package/dist/components/pro/Flow/panels/toolbarIcons.js.map +1 -1
- package/dist/components/pro/Flow/types.d.ts +13 -4
- package/dist/components/pro/Flow/types.js.map +1 -1
- package/dist/dishui.css +1 -1
- package/dist/index-nostyled.d.ts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +145 -143
- package/dist/utils/i18n.d.ts +1 -0
- package/dist/utils/i18n.js +200 -6
- package/dist/utils/i18n.js.map +1 -1
- package/dist/utils/menu.js +26 -10
- package/dist/utils/menu.js.map +1 -1
- package/package.json +14 -3
package/dist/index-nostyled.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export { Tree } from './components/Tree';
|
|
|
22
22
|
export type { TreeNode, TreeProps } from './components/Tree';
|
|
23
23
|
export { default as DataTable, createColumn, createComputedColumn, createActionColumn, createSelectionColumn, numericSort, dateSort, stringSort, treeSort, createSelectOptions, extractUniqueOptions, defaultFilterFunctions, useTableColumns, useTableData, } from './components/pro/DataTable';
|
|
24
24
|
export type { DataTableProps, CellEventHandler, RowEventHandler, ColumnEventHandler, TableEventHandler, FilterPanelProps, TextFilterProps, NumberFilterProps, SelectFilterProps, BooleanFilterProps, DateRangeFilterProps, ColumnDef, ColumnFiltersState, SortingState, VisibilityState, RowSelectionState, PaginationState, ColumnConfig, ColumnFilterConfig, UseTableDataOptions, UseTableDataReturn, } from './components/pro/DataTable';
|
|
25
|
+
export { default as Chart } from './components/Chart';
|
|
26
|
+
export type { ChartProps } from './components/Chart';
|
|
25
27
|
export { default as Demo } from './components/Demo';
|
|
26
28
|
export type { DemoProps, CodeBlockProps } from './components/Demo';
|
|
27
29
|
export { default as Markdown } from './components/Markdown';
|
|
@@ -58,4 +60,4 @@ export type { FileExplorerProps, ExplorerAdapter, FileEntry, ViewMode, SortField
|
|
|
58
60
|
export { RichTextEditor, AIRewrite, MarkdownBlockExtension, CodeBlockExtension, RichTextToolbar, richTextDefaultLabels, } from './components/pro/RichTextEditor';
|
|
59
61
|
export type { RichTextEditorProps, AIConfig, AIAction, ToolbarSection as RichTextToolbarSection, RichTextEditorLabels, } from './components/pro/RichTextEditor';
|
|
60
62
|
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';
|
|
61
|
-
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, ContextMenuItem as FlowContextMenuItem, ContextMenuProps as FlowContextMenuProps, FlowToolbarProps, FlowHandle, } from './components/pro/Flow';
|
|
63
|
+
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, ContextMenuItem as FlowContextMenuItem, ContextMenuProps as FlowContextMenuProps, FlowToolbarProps, FlowHandle, } from './components/pro/Flow';
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export { Tree } from './components/Tree';
|
|
|
22
22
|
export type { TreeNode, TreeProps } from './components/Tree';
|
|
23
23
|
export { default as DataTable, createColumn, createComputedColumn, createActionColumn, createSelectionColumn, numericSort, dateSort, stringSort, treeSort, createSelectOptions, extractUniqueOptions, defaultFilterFunctions, useTableColumns, useTableData, usePivotExtension, useRowDetailExtension, defineExtension, PivotView, PivotPanel, computePivot, } from './components/pro/DataTable';
|
|
24
24
|
export type { DataTableProps, CellEventHandler, RowEventHandler, ColumnEventHandler, TableEventHandler, FilterPanelProps, TextFilterProps, NumberFilterProps, SelectFilterProps, BooleanFilterProps, DateRangeFilterProps, ColumnDef, ColumnFiltersState, SortingState, VisibilityState, RowSelectionState, PaginationState, ColumnConfig, ColumnFilterConfig, UseTableDataOptions, UseTableDataReturn, DataTableApi, DataTableExtension, DataTableRowContext, DataTableCellContext, DataTableMenuItem, PivotExtensionOptions, PivotField, PivotPanelPlacement, RowDetailOptions, PivotViewProps, PivotPanelProps, PivotValue, PivotFieldLabels, PivotAggFn, PivotConfig, PivotResult, PivotRowNode, } from './components/pro/DataTable';
|
|
25
|
+
export { default as Chart } from './components/Chart';
|
|
26
|
+
export type { ChartProps } from './components/Chart';
|
|
25
27
|
export { default as Demo } from './components/Demo';
|
|
26
28
|
export type { DemoProps, CodeBlockProps } from './components/Demo';
|
|
27
29
|
export { default as Markdown } from './components/Markdown';
|
|
@@ -58,4 +60,4 @@ export type { FileExplorerProps, ExplorerAdapter, FileEntry, ViewMode, SortField
|
|
|
58
60
|
export { RichTextEditor, AIRewrite, MarkdownBlockExtension, CodeBlockExtension, RichTextToolbar, richTextDefaultLabels, } from './components/pro/RichTextEditor';
|
|
59
61
|
export type { RichTextEditorProps, AIConfig, AIAction, ToolbarSection as RichTextToolbarSection, RichTextEditorLabels, } from './components/pro/RichTextEditor';
|
|
60
62
|
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';
|
|
61
|
-
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, ContextMenuItem as FlowContextMenuItem, ContextMenuProps as FlowContextMenuProps, FlowToolbarProps, FlowHandle, } from './components/pro/Flow';
|
|
63
|
+
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, ContextMenuItem as FlowContextMenuItem, ContextMenuProps as FlowContextMenuProps, FlowToolbarProps, FlowHandle, } from './components/pro/Flow';
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import u from "./components/Select/index.js";
|
|
|
8
8
|
import T from "./components/Card/index.js";
|
|
9
9
|
import S, { Container as E, Flex as b, Grid as C, GridItem as w, Group as P, Space as D } from "./components/Layout/index.js";
|
|
10
10
|
import g from "./components/List/index.js";
|
|
11
|
-
import
|
|
11
|
+
import h from "./components/Table/index.js";
|
|
12
12
|
import { generateSidebarActiveStyles as I, generateTreeActiveStyles as x, themeActiveStyles as _ } from "./styles/themeStyles.js";
|
|
13
13
|
import y from "./components/Tree/Tree.js";
|
|
14
14
|
import M from "./layouts/Sidebar.js";
|
|
@@ -28,109 +28,111 @@ import { PivotView as uo } from "./components/pro/DataTable/PivotView.js";
|
|
|
28
28
|
import { PivotPanel as co } from "./components/pro/DataTable/PivotPanel.js";
|
|
29
29
|
import { usePivotExtension as Eo } from "./components/pro/DataTable/pivotExtension.js";
|
|
30
30
|
import { useRowDetailExtension as Co } from "./components/pro/DataTable/rowDetailExtension.js";
|
|
31
|
-
import Po, { createActionColumn as Do, createColumn as Fo, createComputedColumn as go, createSelectOptions as Oo, createSelectionColumn as
|
|
32
|
-
import Mo from "./components/
|
|
33
|
-
import vo from "./components/
|
|
34
|
-
import Go from "./components/pro/
|
|
35
|
-
import ko from "./components/
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import Tr from "./components/pro/CodeEditor/
|
|
45
|
-
import Sr from "./components/pro/CodeEditor/
|
|
46
|
-
import br from "./components/pro/CodeEditor/panels/
|
|
47
|
-
import wr from "./components/pro/CodeEditor/
|
|
48
|
-
import Dr from "./components/pro/CodeEditor/
|
|
49
|
-
import gr from "./components/pro/CodeEditor/panels/
|
|
50
|
-
import
|
|
51
|
-
import Ir from "./layouts/
|
|
52
|
-
import
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import pt from "./components/pro/RichTextEditor/
|
|
67
|
-
import lt from "./components/pro/RichTextEditor/
|
|
68
|
-
import
|
|
69
|
-
import {
|
|
70
|
-
import Tt from "./components/pro/RichTextEditor/
|
|
71
|
-
import
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import kt from "./components/pro/Flow/
|
|
77
|
-
import Kt from "./components/pro/Flow/panels/
|
|
78
|
-
import
|
|
79
|
-
import Yt from "./components/pro/Flow/
|
|
80
|
-
import $t from "./components/pro/Flow/panels/
|
|
81
|
-
import zt from "./components/pro/Flow/panels/
|
|
82
|
-
import
|
|
83
|
-
import oe from "./components/pro/Flow/
|
|
84
|
-
import
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
31
|
+
import Po, { createActionColumn as Do, createColumn as Fo, createComputedColumn as go, createSelectOptions as Oo, createSelectionColumn as ho, dateSort as Ao, defaultFilterFunctions as Io, extractUniqueOptions as xo, numericSort as _o, stringSort as Lo, treeSort as yo } from "./data-table.js";
|
|
32
|
+
import Mo from "./components/Chart/Chart.js";
|
|
33
|
+
import vo from "./components/Demo/index.js";
|
|
34
|
+
import Go from "./components/pro/ArticleControl/ArticleControl2.js";
|
|
35
|
+
import ko from "./components/pro/ArticleContextMenu/index.js";
|
|
36
|
+
import Ko from "./components/Markdown/Markdown.js";
|
|
37
|
+
import { getDefaultSnippets as Wo, javascriptSnippets as jo, pythonSnippets as Yo } from "./components/pro/CodeEditor/langs/snippets.js";
|
|
38
|
+
import { jsJumpableKeywords as $o, jsKeywords as qo } from "./components/pro/CodeEditor/langs/javascript.js";
|
|
39
|
+
import { pyJumpableKeywords as Qo, pyKeywords as Zo } from "./components/pro/CodeEditor/langs/python.js";
|
|
40
|
+
import { getJumpableKeywords as or, getLanguageKeywords as rr } from "./components/pro/CodeEditor/langs/index.js";
|
|
41
|
+
import { bracketMatchingStyle as er, jumpTargetHighlight as mr, jumpToDefinition as ir, lineHighlightStyle as pr, smartAutocompletion as ar } from "./components/pro/CodeEditor/extensions/index.js";
|
|
42
|
+
import { createThemeExtension as nr } from "./components/pro/CodeEditor/themes.js";
|
|
43
|
+
import { collectVariables as sr, generateOutline as ur } from "./components/pro/CodeEditor/utils.js";
|
|
44
|
+
import { defaultContextMenu as Tr } from "./components/pro/CodeEditor/extensions/contextMenu.js";
|
|
45
|
+
import Sr from "./components/pro/CodeEditor/editors/CodeEditor.js";
|
|
46
|
+
import br from "./components/pro/CodeEditor/panels/TableOfContentsPanel.js";
|
|
47
|
+
import wr from "./components/pro/CodeEditor/panels/FootnotePanel.js";
|
|
48
|
+
import Dr from "./components/pro/CodeEditor/editors/MarkdownEditor.js";
|
|
49
|
+
import gr from "./components/pro/CodeEditor/panels/OutlinePanel.js";
|
|
50
|
+
import hr from "./components/pro/CodeEditor/panels/VariablePanel.js";
|
|
51
|
+
import Ir from "./layouts/MainLayout.js";
|
|
52
|
+
import _r from "./layouts/Navbar.js";
|
|
53
|
+
import { ProtectedRoute as yr } from "./components/ProtectedRoute/index.js";
|
|
54
|
+
import { buildRouter as Mr, createRouterFromConfig as Rr } from "./utils/routerBuilder.js";
|
|
55
|
+
import { DropZone as Br, formatFileSize as Gr } from "./components/FileUploader/DropZone.js";
|
|
56
|
+
import { FileItem as kr } from "./components/FileUploader/FileItem.js";
|
|
57
|
+
import { UploadQueue as Kr } from "./components/FileUploader/UploadQueue.js";
|
|
58
|
+
import { FileUploader as Wr } from "./components/FileUploader/FileUploader.js";
|
|
59
|
+
import { FileIcon as Yr } from "./components/pro/FileExplorer/FileIcon.js";
|
|
60
|
+
import { Breadcrumb as $r } from "./components/pro/FileExplorer/Breadcrumb.js";
|
|
61
|
+
import { Toolbar as zr } from "./components/pro/FileExplorer/Toolbar.js";
|
|
62
|
+
import { ListView as Zr } from "./components/pro/FileExplorer/ListView.js";
|
|
63
|
+
import { GridView as ot } from "./components/pro/FileExplorer/GridView.js";
|
|
64
|
+
import { CreateDialog as tt } from "./components/pro/FileExplorer/CreateDialog.js";
|
|
65
|
+
import { FileExplorer as mt } from "./components/pro/FileExplorer/FileExplorer.js";
|
|
66
|
+
import { defaultLabels as pt } from "./components/pro/RichTextEditor/types.js";
|
|
67
|
+
import lt from "./components/pro/RichTextEditor/Toolbar/Toolbar.js";
|
|
68
|
+
import ft from "./components/pro/RichTextEditor/AIRewrite.js";
|
|
69
|
+
import { MarkdownBlockExtension as ut } from "./components/pro/RichTextEditor/extensions/MarkdownBlock.js";
|
|
70
|
+
import { CodeBlockExtension as Tt } from "./components/pro/RichTextEditor/extensions/CodeBlockView.js";
|
|
71
|
+
import St from "./components/pro/RichTextEditor/RichTextEditor.js";
|
|
72
|
+
import { BORDER_STYLE_OPTIONS as bt, DASH_DENSITY_OPTIONS as Ct, DEFAULT_EDGE_DATA as wt, DEFAULT_NODE_DATA as Pt, EDGE_LINE_STYLE_OPTIONS as Dt, EDGE_MARKER_OPTIONS as Ft, EDGE_TYPE_OPTIONS as gt, GRADIENT_DIRECTION_OPTIONS as Ot, PALETTE_ITEMS as ht, ROOT_CANVAS_ID as At, createEmptyDocument as It } from "./components/pro/Flow/constants.js";
|
|
73
|
+
import { FlowProvider as _t, useFlowContext as Lt } from "./components/pro/Flow/context/FlowContext.js";
|
|
74
|
+
import { FlowUIProvider as Nt, useFlowUI as Mt } from "./components/pro/Flow/context/FlowUIContext.js";
|
|
75
|
+
import { downloadDataURL as vt, exportCanvasToPNG as Bt, useFlowImportExport as Gt } from "./components/pro/Flow/hooks/useFlowImportExport.js";
|
|
76
|
+
import { useLayoutActions as kt } from "./components/pro/Flow/hooks/useLayoutActions.js";
|
|
77
|
+
import Kt from "./components/pro/Flow/panels/FlowToolbar.js";
|
|
78
|
+
import Wt from "./components/pro/Flow/panels/ShapePalette.js";
|
|
79
|
+
import { FLOW_NODE_TYPES as Yt } from "./components/pro/Flow/types.js";
|
|
80
|
+
import $t from "./components/pro/Flow/panels/InspectorPanel.js";
|
|
81
|
+
import zt from "./components/pro/Flow/panels/OutlinePanel.js";
|
|
82
|
+
import Zt from "./components/pro/Flow/panels/ContextMenu.js";
|
|
83
|
+
import { useClipboard as oe } from "./components/pro/Flow/hooks/useClipboard.js";
|
|
84
|
+
import te from "./components/pro/Flow/Flow.js";
|
|
85
|
+
import { useNodeMutations as me } from "./components/pro/Flow/hooks/useNodeMutations.js";
|
|
86
|
+
import { useEdgeMutations as pe } from "./components/pro/Flow/hooks/useEdgeMutations.js";
|
|
87
|
+
import { useLineMutations as le } from "./components/pro/Flow/hooks/useLineMutations.js";
|
|
88
|
+
import { useSelection as fe } from "./components/pro/Flow/hooks/useSelection.js";
|
|
88
89
|
export {
|
|
89
|
-
|
|
90
|
+
ft as AIRewrite,
|
|
90
91
|
Z as AppLayoutWrapper,
|
|
91
92
|
X as AppProvider,
|
|
92
93
|
oo as AppShell,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
ko as ArticleContextMenu,
|
|
95
|
+
Go as ArticleControl,
|
|
96
|
+
bt as BORDER_STYLE_OPTIONS,
|
|
96
97
|
m as Badge,
|
|
97
|
-
|
|
98
|
+
$r as Breadcrumb,
|
|
98
99
|
t as Button,
|
|
99
100
|
T as Card,
|
|
101
|
+
Mo as Chart,
|
|
100
102
|
f as Checkbox,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
+
Tt as CodeBlockExtension,
|
|
104
|
+
Sr as CodeEditor,
|
|
103
105
|
E as Container,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
tt as CreateDialog,
|
|
107
|
+
Ct as DASH_DENSITY_OPTIONS,
|
|
108
|
+
wt as DEFAULT_EDGE_DATA,
|
|
109
|
+
Pt as DEFAULT_NODE_DATA,
|
|
108
110
|
Po as DataTable,
|
|
109
|
-
|
|
111
|
+
vo as Demo,
|
|
110
112
|
$ as DesktopSidebarToggleButton,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
113
|
+
Br as DropZone,
|
|
114
|
+
Dt as EDGE_LINE_STYLE_OPTIONS,
|
|
115
|
+
Ft as EDGE_MARKER_OPTIONS,
|
|
116
|
+
gt as EDGE_TYPE_OPTIONS,
|
|
117
|
+
Yt as FLOW_NODE_TYPES,
|
|
118
|
+
mt as FileExplorer,
|
|
119
|
+
zr as FileExplorerToolbar,
|
|
120
|
+
Yr as FileIcon,
|
|
121
|
+
Wr as FileUploader,
|
|
120
122
|
b as Flex,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
123
|
+
te as Flow,
|
|
124
|
+
Zt as FlowContextMenu,
|
|
125
|
+
$t as FlowInspectorPanel,
|
|
126
|
+
zt as FlowOutlinePanel,
|
|
127
|
+
_t as FlowProvider,
|
|
128
|
+
Wt as FlowShapePalette,
|
|
129
|
+
Kt as FlowToolbar,
|
|
130
|
+
Nt as FlowUIProvider,
|
|
131
|
+
wr as FootnotePanel,
|
|
132
|
+
Ot as GRADIENT_DIRECTION_OPTIONS,
|
|
131
133
|
C as Grid,
|
|
132
134
|
w as GridItem,
|
|
133
|
-
|
|
135
|
+
ot as GridView,
|
|
134
136
|
P as Group,
|
|
135
137
|
v as Headbar,
|
|
136
138
|
K as HeadbarLangSwitcher,
|
|
@@ -141,84 +143,84 @@ export {
|
|
|
141
143
|
l as Label,
|
|
142
144
|
S as Layout,
|
|
143
145
|
g as List,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
Zr as ListView,
|
|
147
|
+
Ir as MainLayout,
|
|
148
|
+
Ko as Markdown,
|
|
149
|
+
ut as MarkdownBlockExtension,
|
|
150
|
+
Dr as MarkdownEditor,
|
|
149
151
|
q as MobileSidebarToggleButton,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
_r as Navbar,
|
|
153
|
+
gr as OutlinePanel,
|
|
154
|
+
ht as PALETTE_ITEMS,
|
|
153
155
|
co as PivotPanel,
|
|
154
156
|
uo as PivotView,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
yr as ProtectedRoute,
|
|
158
|
+
At as ROOT_CANVAS_ID,
|
|
159
|
+
St as RichTextEditor,
|
|
160
|
+
lt as RichTextToolbar,
|
|
159
161
|
u as Select,
|
|
160
162
|
M as Sidebar,
|
|
161
163
|
z as SidebarToggleButtons,
|
|
162
164
|
D as Space,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
+
h as Table,
|
|
166
|
+
br as TableOfContentsPanel,
|
|
165
167
|
y as Tree,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
kr as UploadFileItem,
|
|
169
|
+
Kr as UploadQueue,
|
|
170
|
+
hr as VariablePanel,
|
|
171
|
+
er as bracketMatchingStyle,
|
|
172
|
+
Mr as buildRouter,
|
|
173
|
+
sr as collectVariables,
|
|
172
174
|
fo as computePivot,
|
|
173
175
|
Do as createActionColumn,
|
|
174
176
|
Fo as createColumn,
|
|
175
177
|
go as createComputedColumn,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
It as createEmptyDocument,
|
|
179
|
+
Rr as createRouterFromConfig,
|
|
178
180
|
Oo as createSelectOptions,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
ho as createSelectionColumn,
|
|
182
|
+
nr as createThemeExtension,
|
|
183
|
+
Ao as dateSort,
|
|
184
|
+
Tr as defaultContextMenu,
|
|
183
185
|
Io as defaultFilterFunctions,
|
|
184
186
|
lo as defineExtension,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
+
vt as downloadDataURL,
|
|
188
|
+
Bt as exportCanvasToPNG,
|
|
187
189
|
xo as extractUniqueOptions,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
+
Gr as formatFileSize,
|
|
191
|
+
ur as generateOutline,
|
|
190
192
|
I as generateSidebarActiveStyles,
|
|
191
193
|
x as generateTreeActiveStyles,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
194
|
+
Wo as getDefaultSnippets,
|
|
195
|
+
or as getJumpableKeywords,
|
|
196
|
+
rr as getLanguageKeywords,
|
|
195
197
|
W as getThemes,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
jo as javascriptSnippets,
|
|
199
|
+
$o as jsJumpableKeywords,
|
|
200
|
+
qo as jsKeywords,
|
|
201
|
+
mr as jumpTargetHighlight,
|
|
202
|
+
ir as jumpToDefinition,
|
|
203
|
+
pr as lineHighlightStyle,
|
|
202
204
|
_o as numericSort,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
Qo as pyJumpableKeywords,
|
|
206
|
+
Zo as pyKeywords,
|
|
207
|
+
Yo as pythonSnippets,
|
|
208
|
+
pt as richTextDefaultLabels,
|
|
209
|
+
ar as smartAutocompletion,
|
|
208
210
|
Lo as stringSort,
|
|
209
211
|
_ as themeActiveStyles,
|
|
210
212
|
yo as treeSort,
|
|
211
213
|
ro as useAppContext,
|
|
212
214
|
to as useAuth,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
215
|
+
pe as useEdgeMutations,
|
|
216
|
+
oe as useFlowClipboard,
|
|
217
|
+
Lt as useFlowContext,
|
|
218
|
+
Gt as useFlowImportExport,
|
|
219
|
+
fe as useFlowSelection,
|
|
220
|
+
Mt as useFlowUI,
|
|
221
|
+
kt as useLayoutActions,
|
|
222
|
+
le as useLineMutations,
|
|
223
|
+
me as useNodeMutations,
|
|
222
224
|
Eo as usePivotExtension,
|
|
223
225
|
Co as useRowDetailExtension,
|
|
224
226
|
mo as useTableColumns,
|
package/dist/utils/i18n.d.ts
CHANGED
package/dist/utils/i18n.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var e = {
|
|
2
2
|
navbar: {
|
|
3
3
|
search: "搜索组件",
|
|
4
4
|
searchPlaceholder: "搜索组件、文档、示例...",
|
|
@@ -113,6 +113,103 @@ var a = {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
+
charts: {
|
|
117
|
+
id: "charts",
|
|
118
|
+
label: "图表 Charts",
|
|
119
|
+
path: "/components/chart",
|
|
120
|
+
children: [
|
|
121
|
+
{
|
|
122
|
+
id: "chart-line",
|
|
123
|
+
label: "折线图 Line",
|
|
124
|
+
path: "/components/chart/line"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "chart-area",
|
|
128
|
+
label: "面积图 Area",
|
|
129
|
+
path: "/components/chart/area"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: "chart-bar",
|
|
133
|
+
label: "柱状图 Bar",
|
|
134
|
+
path: "/components/chart/bar"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
id: "chart-pie",
|
|
138
|
+
label: "饼图 Pie",
|
|
139
|
+
path: "/components/chart/pie"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
id: "chart-scatter",
|
|
143
|
+
label: "散点图 Scatter",
|
|
144
|
+
path: "/components/chart/scatter"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: "chart-combo",
|
|
148
|
+
label: "组合图 Combo",
|
|
149
|
+
path: "/components/chart/complex/combo"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "chart-stacked",
|
|
153
|
+
label: "堆叠面积图 Stacked Area",
|
|
154
|
+
path: "/components/chart/complex/stacked"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
id: "chart-heatmap",
|
|
158
|
+
label: "热力图 Heatmap",
|
|
159
|
+
path: "/components/chart/complex/heatmap"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: "chart-regression",
|
|
163
|
+
label: "回归分析 Regression",
|
|
164
|
+
path: "/components/chart/complex/regression"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "chart-radar",
|
|
168
|
+
label: "雷达图 Radar",
|
|
169
|
+
path: "/components/chart/special/radar"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
id: "chart-sankey",
|
|
173
|
+
label: "桑基图 Sankey",
|
|
174
|
+
path: "/components/chart/special/sankey"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "chart-network",
|
|
178
|
+
label: "网络图 Network",
|
|
179
|
+
path: "/components/chart/special/network"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
id: "chart-calendar",
|
|
183
|
+
label: "日历热力图 Calendar",
|
|
184
|
+
path: "/components/chart/special/calendar"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: "chart-stacked-pie",
|
|
188
|
+
label: "堆叠饼图 Stacked Pie",
|
|
189
|
+
path: "/components/chart/special/stacked-pie"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
id: "chart-funnel",
|
|
193
|
+
label: "销售漏斗图 Funnel",
|
|
194
|
+
path: "/components/chart/special/funnel"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
id: "chart-treemap",
|
|
198
|
+
label: "矩形树图 Treemap",
|
|
199
|
+
path: "/components/chart/special/treemap"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
id: "chart-globe",
|
|
203
|
+
label: "地球 Globe",
|
|
204
|
+
path: "/components/chart/special/globe"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "chart-world-map",
|
|
208
|
+
label: "世界地图 World Map",
|
|
209
|
+
path: "/components/chart/special/world-map"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
116
213
|
advanced: {
|
|
117
214
|
id: "advanced-components",
|
|
118
215
|
label: "高级组件",
|
|
@@ -165,7 +262,7 @@ var a = {
|
|
|
165
262
|
}
|
|
166
263
|
}
|
|
167
264
|
} }
|
|
168
|
-
},
|
|
265
|
+
}, t = {
|
|
169
266
|
navbar: {
|
|
170
267
|
search: "Search Components",
|
|
171
268
|
searchPlaceholder: "Search components, docs, examples...",
|
|
@@ -280,6 +377,103 @@ var a = {
|
|
|
280
377
|
}
|
|
281
378
|
}
|
|
282
379
|
},
|
|
380
|
+
charts: {
|
|
381
|
+
id: "charts",
|
|
382
|
+
label: "Charts",
|
|
383
|
+
path: "/components/chart",
|
|
384
|
+
children: [
|
|
385
|
+
{
|
|
386
|
+
id: "chart-line",
|
|
387
|
+
label: "Line Chart",
|
|
388
|
+
path: "/components/chart/line"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
id: "chart-area",
|
|
392
|
+
label: "Area Chart",
|
|
393
|
+
path: "/components/chart/area"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
id: "chart-bar",
|
|
397
|
+
label: "Bar Chart",
|
|
398
|
+
path: "/components/chart/bar"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
id: "chart-pie",
|
|
402
|
+
label: "Pie Chart",
|
|
403
|
+
path: "/components/chart/pie"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
id: "chart-scatter",
|
|
407
|
+
label: "Scatter Chart",
|
|
408
|
+
path: "/components/chart/scatter"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
id: "chart-combo",
|
|
412
|
+
label: "Combo Chart",
|
|
413
|
+
path: "/components/chart/complex/combo"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
id: "chart-stacked",
|
|
417
|
+
label: "Stacked Area",
|
|
418
|
+
path: "/components/chart/complex/stacked"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
id: "chart-heatmap",
|
|
422
|
+
label: "Heatmap",
|
|
423
|
+
path: "/components/chart/complex/heatmap"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
id: "chart-regression",
|
|
427
|
+
label: "Regression Analysis",
|
|
428
|
+
path: "/components/chart/complex/regression"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
id: "chart-radar",
|
|
432
|
+
label: "Radar Chart",
|
|
433
|
+
path: "/components/chart/special/radar"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
id: "chart-sankey",
|
|
437
|
+
label: "Sankey Diagram",
|
|
438
|
+
path: "/components/chart/special/sankey"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
id: "chart-network",
|
|
442
|
+
label: "Network Graph",
|
|
443
|
+
path: "/components/chart/special/network"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
id: "chart-calendar",
|
|
447
|
+
label: "Calendar Heatmap",
|
|
448
|
+
path: "/components/chart/special/calendar"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
id: "chart-stacked-pie",
|
|
452
|
+
label: "Stacked Pie",
|
|
453
|
+
path: "/components/chart/special/stacked-pie"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
id: "chart-funnel",
|
|
457
|
+
label: "Sales Funnel",
|
|
458
|
+
path: "/components/chart/special/funnel"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
id: "chart-treemap",
|
|
462
|
+
label: "Treemap",
|
|
463
|
+
path: "/components/chart/special/treemap"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
id: "chart-globe",
|
|
467
|
+
label: "Globe",
|
|
468
|
+
path: "/components/chart/special/globe"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
id: "chart-world-map",
|
|
472
|
+
label: "World Map",
|
|
473
|
+
path: "/components/chart/special/world-map"
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
},
|
|
283
477
|
advanced: {
|
|
284
478
|
id: "advanced-components",
|
|
285
479
|
label: "Advanced Components",
|
|
@@ -332,11 +526,11 @@ var a = {
|
|
|
332
526
|
}
|
|
333
527
|
}
|
|
334
528
|
} }
|
|
335
|
-
},
|
|
529
|
+
}, l = (a) => a === "zh" ? e : t;
|
|
336
530
|
export {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
531
|
+
t as enTranslations,
|
|
532
|
+
l as getTranslations,
|
|
533
|
+
e as zhTranslations
|
|
340
534
|
};
|
|
341
535
|
|
|
342
536
|
//# sourceMappingURL=i18n.js.map
|