@dineug/erd-editor 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -10
- package/dist/components/appContext.d.ts +1 -0
- package/dist/components/customElementRegistry.d.ts +1 -0
- package/dist/components/erd/Erd.d.ts +1 -0
- package/dist/components/erd/Erd.styles.d.ts +1 -0
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.d.ts +16 -0
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.styles.d.ts +1 -0
- package/dist/components/erd/automatic-table-placement/createAutomaticTablePlacement.d.ts +1 -0
- package/dist/components/erd/canvas/Canvas.d.ts +1 -0
- package/dist/components/erd/canvas/Canvas.styles.d.ts +9 -8
- package/dist/components/erd/canvas/CanvasScene.d.ts +1 -0
- package/dist/components/erd/canvas/EditOverlay.d.ts +1 -0
- package/dist/components/erd/canvas/EditOverlay.styles.d.ts +1 -0
- package/dist/components/erd/canvas/SceneIcon.template.d.ts +1 -0
- package/dist/components/erd/canvas/altDragDuplicate.d.ts +1 -0
- package/dist/components/erd/canvas/drag-select/DragSelect.d.ts +1 -0
- package/dist/components/erd/canvas/draw-relationship/DrawRelationship.d.ts +1 -0
- package/dist/components/erd/canvas/duplicate-ghost/DuplicateGhost.d.ts +1 -0
- package/dist/components/erd/canvas/entityDrag.d.ts +6 -3
- package/dist/components/erd/canvas/high-level-table/HighLevelTable.d.ts +1 -0
- package/dist/components/erd/canvas/memo/Memo.d.ts +1 -0
- package/dist/components/erd/canvas/memo/memo-sash/MemoSash.d.ts +1 -0
- package/dist/components/erd/canvas/memo/memoCaret.d.ts +1 -0
- package/dist/components/erd/canvas/memo/memoScroll.d.ts +1 -0
- package/dist/components/erd/canvas/memo/memoText.d.ts +1 -0
- package/dist/components/erd/canvas/memo/useMoveMemo.d.ts +1 -0
- package/dist/components/erd/canvas/relationship-group/RelationshipGroup.d.ts +1 -0
- package/dist/components/erd/canvas/relationship-group/relationship/Relationship.d.ts +1 -0
- package/dist/components/erd/canvas/relationship-group/relationship/Relationship.template.d.ts +1 -0
- package/dist/components/erd/canvas/sceneHit.d.ts +1 -0
- package/dist/components/erd/canvas/sceneKind.d.ts +1 -0
- package/dist/components/erd/canvas/sceneRetention.d.ts +1 -0
- package/dist/components/erd/canvas/sceneTokens.d.ts +1 -0
- package/dist/components/erd/canvas/shared-drag-select/SharedDragSelect.d.ts +1 -0
- package/dist/components/erd/canvas/shared-mouse-tracker/SharedMouseTracker.d.ts +1 -0
- package/dist/components/erd/canvas/shared-mouse-tracker/shared-mouse-cursor/SharedMouseCursor.d.ts +1 -0
- package/dist/components/erd/canvas/table/Table.d.ts +1 -0
- package/dist/components/erd/canvas/table/cellLayout.d.ts +1 -0
- package/dist/components/erd/canvas/table/column/Column.d.ts +1 -0
- package/dist/components/erd/canvas/table/doubleClick.d.ts +1 -0
- package/dist/components/erd/canvas/table/useFocusTable.d.ts +1 -0
- package/dist/components/erd/canvas/table/useMoveTable.d.ts +1 -0
- package/dist/components/erd/canvas/table/useSharedFocusTable.d.ts +1 -0
- package/dist/components/erd/canvas/useMoveEntity.d.ts +1 -0
- package/dist/components/erd/canvas/useSharedSelectEntity.d.ts +1 -0
- package/dist/components/erd/content-compass/ContentCompass.d.ts +10 -0
- package/dist/components/erd/content-compass/ContentCompass.styles.d.ts +3 -0
- package/dist/components/erd/content-compass/compassGeometry.d.ts +24 -0
- package/dist/components/erd/diff-viewer/DiffViewer.d.ts +1 -0
- package/dist/components/erd/diff-viewer/DiffViewer.styles.d.ts +1 -0
- package/dist/components/erd/diff-viewer/diff.d.ts +1 -0
- package/dist/components/erd/diff-viewer/erd-viewer/ErdViewer.d.ts +1 -0
- package/dist/components/erd/diff-viewer/erd-viewer/ErdViewer.styles.d.ts +1 -0
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.d.ts +1 -0
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.styles.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/ErdContextMenu.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/databaseMenus.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/drawRelationshipMenus.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/exportMenus.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/importMenus.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/relationshipMenus.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/showMenus.d.ts +1 -0
- package/dist/components/erd/erdShortcutPerformCheck.d.ts +1 -0
- package/dist/components/erd/floating-toolbar/FloatingToolbar.d.ts +10 -0
- package/dist/components/erd/floating-toolbar/FloatingToolbar.styles.d.ts +4 -0
- package/dist/components/erd/hitTest.d.ts +1 -0
- package/dist/components/erd/minimap/Minimap.d.ts +1 -0
- package/dist/components/erd/minimap/Minimap.styles.d.ts +1 -0
- package/dist/components/erd/minimap/MinimapScene.d.ts +1 -0
- package/dist/components/erd/minimap/memo/Memo.d.ts +6 -3
- package/dist/components/erd/minimap/minimapGeometry.d.ts +82 -34
- package/dist/components/erd/minimap/table/Table.d.ts +6 -3
- package/dist/components/erd/minimap/useMinimapScroll.d.ts +1 -0
- package/dist/components/erd/minimap/viewport/Viewport.d.ts +1 -0
- package/dist/components/erd/minimap/viewport/Viewport.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/TableProperties.d.ts +1 -0
- package/dist/components/erd/table-properties/TableProperties.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/TablePropertiesIndexes.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/TablePropertiesIndexes.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.d.ts +1 -0
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.styles.d.ts +1 -0
- package/dist/components/erd/time-travel/TimeTravel.d.ts +1 -0
- package/dist/components/erd/time-travel/TimeTravel.styles.d.ts +1 -0
- package/dist/components/erd/useErdShortcut.d.ts +1 -0
- package/dist/components/erd/virtual-scroll/VirtualScroll.d.ts +1 -0
- package/dist/components/erd/virtual-scroll/VirtualScroll.styles.d.ts +1 -0
- package/dist/components/erd/virtual-scroll/useVirtualScroll.d.ts +13 -6
- package/dist/components/erd-editor/ErdEditor.d.ts +2 -1
- package/dist/components/erd-editor/ErdEditor.styles.d.ts +1 -0
- package/dist/components/erd-editor/useErdEditorAttachElement.d.ts +1 -0
- package/dist/components/generator-code/GeneratorCode.d.ts +1 -0
- package/dist/components/generator-code/GeneratorCode.styles.d.ts +1 -0
- package/dist/components/generator-code/generator-code-context-menu/GeneratorCodeContextMenu.d.ts +1 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/columnNameCaseMenus.d.ts +1 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/languageMenus.d.ts +1 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/tableNameCaseMenus.d.ts +1 -0
- package/dist/components/global-styles/GlobalStyles.d.ts +1 -0
- package/dist/components/primitives/button/Button.d.ts +1 -0
- package/dist/components/primitives/button/Button.styles.d.ts +1 -0
- package/dist/components/primitives/code-block/CodeBlock.d.ts +1 -0
- package/dist/components/primitives/code-block/CodeBlock.styles.d.ts +1 -0
- package/dist/components/primitives/color-picker/ColorPicker.d.ts +1 -0
- package/dist/components/primitives/color-picker/ColorPicker.styles.d.ts +1 -0
- package/dist/components/primitives/context-menu/ContextMenu.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-content/ContextMenuContent.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-content/ContextMenuContent.styles.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-item/ContextMenuItem.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-item/ContextMenuItem.styles.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-root/ContextMenuRoot.d.ts +1 -0
- package/dist/components/primitives/context-menu/context-menu-root/contextMenuRootContext.d.ts +1 -0
- package/dist/components/primitives/context-menu/menu/Menu.d.ts +1 -0
- package/dist/components/primitives/context-menu/menu/Menu.styles.d.ts +1 -0
- package/dist/components/primitives/edit-input/EditInput.d.ts +1 -0
- package/dist/components/primitives/edit-input/EditInput.styles.d.ts +1 -0
- package/dist/components/primitives/highlighted-text/HighlightedText.d.ts +1 -0
- package/dist/components/primitives/highlighted-text/HighlightedText.styles.d.ts +1 -0
- package/dist/components/primitives/icon/Icon.d.ts +1 -0
- package/dist/components/primitives/icon/Icon.styles.d.ts +1 -0
- package/dist/components/primitives/icon/icons.d.ts +5 -1
- package/dist/components/primitives/kbd/Kbd.d.ts +1 -0
- package/dist/components/primitives/kbd/Kbd.styles.d.ts +1 -0
- package/dist/components/primitives/sash/Sash.d.ts +1 -0
- package/dist/components/primitives/sash/Sash.styles.d.ts +1 -0
- package/dist/components/primitives/separator/Separator.d.ts +1 -0
- package/dist/components/primitives/separator/Separator.styles.d.ts +1 -0
- package/dist/components/primitives/slider/Slider.d.ts +1 -0
- package/dist/components/primitives/slider/Slider.styles.d.ts +1 -0
- package/dist/components/primitives/switch/Switch.d.ts +1 -0
- package/dist/components/primitives/switch/Switch.styles.d.ts +1 -0
- package/dist/components/primitives/text-input/TextInput.d.ts +1 -0
- package/dist/components/primitives/toast/Toast.d.ts +1 -0
- package/dist/components/primitives/toast/Toast.styles.d.ts +1 -0
- package/dist/components/quick-search/QuickSearch.d.ts +1 -0
- package/dist/components/quick-search/QuickSearch.styles.d.ts +1 -0
- package/dist/components/quick-search/actions.d.ts +1 -0
- package/dist/components/schema-sql/SchemaSQL.d.ts +1 -0
- package/dist/components/schema-sql/SchemaSQL.styles.d.ts +1 -0
- package/dist/components/schema-sql/schema-sql-context-menu/SchemaSQLContextMenu.d.ts +1 -0
- package/dist/components/schema-sql/schema-sql-context-menu/menus/bracketMenus.d.ts +1 -0
- package/dist/components/settings/Settings.d.ts +1 -0
- package/dist/components/settings/Settings.styles.d.ts +1 -0
- package/dist/components/settings/settings-lnb/SettingsLnb.d.ts +1 -0
- package/dist/components/settings/settings-lnb/SettingsLnb.styles.d.ts +1 -0
- package/dist/components/settings/shortcuts/Shortcuts.d.ts +1 -0
- package/dist/components/settings/shortcuts/Shortcuts.styles.d.ts +1 -0
- package/dist/components/table-view/Table.styles.d.ts +1 -0
- package/dist/components/table-view/column/Column.styles.d.ts +1 -0
- package/dist/components/table-view/column/column-data-type/ColumnDataType.d.ts +1 -0
- package/dist/components/table-view/column/column-data-type/ColumnDataType.styles.d.ts +1 -0
- package/dist/components/table-view/column/column-key/ColumnKey.d.ts +1 -0
- package/dist/components/table-view/column/column-key/ColumnKey.styles.d.ts +1 -0
- package/dist/components/table-view/column/column-not-null/ColumnNotNull.d.ts +1 -0
- package/dist/components/table-view/column/column-not-null/ColumnNotNull.styles.d.ts +1 -0
- package/dist/components/table-view/column/column-option/ColumnOption.d.ts +1 -0
- package/dist/components/table-view/column/column-option/ColumnOption.styles.d.ts +1 -0
- package/dist/components/table-view/column/useColumnCell.d.ts +1 -0
- package/dist/components/theme/Theme.d.ts +1 -0
- package/dist/components/theme-builder/ThemeBuilder.d.ts +1 -0
- package/dist/components/theme-builder/ThemeBuilder.styles.d.ts +1 -0
- package/dist/components/themeContext.d.ts +1 -0
- package/dist/components/toast-container/ToastContainer.d.ts +1 -0
- package/dist/components/toast-container/ToastContainer.styles.d.ts +1 -0
- package/dist/components/toast-container/openToastWhileRunning.d.ts +1 -0
- package/dist/components/toolbar/Toolbar.d.ts +1 -0
- package/dist/components/toolbar/Toolbar.styles.d.ts +1 -0
- package/dist/components/visualization/Visualization.d.ts +1 -0
- package/dist/components/visualization/Visualization.styles.d.ts +1 -0
- package/dist/components/visualization/VisualizationScene.d.ts +1 -0
- package/dist/components/visualization/createVisualization.d.ts +1 -0
- package/dist/components/visualization/graph-node/GraphNode.d.ts +1 -0
- package/dist/components/visualization/table/Table.d.ts +1 -0
- package/dist/components/visualization/table/column/Column.d.ts +1 -0
- package/dist/components/visualization/table/column/Column.styles.d.ts +1 -0
- package/dist/components/visualization/visualizationView.d.ts +1 -0
- package/dist/constants/language.d.ts +1 -0
- package/dist/constants/layout.d.ts +1 -0
- package/dist/constants/open.d.ts +1 -0
- package/dist/constants/schema.d.ts +1 -0
- package/dist/constants/sql/dataType/Databricks.d.ts +1 -0
- package/dist/constants/sql/dataType/MSSQL.d.ts +1 -0
- package/dist/constants/sql/dataType/MariaDB.d.ts +1 -0
- package/dist/constants/sql/dataType/MySQL.d.ts +1 -0
- package/dist/constants/sql/dataType/Oracle.d.ts +1 -0
- package/dist/constants/sql/dataType/PostgreSQL.d.ts +1 -0
- package/dist/constants/sql/dataType/SQLite.d.ts +1 -0
- package/dist/constants/sql/dataType/Snowflake.d.ts +1 -0
- package/dist/constants/sql/dataType/index.d.ts +1 -0
- package/dist/constants/sql/database.d.ts +1 -0
- package/dist/engine/actions.d.ts +1 -0
- package/dist/engine/clock.d.ts +1 -0
- package/dist/engine/context.d.ts +1 -0
- package/dist/engine/generator.actions.d.ts +1 -0
- package/dist/engine/history.actions.d.ts +1 -0
- package/dist/engine/history.d.ts +1 -0
- package/dist/engine/hooks.d.ts +1 -0
- package/dist/engine/index.d.ts +1 -0
- package/dist/engine/index.js +44 -0
- package/dist/engine/modules/editor/actions.d.ts +9 -0
- package/dist/engine/modules/editor/atom.actions.d.ts +39 -0
- package/dist/engine/modules/editor/generator.actions.d.ts +1 -0
- package/dist/engine/modules/editor/history.d.ts +1 -0
- package/dist/engine/modules/editor/state.d.ts +11 -0
- package/dist/engine/modules/editor/utils/duplicate.d.ts +5 -2
- package/dist/engine/modules/editor/utils/findRelationshipColumn.d.ts +1 -0
- package/dist/engine/modules/editor/utils/focus.d.ts +1 -0
- package/dist/engine/modules/editor/utils/selectRangeColumn.d.ts +1 -0
- package/dist/engine/modules/index/actions.d.ts +1 -0
- package/dist/engine/modules/index/atom.actions.d.ts +1 -0
- package/dist/engine/modules/index/generator.actions.d.ts +1 -0
- package/dist/engine/modules/index/history.d.ts +1 -0
- package/dist/engine/modules/index-column/actions.d.ts +1 -0
- package/dist/engine/modules/index-column/atom.actions.d.ts +1 -0
- package/dist/engine/modules/index-column/generator.actions.d.ts +1 -0
- package/dist/engine/modules/index-column/history.d.ts +1 -0
- package/dist/engine/modules/memo/actions.d.ts +1 -0
- package/dist/engine/modules/memo/atom.actions.d.ts +1 -0
- package/dist/engine/modules/memo/generator.actions.d.ts +1 -0
- package/dist/engine/modules/memo/history.d.ts +1 -0
- package/dist/engine/modules/relationship/actions.d.ts +1 -0
- package/dist/engine/modules/relationship/atom.actions.d.ts +1 -0
- package/dist/engine/modules/relationship/generator.actions.d.ts +1 -0
- package/dist/engine/modules/relationship/history.d.ts +1 -0
- package/dist/engine/modules/relationship/hooks.d.ts +1 -0
- package/dist/engine/modules/settings/actions.d.ts +3 -7
- package/dist/engine/modules/settings/atom.actions.d.ts +39 -49
- package/dist/engine/modules/settings/generator.actions.d.ts +1 -0
- package/dist/engine/modules/settings/history.d.ts +1 -1
- package/dist/engine/modules/settings/scrollRange.d.ts +18 -0
- package/dist/engine/modules/table/actions.d.ts +1 -0
- package/dist/engine/modules/table/atom.actions.d.ts +1 -0
- package/dist/engine/modules/table/generator.actions.d.ts +1 -0
- package/dist/engine/modules/table/history.d.ts +1 -0
- package/dist/engine/modules/table/hooks.d.ts +1 -0
- package/dist/engine/modules/table-column/actions.d.ts +1 -0
- package/dist/engine/modules/table-column/atom.actions.d.ts +1 -0
- package/dist/engine/modules/table-column/generator.actions.d.ts +1 -0
- package/dist/engine/modules/table-column/history.d.ts +1 -0
- package/dist/engine/modules/table-column/hooks.d.ts +1 -0
- package/dist/engine/modules/table-column/utils/dataType.d.ts +1 -0
- package/dist/engine/replication-store.d.ts +1 -0
- package/dist/engine/rx-operators/actionsFilter.d.ts +1 -0
- package/dist/engine/rx-operators/bufferCircuitBreaker.d.ts +1 -0
- package/dist/engine/rx-operators/groupByStreamActions.d.ts +1 -0
- package/dist/engine/rx-operators/ignoreTagFilter.d.ts +1 -0
- package/dist/engine/rx-operators/index.d.ts +1 -0
- package/dist/engine/rx-operators/notEmptyActions.d.ts +1 -0
- package/dist/engine/rx-operators/readonlyIgnoreFilter.d.ts +1 -0
- package/dist/engine/rx-operators/sharedStreamActionsCompressor.d.ts +1 -0
- package/dist/engine/rx-store.d.ts +1 -0
- package/dist/engine/shared-store.d.ts +1 -0
- package/dist/engine/state.d.ts +1 -0
- package/dist/engine/store-hooks.d.ts +1 -0
- package/dist/engine/store.d.ts +1 -0
- package/dist/engine/tag.d.ts +1 -0
- package/dist/erd-editor.umd.js +5259 -0
- package/dist/hooks/useDarkMode.d.ts +1 -0
- package/dist/hooks/useFlipAnimation.d.ts +1 -0
- package/dist/hooks/useKeyBindingMap.d.ts +1 -0
- package/dist/hooks/useUnmounted.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.dev.d.ts +1 -0
- package/dist/index.js +19991 -0
- package/dist/internal-types/index.d.ts +1 -0
- package/dist/konva/batchDraw.d.ts +1 -0
- package/dist/konva/host.d.ts +1 -0
- package/dist/konva/jsx-types.test-d.d.ts +1 -0
- package/dist/konva/scene/columnDropTarget.d.ts +1 -0
- package/dist/konva/scene/contentBounds.d.ts +29 -0
- package/dist/konva/scene/konvaFlip.d.ts +1 -0
- package/dist/konva/scene/metrics.d.ts +1 -0
- package/dist/konva/scene/renderScene.d.ts +1 -0
- package/dist/konva/scene/viewFreeze.d.ts +20 -0
- package/dist/konva/scene/viewport.d.ts +14 -7
- package/dist/konva/testHandle.d.ts +1 -0
- package/dist/konva/theme.d.ts +1 -0
- package/dist/konva/workerDomStubs.d.ts +1 -0
- package/dist/schemaGCService--wGet5O7.js +9636 -0
- package/dist/services/export-png/ExportScene.d.ts +11 -4
- package/dist/services/export-png/documentScene.d.ts +16 -3
- package/dist/services/export-png/exportBox.d.ts +27 -0
- package/dist/services/export-png/exportPng.shared-worker.d.ts +1 -0
- package/dist/services/export-png/exportPngService.d.ts +1 -0
- package/dist/services/export-png/index.d.ts +11 -4
- package/dist/services/export-png/pixelRatio.d.ts +1 -0
- package/dist/services/export-png/renderPng.d.ts +4 -1
- package/dist/services/export-png/textWidth.d.ts +1 -0
- package/dist/services/schema-gc/index.d.ts +6 -3
- package/dist/services/schema-gc/procGC.d.ts +1 -0
- package/dist/services/schema-gc/schemaGC.shared-worker.d.ts +1 -0
- package/dist/services/schema-gc/schemaGCService.d.ts +1 -0
- package/dist/services/shikiService.d.ts +1 -0
- package/dist/styles/colorPicker.style.d.ts +1 -0
- package/dist/styles/fonts.styles.d.ts +1 -0
- package/dist/styles/reset.styles.d.ts +1 -0
- package/dist/styles/scrollbar.styles.d.ts +1 -0
- package/dist/styles/typography.styles.d.ts +1 -0
- package/dist/themes/radix-ui-theme.config.d.ts +1 -0
- package/dist/themes/radix-ui-theme.d.ts +1 -0
- package/dist/themes/tokens.d.ts +1 -0
- package/dist/utils/arrayHas.d.ts +3 -0
- package/dist/utils/attribute.d.ts +1 -0
- package/dist/utils/bit.d.ts +1 -0
- package/dist/utils/calcMemo.d.ts +1 -0
- package/dist/utils/calcTable.d.ts +1 -0
- package/dist/utils/clipboard.d.ts +1 -0
- package/dist/utils/collection/index.entity.d.ts +1 -0
- package/dist/utils/collection/indexColumn.entity.d.ts +1 -0
- package/dist/utils/collection/memo.entity.d.ts +1 -0
- package/dist/utils/collection/relationship.entity.d.ts +1 -0
- package/dist/utils/collection/sequence.d.ts +1 -0
- package/dist/utils/collection/table.entity.d.ts +1 -0
- package/dist/utils/collection/tableColumn.entity.d.ts +1 -0
- package/dist/utils/device-detect/index.d.ts +1 -0
- package/dist/utils/domEvent.d.ts +1 -0
- package/dist/utils/dragSelect.d.ts +1 -8
- package/dist/utils/draw-relationship/calc.d.ts +1 -0
- package/dist/utils/draw-relationship/chamfer.d.ts +1 -0
- package/dist/utils/draw-relationship/draw.d.ts +1 -0
- package/dist/utils/draw-relationship/incremental.d.ts +1 -0
- package/dist/utils/draw-relationship/index.d.ts +1 -0
- package/dist/utils/draw-relationship/nudge.d.ts +1 -0
- package/dist/utils/draw-relationship/pathFinding.d.ts +1 -0
- package/dist/utils/draw-relationship/route.d.ts +1 -0
- package/dist/utils/draw-relationship/sort.d.ts +1 -0
- package/dist/utils/draw-relationship/stub.d.ts +1 -0
- package/dist/utils/emitter.d.ts +1 -0
- package/dist/utils/file/exportFile.d.ts +5 -4
- package/dist/utils/file/importFile.d.ts +1 -0
- package/dist/utils/flipAnimation.d.ts +1 -0
- package/dist/utils/focus.d.ts +1 -0
- package/dist/utils/generator-code/aml.d.ts +1 -0
- package/dist/utils/generator-code/csharp.d.ts +1 -0
- package/dist/utils/generator-code/dbml.d.ts +1 -0
- package/dist/utils/generator-code/drizzle.d.ts +1 -0
- package/dist/utils/generator-code/go.d.ts +1 -0
- package/dist/utils/generator-code/graphql.d.ts +1 -0
- package/dist/utils/generator-code/index.d.ts +1 -0
- package/dist/utils/generator-code/java.d.ts +1 -0
- package/dist/utils/generator-code/jpa.d.ts +1 -0
- package/dist/utils/generator-code/kotlin.d.ts +1 -0
- package/dist/utils/generator-code/scala.d.ts +1 -0
- package/dist/utils/generator-code/sequelize.d.ts +1 -0
- package/dist/utils/generator-code/sqlalchemy.d.ts +1 -0
- package/dist/utils/generator-code/typeorm.d.ts +1 -0
- package/dist/utils/generator-code/typescript.d.ts +1 -0
- package/dist/utils/generator-code/utils.d.ts +1 -0
- package/dist/utils/globalEmitter.d.ts +1 -0
- package/dist/utils/globalEventObservable.d.ts +1 -0
- package/dist/utils/icon.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/internalEvents.d.ts +1 -0
- package/dist/utils/keyboard-shortcut/index.d.ts +10 -1
- package/dist/utils/keyboard-shortcut/utils.d.ts +1 -0
- package/dist/utils/promise.d.ts +1 -0
- package/dist/utils/rx-operators/fromCopy.d.ts +1 -0
- package/dist/utils/rx-operators/fromDraggable.d.ts +1 -0
- package/dist/utils/rx-operators/fromPaste.d.ts +1 -0
- package/dist/utils/rx-operators/fromShadowDraggable.d.ts +1 -0
- package/dist/utils/rx-operators/takeUnsubscribe.d.ts +1 -0
- package/dist/utils/safeCallback.d.ts +5 -0
- package/dist/utils/schema-aml-parser/convert.d.ts +1 -0
- package/dist/utils/schema-aml-parser/dataType.d.ts +1 -0
- package/dist/utils/schema-aml-parser/index.d.ts +1 -0
- package/dist/utils/schema-aml-parser/parser.d.ts +1 -0
- package/dist/utils/schema-aml-parser/tokenizer.d.ts +1 -0
- package/dist/utils/schema-aml-parser/types.d.ts +1 -0
- package/dist/utils/schema-dbml-parser/convert.d.ts +1 -0
- package/dist/utils/schema-dbml-parser/dataType.d.ts +1 -0
- package/dist/utils/schema-dbml-parser/index.d.ts +1 -0
- package/dist/utils/schema-dbml-parser/parser.d.ts +1 -0
- package/dist/utils/schema-dbml-parser/tokenizer.d.ts +1 -0
- package/dist/utils/schema-dbml-parser/types.d.ts +1 -0
- package/dist/utils/schema-graphql-parser/convert.d.ts +1 -0
- package/dist/utils/schema-graphql-parser/dataType.d.ts +1 -0
- package/dist/utils/schema-graphql-parser/index.d.ts +1 -0
- package/dist/utils/schema-graphql-parser/parser.d.ts +1 -0
- package/dist/utils/schema-graphql-parser/types.d.ts +1 -0
- package/dist/utils/schema-sql/Databricks.d.ts +1 -0
- package/dist/utils/schema-sql/MSSQL.d.ts +1 -0
- package/dist/utils/schema-sql/MariaDB.d.ts +1 -0
- package/dist/utils/schema-sql/MySQL.d.ts +1 -0
- package/dist/utils/schema-sql/Oracle.d.ts +1 -0
- package/dist/utils/schema-sql/PostgreSQL.d.ts +1 -0
- package/dist/utils/schema-sql/SQLite.d.ts +1 -0
- package/dist/utils/schema-sql/Snowflake.d.ts +1 -0
- package/dist/utils/schema-sql/index.d.ts +1 -0
- package/dist/utils/schema-sql/utils.d.ts +1 -0
- package/dist/utils/schema-sql-parser/index.d.ts +1 -0
- package/dist/utils/schema-sql-parser/utils.d.ts +1 -0
- package/dist/utils/sharedColor.d.ts +1 -0
- package/dist/utils/table-clipboard/copy.d.ts +15 -2
- package/dist/utils/table-clipboard/index.d.ts +1 -0
- package/dist/utils/table-clipboard/paste.d.ts +1 -0
- package/dist/utils/table-clipboard/payload.d.ts +30 -1
- package/dist/utils/table-clipboard/placement.d.ts +1 -0
- package/dist/utils/text.d.ts +1 -0
- package/dist/utils/validation.d.ts +2 -1
- package/dist/workers/exportPng.shared-worker.js +54 -0
- package/dist/workers/schemaGC.shared-worker.js +1 -0
- package/dist/workers/spawn.d.ts +8 -0
- package/dist/workers/spawn.inline.d.ts +8 -0
- package/package.json +52 -51
- package/dist/components/erd/hide-sign/HideSign.d.ts +0 -6
- package/dist/components/erd/hide-sign/HideSign.styles.d.ts +0 -1
- package/dist/components/erd/hide-sign/hideSignBounds.d.ts +0 -9
- package/dist/components/erd-editor/ErdEditor.stories.d.ts +0 -17
- package/dist/components/primitives/button/Button.stories.d.ts +0 -26
- package/dist/components/primitives/code-block/CodeBlock.stories.d.ts +0 -25
- package/dist/components/primitives/color-picker/ColorPicker.stories.d.ts +0 -26
- package/dist/components/primitives/context-menu/ContextMenu.stories.d.ts +0 -16
- package/dist/components/primitives/edit-input/EditInput.stories.d.ts +0 -36
- package/dist/components/primitives/highlighted-text/HighlightedText.stories.d.ts +0 -23
- package/dist/components/primitives/icon/Icon.stories.d.ts +0 -10
- package/dist/components/primitives/kbd/Kbd.stories.d.ts +0 -17
- package/dist/components/primitives/sash/Sash.stories.d.ts +0 -30
- package/dist/components/primitives/separator/Separator.stories.d.ts +0 -25
- package/dist/components/primitives/slider/Slider.stories.d.ts +0 -23
- package/dist/components/primitives/switch/Switch.stories.d.ts +0 -21
- package/dist/components/primitives/text-input/TextInput.stories.d.ts +0 -41
- package/dist/components/primitives/toast/Toast.stories.d.ts +0 -33
- package/dist/engine.js +0 -42
- package/dist/erd-editor.js +0 -41824
- package/dist/schemaGCService-DrlqIen8.js +0 -17549
- package/dist/themes/textColor.d.ts +0 -2
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { FC } from '@dineug/r-html';
|
|
2
|
-
|
|
2
|
+
import { Rect } from '../../konva/scene/metrics';
|
|
3
|
+
export type ExportSceneProps = {
|
|
4
|
+
/** The scene box the image holds, margin included, in scene units. */
|
|
5
|
+
box: Rect;
|
|
6
|
+
/** What the box is scaled by so a canvas can hold the raster of it. */
|
|
7
|
+
scale: number;
|
|
8
|
+
};
|
|
3
9
|
/**
|
|
4
|
-
*
|
|
5
|
-
* image
|
|
6
|
-
*
|
|
10
|
+
* Everything the document draws on one layer, with no culling. The zoom reaches
|
|
11
|
+
* the image, in the scale the layer is placed at and in the spelling a table is
|
|
12
|
+
* drawn with; the scroll and the viewport do not, so the whole document is held.
|
|
7
13
|
*/
|
|
8
14
|
declare const ExportScene: FC<ExportSceneProps>;
|
|
9
15
|
export default ExportScene;
|
|
16
|
+
//# sourceMappingURL=ExportScene.d.ts.map
|
|
@@ -1,20 +1,33 @@
|
|
|
1
1
|
import { Stage } from 'konva/lib/Stage';
|
|
2
|
+
import { Rect } from '../../konva/scene/metrics';
|
|
2
3
|
import { Theme } from '../../themes/tokens';
|
|
3
4
|
export type DocumentSceneOptions = {
|
|
4
5
|
doc: string;
|
|
5
6
|
theme: Theme;
|
|
6
7
|
toWidth: (text: string) => number;
|
|
8
|
+
/**
|
|
9
|
+
* The zoom to draw at, for a caller whose editor is at one the document does
|
|
10
|
+
* not carry. Left out, the document's own zoom is what the image is drawn at.
|
|
11
|
+
*/
|
|
12
|
+
zoomLevel?: number;
|
|
7
13
|
};
|
|
8
14
|
export type DocumentScene = {
|
|
9
15
|
stage: Stage;
|
|
16
|
+
/** What the Stage holds, in scene units, before it was scaled to fit. */
|
|
17
|
+
box: Rect;
|
|
18
|
+
/** The factor between that box and the Stage the scene was drawn on. */
|
|
19
|
+
scale: number;
|
|
20
|
+
/** The zoom that was asked for, which scale is that cut to what a canvas holds. */
|
|
21
|
+
zoomLevel: number;
|
|
10
22
|
destroy: () => void;
|
|
11
23
|
};
|
|
12
24
|
/**
|
|
13
25
|
* The whole document on a Stage of its own, off any screen. The store is built
|
|
14
|
-
* here rather than borrowed so the editor's scroll
|
|
15
|
-
*
|
|
26
|
+
* here rather than borrowed, so the editor's scroll and selection cannot reach
|
|
27
|
+
* the image and it holds the whole document however it was being looked at.
|
|
16
28
|
*
|
|
17
29
|
* @example
|
|
18
30
|
* const scene = await renderDocumentScene({ doc, theme, toWidth });
|
|
19
31
|
*/
|
|
20
|
-
export declare function renderDocumentScene({ doc, theme, toWidth, }: DocumentSceneOptions): Promise<DocumentScene>;
|
|
32
|
+
export declare function renderDocumentScene({ doc, theme, toWidth, zoomLevel, }: DocumentSceneOptions): Promise<DocumentScene>;
|
|
33
|
+
//# sourceMappingURL=documentScene.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RootState } from '../../engine/state';
|
|
2
|
+
import { Rect } from '../../konva/scene/metrics';
|
|
3
|
+
/**
|
|
4
|
+
* The breathing room around the drawn document, in scene units, and nothing
|
|
5
|
+
* more: a connector measured against a retired sort epoch is already inflated
|
|
6
|
+
* by getRouteBBox itself, and the union below holds that box before this is added.
|
|
7
|
+
*/
|
|
8
|
+
export declare const EXPORT_MARGIN = 80;
|
|
9
|
+
/**
|
|
10
|
+
* Everything the image has to hold: every table and memo, every connector the
|
|
11
|
+
* document is set to show, and the margin around the lot. An empty document is
|
|
12
|
+
* the margin on its own, which is a box a canvas can still hold.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* const box = getExportRect(store.state);
|
|
16
|
+
*/
|
|
17
|
+
export declare function getExportRect(state: RootState): Rect;
|
|
18
|
+
/**
|
|
19
|
+
* What the box is drawn at: the zoom the image was asked for, cut to whatever a
|
|
20
|
+
* canvas can hold. A document is unbounded now, so this is what keeps the Stage
|
|
21
|
+
* itself inside the ceiling that fitPixelRatio keeps the raster inside.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* const scale = getExportScale(getExportRect(store.state), settings.zoomLevel);
|
|
25
|
+
*/
|
|
26
|
+
export declare function getExportScale({ width, height }: Rect, zoomLevel?: number): number;
|
|
27
|
+
//# sourceMappingURL=exportBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=exportPng.shared-worker.d.ts.map
|
|
@@ -28,6 +28,12 @@ export type DocumentPngOptions = {
|
|
|
28
28
|
*/
|
|
29
29
|
toWidth: ToWidth;
|
|
30
30
|
pixelRatio?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The zoom the image is drawn at, which is the editor's own rather than the
|
|
33
|
+
* document's whenever the author asked for the zoom not to be saved. Left
|
|
34
|
+
* out, the image is drawn at the zoom the document carries.
|
|
35
|
+
*/
|
|
36
|
+
zoomLevel?: number;
|
|
31
37
|
/**
|
|
32
38
|
* Called once, after a file exists, when the box outran what a canvas holds
|
|
33
39
|
* and the image had to be scaled down. A caller with somewhere to put it is
|
|
@@ -38,11 +44,12 @@ export type DocumentPngOptions = {
|
|
|
38
44
|
onProgress?: (progress: ExportPngProgress) => void;
|
|
39
45
|
};
|
|
40
46
|
/**
|
|
41
|
-
* A png of the
|
|
42
|
-
*
|
|
43
|
-
*
|
|
47
|
+
* A png of everything the document draws, at the zoom it is being read at. The
|
|
48
|
+
* scene is drawn again from the document rather than read off the screen, so
|
|
49
|
+
* the image holds the whole document however far it was scrolled away.
|
|
44
50
|
*
|
|
45
51
|
* @example
|
|
46
52
|
* const blob = await createDocumentPng({ doc: toJson(store.state), theme, toWidth });
|
|
47
53
|
*/
|
|
48
|
-
export declare function createDocumentPng({ doc, theme, toWidth, pixelRatio, onResolutionReduced, onProgress, }: DocumentPngOptions): Promise<Blob>;
|
|
54
|
+
export declare function createDocumentPng({ doc, theme, toWidth, pixelRatio, zoomLevel, onResolutionReduced, onProgress, }: DocumentPngOptions): Promise<Blob>;
|
|
55
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,6 +12,8 @@ export type RenderPngRequest = {
|
|
|
12
12
|
doc: string;
|
|
13
13
|
theme: Theme;
|
|
14
14
|
pixelRatio: number;
|
|
15
|
+
/** The zoom to draw at; the document's own when the caller names none. */
|
|
16
|
+
zoomLevel?: number;
|
|
15
17
|
};
|
|
16
18
|
export type RenderPngResult = {
|
|
17
19
|
blob: Blob;
|
|
@@ -32,6 +34,7 @@ export type RenderPngResult = {
|
|
|
32
34
|
* @example
|
|
33
35
|
* const { blob } = await renderDocumentPng({ doc, theme, pixelRatio: 1, toWidth });
|
|
34
36
|
*/
|
|
35
|
-
export declare function renderDocumentPng({ doc, theme, pixelRatio, toWidth, }: RenderPngRequest & {
|
|
37
|
+
export declare function renderDocumentPng({ doc, theme, pixelRatio, zoomLevel, toWidth, }: RenderPngRequest & {
|
|
36
38
|
toWidth: ToWidth;
|
|
37
39
|
}): Promise<RenderPngResult>;
|
|
40
|
+
//# sourceMappingURL=renderPng.d.ts.map
|
|
@@ -25,3 +25,4 @@ export declare function createOffscreenToWidth(): ToWidth | null;
|
|
|
25
25
|
export declare function measureFontProbe(toWidth: ToWidth): number[];
|
|
26
26
|
/** Whether two realms lay the probe strings out to the same pixel. */
|
|
27
27
|
export declare function sameFontProbe(a: number[], b: number[]): boolean;
|
|
28
|
+
//# sourceMappingURL=textWidth.d.ts.map
|
|
@@ -7,9 +7,12 @@ export type GCIds = {
|
|
|
7
7
|
indexColumnIds: string[];
|
|
8
8
|
memoIds: string[];
|
|
9
9
|
};
|
|
10
|
+
/** What a caller gets: the collector's one method, wherever it runs. */
|
|
11
|
+
export type SchemaGCRunner = Pick<SchemaGCService, 'run'>;
|
|
10
12
|
/**
|
|
11
13
|
* Runs the collector off the main thread where a host builds a shared worker.
|
|
12
|
-
* There is no dedicated Worker rung between the two, because
|
|
13
|
-
*
|
|
14
|
+
* There is no dedicated Worker rung between the two, because a second worker
|
|
15
|
+
* file is a second copy of this whole service for the consumer to ship.
|
|
14
16
|
*/
|
|
15
|
-
export declare function getSchemaGCService():
|
|
17
|
+
export declare function getSchemaGCService(): SchemaGCRunner | null;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ERDEditorSchemaV3 } from '@dineug/erd-editor-schema';
|
|
2
2
|
import { GCIds } from '.';
|
|
3
3
|
export declare function procGC({ collections }: ERDEditorSchemaV3, { tableIds, tableColumnIds, relationshipIds, indexIds, indexColumnIds, memoIds, }: GCIds): void;
|
|
4
|
+
//# sourceMappingURL=procGC.d.ts.map
|
|
@@ -2,3 +2,4 @@ export declare const TextFontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe
|
|
|
2
2
|
export declare const CodeFontFamily: "'Menlo', 'Consolas', 'Bitstream Vera Sans Mono', monospace, 'Apple Color Emoji', 'Segoe UI Emoji'";
|
|
3
3
|
/** Global, not scoped: :host is the shadow host, which no component class matches. */
|
|
4
4
|
export declare const fontsStyle: import('@dineug/r-html').CSSTemplateLiterals;
|
|
5
|
+
//# sourceMappingURL=fonts.styles.d.ts.map
|
package/dist/themes/tokens.d.ts
CHANGED
|
@@ -71,3 +71,4 @@ export declare const toThemeVariableName: (token: string) => string;
|
|
|
71
71
|
/** The custom property a host document overrides that token through. */
|
|
72
72
|
export declare const toThemeOverrideVariableName: (token: string) => string;
|
|
73
73
|
export declare const themeToTokensString: (theme: Theme) => string;
|
|
74
|
+
//# sourceMappingURL=tokens.d.ts.map
|
package/dist/utils/bit.d.ts
CHANGED
package/dist/utils/calcMemo.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export type ColumnWidth = {
|
|
|
21
21
|
};
|
|
22
22
|
export declare function calcTableHeight(table: Table): number;
|
|
23
23
|
export declare function recalculateTableWidth({ doc: { tableIds }, collections }: RootState, { toWidth }: EngineContext): void;
|
|
24
|
+
//# sourceMappingURL=calcTable.d.ts.map
|
package/dist/utils/domEvent.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export declare function onStop(event: Event): void;
|
|
|
4
4
|
export declare function onStopImmediate(event: Event): void;
|
|
5
5
|
export declare function isMouseEvent(event: Event): event is MouseEvent;
|
|
6
6
|
export declare function isTouchEvent(event: Event): event is TouchEvent;
|
|
7
|
+
//# sourceMappingURL=domEvent.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Point } from '../internal-types';
|
|
2
1
|
type PointToPoint = {
|
|
3
2
|
x1: number;
|
|
4
3
|
y1: number;
|
|
@@ -13,11 +12,5 @@ export type Rect = {
|
|
|
13
12
|
};
|
|
14
13
|
export declare function isOverlapPosition(dragRect: Rect, rect: Rect): boolean;
|
|
15
14
|
export declare function getOverlapPosition(dragRect: Rect, rect: Rect): PointToPoint | null;
|
|
16
|
-
export declare function getZoomViewport(width: number, height: number, zoomLevel: number): Rect;
|
|
17
|
-
export declare const getAbsolutePosition: (overlapPosition: PointToPoint, zoomViewport: Rect, zoomLevel: number) => PointToPoint;
|
|
18
|
-
export declare function getAbsoluteZoomPoint({ x, y }: Point, width: number, height: number, zoomLevel: number): {
|
|
19
|
-
x: number;
|
|
20
|
-
y: number;
|
|
21
|
-
};
|
|
22
|
-
export declare function getAbsolutePoint(point: Point, width: number, height: number, zoomLevel: number): Point;
|
|
23
15
|
export {};
|
|
16
|
+
//# sourceMappingURL=dragSelect.d.ts.map
|
|
@@ -4,3 +4,4 @@ import { ObjectPoint } from '.';
|
|
|
4
4
|
export declare function tableToObjectPoint(state: RootState, table: Table): ObjectPoint;
|
|
5
5
|
export declare function euclideanDistance(a: Point, b: Point): number;
|
|
6
6
|
export declare function manhattanDistance(a: Point, b: Point): number;
|
|
7
|
+
//# sourceMappingURL=calc.d.ts.map
|
|
@@ -170,3 +170,4 @@ export declare function nextSortEpoch(): void;
|
|
|
170
170
|
* route from this sort the stub ends are unknown, so the padding carries them.
|
|
171
171
|
*/
|
|
172
172
|
export declare function getRouteBBox(relationship: Relationship, strokeWidth?: number): BBox;
|
|
173
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { Point } from '../../internal-types';
|
|
|
2
2
|
import { NudgeMemo } from './incremental';
|
|
3
3
|
import { Obstacles } from './route';
|
|
4
4
|
export declare function nudgeRoutes(routes: Map<string, Point[]>, obstacles: Obstacles, endpoints: Map<string, [string, string]>, memo?: NudgeMemo): void;
|
|
5
|
+
//# sourceMappingURL=nudge.d.ts.map
|
|
@@ -25,3 +25,4 @@ export declare function countBlocked(points: Point[], obstacles: Obstacles, skip
|
|
|
25
25
|
* nothing is feasible — a connector always has to be drawn.
|
|
26
26
|
*/
|
|
27
27
|
export declare function routeOrthogonal(m: Point, mDirection: number, l: Point, lDirection: number, obstacles: Obstacles, skipA: string, skipB: string): Point[];
|
|
28
|
+
//# sourceMappingURL=route.d.ts.map
|
package/dist/utils/emitter.d.ts
CHANGED
|
@@ -7,12 +7,13 @@ export declare function setExportFileCallback(callback: ExportFileCallback | nul
|
|
|
7
7
|
export declare function exportJSON(json: string, name?: string): void;
|
|
8
8
|
export declare function exportSchemaSQL(sql: string, name?: string): void;
|
|
9
9
|
/**
|
|
10
|
-
* Writes the whole document out as an image
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* Writes the whole document out as an image, at the zoom the author is reading
|
|
11
|
+
* it at. The scene is rendered again off screen rather than captured, so the
|
|
12
|
+
* file holds the whole document however far it was scrolled away from.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* exportPNG({ doc: toJson(store.state), theme, toWidth }, databaseName);
|
|
15
|
+
* exportPNG({ doc: toJson(store.state), theme, toWidth, zoomLevel }, databaseName);
|
|
16
16
|
*/
|
|
17
17
|
export declare function exportPNG(options: DocumentPngOptions, name?: string): Promise<void>;
|
|
18
18
|
export {};
|
|
19
|
+
//# sourceMappingURL=exportFile.d.ts.map
|
|
@@ -13,3 +13,4 @@ export declare function importDBML({ store, emitter }: AppContext): void;
|
|
|
13
13
|
export declare function importAML({ store, emitter }: AppContext): void;
|
|
14
14
|
export declare function importDiffJSON({ emitter }: AppContext): void;
|
|
15
15
|
export {};
|
|
16
|
+
//# sourceMappingURL=importFile.d.ts.map
|
package/dist/utils/focus.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export declare function isEdit(focusTable: FocusTable | null, focusType: FocusTy
|
|
|
5
5
|
export declare function lastCursorFocus(input: HTMLInputElement | HTMLTextAreaElement): void;
|
|
6
6
|
export declare const toSharedFocus: (focusTable: FocusTable | null) => SharedFocus | null;
|
|
7
7
|
export declare const toSharedFocusKey: (focus: SharedFocus | null) => string;
|
|
8
|
+
//# sourceMappingURL=focus.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=aml.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=csharp.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=dbml.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=drizzle.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=go.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { Table } from '../../internal-types';
|
|
3
3
|
export declare function createGeneratorCode(state: RootState): string;
|
|
4
4
|
export declare function createGeneratorCodeTable(state: RootState, table: Table): string;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=java.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=jpa.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=kotlin.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=scala.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=sequelize.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=sqlalchemy.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=typeorm.d.ts.map
|
|
@@ -2,3 +2,4 @@ import { RootState } from '../../engine/state';
|
|
|
2
2
|
import { FormatTableOptions } from './utils';
|
|
3
3
|
export declare function createCode(state: RootState): string;
|
|
4
4
|
export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void;
|
|
5
|
+
//# sourceMappingURL=typescript.d.ts.map
|
|
@@ -17,3 +17,4 @@ export declare const hasNRelationship: (value: number) => boolean;
|
|
|
17
17
|
export declare function getPrimitiveType(dataType: string, database: number): PrimitiveType;
|
|
18
18
|
export declare function getDataTypeHints(database: number): DataTypeHint[];
|
|
19
19
|
export declare function getNameCase(name: string, nameCase: number): string;
|
|
20
|
+
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils/icon.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ import { IconNode } from 'lucide';
|
|
|
7
7
|
export declare function toCursorImage(node: IconNode, isDarkMode: boolean): string;
|
|
8
8
|
/** The draw-relationship cursor for a relationship type, or null for a type with no glyph. */
|
|
9
9
|
export declare function getRelationshipIcon(relationshipType: number, isDarkMode: boolean): string | null;
|
|
10
|
+
//# sourceMappingURL=icon.d.ts.map
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EntityMeta, Memo, Point, Settings, Table } from '../internal-types';
|
|
2
2
|
export declare const nextZIndex: (tables: Table[], memos: Memo[]) => number;
|
|
3
|
-
export declare function nextPoint(
|
|
3
|
+
export declare function nextPoint(settings: Settings, tables: Table[], memos: Memo[]): Point;
|
|
4
4
|
export declare const toList: <T>(ids: string[], entities: Record<string, T>) => Array<T>;
|
|
5
5
|
export declare function getDefaultEntityMeta(): EntityMeta;
|
|
6
6
|
export declare function safeRange(a: number, b: number): number[];
|
|
7
7
|
export declare function pascalCase(value?: string): string;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|