@dineug/erd-editor 3.5.0 → 3.7.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 +51 -23
- 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 +21 -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/automatic-table-placement/runElkPlacement.d.ts +12 -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/erd-context-menu/menus/tablePlacementMenus.d.ts +24 -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 +3 -2
- 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 +9 -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/constants/tablePlacement.d.ts +15 -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 -1
- package/dist/index.dev.d.ts +1 -1
- package/dist/index.js +20210 -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/elk-layout/elkGraph.d.ts +44 -0
- package/dist/services/elk-layout/elkLayout.shared-worker.d.ts +2 -0
- package/dist/services/elk-layout/elkLayoutOptions.d.ts +25 -0
- package/dist/services/elk-layout/elkLayoutService.d.ts +21 -0
- package/dist/services/elk-layout/elkWorkerRealm.d.ts +2 -0
- package/dist/services/elk-layout/index.d.ts +13 -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/shiki/index.d.ts +10 -0
- package/dist/services/shiki/shiki.shared-worker.d.ts +2 -0
- package/dist/services/shiki/shikiService.d.ts +18 -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 +7 -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 +15 -7
- 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 +7 -1
- 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 +7 -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/elkLayout.shared-worker.js +1 -0
- package/dist/workers/exportPng.shared-worker.js +54 -0
- package/dist/workers/schemaGC.shared-worker.js +1 -0
- package/dist/workers/shiki.shared-worker.js +1 -0
- package/dist/workers/spawn.d.ts +10 -0
- package/dist/workers/spawn.inline.d.ts +10 -0
- package/package.json +55 -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/services/shikiService.d.ts +0 -8
- package/dist/themes/textColor.d.ts +0 -2
|
@@ -208,6 +208,24 @@ export declare const changeOpenMapAction: {
|
|
|
208
208
|
toString(): string;
|
|
209
209
|
type: string;
|
|
210
210
|
};
|
|
211
|
+
export declare const changeHandToolAction: {
|
|
212
|
+
(payload: {
|
|
213
|
+
value: boolean;
|
|
214
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
215
|
+
value: boolean;
|
|
216
|
+
}>;
|
|
217
|
+
toString(): string;
|
|
218
|
+
type: string;
|
|
219
|
+
};
|
|
220
|
+
export declare const changeZenModeAction: {
|
|
221
|
+
(payload: {
|
|
222
|
+
value: boolean;
|
|
223
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
224
|
+
value: boolean;
|
|
225
|
+
}>;
|
|
226
|
+
toString(): string;
|
|
227
|
+
type: string;
|
|
228
|
+
};
|
|
211
229
|
export declare const dragstartColumnAction: {
|
|
212
230
|
(payload: {
|
|
213
231
|
tableId: string;
|
|
@@ -317,6 +335,8 @@ export declare const editorReducers: {
|
|
|
317
335
|
"editor.hoverColumnMap": ReducerType<"editor.hoverColumnMap">;
|
|
318
336
|
"editor.hoverRelationshipMap": ReducerType<"editor.hoverRelationshipMap">;
|
|
319
337
|
"editor.changeOpenMap": ReducerType<"editor.changeOpenMap">;
|
|
338
|
+
"editor.changeHandTool": ReducerType<"editor.changeHandTool">;
|
|
339
|
+
"editor.changeZenMode": ReducerType<"editor.changeZenMode">;
|
|
320
340
|
"editor.dragstartColumn": ReducerType<"editor.dragstartColumn">;
|
|
321
341
|
"editor.dragendColumn": ReducerType<"editor.dragendColumn">;
|
|
322
342
|
"editor.sharedMouseTracker": ReducerType<"editor.sharedMouseTracker">;
|
|
@@ -535,6 +555,24 @@ export declare const actions: {
|
|
|
535
555
|
toString(): string;
|
|
536
556
|
type: string;
|
|
537
557
|
};
|
|
558
|
+
changeHandToolAction: {
|
|
559
|
+
(payload: {
|
|
560
|
+
value: boolean;
|
|
561
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
562
|
+
value: boolean;
|
|
563
|
+
}>;
|
|
564
|
+
toString(): string;
|
|
565
|
+
type: string;
|
|
566
|
+
};
|
|
567
|
+
changeZenModeAction: {
|
|
568
|
+
(payload: {
|
|
569
|
+
value: boolean;
|
|
570
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
571
|
+
value: boolean;
|
|
572
|
+
}>;
|
|
573
|
+
toString(): string;
|
|
574
|
+
type: string;
|
|
575
|
+
};
|
|
538
576
|
dragstartColumnAction: {
|
|
539
577
|
(payload: {
|
|
540
578
|
tableId: string;
|
|
@@ -618,3 +656,4 @@ export declare const actions: {
|
|
|
618
656
|
type: string;
|
|
619
657
|
};
|
|
620
658
|
};
|
|
659
|
+
//# sourceMappingURL=atom.actions.d.ts.map
|
|
@@ -6,6 +6,12 @@ export type Editor = {
|
|
|
6
6
|
hasUndo: boolean;
|
|
7
7
|
hasRedo: boolean;
|
|
8
8
|
viewport: Viewport;
|
|
9
|
+
/**
|
|
10
|
+
* Whether a loaded origin still waits to be pulled into the content's travel
|
|
11
|
+
* because the host had not measured a screen when the document arrived. The
|
|
12
|
+
* first changeViewport that reports one applies the pull and clears this.
|
|
13
|
+
*/
|
|
14
|
+
scrollPullPending: boolean;
|
|
9
15
|
focusTable: FocusTable | null;
|
|
10
16
|
/** The memo whose body an overlay editor is open on, and null while none is. */
|
|
11
17
|
editMemoId: string | null;
|
|
@@ -19,6 +25,10 @@ export type Editor = {
|
|
|
19
25
|
hoverColumnMap: Record<string, boolean>;
|
|
20
26
|
hoverRelationshipMap: Record<string, boolean>;
|
|
21
27
|
openMap: Record<string, boolean>;
|
|
28
|
+
/** Whether the pointer pans the canvas instead of reaching the scene under it. */
|
|
29
|
+
handTool: boolean;
|
|
30
|
+
/** Whether the editor is drawn without its scrollbars, its map and its toolbar. */
|
|
31
|
+
zenMode: boolean;
|
|
22
32
|
draggableColumn: DraggableColumn | null;
|
|
23
33
|
draggingColumnMap: Record<string, boolean>;
|
|
24
34
|
sharedMouseTrackerMap: Record<string, SharedMouseTracker>;
|
|
@@ -114,3 +124,4 @@ export declare const isEditingMemo: ({ editMemoId }: Editor) => boolean;
|
|
|
114
124
|
*/
|
|
115
125
|
export declare const isEditingText: (editor: Editor) => boolean;
|
|
116
126
|
export declare const createEditor: () => Editor;
|
|
127
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { AnyAction } from '@dineug/r-html';
|
|
2
|
-
import { ClipboardColumn, ClipboardMemo, ClipboardTable, PlacementPoint } from '../../../../utils/table-clipboard';
|
|
2
|
+
import { ClipboardColumn, ClipboardIndex, ClipboardMemo, ClipboardRelationship, ClipboardTable, PlacementPoint } from '../../../../utils/table-clipboard';
|
|
3
3
|
export type CreateEntityInput = {
|
|
4
4
|
tables: ClipboardTable[];
|
|
5
5
|
columns: ClipboardColumn[];
|
|
6
6
|
memos: ClipboardMemo[];
|
|
7
|
+
relationships: ClipboardRelationship[];
|
|
8
|
+
indexes: ClipboardIndex[];
|
|
7
9
|
};
|
|
8
10
|
export type CreateEntityActions = {
|
|
9
11
|
actions: AnyAction[];
|
|
10
12
|
tableIds: string[];
|
|
11
13
|
memoIds: string[];
|
|
12
14
|
};
|
|
13
|
-
export declare function toCreateEntityActions({ tables, columns, memos }: CreateEntityInput, placement: Map<string, PlacementPoint>): CreateEntityActions;
|
|
15
|
+
export declare function toCreateEntityActions({ tables, columns, memos, relationships, indexes }: CreateEntityInput, placement: Map<string, PlacementPoint>): CreateEntityActions;
|
|
16
|
+
//# sourceMappingURL=duplicate.d.ts.map
|
|
@@ -13,3 +13,4 @@ export declare function arrowDown(state: RootState, payload: Payload): void;
|
|
|
13
13
|
export declare function arrowLeft(state: RootState, payload: Payload): void;
|
|
14
14
|
export declare function arrowRight(state: RootState, payload: Payload): void;
|
|
15
15
|
export {};
|
|
16
|
+
//# sourceMappingURL=focus.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function appendSelectColumns(columnIds: string[], columnId: string): string[];
|
|
2
2
|
export declare function selectRangeColumns(columnIds: string[], fromColumnId: string | null, toColumnId: string): string[];
|
|
3
3
|
export declare function appendSelectRangeColumns(columnIds: string[], selectColumnIds: string[], fromColumnId: string | null, toColumnId: string): string[];
|
|
4
|
+
//# sourceMappingURL=selectRangeColumn.d.ts.map
|
|
@@ -4,7 +4,6 @@ import { RootState } from '../../state';
|
|
|
4
4
|
import { ValuesType } from '../../../internal-types';
|
|
5
5
|
export declare const ActionType: {
|
|
6
6
|
readonly changeDatabaseName: "settings.changeDatabaseName";
|
|
7
|
-
readonly resize: "settings.resize";
|
|
8
7
|
readonly changeZoomLevel: "settings.changeZoomLevel";
|
|
9
8
|
readonly streamZoomLevel: "settings.streamZoomLevel";
|
|
10
9
|
readonly scrollTo: "settings.scrollTo";
|
|
@@ -27,10 +26,6 @@ export type ActionMap = {
|
|
|
27
26
|
[ActionType.changeDatabaseName]: {
|
|
28
27
|
value: string;
|
|
29
28
|
};
|
|
30
|
-
[ActionType.resize]: {
|
|
31
|
-
width: number;
|
|
32
|
-
height: number;
|
|
33
|
-
};
|
|
34
29
|
[ActionType.changeZoomLevel]: {
|
|
35
30
|
value: number;
|
|
36
31
|
};
|
|
@@ -38,8 +33,8 @@ export type ActionMap = {
|
|
|
38
33
|
value: number;
|
|
39
34
|
};
|
|
40
35
|
[ActionType.scrollTo]: {
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
originX: number;
|
|
37
|
+
originY: number;
|
|
43
38
|
};
|
|
44
39
|
[ActionType.streamScrollTo]: {
|
|
45
40
|
movementX: number;
|
|
@@ -86,3 +81,4 @@ export type ActionMap = {
|
|
|
86
81
|
};
|
|
87
82
|
};
|
|
88
83
|
export type ReducerType<T extends keyof ActionMap> = Reducer<RootState, T, ActionMap, EngineContext>;
|
|
84
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Viewport } from '../editor/state';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { RootState } from '../../state';
|
|
3
|
+
import { Point } from '../../../internal-types';
|
|
4
|
+
import { ActionMap, ActionType, ReducerType } from './actions';
|
|
5
|
+
import { ScrollRange } from './scrollRange';
|
|
6
|
+
export type { ScrollRange } from './scrollRange';
|
|
4
7
|
export declare const changeDatabaseNameAction: {
|
|
5
8
|
(payload: {
|
|
6
9
|
value: string;
|
|
@@ -10,17 +13,6 @@ export declare const changeDatabaseNameAction: {
|
|
|
10
13
|
toString(): string;
|
|
11
14
|
type: string;
|
|
12
15
|
};
|
|
13
|
-
export declare const resizeAction: {
|
|
14
|
-
(payload: {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
}): import('@dineug/r-html').AnyAction<{
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
}>;
|
|
21
|
-
toString(): string;
|
|
22
|
-
type: string;
|
|
23
|
-
};
|
|
24
16
|
export declare const changeZoomLevelAction: {
|
|
25
17
|
(payload: {
|
|
26
18
|
value: number;
|
|
@@ -39,35 +31,44 @@ export declare const streamZoomLevelAction: {
|
|
|
39
31
|
toString(): string;
|
|
40
32
|
type: string;
|
|
41
33
|
};
|
|
42
|
-
/** How far the scroll may travel on one axis, measured in screen pixels. */
|
|
43
|
-
export type ScrollRange = {
|
|
44
|
-
min: number;
|
|
45
|
-
max: number;
|
|
46
|
-
};
|
|
47
34
|
export type ScrollRanges = {
|
|
48
35
|
left: ScrollRange;
|
|
49
36
|
top: ScrollRange;
|
|
50
37
|
};
|
|
51
|
-
/**
|
|
52
|
-
export
|
|
38
|
+
/** Whether the host has measured a screen; a hidden one and a headless replica report none. */
|
|
39
|
+
export declare const hasViewport: ({ width, height }: Viewport) => boolean;
|
|
53
40
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
41
|
+
* The travel the content alone allows on each axis: from the content's far
|
|
42
|
+
* edge meeting the near edge of the screen to its near edge meeting the far
|
|
43
|
+
* one. An empty document and an unmeasured screen have no travel to offer.
|
|
57
44
|
*/
|
|
58
|
-
export declare function
|
|
59
|
-
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
45
|
+
export declare function getContentScrollRanges(state: RootState): ScrollRanges;
|
|
46
|
+
/**
|
|
47
|
+
* The origin a load settles on: kept where the file put it while any of the
|
|
48
|
+
* content is drawn there, else pulled to where a screen's worth of it, or all
|
|
49
|
+
* of it, is. An empty document and an unmeasured screen leave it as it is.
|
|
50
|
+
*/
|
|
51
|
+
export declare function getOpeningOrigin(state: RootState): Point;
|
|
52
|
+
/**
|
|
53
|
+
* The travel every aid is drawn from and the two drags are gated by: the
|
|
54
|
+
* content's own range widened to hold the origin where it stands and, while a
|
|
55
|
+
* drag holds the view, the origin it started from, so it never shifts under the drag.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getScrollRanges(state: RootState): ScrollRanges;
|
|
58
|
+
export type ScrollMovement = ActionMap[typeof ActionType.streamScrollTo];
|
|
59
|
+
/**
|
|
60
|
+
* The step of a thumb or handle drag cut to the hull it is drawn over, so the
|
|
61
|
+
* origin lands on the end of the travel rather than a step past it. An
|
|
62
|
+
* unmeasured screen has no travel to cut against and hands the step back as it is.
|
|
63
|
+
*/
|
|
64
|
+
export declare function clampScrollMovement(state: RootState, { movementX, movementY }: ScrollMovement): ScrollMovement;
|
|
64
65
|
export declare const scrollToAction: {
|
|
65
66
|
(payload: {
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
originX: number;
|
|
68
|
+
originY: number;
|
|
68
69
|
}): import('@dineug/r-html').AnyAction<{
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
originX: number;
|
|
71
|
+
originY: number;
|
|
71
72
|
}>;
|
|
72
73
|
toString(): string;
|
|
73
74
|
type: string;
|
|
@@ -199,7 +200,6 @@ export declare const changeIgnoreSaveSettingsAction: {
|
|
|
199
200
|
};
|
|
200
201
|
export declare const settingsReducers: {
|
|
201
202
|
"settings.changeDatabaseName": ReducerType<"settings.changeDatabaseName">;
|
|
202
|
-
"settings.resize": ReducerType<"settings.resize">;
|
|
203
203
|
"settings.changeZoomLevel": ReducerType<"settings.changeZoomLevel">;
|
|
204
204
|
"settings.streamZoomLevel": ReducerType<"settings.streamZoomLevel">;
|
|
205
205
|
"settings.scrollTo": ReducerType<"settings.scrollTo">;
|
|
@@ -227,17 +227,6 @@ export declare const actions: {
|
|
|
227
227
|
toString(): string;
|
|
228
228
|
type: string;
|
|
229
229
|
};
|
|
230
|
-
resizeAction: {
|
|
231
|
-
(payload: {
|
|
232
|
-
width: number;
|
|
233
|
-
height: number;
|
|
234
|
-
}): import('@dineug/r-html').AnyAction<{
|
|
235
|
-
width: number;
|
|
236
|
-
height: number;
|
|
237
|
-
}>;
|
|
238
|
-
toString(): string;
|
|
239
|
-
type: string;
|
|
240
|
-
};
|
|
241
230
|
changeZoomLevelAction: {
|
|
242
231
|
(payload: {
|
|
243
232
|
value: number;
|
|
@@ -258,11 +247,11 @@ export declare const actions: {
|
|
|
258
247
|
};
|
|
259
248
|
scrollToAction: {
|
|
260
249
|
(payload: {
|
|
261
|
-
|
|
262
|
-
|
|
250
|
+
originX: number;
|
|
251
|
+
originY: number;
|
|
263
252
|
}): import('@dineug/r-html').AnyAction<{
|
|
264
|
-
|
|
265
|
-
|
|
253
|
+
originX: number;
|
|
254
|
+
originY: number;
|
|
266
255
|
}>;
|
|
267
256
|
toString(): string;
|
|
268
257
|
type: string;
|
|
@@ -393,3 +382,4 @@ export declare const actions: {
|
|
|
393
382
|
type: string;
|
|
394
383
|
};
|
|
395
384
|
};
|
|
385
|
+
//# sourceMappingURL=atom.actions.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PushStreamHistory, PushUndoHistory } from '../../history.actions';
|
|
2
2
|
export declare const settingsPushUndoHistoryMap: {
|
|
3
|
-
"settings.resize": PushUndoHistory;
|
|
4
3
|
"settings.scrollTo": PushUndoHistory;
|
|
5
4
|
"settings.changeShow": PushUndoHistory;
|
|
6
5
|
"settings.changeZoomLevel": PushUndoHistory;
|
|
@@ -9,3 +8,4 @@ export declare const settingsPushStreamHistoryMap: {
|
|
|
9
8
|
"settings.streamScrollTo": PushStreamHistory;
|
|
10
9
|
"settings.streamZoomLevel": PushStreamHistory;
|
|
11
10
|
};
|
|
11
|
+
//# sourceMappingURL=history.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** How far the origin may travel on one axis, measured in screen pixels. */
|
|
2
|
+
export type ScrollRange = {
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* One axis of travel over content spanning near to far in scene units: at the
|
|
8
|
+
* minimum the content's far edge meets the screen's near edge, at the maximum
|
|
9
|
+
* its near edge meets the screen's far edge. A leaf, so the bench can import it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function contentScrollRange(near: number, far: number, viewportLength: number, zoomLevel: number): ScrollRange;
|
|
12
|
+
/**
|
|
13
|
+
* Where a loaded origin settles on one axis: kept while it draws any of the
|
|
14
|
+
* content, which is strictly inside the pure range, else pulled to the nearest
|
|
15
|
+
* origin drawing all of it, or a screen's worth of it when it does not fit.
|
|
16
|
+
*/
|
|
17
|
+
export declare function openingOrigin(origin: number, near: number, far: number, viewportLength: number, zoomLevel: number): number;
|
|
18
|
+
//# sourceMappingURL=scrollRange.d.ts.map
|
|
@@ -17,3 +17,4 @@ export declare const actions$: {
|
|
|
17
17
|
changeColumnValueAction$: (focusType: FocusType, tableId: string, columnId: string, value: string) => GeneratorAction;
|
|
18
18
|
changeColumnPrimaryKeyAction$: (tableId: string, columnId: string) => GeneratorAction;
|
|
19
19
|
};
|
|
20
|
+
//# sourceMappingURL=generator.actions.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ChangeColumnValuePayload } from '../actions';
|
|
2
2
|
import { RootState } from '../../../state';
|
|
3
3
|
export declare function getDataTypeSyncColumns(stack: ChangeColumnValuePayload[], state: RootState, payload: ChangeColumnValuePayload, payloads?: ChangeColumnValuePayload[]): ChangeColumnValuePayload[];
|
|
4
|
+
//# sourceMappingURL=dataType.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { AnyAction } from '@dineug/r-html';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const actionsFilter: (actionTypes: Array<string> | ReadonlyArray<string>) => (source$: Observable<Array<AnyAction>>) => Observable<AnyAction[]>;
|
|
4
|
+
//# sourceMappingURL=actionsFilter.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { AnyAction } from '@dineug/r-html';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const bufferCircuitBreaker: (openingNotifier$: Observable<any>, closingNotifier$: Observable<any>) => (source$: Observable<Array<AnyAction>>) => Observable<AnyAction[]>;
|
|
4
|
+
//# sourceMappingURL=bufferCircuitBreaker.d.ts.map
|
|
@@ -3,3 +3,4 @@ import { MonoTypeOperatorFunction, Observable } from 'rxjs';
|
|
|
3
3
|
type Regroup = [string, Array<string> | ReadonlyArray<string>];
|
|
4
4
|
export declare const groupByStreamActions: (streamActionTypes: Array<string> | ReadonlyArray<string>, regroups?: Regroup[], bufferClosingNotifierOperator?: MonoTypeOperatorFunction<Array<AnyAction>>) => (source$: Observable<Array<AnyAction>>) => Observable<AnyAction[]>;
|
|
5
5
|
export {};
|
|
6
|
+
//# sourceMappingURL=groupByStreamActions.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { AnyAction } from '@dineug/r-html';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const readonlyIgnoreFilter: (getReadonly: () => boolean, passTags?: number[]) => (source$: Observable<Array<AnyAction>>) => Observable<AnyAction[]>;
|
|
4
|
+
//# sourceMappingURL=readonlyIgnoreFilter.d.ts.map
|
package/dist/engine/state.d.ts
CHANGED
package/dist/engine/store.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ import { EngineContext } from './context';
|
|
|
3
3
|
import { RootState } from './state';
|
|
4
4
|
export type Store = StoreType<RootState, EngineContext>;
|
|
5
5
|
export declare function createStore(context: EngineContext, enableObservable?: boolean): Store;
|
|
6
|
+
//# sourceMappingURL=store.d.ts.map
|
package/dist/engine/tag.d.ts
CHANGED
|
@@ -8,3 +8,4 @@ export declare const Tag: {
|
|
|
8
8
|
export declare function attachActionTag(tag: number, action: AnyAction): AnyAction;
|
|
9
9
|
export declare function attachActionsTag(tag: number, actions: AnyAction[]): AnyAction[];
|
|
10
10
|
export declare const attachChangeOnlyTag$: (...compositionActions: CompositionActions) => GeneratorAction;
|
|
11
|
+
//# sourceMappingURL=tag.d.ts.map
|