dishui 0.0.64 → 0.0.66

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 (504) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +10 -11
  2. package/dist/chart.js +12 -46
  3. package/dist/code-editor.js +16 -43
  4. package/dist/components/Badge/index.js +11 -13
  5. package/dist/components/Badge/index.js.map +1 -1
  6. package/dist/components/Button/index.js +62 -86
  7. package/dist/components/Button/index.js.map +1 -1
  8. package/dist/components/Card/index.d.ts +87 -0
  9. package/dist/components/Card/index.js +178 -44
  10. package/dist/components/Card/index.js.map +1 -1
  11. package/dist/components/Chart/Chart.js +25 -25
  12. package/dist/components/Chart/Chart.js.map +1 -1
  13. package/dist/components/Checkbox/index.js +57 -63
  14. package/dist/components/Checkbox/index.js.map +1 -1
  15. package/dist/components/ChoicePicker/index.d.ts +44 -0
  16. package/dist/components/ChoicePicker/index.js +81 -0
  17. package/dist/components/ChoicePicker/index.js.map +1 -0
  18. package/dist/components/Column/index.d.ts +28 -0
  19. package/dist/components/Column/index.js +30 -0
  20. package/dist/components/Column/index.js.map +1 -0
  21. package/dist/components/DateTimeInput/index.d.ts +44 -0
  22. package/dist/components/DateTimeInput/index.js +48 -0
  23. package/dist/components/DateTimeInput/index.js.map +1 -0
  24. package/dist/components/Demo/index.js +107 -107
  25. package/dist/components/Demo/index.js.map +1 -1
  26. package/dist/components/Divider/index.d.ts +20 -0
  27. package/dist/components/Divider/index.js +30 -0
  28. package/dist/components/Divider/index.js.map +1 -0
  29. package/dist/components/EmptyState/index.d.ts +4 -1
  30. package/dist/components/EmptyState/index.js +24 -24
  31. package/dist/components/EmptyState/index.js.map +1 -1
  32. package/dist/components/FileUploader/DropZone.js +134 -136
  33. package/dist/components/FileUploader/DropZone.js.map +1 -1
  34. package/dist/components/FileUploader/FileItem.js +159 -163
  35. package/dist/components/FileUploader/FileItem.js.map +1 -1
  36. package/dist/components/FileUploader/FileUploader.js +126 -127
  37. package/dist/components/FileUploader/FileUploader.js.map +1 -1
  38. package/dist/components/FileUploader/UploadQueue.js +62 -62
  39. package/dist/components/FileUploader/UploadQueue.js.map +1 -1
  40. package/dist/components/FloatWindow/index.d.ts +28 -0
  41. package/dist/components/GridLayout/index.d.ts +42 -0
  42. package/dist/components/Icon/index.d.ts +24 -0
  43. package/dist/components/Icon/index.js +26 -0
  44. package/dist/components/Icon/index.js.map +1 -0
  45. package/dist/components/Image/index.d.ts +33 -0
  46. package/dist/components/Image/index.js +44 -0
  47. package/dist/components/Image/index.js.map +1 -0
  48. package/dist/components/Input/index.js +196 -197
  49. package/dist/components/Input/index.js.map +1 -1
  50. package/dist/components/Label/index.js +62 -73
  51. package/dist/components/Label/index.js.map +1 -1
  52. package/dist/components/Layout/index.js +134 -139
  53. package/dist/components/Layout/index.js.map +1 -1
  54. package/dist/components/List/index.js +45 -43
  55. package/dist/components/List/index.js.map +1 -1
  56. package/dist/components/Markdown/Markdown.js +106 -103
  57. package/dist/components/Markdown/Markdown.js.map +1 -1
  58. package/dist/components/Markdown/codeThemes.js +24 -33
  59. package/dist/components/Markdown/codeThemes.js.map +1 -1
  60. package/dist/components/Markdown/markdownComponents.js +203 -208
  61. package/dist/components/Markdown/markdownComponents.js.map +1 -1
  62. package/dist/components/Markdown/parseCodeBlockMeta.js +22 -22
  63. package/dist/components/Markdown/parseCodeBlockMeta.js.map +1 -1
  64. package/dist/components/Markdown/useMarkdownSource.js +46 -46
  65. package/dist/components/Markdown/useMarkdownSource.js.map +1 -1
  66. package/dist/components/Markdown/useMarkmapRenderer.js +35 -36
  67. package/dist/components/Markdown/useMarkmapRenderer.js.map +1 -1
  68. package/dist/components/Markdown/useMermaidRenderer.js +41 -42
  69. package/dist/components/Markdown/useMermaidRenderer.js.map +1 -1
  70. package/dist/components/Modal/index.d.ts +7 -3
  71. package/dist/components/Modal/index.js +82 -70
  72. package/dist/components/Modal/index.js.map +1 -1
  73. package/dist/components/MultipleChoice/index.d.ts +44 -0
  74. package/dist/components/MultipleChoice/index.js +52 -0
  75. package/dist/components/MultipleChoice/index.js.map +1 -0
  76. package/dist/components/Notification/index.d.ts +17 -0
  77. package/dist/components/Page/index.d.ts +58 -0
  78. package/dist/components/Page/index.js +43 -0
  79. package/dist/components/Page/index.js.map +1 -0
  80. package/dist/components/PageHeader/index.js +28 -28
  81. package/dist/components/PageHeader/index.js.map +1 -1
  82. package/dist/components/ProtectedRoute/index.js +8 -9
  83. package/dist/components/ProtectedRoute/index.js.map +1 -1
  84. package/dist/components/Row/index.d.ts +28 -0
  85. package/dist/components/Row/index.js +30 -0
  86. package/dist/components/Row/index.js.map +1 -0
  87. package/dist/components/Select/index.js +251 -257
  88. package/dist/components/Select/index.js.map +1 -1
  89. package/dist/components/SidebarToggleButton/index.js +56 -59
  90. package/dist/components/SidebarToggleButton/index.js.map +1 -1
  91. package/dist/components/Slider/index.d.ts +39 -0
  92. package/dist/components/Slider/index.js +52 -0
  93. package/dist/components/Slider/index.js.map +1 -0
  94. package/dist/components/StatCard/index.d.ts +31 -1
  95. package/dist/components/StatCard/index.js +189 -58
  96. package/dist/components/StatCard/index.js.map +1 -1
  97. package/dist/components/Switch/index.d.ts +34 -0
  98. package/dist/components/Switch/index.js +55 -0
  99. package/dist/components/Switch/index.js.map +1 -0
  100. package/dist/components/Tab/index.d.ts +40 -0
  101. package/dist/components/Table/index.js +109 -103
  102. package/dist/components/Table/index.js.map +1 -1
  103. package/dist/components/Tabs/index.d.ts +19 -5
  104. package/dist/components/Tabs/index.js +30 -21
  105. package/dist/components/Tabs/index.js.map +1 -1
  106. package/dist/components/Text/index.d.ts +43 -0
  107. package/dist/components/Text/index.js +55 -0
  108. package/dist/components/Text/index.js.map +1 -0
  109. package/dist/components/Tooltip/index.d.ts +23 -0
  110. package/dist/components/Tooltip/index.js +34 -0
  111. package/dist/components/Tooltip/index.js.map +1 -0
  112. package/dist/components/Tree/Tree.js +205 -205
  113. package/dist/components/Tree/Tree.js.map +1 -1
  114. package/dist/components/pro/ArticleContextMenu/index.js +86 -87
  115. package/dist/components/pro/ArticleContextMenu/index.js.map +1 -1
  116. package/dist/components/pro/ArticleControl/ArticleControl2.js +250 -250
  117. package/dist/components/pro/ArticleControl/ArticleControl2.js.map +1 -1
  118. package/dist/components/pro/ArticleControl/buildHeadingTree.js +31 -32
  119. package/dist/components/pro/ArticleControl/buildHeadingTree.js.map +1 -1
  120. package/dist/components/pro/ArticleControl/useArticleToc.js +100 -102
  121. package/dist/components/pro/ArticleControl/useArticleToc.js.map +1 -1
  122. package/dist/components/pro/Calendar/Calendar.d.ts +10 -0
  123. package/dist/components/pro/Calendar/hooks/useCalendarDrag.d.ts +47 -0
  124. package/dist/components/pro/Calendar/hooks/useCalendarState.d.ts +56 -0
  125. package/dist/components/pro/Calendar/index.d.ts +7 -0
  126. package/dist/components/pro/Calendar/types.d.ts +151 -0
  127. package/dist/components/pro/Calendar/utils.d.ts +94 -0
  128. package/dist/components/pro/Chat/Chat.d.ts +6 -0
  129. package/dist/components/pro/Chat/index.d.ts +2 -0
  130. package/dist/components/pro/Chat/types.d.ts +84 -0
  131. package/dist/components/pro/CodeEditor/editors/CodeEditor.js +287 -320
  132. package/dist/components/pro/CodeEditor/editors/CodeEditor.js.map +1 -1
  133. package/dist/components/pro/CodeEditor/editors/MarkdownEditor.js +167 -221
  134. package/dist/components/pro/CodeEditor/editors/MarkdownEditor.js.map +1 -1
  135. package/dist/components/pro/CodeEditor/editors/markdownExtensions.js +594 -613
  136. package/dist/components/pro/CodeEditor/editors/markdownExtensions.js.map +1 -1
  137. package/dist/components/pro/CodeEditor/extensions/contextMenu.js +54 -55
  138. package/dist/components/pro/CodeEditor/extensions/contextMenu.js.map +1 -1
  139. package/dist/components/pro/CodeEditor/extensions/index.js +152 -160
  140. package/dist/components/pro/CodeEditor/extensions/index.js.map +1 -1
  141. package/dist/components/pro/CodeEditor/langs/index.js +7 -15
  142. package/dist/components/pro/CodeEditor/langs/index.js.map +1 -1
  143. package/dist/components/pro/CodeEditor/langs/javascript.js +11 -48
  144. package/dist/components/pro/CodeEditor/langs/javascript.js.map +1 -1
  145. package/dist/components/pro/CodeEditor/langs/python.js +4 -40
  146. package/dist/components/pro/CodeEditor/langs/python.js.map +1 -1
  147. package/dist/components/pro/CodeEditor/langs/snippets.js +118 -147
  148. package/dist/components/pro/CodeEditor/langs/snippets.js.map +1 -1
  149. package/dist/components/pro/CodeEditor/panels/FootnotePanel.js +153 -153
  150. package/dist/components/pro/CodeEditor/panels/FootnotePanel.js.map +1 -1
  151. package/dist/components/pro/CodeEditor/panels/HistoryPanel.js +180 -190
  152. package/dist/components/pro/CodeEditor/panels/HistoryPanel.js.map +1 -1
  153. package/dist/components/pro/CodeEditor/panels/OutlinePanel.js +130 -137
  154. package/dist/components/pro/CodeEditor/panels/OutlinePanel.js.map +1 -1
  155. package/dist/components/pro/CodeEditor/panels/TableOfContentsPanel.js +228 -242
  156. package/dist/components/pro/CodeEditor/panels/TableOfContentsPanel.js.map +1 -1
  157. package/dist/components/pro/CodeEditor/panels/VariablePanel.js +208 -248
  158. package/dist/components/pro/CodeEditor/panels/VariablePanel.js.map +1 -1
  159. package/dist/components/pro/CodeEditor/themes.js +513 -483
  160. package/dist/components/pro/CodeEditor/themes.js.map +1 -1
  161. package/dist/components/pro/CodeEditor/types.d.ts +1 -1
  162. package/dist/components/pro/CodeEditor/utils.js +171 -175
  163. package/dist/components/pro/CodeEditor/utils.js.map +1 -1
  164. package/dist/components/pro/DataTable/DataTable.js +305 -305
  165. package/dist/components/pro/DataTable/DataTable.js.map +1 -1
  166. package/dist/components/pro/DataTable/Filters.js +299 -314
  167. package/dist/components/pro/DataTable/Filters.js.map +1 -1
  168. package/dist/components/pro/DataTable/PivotPanel.js +203 -204
  169. package/dist/components/pro/DataTable/PivotPanel.js.map +1 -1
  170. package/dist/components/pro/DataTable/PivotView.js +142 -141
  171. package/dist/components/pro/DataTable/PivotView.js.map +1 -1
  172. package/dist/components/pro/DataTable/components/BulkActions.js +42 -42
  173. package/dist/components/pro/DataTable/components/BulkActions.js.map +1 -1
  174. package/dist/components/pro/DataTable/components/ColumnSelector.js +84 -84
  175. package/dist/components/pro/DataTable/components/ColumnSelector.js.map +1 -1
  176. package/dist/components/pro/DataTable/components/FilterBar.js +58 -58
  177. package/dist/components/pro/DataTable/components/FilterBar.js.map +1 -1
  178. package/dist/components/pro/DataTable/components/TableBody.js +93 -94
  179. package/dist/components/pro/DataTable/components/TableBody.js.map +1 -1
  180. package/dist/components/pro/DataTable/components/TableHeader.js +78 -78
  181. package/dist/components/pro/DataTable/components/TableHeader.js.map +1 -1
  182. package/dist/components/pro/DataTable/components/TablePagination.js +77 -77
  183. package/dist/components/pro/DataTable/components/TablePagination.js.map +1 -1
  184. package/dist/components/pro/DataTable/components/TableToolbar.js +40 -40
  185. package/dist/components/pro/DataTable/components/TableToolbar.js.map +1 -1
  186. package/dist/components/pro/DataTable/extension.js +5 -5
  187. package/dist/components/pro/DataTable/extension.js.map +1 -1
  188. package/dist/components/pro/DataTable/pivotEngine.js +84 -92
  189. package/dist/components/pro/DataTable/pivotEngine.js.map +1 -1
  190. package/dist/components/pro/DataTable/pivotExtension.js +93 -93
  191. package/dist/components/pro/DataTable/pivotExtension.js.map +1 -1
  192. package/dist/components/pro/DataTable/rowDetailExtension.js +30 -30
  193. package/dist/components/pro/DataTable/rowDetailExtension.js.map +1 -1
  194. package/dist/components/pro/DataTable/tanstack-table.js +45 -62
  195. package/dist/components/pro/DataTable/tanstack-table.js.map +1 -1
  196. package/dist/components/pro/DataTable/treeDataUtils.js +37 -48
  197. package/dist/components/pro/DataTable/treeDataUtils.js.map +1 -1
  198. package/dist/components/pro/DataTable/useColumnDragReorder.js +68 -68
  199. package/dist/components/pro/DataTable/useColumnDragReorder.js.map +1 -1
  200. package/dist/components/pro/DataTable/utils.js +156 -168
  201. package/dist/components/pro/DataTable/utils.js.map +1 -1
  202. package/dist/components/pro/FileExplorer/Breadcrumb.js +180 -180
  203. package/dist/components/pro/FileExplorer/Breadcrumb.js.map +1 -1
  204. package/dist/components/pro/FileExplorer/CreateDialog.js +78 -78
  205. package/dist/components/pro/FileExplorer/CreateDialog.js.map +1 -1
  206. package/dist/components/pro/FileExplorer/FileExplorer.js +202 -205
  207. package/dist/components/pro/FileExplorer/FileExplorer.js.map +1 -1
  208. package/dist/components/pro/FileExplorer/FileIcon.js +190 -190
  209. package/dist/components/pro/FileExplorer/FileIcon.js.map +1 -1
  210. package/dist/components/pro/FileExplorer/GridView.js +100 -100
  211. package/dist/components/pro/FileExplorer/GridView.js.map +1 -1
  212. package/dist/components/pro/FileExplorer/ListView.js +209 -209
  213. package/dist/components/pro/FileExplorer/ListView.js.map +1 -1
  214. package/dist/components/pro/FileExplorer/Toolbar.js +199 -199
  215. package/dist/components/pro/FileExplorer/Toolbar.js.map +1 -1
  216. package/dist/components/pro/Flow/Flow.js +920 -946
  217. package/dist/components/pro/Flow/Flow.js.map +1 -1
  218. package/dist/components/pro/Flow/FlowCanvas.js +1626 -1663
  219. package/dist/components/pro/Flow/FlowCanvas.js.map +1 -1
  220. package/dist/components/pro/Flow/archify/build.js +85 -94
  221. package/dist/components/pro/Flow/archify/build.js.map +1 -1
  222. package/dist/components/pro/Flow/archify/convert.js +512 -519
  223. package/dist/components/pro/Flow/archify/convert.js.map +1 -1
  224. package/dist/components/pro/Flow/archify/palette.js +87 -104
  225. package/dist/components/pro/Flow/archify/palette.js.map +1 -1
  226. package/dist/components/pro/Flow/archify/presets.js +34 -37
  227. package/dist/components/pro/Flow/archify/presets.js.map +1 -1
  228. package/dist/components/pro/Flow/archify/spec.js +7 -7
  229. package/dist/components/pro/Flow/archify/spec.js.map +1 -1
  230. package/dist/components/pro/Flow/canvas/AlignmentGuides.js +25 -25
  231. package/dist/components/pro/Flow/canvas/AlignmentGuides.js.map +1 -1
  232. package/dist/components/pro/Flow/canvas/GridRenderer.js +54 -55
  233. package/dist/components/pro/Flow/canvas/GridRenderer.js.map +1 -1
  234. package/dist/components/pro/Flow/canvas/MiniMapRenderer.js +54 -58
  235. package/dist/components/pro/Flow/canvas/MiniMapRenderer.js.map +1 -1
  236. package/dist/components/pro/Flow/canvas/PixiApp.js +105 -102
  237. package/dist/components/pro/Flow/canvas/PixiApp.js.map +1 -1
  238. package/dist/components/pro/Flow/canvas/SelectionOverlay.js +38 -38
  239. package/dist/components/pro/Flow/canvas/SelectionOverlay.js.map +1 -1
  240. package/dist/components/pro/Flow/canvas/ViewportContainer.js +117 -117
  241. package/dist/components/pro/Flow/canvas/ViewportContainer.js.map +1 -1
  242. package/dist/components/pro/Flow/constants.js +266 -278
  243. package/dist/components/pro/Flow/constants.js.map +1 -1
  244. package/dist/components/pro/Flow/context/FlowAIContext.js +27 -28
  245. package/dist/components/pro/Flow/context/FlowAIContext.js.map +1 -1
  246. package/dist/components/pro/Flow/context/FlowContext.js +60 -61
  247. package/dist/components/pro/Flow/context/FlowContext.js.map +1 -1
  248. package/dist/components/pro/Flow/context/FlowUIContext.js +115 -117
  249. package/dist/components/pro/Flow/context/FlowUIContext.js.map +1 -1
  250. package/dist/components/pro/Flow/edges/EdgeRenderer.js +135 -138
  251. package/dist/components/pro/Flow/edges/EdgeRenderer.js.map +1 -1
  252. package/dist/components/pro/Flow/edges/edgeMarkers.js +11 -14
  253. package/dist/components/pro/Flow/edges/edgeMarkers.js.map +1 -1
  254. package/dist/components/pro/Flow/edges/edgePaths.js +351 -367
  255. package/dist/components/pro/Flow/edges/edgePaths.js.map +1 -1
  256. package/dist/components/pro/Flow/hooks/useAlignmentGuides.js +49 -52
  257. package/dist/components/pro/Flow/hooks/useAlignmentGuides.js.map +1 -1
  258. package/dist/components/pro/Flow/hooks/useClipboard.js +154 -154
  259. package/dist/components/pro/Flow/hooks/useClipboard.js.map +1 -1
  260. package/dist/components/pro/Flow/hooks/useCompactMode.js +17 -17
  261. package/dist/components/pro/Flow/hooks/useCompactMode.js.map +1 -1
  262. package/dist/components/pro/Flow/hooks/useDeleteSelection.js +40 -40
  263. package/dist/components/pro/Flow/hooks/useDeleteSelection.js.map +1 -1
  264. package/dist/components/pro/Flow/hooks/useDraggablePanel.js +51 -51
  265. package/dist/components/pro/Flow/hooks/useDraggablePanel.js.map +1 -1
  266. package/dist/components/pro/Flow/hooks/useEdgeMutations.js +157 -157
  267. package/dist/components/pro/Flow/hooks/useEdgeMutations.js.map +1 -1
  268. package/dist/components/pro/Flow/hooks/useFlowImportExport.js +190 -201
  269. package/dist/components/pro/Flow/hooks/useFlowImportExport.js.map +1 -1
  270. package/dist/components/pro/Flow/hooks/useKeyboardShortcuts.js +32 -38
  271. package/dist/components/pro/Flow/hooks/useKeyboardShortcuts.js.map +1 -1
  272. package/dist/components/pro/Flow/hooks/useLayoutActions.js +172 -182
  273. package/dist/components/pro/Flow/hooks/useLayoutActions.js.map +1 -1
  274. package/dist/components/pro/Flow/hooks/useLineMutations.js +57 -57
  275. package/dist/components/pro/Flow/hooks/useLineMutations.js.map +1 -1
  276. package/dist/components/pro/Flow/hooks/useMindMap.js +229 -238
  277. package/dist/components/pro/Flow/hooks/useMindMap.js.map +1 -1
  278. package/dist/components/pro/Flow/hooks/useNodeMutations.js +102 -102
  279. package/dist/components/pro/Flow/hooks/useNodeMutations.js.map +1 -1
  280. package/dist/components/pro/Flow/hooks/usePdfExport.js +55 -56
  281. package/dist/components/pro/Flow/hooks/usePdfExport.js.map +1 -1
  282. package/dist/components/pro/Flow/hooks/usePixiApp.js +55 -57
  283. package/dist/components/pro/Flow/hooks/usePixiApp.js.map +1 -1
  284. package/dist/components/pro/Flow/hooks/useResizablePanel.js +31 -31
  285. package/dist/components/pro/Flow/hooks/useResizablePanel.js.map +1 -1
  286. package/dist/components/pro/Flow/hooks/useSelection.js +69 -69
  287. package/dist/components/pro/Flow/hooks/useSelection.js.map +1 -1
  288. package/dist/components/pro/Flow/hooks/useUndoRedo.js +27 -27
  289. package/dist/components/pro/Flow/hooks/useUndoRedo.js.map +1 -1
  290. package/dist/components/pro/Flow/hooks/useViewport.js +28 -28
  291. package/dist/components/pro/Flow/hooks/useViewport.js.map +1 -1
  292. package/dist/components/pro/Flow/lines/FreehandTool.js +63 -63
  293. package/dist/components/pro/Flow/lines/FreehandTool.js.map +1 -1
  294. package/dist/components/pro/Flow/lines/GeometricLineTool.js +80 -80
  295. package/dist/components/pro/Flow/lines/GeometricLineTool.js.map +1 -1
  296. package/dist/components/pro/Flow/lines/LineRenderer.js +88 -88
  297. package/dist/components/pro/Flow/lines/LineRenderer.js.map +1 -1
  298. package/dist/components/pro/Flow/lines/lineSmoothing.js +32 -34
  299. package/dist/components/pro/Flow/lines/lineSmoothing.js.map +1 -1
  300. package/dist/components/pro/Flow/nodes/DataNodeView.js +236 -222
  301. package/dist/components/pro/Flow/nodes/DataNodeView.js.map +1 -1
  302. package/dist/components/pro/Flow/nodes/MediaContent.js +236 -246
  303. package/dist/components/pro/Flow/nodes/MediaContent.js.map +1 -1
  304. package/dist/components/pro/Flow/nodes/MediaOverlay.js +63 -63
  305. package/dist/components/pro/Flow/nodes/MediaOverlay.js.map +1 -1
  306. package/dist/components/pro/Flow/nodes/Model3DView.js +111 -113
  307. package/dist/components/pro/Flow/nodes/Model3DView.js.map +1 -1
  308. package/dist/components/pro/Flow/nodes/NodeHandles.js +74 -80
  309. package/dist/components/pro/Flow/nodes/NodeHandles.js.map +1 -1
  310. package/dist/components/pro/Flow/nodes/NodeRenderer.js +303 -314
  311. package/dist/components/pro/Flow/nodes/NodeRenderer.js.map +1 -1
  312. package/dist/components/pro/Flow/nodes/NodeText.js +25 -29
  313. package/dist/components/pro/Flow/nodes/NodeText.js.map +1 -1
  314. package/dist/components/pro/Flow/nodes/aiClient.js +124 -137
  315. package/dist/components/pro/Flow/nodes/aiClient.js.map +1 -1
  316. package/dist/components/pro/Flow/nodes/animAnchors.js +42 -49
  317. package/dist/components/pro/Flow/nodes/animAnchors.js.map +1 -1
  318. package/dist/components/pro/Flow/nodes/dataUtils.js +246 -267
  319. package/dist/components/pro/Flow/nodes/dataUtils.js.map +1 -1
  320. package/dist/components/pro/Flow/nodes/nodeUtils.js +23 -28
  321. package/dist/components/pro/Flow/nodes/nodeUtils.js.map +1 -1
  322. package/dist/components/pro/Flow/nodes/shapes.js +556 -591
  323. package/dist/components/pro/Flow/nodes/shapes.js.map +1 -1
  324. package/dist/components/pro/Flow/nodes/svgIconTexture.js +37 -39
  325. package/dist/components/pro/Flow/nodes/svgIconTexture.js.map +1 -1
  326. package/dist/components/pro/Flow/nodes/svgIcons.js +684 -689
  327. package/dist/components/pro/Flow/nodes/svgIcons.js.map +1 -1
  328. package/dist/components/pro/Flow/panels/AIPanel.js +464 -491
  329. package/dist/components/pro/Flow/panels/AIPanel.js.map +1 -1
  330. package/dist/components/pro/Flow/panels/Breadcrumb.js +41 -41
  331. package/dist/components/pro/Flow/panels/Breadcrumb.js.map +1 -1
  332. package/dist/components/pro/Flow/panels/ContextMenu.js +37 -37
  333. package/dist/components/pro/Flow/panels/ContextMenu.js.map +1 -1
  334. package/dist/components/pro/Flow/panels/DataInspectorSection.js +428 -432
  335. package/dist/components/pro/Flow/panels/DataInspectorSection.js.map +1 -1
  336. package/dist/components/pro/Flow/panels/ExpandableTextarea.js +61 -62
  337. package/dist/components/pro/Flow/panels/ExpandableTextarea.js.map +1 -1
  338. package/dist/components/pro/Flow/panels/FlowPanelGroup.js +114 -114
  339. package/dist/components/pro/Flow/panels/FlowPanelGroup.js.map +1 -1
  340. package/dist/components/pro/Flow/panels/FlowToolbar.js +347 -391
  341. package/dist/components/pro/Flow/panels/FlowToolbar.js.map +1 -1
  342. package/dist/components/pro/Flow/panels/InspectorPanel.js +1792 -1798
  343. package/dist/components/pro/Flow/panels/InspectorPanel.js.map +1 -1
  344. package/dist/components/pro/Flow/panels/OutlinePanel.js +242 -244
  345. package/dist/components/pro/Flow/panels/OutlinePanel.js.map +1 -1
  346. package/dist/components/pro/Flow/panels/PresentationMode.js +137 -138
  347. package/dist/components/pro/Flow/panels/PresentationMode.js.map +1 -1
  348. package/dist/components/pro/Flow/panels/ProjectTitle.js +46 -46
  349. package/dist/components/pro/Flow/panels/ProjectTitle.js.map +1 -1
  350. package/dist/components/pro/Flow/panels/ShapePalette.js +557 -567
  351. package/dist/components/pro/Flow/panels/ShapePalette.js.map +1 -1
  352. package/dist/components/pro/Flow/panels/toolbarIcons.d.ts +0 -1
  353. package/dist/components/pro/Flow/panels/toolbarIcons.js +508 -557
  354. package/dist/components/pro/Flow/panels/toolbarIcons.js.map +1 -1
  355. package/dist/components/pro/Flow/types.js +26 -26
  356. package/dist/components/pro/Flow/types.js.map +1 -1
  357. package/dist/components/pro/Flow/utils/dashedLine.js +113 -117
  358. package/dist/components/pro/Flow/utils/dashedLine.js.map +1 -1
  359. package/dist/components/pro/Flow/utils/gradient.js +55 -55
  360. package/dist/components/pro/Flow/utils/gradient.js.map +1 -1
  361. package/dist/components/pro/Flow/utils/pdfExport.js +50 -89
  362. package/dist/components/pro/Flow/utils/pdfExport.js.map +1 -1
  363. package/dist/components/pro/Flow/utils/themeColor.js +185 -195
  364. package/dist/components/pro/Flow/utils/themeColor.js.map +1 -1
  365. package/dist/components/pro/Gantt/Gantt.d.ts +7 -0
  366. package/dist/components/pro/Gantt/hooks/useGanttDrag.d.ts +31 -0
  367. package/dist/components/pro/Gantt/hooks/useGanttState.d.ts +58 -0
  368. package/dist/components/pro/Gantt/index.d.ts +6 -0
  369. package/dist/components/pro/Gantt/types.d.ts +478 -0
  370. package/dist/components/pro/Gantt/utils.d.ts +124 -0
  371. package/dist/components/pro/Resizable/Resizable.d.ts +30 -0
  372. package/dist/components/pro/Resizable/index.d.ts +2 -0
  373. package/dist/components/pro/RichTextEditor/AIRewrite.js +323 -334
  374. package/dist/components/pro/RichTextEditor/AIRewrite.js.map +1 -1
  375. package/dist/components/pro/RichTextEditor/BlockHandle.js +314 -316
  376. package/dist/components/pro/RichTextEditor/BlockHandle.js.map +1 -1
  377. package/dist/components/pro/RichTextEditor/BubbleToolbar.js +97 -97
  378. package/dist/components/pro/RichTextEditor/BubbleToolbar.js.map +1 -1
  379. package/dist/components/pro/RichTextEditor/CommentDialog.js +88 -88
  380. package/dist/components/pro/RichTextEditor/CommentDialog.js.map +1 -1
  381. package/dist/components/pro/RichTextEditor/CommentPanel.js +240 -240
  382. package/dist/components/pro/RichTextEditor/CommentPanel.js.map +1 -1
  383. package/dist/components/pro/RichTextEditor/CommentPopover.js +234 -234
  384. package/dist/components/pro/RichTextEditor/CommentPopover.js.map +1 -1
  385. package/dist/components/pro/RichTextEditor/ContextMenu.js +251 -252
  386. package/dist/components/pro/RichTextEditor/ContextMenu.js.map +1 -1
  387. package/dist/components/pro/RichTextEditor/RichTextEditor.js +267 -271
  388. package/dist/components/pro/RichTextEditor/RichTextEditor.js.map +1 -1
  389. package/dist/components/pro/RichTextEditor/SlashMenu.js +214 -214
  390. package/dist/components/pro/RichTextEditor/SlashMenu.js.map +1 -1
  391. package/dist/components/pro/RichTextEditor/Toolbar/ColorPicker.js +44 -75
  392. package/dist/components/pro/RichTextEditor/Toolbar/ColorPicker.js.map +1 -1
  393. package/dist/components/pro/RichTextEditor/Toolbar/FloatingDialogMenu.js +261 -261
  394. package/dist/components/pro/RichTextEditor/Toolbar/FloatingDialogMenu.js.map +1 -1
  395. package/dist/components/pro/RichTextEditor/Toolbar/MarkdownTemplates.js +172 -526
  396. package/dist/components/pro/RichTextEditor/Toolbar/MarkdownTemplates.js.map +1 -1
  397. package/dist/components/pro/RichTextEditor/Toolbar/SelectDropdown.js +112 -114
  398. package/dist/components/pro/RichTextEditor/Toolbar/SelectDropdown.js.map +1 -1
  399. package/dist/components/pro/RichTextEditor/Toolbar/TableOpsMenu.js +194 -194
  400. package/dist/components/pro/RichTextEditor/Toolbar/TableOpsMenu.js.map +1 -1
  401. package/dist/components/pro/RichTextEditor/Toolbar/Toolbar.js +970 -973
  402. package/dist/components/pro/RichTextEditor/Toolbar/Toolbar.js.map +1 -1
  403. package/dist/components/pro/RichTextEditor/Toolbar/ToolbarButton.js +11 -12
  404. package/dist/components/pro/RichTextEditor/Toolbar/ToolbarButton.js.map +1 -1
  405. package/dist/components/pro/RichTextEditor/extensions/CodeBlockView.js +310 -344
  406. package/dist/components/pro/RichTextEditor/extensions/CodeBlockView.js.map +1 -1
  407. package/dist/components/pro/RichTextEditor/extensions/CommentMark.js +38 -39
  408. package/dist/components/pro/RichTextEditor/extensions/CommentMark.js.map +1 -1
  409. package/dist/components/pro/RichTextEditor/extensions/FloatingDialog.js +620 -625
  410. package/dist/components/pro/RichTextEditor/extensions/FloatingDialog.js.map +1 -1
  411. package/dist/components/pro/RichTextEditor/extensions/FontSize.js +25 -25
  412. package/dist/components/pro/RichTextEditor/extensions/FontSize.js.map +1 -1
  413. package/dist/components/pro/RichTextEditor/extensions/MarkdownBlock.js +167 -176
  414. package/dist/components/pro/RichTextEditor/extensions/MarkdownBlock.js.map +1 -1
  415. package/dist/components/pro/RichTextEditor/types.js +75 -75
  416. package/dist/components/pro/RichTextEditor/types.js.map +1 -1
  417. package/dist/contexts/AppContext.d.ts +1 -1
  418. package/dist/contexts/AppContext.js +216 -221
  419. package/dist/contexts/AppContext.js.map +1 -1
  420. package/dist/data-table.js +15 -41
  421. package/dist/data-table.js.map +1 -1
  422. package/dist/dishui.css +1 -1
  423. package/dist/flow.js +27 -83
  424. package/dist/hooks/useClickOutside.js +18 -18
  425. package/dist/hooks/useClickOutside.js.map +1 -1
  426. package/dist/hooks/useContainerElement.js +9 -9
  427. package/dist/hooks/useContainerElement.js.map +1 -1
  428. package/dist/hooks/useControllableState.js +33 -35
  429. package/dist/hooks/useControllableState.js.map +1 -1
  430. package/dist/hooks/useCopyToClipboard.js +16 -16
  431. package/dist/hooks/useCopyToClipboard.js.map +1 -1
  432. package/dist/hooks/useDebounce.js +14 -14
  433. package/dist/hooks/useDebounce.js.map +1 -1
  434. package/dist/hooks/useDraggable.js +50 -50
  435. package/dist/hooks/useDraggable.js.map +1 -1
  436. package/dist/hooks/useTableColumns.js +39 -42
  437. package/dist/hooks/useTableColumns.js.map +1 -1
  438. package/dist/hooks/useTableData.js +67 -68
  439. package/dist/hooks/useTableData.js.map +1 -1
  440. package/dist/index-nostyled.d.ts +8 -0
  441. package/dist/index.d.ts +29 -1
  442. package/dist/index.js +106 -236
  443. package/dist/layouts/MainLayout.js +56 -56
  444. package/dist/layouts/MainLayout.js.map +1 -1
  445. package/dist/layouts/Navbar.js +214 -214
  446. package/dist/layouts/Navbar.js.map +1 -1
  447. package/dist/layouts/Sidebar.js +184 -165
  448. package/dist/layouts/Sidebar.js.map +1 -1
  449. package/dist/layouts/headbar/Headbar.js +25 -25
  450. package/dist/layouts/headbar/Headbar.js.map +1 -1
  451. package/dist/layouts/headbar/HeadbarLangSwitcher.js +39 -39
  452. package/dist/layouts/headbar/HeadbarLangSwitcher.js.map +1 -1
  453. package/dist/layouts/headbar/HeadbarSearch.js +120 -120
  454. package/dist/layouts/headbar/HeadbarSearch.js.map +1 -1
  455. package/dist/layouts/headbar/HeadbarThemeSwitcher.js +27 -27
  456. package/dist/layouts/headbar/HeadbarThemeSwitcher.js.map +1 -1
  457. package/dist/layouts/headbar/HeadbarTitle.js +26 -26
  458. package/dist/layouts/headbar/HeadbarTitle.js.map +1 -1
  459. package/dist/lite.js +9 -24
  460. package/dist/markdown.js +4 -9
  461. package/dist/pages/components/Calendar/index.d.ts +3 -0
  462. package/dist/pages/components/Calendar/index.en.d.ts +3 -0
  463. package/dist/pages/components/Calendar/index.zh.d.ts +3 -0
  464. package/dist/pages/components/Chat/index.d.ts +3 -0
  465. package/dist/pages/components/Chat/index.en.d.ts +3 -0
  466. package/dist/pages/components/Chat/index.zh.d.ts +3 -0
  467. package/dist/pages/components/FloatWindow/index.d.ts +3 -0
  468. package/dist/pages/components/FloatWindow/index.en.d.ts +3 -0
  469. package/dist/pages/components/FloatWindow/index.zh.d.ts +3 -0
  470. package/dist/pages/components/Gantt/index.d.ts +3 -0
  471. package/dist/pages/components/Gantt/index.en.d.ts +3 -0
  472. package/dist/pages/components/Gantt/index.zh.d.ts +3 -0
  473. package/dist/pages/components/GridLayout/index.d.ts +3 -0
  474. package/dist/pages/components/GridLayout/index.en.d.ts +3 -0
  475. package/dist/pages/components/GridLayout/index.zh.d.ts +3 -0
  476. package/dist/pages/components/Notification/index.d.ts +3 -0
  477. package/dist/pages/components/Notification/index.en.d.ts +3 -0
  478. package/dist/pages/components/Notification/index.zh.d.ts +3 -0
  479. package/dist/pages/components/Resizable/index.d.ts +3 -0
  480. package/dist/pages/components/Resizable/index.en.d.ts +3 -0
  481. package/dist/pages/components/Resizable/index.zh.d.ts +3 -0
  482. package/dist/pages/components/Tab/index.d.ts +3 -0
  483. package/dist/pages/components/Tab/index.en.d.ts +3 -0
  484. package/dist/pages/components/Tab/index.zh.d.ts +3 -0
  485. package/dist/styles/themeStyles.js +87 -86
  486. package/dist/styles/themeStyles.js.map +1 -1
  487. package/dist/utils/cn.d.ts +13 -0
  488. package/dist/utils/cn.js +16 -0
  489. package/dist/utils/cn.js.map +1 -0
  490. package/dist/utils/i18n.js +690 -602
  491. package/dist/utils/i18n.js.map +1 -1
  492. package/dist/utils/menu.js +94 -94
  493. package/dist/utils/menu.js.map +1 -1
  494. package/dist/utils/rehype-code-meta.js +14 -14
  495. package/dist/utils/rehype-code-meta.js.map +1 -1
  496. package/dist/utils/remark-code-meta.js +9 -9
  497. package/dist/utils/remark-code-meta.js.map +1 -1
  498. package/dist/utils/routerBuilder.js +59 -58
  499. package/dist/utils/routerBuilder.js.map +1 -1
  500. package/dist/utils/selection.js +28 -29
  501. package/dist/utils/selection.js.map +1 -1
  502. package/dist/utils/themes.js +275 -255
  503. package/dist/utils/themes.js.map +1 -1
  504. package/package.json +23 -10
@@ -1,561 +1,512 @@
1
1
  import "react";
2
- import { Fragment as a, jsx as r, jsxs as t } from "react/jsx-runtime";
3
- var h = {
4
- width: 18,
5
- height: 18,
6
- viewBox: "0 0 24 24",
7
- fill: "none",
8
- stroke: "currentColor",
9
- strokeWidth: 2,
10
- strokeLinecap: "round",
11
- strokeLinejoin: "round"
12
- }, o = () => /* @__PURE__ */ t("svg", {
13
- ...h,
14
- "aria-hidden": "true",
15
- children: [
16
- /* @__PURE__ */ r("circle", {
17
- cx: "12",
18
- cy: "12",
19
- r: "6"
20
- }),
21
- /* @__PURE__ */ r("circle", {
22
- cx: "12",
23
- cy: "12",
24
- r: "2"
25
- }),
26
- /* @__PURE__ */ r("path", { d: "M4 12H2M22 12h-2M12 4V2M12 22v-2" }),
27
- /* @__PURE__ */ r("path", { d: "M17.5 5.5l1-1M5.5 17.5l-1 1" })
28
- ]
29
- }), l = () => /* @__PURE__ */ t("svg", {
30
- ...h,
31
- "aria-hidden": "true",
32
- children: [/* @__PURE__ */ r("path", { d: "M19 12H5" }), /* @__PURE__ */ r("path", { d: "M11 18l-6-6 6-6" })]
33
- }), v = () => /* @__PURE__ */ t("svg", {
34
- ...h,
35
- "aria-hidden": "true",
36
- children: [/* @__PURE__ */ r("path", { d: "M9 14L4 9l5-5" }), /* @__PURE__ */ r("path", { d: "M4 9h11a5 5 0 0 1 0 10h-4" })]
37
- }), M = () => /* @__PURE__ */ t("svg", {
38
- ...h,
39
- "aria-hidden": "true",
40
- children: [/* @__PURE__ */ r("path", { d: "M15 14l5-5-5-5" }), /* @__PURE__ */ r("path", { d: "M20 9H9a5 5 0 0 0 0 10h4" })]
41
- }), p = () => /* @__PURE__ */ t("svg", {
42
- ...h,
43
- "aria-hidden": "true",
44
- children: [
45
- /* @__PURE__ */ r("rect", {
46
- x: "3",
47
- y: "3",
48
- width: "8",
49
- height: "8",
50
- rx: "1"
51
- }),
52
- /* @__PURE__ */ r("rect", {
53
- x: "13",
54
- y: "13",
55
- width: "8",
56
- height: "8",
57
- rx: "1"
58
- }),
59
- /* @__PURE__ */ r("path", {
60
- d: "M13 6h4a1 1 0 0 1 1 1v4",
61
- strokeDasharray: "2 2"
62
- })
63
- ]
64
- }), s = () => /* @__PURE__ */ t("svg", {
65
- ...h,
66
- "aria-hidden": "true",
67
- children: [
68
- /* @__PURE__ */ r("rect", {
69
- x: "3",
70
- y: "3",
71
- width: "18",
72
- height: "18",
73
- rx: "2",
74
- strokeDasharray: "3 3"
75
- }),
76
- /* @__PURE__ */ r("rect", {
77
- x: "7",
78
- y: "7",
79
- width: "4",
80
- height: "4",
81
- rx: "0.5"
82
- }),
83
- /* @__PURE__ */ r("rect", {
84
- x: "13",
85
- y: "13",
86
- width: "4",
87
- height: "4",
88
- rx: "0.5"
89
- })
90
- ]
91
- }), x = () => /* @__PURE__ */ t("svg", {
92
- ...h,
93
- "aria-hidden": "true",
94
- children: [
95
- /* @__PURE__ */ r("rect", {
96
- x: "3",
97
- y: "3",
98
- width: "7",
99
- height: "7",
100
- rx: "1"
101
- }),
102
- /* @__PURE__ */ r("rect", {
103
- x: "14",
104
- y: "14",
105
- width: "7",
106
- height: "7",
107
- rx: "1"
108
- }),
109
- /* @__PURE__ */ r("path", { d: "M14 5h5M17 3v4" })
110
- ]
111
- }), g = ({ kind: e }) => e === "left" || e === "center-h" || e === "right" ? /* @__PURE__ */ t("svg", {
112
- ...h,
113
- "aria-hidden": "true",
114
- children: [
115
- /* @__PURE__ */ r("path", { d: `M${e === "left" ? 5 : e === "right" ? 19 : 12} 3v18` }),
116
- /* @__PURE__ */ r("rect", {
117
- x: e === "left" ? 5 : e === "right" ? 10 : 7,
118
- y: "5",
119
- width: "9",
120
- height: "4",
121
- rx: "0.5"
122
- }),
123
- /* @__PURE__ */ r("rect", {
124
- x: e === "left" || e === "right" ? 5 : 4,
125
- y: "14",
126
- width: "14",
127
- height: "4",
128
- rx: "0.5"
129
- })
130
- ]
131
- }) : e === "top" || e === "center-v" || e === "bottom" ? /* @__PURE__ */ t("svg", {
132
- ...h,
133
- "aria-hidden": "true",
134
- children: [
135
- /* @__PURE__ */ r("path", { d: `M3 ${e === "top" ? 5 : e === "bottom" ? 19 : 12}h18` }),
136
- /* @__PURE__ */ r("rect", {
137
- x: "5",
138
- y: e === "top" ? 5 : e === "bottom" ? 10 : 7,
139
- width: "4",
140
- height: "9",
141
- rx: "0.5"
142
- }),
143
- /* @__PURE__ */ r("rect", {
144
- x: "14",
145
- y: e === "top" || e === "bottom" ? 5 : 4,
146
- width: "4",
147
- height: "14",
148
- rx: "0.5"
149
- })
150
- ]
151
- }) : /* @__PURE__ */ r("svg", {
152
- ...h,
153
- "aria-hidden": "true",
154
- children: e === "distribute-h" ? /* @__PURE__ */ t(a, { children: [
155
- /* @__PURE__ */ r("path", { d: "M3 3v18M21 3v18" }),
156
- /* @__PURE__ */ r("rect", {
157
- x: "6",
158
- y: "7",
159
- width: "4",
160
- height: "10"
161
- }),
162
- /* @__PURE__ */ r("rect", {
163
- x: "14",
164
- y: "7",
165
- width: "4",
166
- height: "10"
167
- })
168
- ] }) : /* @__PURE__ */ t(a, { children: [
169
- /* @__PURE__ */ r("path", { d: "M3 3h18M3 21h18" }),
170
- /* @__PURE__ */ r("rect", {
171
- x: "7",
172
- y: "6",
173
- width: "10",
174
- height: "4"
175
- }),
176
- /* @__PURE__ */ r("rect", {
177
- x: "7",
178
- y: "14",
179
- width: "10",
180
- height: "4"
181
- })
182
- ] })
183
- }), u = () => /* @__PURE__ */ t("svg", {
184
- ...h,
185
- "aria-hidden": "true",
186
- children: [/* @__PURE__ */ r("circle", {
187
- cx: "11",
188
- cy: "11",
189
- r: "7"
190
- }), /* @__PURE__ */ r("path", { d: "M21 21l-4.3-4.3M8 11h6" })]
191
- }), y = () => /* @__PURE__ */ t("svg", {
192
- ...h,
193
- "aria-hidden": "true",
194
- children: [/* @__PURE__ */ r("circle", {
195
- cx: "11",
196
- cy: "11",
197
- r: "7"
198
- }), /* @__PURE__ */ r("path", { d: "M21 21l-4.3-4.3M11 8v6M8 11h6" })]
199
- }), w = () => /* @__PURE__ */ t("svg", {
200
- ...h,
201
- "aria-hidden": "true",
202
- children: [/* @__PURE__ */ r("path", { d: "M4 9V5a1 1 0 0 1 1-1h4M15 4h4a1 1 0 0 1 1 1v4M20 15v4a1 1 0 0 1-1 1h-4M9 20H5a1 1 0 0 1-1-1v-4" }), /* @__PURE__ */ r("rect", {
203
- x: "9",
204
- y: "9",
205
- width: "6",
206
- height: "6",
207
- rx: "1"
208
- })]
209
- }), I = () => /* @__PURE__ */ t("svg", {
210
- ...h,
211
- "aria-hidden": "true",
212
- children: [
213
- /* @__PURE__ */ r("rect", {
214
- x: "3",
215
- y: "13",
216
- width: "8",
217
- height: "8",
218
- rx: "1"
219
- }),
220
- /* @__PURE__ */ r("circle", {
221
- cx: "17",
222
- cy: "7",
223
- r: "4"
224
- }),
225
- /* @__PURE__ */ r("path", { d: "M13 21l4-7 4 7z" })
226
- ]
227
- }), f = () => /* @__PURE__ */ t("svg", {
228
- ...h,
229
- "aria-hidden": "true",
230
- children: [/* @__PURE__ */ r("circle", {
231
- cx: "12",
232
- cy: "12",
233
- r: "3"
234
- }), /* @__PURE__ */ r("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z" })]
235
- }), m = () => /* @__PURE__ */ r("svg", {
236
- ...h,
237
- "aria-hidden": "true",
238
- children: /* @__PURE__ */ r("path", { d: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01" })
239
- }), V = () => /* @__PURE__ */ t("svg", {
240
- ...h,
241
- "aria-hidden": "true",
242
- children: [/* @__PURE__ */ r("path", { d: "M8 4H7a2 2 0 0 0-2 2v3a2 2 0 0 1-2 2 2 2 0 0 1 2 2v3a2 2 0 0 0 2 2h1" }), /* @__PURE__ */ r("path", { d: "M16 4h1a2 2 0 0 1 2 2v3a2 2 0 0 0 2 2 2 2 0 0 0-2 2v3a2 2 0 0 1-2 2h-1" })]
243
- }), L = () => /* @__PURE__ */ t("svg", {
244
- ...h,
245
- "aria-hidden": "true",
246
- children: [/* @__PURE__ */ r("path", { d: "M12 3l1.9 4.6L18.5 9.5 13.9 11.4 12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z" }), /* @__PURE__ */ r("path", { d: "M18 15l.9 2.1L21 18l-2.1.9L18 21l-.9-2.1L15 18l2.1-.9L18 15z" })]
247
- }), H = () => /* @__PURE__ */ t("svg", {
248
- ...h,
249
- "aria-hidden": "true",
250
- children: [/* @__PURE__ */ r("rect", {
251
- x: "3",
252
- y: "3",
253
- width: "18",
254
- height: "18",
255
- rx: "2"
256
- }), /* @__PURE__ */ r("path", { d: "M9 3v18M15 3v18M3 9h18M3 15h18" })]
257
- }), z = () => /* @__PURE__ */ t("svg", {
258
- ...h,
259
- "aria-hidden": "true",
260
- children: [/* @__PURE__ */ r("path", { d: "M4 12V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a2 2 0 0 0 4 0V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a7 7 0 0 1-14 0" }), /* @__PURE__ */ r("path", { d: "M4 9.5h6M14 9.5h6" })]
261
- }), C = () => /* @__PURE__ */ t("svg", {
262
- ...h,
263
- "aria-hidden": "true",
264
- children: [/* @__PURE__ */ r("rect", {
265
- x: "3",
266
- y: "4",
267
- width: "18",
268
- height: "16",
269
- rx: "2"
270
- }), /* @__PURE__ */ r("rect", {
271
- x: "13",
272
- y: "12",
273
- width: "6",
274
- height: "6",
275
- rx: "1"
276
- })]
277
- }), b = () => /* @__PURE__ */ t("svg", {
278
- ...h,
279
- "aria-hidden": "true",
280
- children: [
281
- /* @__PURE__ */ r("path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z" }),
282
- /* @__PURE__ */ r("path", { d: "M14 3v5h5" }),
283
- /* @__PURE__ */ r("path", { d: "M12 18v-6" }),
284
- /* @__PURE__ */ r("path", { d: "M9.5 14.5 12 12l2.5 2.5" })
285
- ]
286
- }), A = () => /* @__PURE__ */ t("svg", {
287
- ...h,
288
- "aria-hidden": "true",
289
- children: [/* @__PURE__ */ r("path", { d: "M22 2 11 13" }), /* @__PURE__ */ r("path", { d: "M22 2 15 22l-4-9-9-4 20-7z" })]
290
- }), E = () => /* @__PURE__ */ t("svg", {
291
- ...h,
292
- "aria-hidden": "true",
293
- children: [
294
- /* @__PURE__ */ r("rect", {
295
- x: "3",
296
- y: "3",
297
- width: "12",
298
- height: "10",
299
- rx: "1.5"
300
- }),
301
- /* @__PURE__ */ r("circle", {
302
- cx: "6.5",
303
- cy: "6.5",
304
- r: "1"
305
- }),
306
- /* @__PURE__ */ r("path", { d: "M3 11l3.5-3 3 2.5" }),
307
- /* @__PURE__ */ r("path", { d: "M19 12v6M16.5 15.5 19 18l2.5-2.5" }),
308
- /* @__PURE__ */ r("path", {
309
- d: "M14 21h10",
310
- opacity: "0.5"
311
- })
312
- ]
313
- }), G = () => /* @__PURE__ */ t("svg", {
314
- ...h,
315
- "aria-hidden": "true",
316
- children: [
317
- /* @__PURE__ */ r("path", { d: "M13 3H7a2 2 0 0 0-2 2v6" }),
318
- /* @__PURE__ */ r("path", { d: "M13 3l5 5v3" }),
319
- /* @__PURE__ */ r("path", { d: "M4.5 14h1.6a1.4 1.4 0 0 1 0 2.8H4.5V14v5" }),
320
- /* @__PURE__ */ r("path", { d: "M17 14v6M14.5 17.5 17 20l2.5-2.5" }),
321
- /* @__PURE__ */ r("path", { d: "M10 14v5h1a1.4 1.4 0 0 0 1.4-1.4v-2.2A1.4 1.4 0 0 0 11 14z" })
322
- ]
323
- }), P = () => /* @__PURE__ */ t("svg", {
324
- ...h,
325
- "aria-hidden": "true",
326
- children: [
327
- /* @__PURE__ */ r("rect", {
328
- x: "3",
329
- y: "5",
330
- width: "18",
331
- height: "14",
332
- rx: "2"
333
- }),
334
- /* @__PURE__ */ r("path", { d: "M6 15V9l3 3 3-3v6" }),
335
- /* @__PURE__ */ r("path", { d: "M17 9v4m0 0 2-2m-2 2-2-2" })
336
- ]
337
- }), j = () => /* @__PURE__ */ t("svg", {
338
- ...h,
339
- "aria-hidden": "true",
340
- children: [
341
- /* @__PURE__ */ r("path", { d: "M9 4c-1.5 0-2 .6-2 2s.4 2-1 2c1.4 0 1 1 1 2s.5 2 2 2" }),
342
- /* @__PURE__ */ r("path", { d: "M15 4c1.5 0 2 .6 2 2s-.4 2 1 2c-1.4 0-1 1-1 2s-.5 2-2 2" }),
343
- /* @__PURE__ */ r("path", { d: "M12 13v6M9 16l3 3 3-3" }),
344
- /* @__PURE__ */ r("path", {
345
- d: "M4 20h16",
346
- opacity: "0.5"
347
- })
348
- ]
349
- }), D = ({ kind: e }) => {
350
- switch (e) {
351
- case "front":
352
- return /* @__PURE__ */ t("svg", {
353
- ...h,
354
- "aria-hidden": "true",
355
- children: [
356
- /* @__PURE__ */ r("rect", {
357
- x: "7",
358
- y: "7",
359
- width: "10",
360
- height: "10",
361
- rx: "1.5",
362
- fill: "currentColor",
363
- stroke: "none"
364
- }),
365
- /* @__PURE__ */ r("path", {
366
- d: "M4 15.5l3 1.7M20 15.5l-3 1.7",
367
- opacity: "0.5"
368
- }),
369
- /* @__PURE__ */ r("path", {
370
- d: "M4 18.5l8 4.5 8-4.5",
371
- opacity: "0.5"
372
- }),
373
- /* @__PURE__ */ r("path", {
374
- d: "M12 5V1M9.5 3 12 .8 14.5 3",
375
- transform: "translate(0 1)"
376
- })
377
- ]
378
- });
379
- case "up":
380
- return /* @__PURE__ */ t("svg", {
381
- ...h,
382
- "aria-hidden": "true",
383
- children: [
384
- /* @__PURE__ */ r("rect", {
385
- x: "3",
386
- y: "12",
387
- width: "11",
388
- height: "8",
389
- rx: "1.5",
390
- fill: "currentColor",
391
- stroke: "none",
392
- opacity: "0.4"
393
- }),
394
- /* @__PURE__ */ r("rect", {
395
- x: "9",
396
- y: "8",
397
- width: "11",
398
- height: "8",
399
- rx: "1.5",
400
- fill: "currentColor",
401
- stroke: "none"
402
- }),
403
- /* @__PURE__ */ r("path", { d: "M14.5 5.5V1M12 3l2.5-2.5L17 3" })
404
- ]
405
- });
406
- case "down":
407
- return /* @__PURE__ */ t("svg", {
408
- ...h,
409
- "aria-hidden": "true",
410
- children: [
411
- /* @__PURE__ */ r("rect", {
412
- x: "9",
413
- y: "8",
414
- width: "11",
415
- height: "8",
416
- rx: "1.5",
417
- fill: "currentColor",
418
- stroke: "none",
419
- opacity: "0.4"
420
- }),
421
- /* @__PURE__ */ r("rect", {
422
- x: "3",
423
- y: "12",
424
- width: "11",
425
- height: "8",
426
- rx: "1.5",
427
- fill: "currentColor",
428
- stroke: "none"
429
- }),
430
- /* @__PURE__ */ r("path", { d: "M14.5 18.5V23M12 20.5l2.5 2.5 2.5-2.5" })
431
- ]
432
- });
433
- default:
434
- return /* @__PURE__ */ t("svg", {
435
- ...h,
436
- "aria-hidden": "true",
437
- children: [
438
- /* @__PURE__ */ r("path", {
439
- d: "M4 8.5l8-4.5 8 4.5",
440
- opacity: "0.5"
441
- }),
442
- /* @__PURE__ */ r("path", {
443
- d: "M4 8.5l3 1.7M20 8.5l-3 1.7",
444
- opacity: "0.5"
445
- }),
446
- /* @__PURE__ */ r("rect", {
447
- x: "7",
448
- y: "9",
449
- width: "10",
450
- height: "10",
451
- rx: "1.5",
452
- fill: "currentColor",
453
- stroke: "none"
454
- }),
455
- /* @__PURE__ */ r("path", {
456
- d: "M12 21v4M9.5 23 12 25.2 14.5 23",
457
- transform: "translate(0 -1)"
458
- })
459
- ]
460
- });
461
- }
462
- }, F = ({ visible: e = !0 }) => /* @__PURE__ */ t("svg", {
463
- ...h,
464
- "aria-hidden": "true",
465
- children: [
466
- /* @__PURE__ */ r("rect", {
467
- x: "4",
468
- y: "5",
469
- width: "16",
470
- height: "14",
471
- rx: "2",
472
- strokeDasharray: "3 2"
473
- }),
474
- /* @__PURE__ */ r("circle", {
475
- cx: "4",
476
- cy: "5",
477
- r: "2",
478
- fill: "currentColor",
479
- stroke: "none"
480
- }),
481
- e ? /* @__PURE__ */ r("path", { d: "M2 12s3.5-5 10-5 10 5 10 5-3.5 5-10 5S2 12 2 12zM12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" }) : /* @__PURE__ */ r("path", { d: "M3 3l18 18" })
482
- ]
483
- }), B = () => /* @__PURE__ */ t("svg", {
484
- ...h,
485
- "aria-hidden": "true",
486
- children: [
487
- /* @__PURE__ */ r("rect", {
488
- x: "2",
489
- y: "4",
490
- width: "20",
491
- height: "13",
492
- rx: "2"
493
- }),
494
- /* @__PURE__ */ r("path", {
495
- d: "M10 8.5l4.5 2.5L10 13.5z",
496
- fill: "currentColor",
497
- stroke: "none"
498
- }),
499
- /* @__PURE__ */ r("path", { d: "M12 17v3M8 20h8" })
500
- ]
501
- }), J = () => /* @__PURE__ */ t("svg", {
502
- ...h,
503
- "aria-hidden": "true",
504
- children: [
505
- /* @__PURE__ */ r("rect", {
506
- x: "3",
507
- y: "5",
508
- width: "8",
509
- height: "6",
510
- rx: "1.5"
511
- }),
512
- /* @__PURE__ */ r("rect", {
513
- x: "13",
514
- y: "5",
515
- width: "8",
516
- height: "6",
517
- rx: "1.5"
518
- }),
519
- /* @__PURE__ */ r("rect", {
520
- x: "8",
521
- y: "14",
522
- width: "8",
523
- height: "6",
524
- rx: "1.5"
525
- }),
526
- /* @__PURE__ */ r("path", { d: "M7 11v1.5M17 11v1.5M12 12.5V14" })
527
- ]
2
+ import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ //#region src/components/pro/Flow/panels/toolbarIcons.tsx
4
+ var r = {
5
+ width: 18,
6
+ height: 18,
7
+ viewBox: "0 0 24 24",
8
+ fill: "none",
9
+ stroke: "currentColor",
10
+ strokeWidth: 2,
11
+ strokeLinecap: "round",
12
+ strokeLinejoin: "round"
13
+ }, i = () => /* @__PURE__ */ n("svg", {
14
+ ...r,
15
+ "aria-hidden": "true",
16
+ children: [
17
+ /* @__PURE__ */ t("circle", {
18
+ cx: "12",
19
+ cy: "12",
20
+ r: "6"
21
+ }),
22
+ /* @__PURE__ */ t("circle", {
23
+ cx: "12",
24
+ cy: "12",
25
+ r: "2"
26
+ }),
27
+ /* @__PURE__ */ t("path", { d: "M4 12H2M22 12h-2M12 4V2M12 22v-2" }),
28
+ /* @__PURE__ */ t("path", { d: "M17.5 5.5l1-1M5.5 17.5l-1 1" })
29
+ ]
30
+ }), a = () => /* @__PURE__ */ n("svg", {
31
+ ...r,
32
+ "aria-hidden": "true",
33
+ children: [/* @__PURE__ */ t("path", { d: "M19 12H5" }), /* @__PURE__ */ t("path", { d: "M11 18l-6-6 6-6" })]
34
+ }), o = () => /* @__PURE__ */ n("svg", {
35
+ ...r,
36
+ "aria-hidden": "true",
37
+ children: [/* @__PURE__ */ t("path", { d: "M9 14L4 9l5-5" }), /* @__PURE__ */ t("path", { d: "M4 9h11a5 5 0 0 1 0 10h-4" })]
38
+ }), s = () => /* @__PURE__ */ n("svg", {
39
+ ...r,
40
+ "aria-hidden": "true",
41
+ children: [/* @__PURE__ */ t("path", { d: "M15 14l5-5-5-5" }), /* @__PURE__ */ t("path", { d: "M20 9H9a5 5 0 0 0 0 10h4" })]
42
+ }), c = () => /* @__PURE__ */ n("svg", {
43
+ ...r,
44
+ "aria-hidden": "true",
45
+ children: [
46
+ /* @__PURE__ */ t("rect", {
47
+ x: "3",
48
+ y: "3",
49
+ width: "8",
50
+ height: "8",
51
+ rx: "1"
52
+ }),
53
+ /* @__PURE__ */ t("rect", {
54
+ x: "13",
55
+ y: "13",
56
+ width: "8",
57
+ height: "8",
58
+ rx: "1"
59
+ }),
60
+ /* @__PURE__ */ t("path", {
61
+ d: "M13 6h4a1 1 0 0 1 1 1v4",
62
+ strokeDasharray: "2 2"
63
+ })
64
+ ]
65
+ }), l = () => /* @__PURE__ */ n("svg", {
66
+ ...r,
67
+ "aria-hidden": "true",
68
+ children: [
69
+ /* @__PURE__ */ t("rect", {
70
+ x: "3",
71
+ y: "3",
72
+ width: "18",
73
+ height: "18",
74
+ rx: "2",
75
+ strokeDasharray: "3 3"
76
+ }),
77
+ /* @__PURE__ */ t("rect", {
78
+ x: "7",
79
+ y: "7",
80
+ width: "4",
81
+ height: "4",
82
+ rx: "0.5"
83
+ }),
84
+ /* @__PURE__ */ t("rect", {
85
+ x: "13",
86
+ y: "13",
87
+ width: "4",
88
+ height: "4",
89
+ rx: "0.5"
90
+ })
91
+ ]
92
+ }), u = () => /* @__PURE__ */ n("svg", {
93
+ ...r,
94
+ "aria-hidden": "true",
95
+ children: [
96
+ /* @__PURE__ */ t("rect", {
97
+ x: "3",
98
+ y: "3",
99
+ width: "7",
100
+ height: "7",
101
+ rx: "1"
102
+ }),
103
+ /* @__PURE__ */ t("rect", {
104
+ x: "14",
105
+ y: "14",
106
+ width: "7",
107
+ height: "7",
108
+ rx: "1"
109
+ }),
110
+ /* @__PURE__ */ t("path", { d: "M14 5h5M17 3v4" })
111
+ ]
112
+ }), d = ({ kind: i }) => {
113
+ if (i === "left" || i === "center-h" || i === "right") {
114
+ let e = i === "left" ? 5 : i === "right" ? 19 : 12;
115
+ return /* @__PURE__ */ n("svg", {
116
+ ...r,
117
+ "aria-hidden": "true",
118
+ children: [
119
+ /* @__PURE__ */ t("path", { d: `M${e} 3v18` }),
120
+ /* @__PURE__ */ t("rect", {
121
+ x: i === "left" ? 5 : i === "right" ? 10 : 7,
122
+ y: "5",
123
+ width: "9",
124
+ height: "4",
125
+ rx: "0.5"
126
+ }),
127
+ /* @__PURE__ */ t("rect", {
128
+ x: i === "left" || i === "right" ? 5 : 4,
129
+ y: "14",
130
+ width: "14",
131
+ height: "4",
132
+ rx: "0.5"
133
+ })
134
+ ]
135
+ });
136
+ }
137
+ if (i === "top" || i === "center-v" || i === "bottom") {
138
+ let e = i === "top" ? 5 : i === "bottom" ? 19 : 12;
139
+ return /* @__PURE__ */ n("svg", {
140
+ ...r,
141
+ "aria-hidden": "true",
142
+ children: [
143
+ /* @__PURE__ */ t("path", { d: `M3 ${e}h18` }),
144
+ /* @__PURE__ */ t("rect", {
145
+ x: "5",
146
+ y: i === "top" ? 5 : i === "bottom" ? 10 : 7,
147
+ width: "4",
148
+ height: "9",
149
+ rx: "0.5"
150
+ }),
151
+ /* @__PURE__ */ t("rect", {
152
+ x: "14",
153
+ y: i === "top" || i === "bottom" ? 5 : 4,
154
+ width: "4",
155
+ height: "14",
156
+ rx: "0.5"
157
+ })
158
+ ]
159
+ });
160
+ }
161
+ return /* @__PURE__ */ t("svg", {
162
+ ...r,
163
+ "aria-hidden": "true",
164
+ children: i === "distribute-h" ? /* @__PURE__ */ n(e, { children: [
165
+ /* @__PURE__ */ t("path", { d: "M3 3v18M21 3v18" }),
166
+ /* @__PURE__ */ t("rect", {
167
+ x: "6",
168
+ y: "7",
169
+ width: "4",
170
+ height: "10"
171
+ }),
172
+ /* @__PURE__ */ t("rect", {
173
+ x: "14",
174
+ y: "7",
175
+ width: "4",
176
+ height: "10"
177
+ })
178
+ ] }) : /* @__PURE__ */ n(e, { children: [
179
+ /* @__PURE__ */ t("path", { d: "M3 3h18M3 21h18" }),
180
+ /* @__PURE__ */ t("rect", {
181
+ x: "7",
182
+ y: "6",
183
+ width: "10",
184
+ height: "4"
185
+ }),
186
+ /* @__PURE__ */ t("rect", {
187
+ x: "7",
188
+ y: "14",
189
+ width: "10",
190
+ height: "4"
191
+ })
192
+ ] })
193
+ });
194
+ }, f = () => /* @__PURE__ */ n("svg", {
195
+ ...r,
196
+ "aria-hidden": "true",
197
+ children: [/* @__PURE__ */ t("circle", {
198
+ cx: "11",
199
+ cy: "11",
200
+ r: "7"
201
+ }), /* @__PURE__ */ t("path", { d: "M21 21l-4.3-4.3M8 11h6" })]
202
+ }), p = () => /* @__PURE__ */ n("svg", {
203
+ ...r,
204
+ "aria-hidden": "true",
205
+ children: [/* @__PURE__ */ t("circle", {
206
+ cx: "11",
207
+ cy: "11",
208
+ r: "7"
209
+ }), /* @__PURE__ */ t("path", { d: "M21 21l-4.3-4.3M11 8v6M8 11h6" })]
210
+ }), m = () => /* @__PURE__ */ n("svg", {
211
+ ...r,
212
+ "aria-hidden": "true",
213
+ children: [/* @__PURE__ */ t("path", { d: "M4 9V5a1 1 0 0 1 1-1h4M15 4h4a1 1 0 0 1 1 1v4M20 15v4a1 1 0 0 1-1 1h-4M9 20H5a1 1 0 0 1-1-1v-4" }), /* @__PURE__ */ t("rect", {
214
+ x: "9",
215
+ y: "9",
216
+ width: "6",
217
+ height: "6",
218
+ rx: "1"
219
+ })]
220
+ }), h = () => /* @__PURE__ */ n("svg", {
221
+ ...r,
222
+ "aria-hidden": "true",
223
+ children: [
224
+ /* @__PURE__ */ t("rect", {
225
+ x: "3",
226
+ y: "13",
227
+ width: "8",
228
+ height: "8",
229
+ rx: "1"
230
+ }),
231
+ /* @__PURE__ */ t("circle", {
232
+ cx: "17",
233
+ cy: "7",
234
+ r: "4"
235
+ }),
236
+ /* @__PURE__ */ t("path", { d: "M13 21l4-7 4 7z" })
237
+ ]
238
+ }), g = () => /* @__PURE__ */ n("svg", {
239
+ ...r,
240
+ "aria-hidden": "true",
241
+ children: [/* @__PURE__ */ t("circle", {
242
+ cx: "12",
243
+ cy: "12",
244
+ r: "3"
245
+ }), /* @__PURE__ */ t("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z" })]
246
+ }), _ = () => /* @__PURE__ */ t("svg", {
247
+ ...r,
248
+ "aria-hidden": "true",
249
+ children: /* @__PURE__ */ t("path", { d: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01" })
250
+ }), v = () => /* @__PURE__ */ n("svg", {
251
+ ...r,
252
+ "aria-hidden": "true",
253
+ children: [/* @__PURE__ */ t("path", { d: "M8 4H7a2 2 0 0 0-2 2v3a2 2 0 0 1-2 2 2 2 0 0 1 2 2v3a2 2 0 0 0 2 2h1" }), /* @__PURE__ */ t("path", { d: "M16 4h1a2 2 0 0 1 2 2v3a2 2 0 0 0 2 2 2 2 0 0 0-2 2v3a2 2 0 0 1-2 2h-1" })]
254
+ }), y = () => /* @__PURE__ */ n("svg", {
255
+ ...r,
256
+ "aria-hidden": "true",
257
+ children: [/* @__PURE__ */ t("path", { d: "M12 3l1.9 4.6L18.5 9.5 13.9 11.4 12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z" }), /* @__PURE__ */ t("path", { d: "M18 15l.9 2.1L21 18l-2.1.9L18 21l-.9-2.1L15 18l2.1-.9L18 15z" })]
258
+ }), b = () => /* @__PURE__ */ n("svg", {
259
+ ...r,
260
+ "aria-hidden": "true",
261
+ children: [/* @__PURE__ */ t("rect", {
262
+ x: "3",
263
+ y: "3",
264
+ width: "18",
265
+ height: "18",
266
+ rx: "2"
267
+ }), /* @__PURE__ */ t("path", { d: "M9 3v18M15 3v18M3 9h18M3 15h18" })]
268
+ }), x = () => /* @__PURE__ */ n("svg", {
269
+ ...r,
270
+ "aria-hidden": "true",
271
+ children: [/* @__PURE__ */ t("path", { d: "M4 12V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a2 2 0 0 0 4 0V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a7 7 0 0 1-14 0" }), /* @__PURE__ */ t("path", { d: "M4 9.5h6M14 9.5h6" })]
272
+ }), S = () => /* @__PURE__ */ n("svg", {
273
+ ...r,
274
+ "aria-hidden": "true",
275
+ children: [/* @__PURE__ */ t("rect", {
276
+ x: "3",
277
+ y: "4",
278
+ width: "18",
279
+ height: "16",
280
+ rx: "2"
281
+ }), /* @__PURE__ */ t("rect", {
282
+ x: "13",
283
+ y: "12",
284
+ width: "6",
285
+ height: "6",
286
+ rx: "1"
287
+ })]
288
+ }), C = () => /* @__PURE__ */ n("svg", {
289
+ ...r,
290
+ "aria-hidden": "true",
291
+ children: [
292
+ /* @__PURE__ */ t("path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z" }),
293
+ /* @__PURE__ */ t("path", { d: "M14 3v5h5" }),
294
+ /* @__PURE__ */ t("path", { d: "M12 18v-6" }),
295
+ /* @__PURE__ */ t("path", { d: "M9.5 14.5 12 12l2.5 2.5" })
296
+ ]
297
+ }), w = () => /* @__PURE__ */ n("svg", {
298
+ ...r,
299
+ "aria-hidden": "true",
300
+ children: [/* @__PURE__ */ t("path", { d: "M22 2 11 13" }), /* @__PURE__ */ t("path", { d: "M22 2 15 22l-4-9-9-4 20-7z" })]
301
+ }), T = () => /* @__PURE__ */ n("svg", {
302
+ ...r,
303
+ "aria-hidden": "true",
304
+ children: [
305
+ /* @__PURE__ */ t("rect", {
306
+ x: "3",
307
+ y: "3",
308
+ width: "12",
309
+ height: "10",
310
+ rx: "1.5"
311
+ }),
312
+ /* @__PURE__ */ t("circle", {
313
+ cx: "6.5",
314
+ cy: "6.5",
315
+ r: "1"
316
+ }),
317
+ /* @__PURE__ */ t("path", { d: "M3 11l3.5-3 3 2.5" }),
318
+ /* @__PURE__ */ t("path", { d: "M19 12v6M16.5 15.5 19 18l2.5-2.5" }),
319
+ /* @__PURE__ */ t("path", {
320
+ d: "M14 21h10",
321
+ opacity: "0.5"
322
+ })
323
+ ]
324
+ }), E = () => /* @__PURE__ */ n("svg", {
325
+ ...r,
326
+ "aria-hidden": "true",
327
+ children: [
328
+ /* @__PURE__ */ t("path", { d: "M13 3H7a2 2 0 0 0-2 2v6" }),
329
+ /* @__PURE__ */ t("path", { d: "M13 3l5 5v3" }),
330
+ /* @__PURE__ */ t("path", { d: "M4.5 14h1.6a1.4 1.4 0 0 1 0 2.8H4.5V14v5" }),
331
+ /* @__PURE__ */ t("path", { d: "M17 14v6M14.5 17.5 17 20l2.5-2.5" }),
332
+ /* @__PURE__ */ t("path", { d: "M10 14v5h1a1.4 1.4 0 0 0 1.4-1.4v-2.2A1.4 1.4 0 0 0 11 14z" })
333
+ ]
334
+ }), D = () => /* @__PURE__ */ n("svg", {
335
+ ...r,
336
+ "aria-hidden": "true",
337
+ children: [
338
+ /* @__PURE__ */ t("rect", {
339
+ x: "3",
340
+ y: "5",
341
+ width: "18",
342
+ height: "14",
343
+ rx: "2"
344
+ }),
345
+ /* @__PURE__ */ t("path", { d: "M6 15V9l3 3 3-3v6" }),
346
+ /* @__PURE__ */ t("path", { d: "M17 9v4m0 0 2-2m-2 2-2-2" })
347
+ ]
348
+ }), O = () => /* @__PURE__ */ n("svg", {
349
+ ...r,
350
+ "aria-hidden": "true",
351
+ children: [
352
+ /* @__PURE__ */ t("path", { d: "M9 4c-1.5 0-2 .6-2 2s.4 2-1 2c1.4 0 1 1 1 2s.5 2 2 2" }),
353
+ /* @__PURE__ */ t("path", { d: "M15 4c1.5 0 2 .6 2 2s-.4 2 1 2c-1.4 0-1 1-1 2s-.5 2-2 2" }),
354
+ /* @__PURE__ */ t("path", { d: "M12 13v6M9 16l3 3 3-3" }),
355
+ /* @__PURE__ */ t("path", {
356
+ d: "M4 20h16",
357
+ opacity: "0.5"
358
+ })
359
+ ]
360
+ }), k = ({ kind: e }) => {
361
+ switch (e) {
362
+ case "front": return /* @__PURE__ */ n("svg", {
363
+ ...r,
364
+ "aria-hidden": "true",
365
+ children: [
366
+ /* @__PURE__ */ t("rect", {
367
+ x: "7",
368
+ y: "7",
369
+ width: "10",
370
+ height: "10",
371
+ rx: "1.5",
372
+ fill: "currentColor",
373
+ stroke: "none"
374
+ }),
375
+ /* @__PURE__ */ t("path", {
376
+ d: "M4 15.5l3 1.7M20 15.5l-3 1.7",
377
+ opacity: "0.5"
378
+ }),
379
+ /* @__PURE__ */ t("path", {
380
+ d: "M4 18.5l8 4.5 8-4.5",
381
+ opacity: "0.5"
382
+ }),
383
+ /* @__PURE__ */ t("path", {
384
+ d: "M12 5V1M9.5 3 12 .8 14.5 3",
385
+ transform: "translate(0 1)"
386
+ })
387
+ ]
388
+ });
389
+ case "up": return /* @__PURE__ */ n("svg", {
390
+ ...r,
391
+ "aria-hidden": "true",
392
+ children: [
393
+ /* @__PURE__ */ t("rect", {
394
+ x: "3",
395
+ y: "12",
396
+ width: "11",
397
+ height: "8",
398
+ rx: "1.5",
399
+ fill: "currentColor",
400
+ stroke: "none",
401
+ opacity: "0.4"
402
+ }),
403
+ /* @__PURE__ */ t("rect", {
404
+ x: "9",
405
+ y: "8",
406
+ width: "11",
407
+ height: "8",
408
+ rx: "1.5",
409
+ fill: "currentColor",
410
+ stroke: "none"
411
+ }),
412
+ /* @__PURE__ */ t("path", { d: "M14.5 5.5V1M12 3l2.5-2.5L17 3" })
413
+ ]
414
+ });
415
+ case "down": return /* @__PURE__ */ n("svg", {
416
+ ...r,
417
+ "aria-hidden": "true",
418
+ children: [
419
+ /* @__PURE__ */ t("rect", {
420
+ x: "9",
421
+ y: "8",
422
+ width: "11",
423
+ height: "8",
424
+ rx: "1.5",
425
+ fill: "currentColor",
426
+ stroke: "none",
427
+ opacity: "0.4"
428
+ }),
429
+ /* @__PURE__ */ t("rect", {
430
+ x: "3",
431
+ y: "12",
432
+ width: "11",
433
+ height: "8",
434
+ rx: "1.5",
435
+ fill: "currentColor",
436
+ stroke: "none"
437
+ }),
438
+ /* @__PURE__ */ t("path", { d: "M14.5 18.5V23M12 20.5l2.5 2.5 2.5-2.5" })
439
+ ]
440
+ });
441
+ default: return /* @__PURE__ */ n("svg", {
442
+ ...r,
443
+ "aria-hidden": "true",
444
+ children: [
445
+ /* @__PURE__ */ t("path", {
446
+ d: "M4 8.5l8-4.5 8 4.5",
447
+ opacity: "0.5"
448
+ }),
449
+ /* @__PURE__ */ t("path", {
450
+ d: "M4 8.5l3 1.7M20 8.5l-3 1.7",
451
+ opacity: "0.5"
452
+ }),
453
+ /* @__PURE__ */ t("rect", {
454
+ x: "7",
455
+ y: "9",
456
+ width: "10",
457
+ height: "10",
458
+ rx: "1.5",
459
+ fill: "currentColor",
460
+ stroke: "none"
461
+ }),
462
+ /* @__PURE__ */ t("path", {
463
+ d: "M12 21v4M9.5 23 12 25.2 14.5 23",
464
+ transform: "translate(0 -1)"
465
+ })
466
+ ]
467
+ });
468
+ }
469
+ }, A = ({ visible: e = !0 }) => /* @__PURE__ */ n("svg", {
470
+ ...r,
471
+ "aria-hidden": "true",
472
+ children: [
473
+ /* @__PURE__ */ t("rect", {
474
+ x: "4",
475
+ y: "5",
476
+ width: "16",
477
+ height: "14",
478
+ rx: "2",
479
+ strokeDasharray: "3 2"
480
+ }),
481
+ /* @__PURE__ */ t("circle", {
482
+ cx: "4",
483
+ cy: "5",
484
+ r: "2",
485
+ fill: "currentColor",
486
+ stroke: "none"
487
+ }),
488
+ e ? /* @__PURE__ */ t("path", { d: "M2 12s3.5-5 10-5 10 5 10 5-3.5 5-10 5S2 12 2 12zM12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" }) : /* @__PURE__ */ t("path", { d: "M3 3l18 18" })
489
+ ]
490
+ }), j = () => /* @__PURE__ */ n("svg", {
491
+ ...r,
492
+ "aria-hidden": "true",
493
+ children: [
494
+ /* @__PURE__ */ t("rect", {
495
+ x: "2",
496
+ y: "4",
497
+ width: "20",
498
+ height: "13",
499
+ rx: "2"
500
+ }),
501
+ /* @__PURE__ */ t("path", {
502
+ d: "M10 8.5l4.5 2.5L10 13.5z",
503
+ fill: "currentColor",
504
+ stroke: "none"
505
+ }),
506
+ /* @__PURE__ */ t("path", { d: "M12 17v3M8 20h8" })
507
+ ]
528
508
  });
529
- export {
530
- L as IconAI,
531
- g as IconAlign,
532
- F as IconAnchorVisible,
533
- J as IconArchify,
534
- o as IconAutoFocus,
535
- l as IconBack,
536
- j as IconExportJson,
537
- P as IconExportMarkdown,
538
- G as IconExportPdf,
539
- E as IconExportPng,
540
- w as IconFitView,
541
- s as IconGeoGroup,
542
- H as IconGrid,
543
- p as IconGroup,
544
- b as IconImport,
545
- f as IconInspector,
546
- V as IconJson,
547
- D as IconLayer,
548
- z as IconMagnet,
549
- C as IconMiniMap,
550
- m as IconOutline,
551
- B as IconPresent,
552
- A as IconPublish,
553
- M as IconRedo,
554
- I as IconShapes,
555
- v as IconUndo,
556
- x as IconUngroup,
557
- y as IconZoomIn,
558
- u as IconZoomOut
559
- };
509
+ //#endregion
510
+ export { y as IconAI, d as IconAlign, A as IconAnchorVisible, i as IconAutoFocus, a as IconBack, O as IconExportJson, D as IconExportMarkdown, E as IconExportPdf, T as IconExportPng, m as IconFitView, l as IconGeoGroup, b as IconGrid, c as IconGroup, C as IconImport, g as IconInspector, v as IconJson, k as IconLayer, x as IconMagnet, S as IconMiniMap, _ as IconOutline, j as IconPresent, w as IconPublish, s as IconRedo, h as IconShapes, o as IconUndo, u as IconUngroup, p as IconZoomIn, f as IconZoomOut };
560
511
 
561
512
  //# sourceMappingURL=toolbarIcons.js.map