@dineug/erd-editor 3.2.3 → 3.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/appContext.d.ts +9 -8
- 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 -1
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.d.ts +2 -1
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.styles.d.ts +2 -2
- package/dist/components/erd/automatic-table-placement/createAutomaticTablePlacement.d.ts +3 -2
- package/dist/components/erd/canvas/Canvas.d.ts +1 -0
- package/dist/components/erd/canvas/Canvas.styles.d.ts +2 -2
- package/dist/components/erd/canvas/canvas-svg/CanvasSvg.d.ts +1 -0
- package/dist/components/erd/canvas/canvas-svg/CanvasSvg.styles.d.ts +1 -1
- package/dist/components/erd/canvas/canvas-svg/relationship/Relationship.d.ts +2 -1
- package/dist/components/erd/canvas/canvas-svg/relationship/Relationship.template.d.ts +2 -1
- package/dist/components/erd/canvas/draw-relationship/DrawRelationship.d.ts +2 -1
- package/dist/components/erd/canvas/draw-relationship/DrawRelationship.styles.d.ts +1 -1
- package/dist/components/erd/canvas/high-level-table/HighLevelTable.d.ts +2 -1
- package/dist/components/erd/canvas/high-level-table/HighLevelTable.styles.d.ts +1 -1
- package/dist/components/erd/canvas/memo/Memo.d.ts +2 -1
- package/dist/components/erd/canvas/memo/Memo.styles.d.ts +6 -6
- package/dist/components/erd/canvas/memo/memo-sash/MemoSash.d.ts +2 -1
- 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 +2 -1
- package/dist/components/erd/canvas/shared-mouse-tracker/shared-mouse-cursor/SharedMouseCursor.styles.d.ts +1 -1
- package/dist/components/erd/canvas/table/Table.d.ts +2 -1
- package/dist/components/erd/canvas/table/Table.styles.d.ts +5 -5
- package/dist/components/erd/canvas/table/column/Column.d.ts +3 -2
- package/dist/components/erd/canvas/table/column/Column.styles.d.ts +2 -2
- package/dist/components/erd/canvas/table/column/column-data-type/ColumnDataType.d.ts +2 -1
- package/dist/components/erd/canvas/table/column/column-data-type/ColumnDataType.styles.d.ts +3 -3
- package/dist/components/erd/canvas/table/column/column-key/ColumnKey.d.ts +3 -0
- package/dist/components/erd/canvas/table/column/column-key/ColumnKey.styles.d.ts +1 -1
- package/dist/components/erd/canvas/table/column/column-not-null/ColumnNotNull.d.ts +1 -0
- package/dist/components/erd/canvas/table/column/column-not-null/ColumnNotNull.styles.d.ts +1 -1
- package/dist/components/erd/canvas/table/column/column-option/ColumnOption.d.ts +1 -0
- package/dist/components/erd/canvas/table/column/column-option/ColumnOption.styles.d.ts +1 -1
- package/dist/components/erd/canvas/table/useFocusTable.d.ts +2 -1
- package/dist/components/erd/canvas/table/useMoveTable.d.ts +1 -0
- package/dist/components/erd/diff-viewer/DiffViewer.d.ts +2 -1
- package/dist/components/erd/diff-viewer/DiffViewer.styles.d.ts +3 -3
- package/dist/components/erd/diff-viewer/diff.d.ts +2 -1
- package/dist/components/erd/diff-viewer/erd-viewer/ErdViewer.d.ts +3 -2
- package/dist/components/erd/diff-viewer/erd-viewer/ErdViewer.styles.d.ts +1 -1
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.d.ts +3 -2
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.styles.d.ts +5 -5
- package/dist/components/erd/drag-select/DragSelect.d.ts +1 -0
- package/dist/components/erd/drag-select/DragSelect.styles.d.ts +1 -1
- package/dist/components/erd/erd-context-menu/ErdContextMenu.d.ts +2 -1
- package/dist/components/erd/erd-context-menu/menus/databaseMenus.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/menus/drawRelationshipMenus.d.ts +2 -1
- 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 +2 -1
- package/dist/components/erd/hide-sign/HideSign.d.ts +1 -0
- package/dist/components/erd/hide-sign/HideSign.styles.d.ts +1 -1
- package/dist/components/erd/minimap/Minimap.d.ts +1 -0
- package/dist/components/erd/minimap/Minimap.styles.d.ts +3 -3
- package/dist/components/erd/minimap/memo/Memo.d.ts +2 -1
- package/dist/components/erd/minimap/table/Table.d.ts +2 -1
- 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 -1
- package/dist/components/erd/table-properties/TableProperties.d.ts +1 -0
- package/dist/components/erd/table-properties/TableProperties.styles.d.ts +6 -6
- 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 +3 -3
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.d.ts +2 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.styles.d.ts +1 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.d.ts +2 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.styles.d.ts +3 -3
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.d.ts +2 -1
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.styles.d.ts +4 -4
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.d.ts +3 -2
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.styles.d.ts +2 -2
- package/dist/components/erd/time-travel/TimeTravel.d.ts +2 -1
- package/dist/components/erd/time-travel/TimeTravel.styles.d.ts +4 -4
- 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 +5 -5
- package/dist/components/erd/virtual-scroll/useVirtualScroll.d.ts +1 -0
- package/dist/components/erd-editor/ErdEditor.d.ts +5 -4
- package/dist/components/erd-editor/ErdEditor.stories.d.ts +3 -2
- package/dist/components/erd-editor/ErdEditor.styles.d.ts +2 -2
- package/dist/components/erd-editor/useErdEditorAttachElement.d.ts +6 -5
- package/dist/components/generator-code/GeneratorCode.d.ts +1 -0
- package/dist/components/generator-code/GeneratorCode.styles.d.ts +1 -1
- 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.stories.d.ts +2 -1
- package/dist/components/primitives/button/Button.styles.d.ts +6 -6
- package/dist/components/primitives/code-block/CodeBlock.d.ts +2 -1
- package/dist/components/primitives/code-block/CodeBlock.stories.d.ts +2 -1
- package/dist/components/primitives/code-block/CodeBlock.styles.d.ts +3 -3
- package/dist/components/primitives/color-picker/ColorPicker.d.ts +2 -1
- package/dist/components/primitives/color-picker/ColorPicker.stories.d.ts +2 -1
- package/dist/components/primitives/color-picker/ColorPicker.styles.d.ts +1 -1
- package/dist/components/primitives/context-menu/ContextMenu.d.ts +4 -3
- package/dist/components/primitives/context-menu/ContextMenu.stories.d.ts +2 -1
- 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 -1
- 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 -1
- 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 +4 -3
- package/dist/components/primitives/context-menu/menu/Menu.d.ts +1 -0
- package/dist/components/primitives/context-menu/menu/Menu.styles.d.ts +3 -3
- package/dist/components/primitives/edit-input/EditInput.d.ts +1 -0
- package/dist/components/primitives/edit-input/EditInput.stories.d.ts +2 -1
- package/dist/components/primitives/edit-input/EditInput.styles.d.ts +4 -4
- package/dist/components/primitives/highlighted-text/HighlightedText.d.ts +2 -1
- package/dist/components/primitives/highlighted-text/HighlightedText.stories.d.ts +2 -1
- package/dist/components/primitives/highlighted-text/HighlightedText.styles.d.ts +1 -1
- package/dist/components/primitives/icon/Icon.d.ts +3 -0
- package/dist/components/primitives/icon/Icon.stories.d.ts +2 -1
- package/dist/components/primitives/icon/Icon.styles.d.ts +2 -2
- package/dist/components/primitives/icon/icons.d.ts +1 -0
- package/dist/components/primitives/kbd/Kbd.d.ts +1 -0
- package/dist/components/primitives/kbd/Kbd.stories.d.ts +2 -1
- package/dist/components/primitives/kbd/Kbd.styles.d.ts +3 -3
- package/dist/components/primitives/sash/Sash.d.ts +3 -2
- package/dist/components/primitives/sash/Sash.stories.d.ts +2 -1
- package/dist/components/primitives/sash/Sash.styles.d.ts +1 -1
- package/dist/components/primitives/separator/Separator.d.ts +1 -0
- package/dist/components/primitives/separator/Separator.stories.d.ts +2 -1
- package/dist/components/primitives/separator/Separator.styles.d.ts +2 -2
- package/dist/components/primitives/slider/Slider.d.ts +1 -0
- package/dist/components/primitives/slider/Slider.stories.d.ts +2 -1
- package/dist/components/primitives/slider/Slider.styles.d.ts +4 -4
- package/dist/components/primitives/switch/Switch.d.ts +1 -0
- package/dist/components/primitives/switch/Switch.stories.d.ts +2 -1
- package/dist/components/primitives/switch/Switch.styles.d.ts +5 -5
- package/dist/components/primitives/text-input/TextInput.d.ts +1 -0
- package/dist/components/primitives/text-input/TextInput.stories.d.ts +2 -1
- package/dist/components/primitives/toast/Toast.d.ts +1 -0
- package/dist/components/primitives/toast/Toast.stories.d.ts +2 -1
- package/dist/components/primitives/toast/Toast.styles.d.ts +5 -5
- package/dist/components/quick-search/QuickSearch.d.ts +1 -0
- package/dist/components/quick-search/QuickSearch.styles.d.ts +10 -10
- package/dist/components/quick-search/actions.d.ts +2 -1
- package/dist/components/schema-sql/SchemaSQL.d.ts +1 -0
- package/dist/components/schema-sql/SchemaSQL.styles.d.ts +1 -1
- 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 +10 -10
- package/dist/components/settings/settings-lnb/SettingsLnb.d.ts +2 -1
- package/dist/components/settings/settings-lnb/SettingsLnb.styles.d.ts +3 -3
- package/dist/components/settings/shortcuts/Shortcuts.d.ts +1 -0
- package/dist/components/settings/shortcuts/Shortcuts.styles.d.ts +2 -2
- package/dist/components/theme/Theme.d.ts +2 -1
- package/dist/components/theme-builder/ThemeBuilder.d.ts +2 -1
- package/dist/components/theme-builder/ThemeBuilder.styles.d.ts +8 -8
- package/dist/components/toast-container/ToastContainer.d.ts +1 -0
- package/dist/components/toast-container/ToastContainer.styles.d.ts +1 -1
- package/dist/components/toolbar/Toolbar.d.ts +1 -0
- package/dist/components/toolbar/Toolbar.styles.d.ts +4 -4
- package/dist/components/visualization/Visualization.d.ts +1 -0
- package/dist/components/visualization/Visualization.styles.d.ts +1 -1
- package/dist/components/visualization/createVisualization.d.ts +2 -1
- package/dist/components/visualization/table/Table.d.ts +2 -1
- package/dist/components/visualization/table/column/Column.d.ts +2 -1
- package/dist/constants/open.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/index.d.ts +1 -0
- package/dist/constants/sql/database.d.ts +1 -0
- package/dist/engine/actions.d.ts +24 -23
- package/dist/engine/generator.actions.d.ts +3 -2
- package/dist/engine/history.actions.d.ts +4 -3
- package/dist/engine/history.d.ts +1 -0
- package/dist/engine/hooks.d.ts +5 -4
- package/dist/engine/modules/editor/actions.d.ts +9 -4
- package/dist/engine/modules/editor/atom.actions.d.ts +73 -53
- package/dist/engine/modules/editor/generator.actions.d.ts +7 -2
- package/dist/engine/modules/editor/history.d.ts +1 -0
- package/dist/engine/modules/editor/state.d.ts +2 -0
- package/dist/engine/modules/editor/utils/findRelationshipColumn.d.ts +8 -0
- package/dist/engine/modules/editor/utils/focus.d.ts +3 -2
- package/dist/engine/modules/index/actions.d.ts +4 -3
- package/dist/engine/modules/index/atom.actions.d.ts +9 -8
- 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 +4 -3
- package/dist/engine/modules/index-column/atom.actions.d.ts +9 -8
- 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 +4 -3
- package/dist/engine/modules/memo/atom.actions.d.ts +17 -16
- 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 +4 -3
- package/dist/engine/modules/relationship/atom.actions.d.ts +7 -6
- package/dist/engine/modules/relationship/history.d.ts +1 -0
- package/dist/engine/modules/relationship/hooks.d.ts +2 -1
- package/dist/engine/modules/settings/actions.d.ts +4 -3
- package/dist/engine/modules/settings/atom.actions.d.ts +37 -36
- package/dist/engine/modules/settings/generator.actions.d.ts +1 -0
- package/dist/engine/modules/settings/history.d.ts +1 -0
- package/dist/engine/modules/table/actions.d.ts +4 -3
- package/dist/engine/modules/table/atom.actions.d.ts +19 -18
- package/dist/engine/modules/table/generator.actions.d.ts +2 -1
- package/dist/engine/modules/table/history.d.ts +1 -0
- package/dist/engine/modules/table/hooks.d.ts +2 -1
- package/dist/engine/modules/table-column/actions.d.ts +4 -3
- package/dist/engine/modules/table-column/atom.actions.d.ts +23 -22
- package/dist/engine/modules/table-column/generator.actions.d.ts +3 -2
- package/dist/engine/modules/table-column/history.d.ts +1 -0
- package/dist/engine/modules/table-column/hooks.d.ts +2 -1
- package/dist/engine/modules/table-column/utils/dataType.d.ts +2 -1
- package/dist/engine/replication-store.d.ts +3 -2
- package/dist/engine/rx-operators/actionsFilter.d.ts +2 -1
- package/dist/engine/rx-operators/bufferCircuitBreaker.d.ts +2 -1
- package/dist/engine/rx-operators/groupByStreamActions.d.ts +2 -1
- package/dist/engine/rx-operators/ignoreTagFilter.d.ts +2 -1
- package/dist/engine/rx-operators/notEmptyActions.d.ts +2 -1
- package/dist/engine/rx-operators/readonlyIgnoreFilter.d.ts +2 -1
- package/dist/engine/rx-operators/sharedStreamActionsCompressor.d.ts +2 -1
- package/dist/engine/rx-store.d.ts +5 -4
- package/dist/engine/shared-store.d.ts +3 -2
- package/dist/engine/state.d.ts +2 -1
- package/dist/engine/store-hooks.d.ts +2 -1
- package/dist/engine/store.d.ts +3 -2
- package/dist/engine/tag.d.ts +2 -1
- package/dist/engine.js +5 -5
- package/dist/erd-editor.js +7287 -7268
- package/dist/hooks/useFlipAnimation.d.ts +1 -0
- package/dist/hooks/useKeyBindingMap.d.ts +2 -1
- package/dist/hooks/useUnmounted.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/internal-types/index.d.ts +2 -1
- package/dist/{schemaGCService-J8vtSEfz.js → schemaGCService-IUzrsWjr.js} +8671 -9195
- package/dist/services/schema-gc/index.d.ts +1 -0
- package/dist/services/schema-gc/procGC.d.ts +2 -1
- package/dist/services/schema-gc/schemaGCService.d.ts +2 -1
- package/dist/styles/typography.styles.d.ts +11 -11
- package/dist/themes/radix-ui-theme.config.d.ts +1 -0
- package/dist/themes/radix-ui-theme.d.ts +2 -1
- package/dist/themes/textColor.d.ts +2 -1
- package/dist/utils/calcMemo.d.ts +1 -0
- package/dist/utils/calcTable.d.ts +3 -2
- 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/table.entity.d.ts +1 -0
- package/dist/utils/collection/tableColumn.entity.d.ts +1 -0
- package/dist/utils/dragSelect.d.ts +1 -0
- package/dist/utils/draw-relationship/calc.d.ts +3 -2
- package/dist/utils/draw-relationship/draw.d.ts +3 -2
- package/dist/utils/draw-relationship/index.d.ts +1 -0
- package/dist/utils/draw-relationship/pathFinding.d.ts +2 -1
- package/dist/utils/draw-relationship/sort.d.ts +1 -0
- package/dist/utils/emitter.d.ts +3 -2
- 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/csharp.d.ts +2 -1
- package/dist/utils/generator-code/graphql.d.ts +2 -1
- package/dist/utils/generator-code/index.d.ts +2 -1
- package/dist/utils/generator-code/java.d.ts +2 -1
- package/dist/utils/generator-code/jpa.d.ts +2 -1
- package/dist/utils/generator-code/kotlin.d.ts +2 -1
- package/dist/utils/generator-code/scala.d.ts +2 -1
- package/dist/utils/generator-code/typescript.d.ts +2 -1
- package/dist/utils/generator-code/utils.d.ts +2 -1
- package/dist/utils/globalEmitter.d.ts +3 -2
- package/dist/utils/globalEventObservable.d.ts +12 -12
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/internalEvents.d.ts +1 -0
- package/dist/utils/keyboard-shortcut/index.d.ts +2 -1
- package/dist/utils/rx-operators/fromCopy.d.ts +2 -1
- package/dist/utils/rx-operators/fromDraggable.d.ts +1 -1
- package/dist/utils/rx-operators/fromPaste.d.ts +2 -1
- package/dist/utils/rx-operators/fromShadowDraggable.d.ts +1 -1
- package/dist/utils/rx-operators/takeUnsubscribe.d.ts +1 -0
- package/dist/utils/schema-sql/MSSQL.d.ts +2 -1
- package/dist/utils/schema-sql/MariaDB.d.ts +2 -1
- package/dist/utils/schema-sql/MySQL.d.ts +2 -1
- package/dist/utils/schema-sql/Oracle.d.ts +2 -1
- package/dist/utils/schema-sql/PostgreSQL.d.ts +2 -1
- package/dist/utils/schema-sql/SQLite.d.ts +2 -1
- package/dist/utils/schema-sql/index.d.ts +2 -1
- package/dist/utils/schema-sql/utils.d.ts +1 -0
- package/dist/utils/schema-sql-parser/index.d.ts +2 -1
- package/dist/utils/table-clipboard/copy.d.ts +1 -0
- package/dist/utils/table-clipboard/index.d.ts +1 -0
- package/dist/utils/table-clipboard/paste.d.ts +2 -1
- package/package.json +20 -21
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ReducerType } from './actions';
|
|
2
1
|
import { FocusType, SelectType } from './state';
|
|
2
|
+
import { ReducerType } from './actions';
|
|
3
|
+
|
|
3
4
|
export declare const changeHasHistoryAction: {
|
|
4
5
|
(payload: {
|
|
5
6
|
hasUndo: boolean;
|
|
6
7
|
hasRedo: boolean;
|
|
7
|
-
}): import(
|
|
8
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
8
9
|
hasUndo: boolean;
|
|
9
10
|
hasRedo: boolean;
|
|
10
11
|
}>;
|
|
@@ -12,17 +13,17 @@ export declare const changeHasHistoryAction: {
|
|
|
12
13
|
type: string;
|
|
13
14
|
};
|
|
14
15
|
export declare const selectAllAction: {
|
|
15
|
-
(payload: void): import(
|
|
16
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
16
17
|
toString(): string;
|
|
17
18
|
type: string;
|
|
18
19
|
};
|
|
19
20
|
export declare const unselectAllAction: {
|
|
20
|
-
(payload: void): import(
|
|
21
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
21
22
|
toString(): string;
|
|
22
23
|
type: string;
|
|
23
24
|
};
|
|
24
25
|
export declare const selectAction: {
|
|
25
|
-
(payload: Record<string, SelectType>): import(
|
|
26
|
+
(payload: Record<string, SelectType>): import('@dineug/r-html').AnyAction<Record<string, SelectType>>;
|
|
26
27
|
toString(): string;
|
|
27
28
|
type: string;
|
|
28
29
|
};
|
|
@@ -30,7 +31,7 @@ export declare const changeViewportAction: {
|
|
|
30
31
|
(payload: {
|
|
31
32
|
width: number;
|
|
32
33
|
height: number;
|
|
33
|
-
}): import(
|
|
34
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
34
35
|
width: number;
|
|
35
36
|
height: number;
|
|
36
37
|
}>;
|
|
@@ -38,28 +39,28 @@ export declare const changeViewportAction: {
|
|
|
38
39
|
type: string;
|
|
39
40
|
};
|
|
40
41
|
export declare const clearAction: {
|
|
41
|
-
(payload: void): import(
|
|
42
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
42
43
|
toString(): string;
|
|
43
44
|
type: string;
|
|
44
45
|
};
|
|
45
46
|
export declare const loadJsonAction: {
|
|
46
47
|
(payload: {
|
|
47
48
|
value: string;
|
|
48
|
-
}): import(
|
|
49
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
49
50
|
value: string;
|
|
50
51
|
}>;
|
|
51
52
|
toString(): string;
|
|
52
53
|
type: string;
|
|
53
54
|
};
|
|
54
55
|
export declare const initialClearAction: {
|
|
55
|
-
(payload: void): import(
|
|
56
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
56
57
|
toString(): string;
|
|
57
58
|
type: string;
|
|
58
59
|
};
|
|
59
60
|
export declare const initialLoadJsonAction: {
|
|
60
61
|
(payload: {
|
|
61
62
|
value: string;
|
|
62
|
-
}): import(
|
|
63
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
63
64
|
value: string;
|
|
64
65
|
}>;
|
|
65
66
|
toString(): string;
|
|
@@ -69,7 +70,7 @@ export declare const focusTableAction: {
|
|
|
69
70
|
(payload: {
|
|
70
71
|
tableId: string;
|
|
71
72
|
focusType?: FocusType | undefined;
|
|
72
|
-
}): import(
|
|
73
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
73
74
|
tableId: string;
|
|
74
75
|
focusType?: FocusType | undefined;
|
|
75
76
|
}>;
|
|
@@ -83,7 +84,7 @@ export declare const focusColumnAction: {
|
|
|
83
84
|
focusType: FocusType;
|
|
84
85
|
$mod: boolean;
|
|
85
86
|
shiftKey: boolean;
|
|
86
|
-
}): import(
|
|
87
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
87
88
|
tableId: string;
|
|
88
89
|
columnId: string;
|
|
89
90
|
focusType: FocusType;
|
|
@@ -94,7 +95,7 @@ export declare const focusColumnAction: {
|
|
|
94
95
|
type: string;
|
|
95
96
|
};
|
|
96
97
|
export declare const focusTableEndAction: {
|
|
97
|
-
(payload: void): import(
|
|
98
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
98
99
|
toString(): string;
|
|
99
100
|
type: string;
|
|
100
101
|
};
|
|
@@ -102,7 +103,7 @@ export declare const focusMoveTableAction: {
|
|
|
102
103
|
(payload: {
|
|
103
104
|
moveKey: string;
|
|
104
105
|
shiftKey: boolean;
|
|
105
|
-
}): import(
|
|
106
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
106
107
|
moveKey: string;
|
|
107
108
|
shiftKey: boolean;
|
|
108
109
|
}>;
|
|
@@ -110,24 +111,24 @@ export declare const focusMoveTableAction: {
|
|
|
110
111
|
type: string;
|
|
111
112
|
};
|
|
112
113
|
export declare const editTableAction: {
|
|
113
|
-
(payload: void): import(
|
|
114
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
114
115
|
toString(): string;
|
|
115
116
|
type: string;
|
|
116
117
|
};
|
|
117
118
|
export declare const editTableEndAction: {
|
|
118
|
-
(payload: void): import(
|
|
119
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
119
120
|
toString(): string;
|
|
120
121
|
type: string;
|
|
121
122
|
};
|
|
122
123
|
export declare const selectAllColumnAction: {
|
|
123
|
-
(payload: void): import(
|
|
124
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
124
125
|
toString(): string;
|
|
125
126
|
type: string;
|
|
126
127
|
};
|
|
127
128
|
export declare const drawStartRelationshipAction: {
|
|
128
129
|
(payload: {
|
|
129
130
|
relationshipType: number;
|
|
130
|
-
}): import(
|
|
131
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
131
132
|
relationshipType: number;
|
|
132
133
|
}>;
|
|
133
134
|
toString(): string;
|
|
@@ -136,14 +137,14 @@ export declare const drawStartRelationshipAction: {
|
|
|
136
137
|
export declare const drawStartAddRelationshipAction: {
|
|
137
138
|
(payload: {
|
|
138
139
|
tableId: string;
|
|
139
|
-
}): import(
|
|
140
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
140
141
|
tableId: string;
|
|
141
142
|
}>;
|
|
142
143
|
toString(): string;
|
|
143
144
|
type: string;
|
|
144
145
|
};
|
|
145
146
|
export declare const drawEndRelationshipAction: {
|
|
146
|
-
(payload: void): import(
|
|
147
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
147
148
|
toString(): string;
|
|
148
149
|
type: string;
|
|
149
150
|
};
|
|
@@ -151,7 +152,7 @@ export declare const drawRelationshipAction: {
|
|
|
151
152
|
(payload: {
|
|
152
153
|
x: number;
|
|
153
154
|
y: number;
|
|
154
|
-
}): import(
|
|
155
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
155
156
|
x: number;
|
|
156
157
|
y: number;
|
|
157
158
|
}>;
|
|
@@ -161,14 +162,23 @@ export declare const drawRelationshipAction: {
|
|
|
161
162
|
export declare const hoverColumnMapAction: {
|
|
162
163
|
(payload: {
|
|
163
164
|
columnIds: string[];
|
|
164
|
-
}): import(
|
|
165
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
165
166
|
columnIds: string[];
|
|
166
167
|
}>;
|
|
167
168
|
toString(): string;
|
|
168
169
|
type: string;
|
|
169
170
|
};
|
|
171
|
+
export declare const hoverRelationshipMapAction: {
|
|
172
|
+
(payload: {
|
|
173
|
+
relationshipIds: string[];
|
|
174
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
175
|
+
relationshipIds: string[];
|
|
176
|
+
}>;
|
|
177
|
+
toString(): string;
|
|
178
|
+
type: string;
|
|
179
|
+
};
|
|
170
180
|
export declare const changeOpenMapAction: {
|
|
171
|
-
(payload: Record<string, boolean>): import(
|
|
181
|
+
(payload: Record<string, boolean>): import('@dineug/r-html').AnyAction<Record<string, boolean>>;
|
|
172
182
|
toString(): string;
|
|
173
183
|
type: string;
|
|
174
184
|
};
|
|
@@ -176,7 +186,7 @@ export declare const dragstartColumnAction: {
|
|
|
176
186
|
(payload: {
|
|
177
187
|
tableId: string;
|
|
178
188
|
columnIds: string[];
|
|
179
|
-
}): import(
|
|
189
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
180
190
|
tableId: string;
|
|
181
191
|
columnIds: string[];
|
|
182
192
|
}>;
|
|
@@ -184,7 +194,7 @@ export declare const dragstartColumnAction: {
|
|
|
184
194
|
type: string;
|
|
185
195
|
};
|
|
186
196
|
export declare const dragendColumnAction: {
|
|
187
|
-
(payload: void): import(
|
|
197
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
188
198
|
toString(): string;
|
|
189
199
|
type: string;
|
|
190
200
|
};
|
|
@@ -192,7 +202,7 @@ export declare const sharedMouseTrackerAction: {
|
|
|
192
202
|
(payload: {
|
|
193
203
|
x: number;
|
|
194
204
|
y: number;
|
|
195
|
-
}): import(
|
|
205
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
196
206
|
x: number;
|
|
197
207
|
y: number;
|
|
198
208
|
}>;
|
|
@@ -200,7 +210,7 @@ export declare const sharedMouseTrackerAction: {
|
|
|
200
210
|
type: string;
|
|
201
211
|
};
|
|
202
212
|
export declare const validationIdsAction: {
|
|
203
|
-
(payload: void): import(
|
|
213
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
204
214
|
toString(): string;
|
|
205
215
|
type: string;
|
|
206
216
|
};
|
|
@@ -226,6 +236,7 @@ export declare const editorReducers: {
|
|
|
226
236
|
"editor.drawEndRelationship": ReducerType<"editor.drawEndRelationship">;
|
|
227
237
|
"editor.drawRelationship": ReducerType<"editor.drawRelationship">;
|
|
228
238
|
"editor.hoverColumnMap": ReducerType<"editor.hoverColumnMap">;
|
|
239
|
+
"editor.hoverRelationshipMap": ReducerType<"editor.hoverRelationshipMap">;
|
|
229
240
|
"editor.changeOpenMap": ReducerType<"editor.changeOpenMap">;
|
|
230
241
|
"editor.dragstartColumn": ReducerType<"editor.dragstartColumn">;
|
|
231
242
|
"editor.dragendColumn": ReducerType<"editor.dragendColumn">;
|
|
@@ -237,7 +248,7 @@ export declare const actions: {
|
|
|
237
248
|
(payload: {
|
|
238
249
|
hasUndo: boolean;
|
|
239
250
|
hasRedo: boolean;
|
|
240
|
-
}): import(
|
|
251
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
241
252
|
hasUndo: boolean;
|
|
242
253
|
hasRedo: boolean;
|
|
243
254
|
}>;
|
|
@@ -245,17 +256,17 @@ export declare const actions: {
|
|
|
245
256
|
type: string;
|
|
246
257
|
};
|
|
247
258
|
selectAllAction: {
|
|
248
|
-
(payload: void): import(
|
|
259
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
249
260
|
toString(): string;
|
|
250
261
|
type: string;
|
|
251
262
|
};
|
|
252
263
|
unselectAllAction: {
|
|
253
|
-
(payload: void): import(
|
|
264
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
254
265
|
toString(): string;
|
|
255
266
|
type: string;
|
|
256
267
|
};
|
|
257
268
|
selectAction: {
|
|
258
|
-
(payload: Record<string, SelectType>): import(
|
|
269
|
+
(payload: Record<string, SelectType>): import('@dineug/r-html').AnyAction<Record<string, SelectType>>;
|
|
259
270
|
toString(): string;
|
|
260
271
|
type: string;
|
|
261
272
|
};
|
|
@@ -263,7 +274,7 @@ export declare const actions: {
|
|
|
263
274
|
(payload: {
|
|
264
275
|
width: number;
|
|
265
276
|
height: number;
|
|
266
|
-
}): import(
|
|
277
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
267
278
|
width: number;
|
|
268
279
|
height: number;
|
|
269
280
|
}>;
|
|
@@ -271,28 +282,28 @@ export declare const actions: {
|
|
|
271
282
|
type: string;
|
|
272
283
|
};
|
|
273
284
|
clearAction: {
|
|
274
|
-
(payload: void): import(
|
|
285
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
275
286
|
toString(): string;
|
|
276
287
|
type: string;
|
|
277
288
|
};
|
|
278
289
|
loadJsonAction: {
|
|
279
290
|
(payload: {
|
|
280
291
|
value: string;
|
|
281
|
-
}): import(
|
|
292
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
282
293
|
value: string;
|
|
283
294
|
}>;
|
|
284
295
|
toString(): string;
|
|
285
296
|
type: string;
|
|
286
297
|
};
|
|
287
298
|
initialClearAction: {
|
|
288
|
-
(payload: void): import(
|
|
299
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
289
300
|
toString(): string;
|
|
290
301
|
type: string;
|
|
291
302
|
};
|
|
292
303
|
initialLoadJsonAction: {
|
|
293
304
|
(payload: {
|
|
294
305
|
value: string;
|
|
295
|
-
}): import(
|
|
306
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
296
307
|
value: string;
|
|
297
308
|
}>;
|
|
298
309
|
toString(): string;
|
|
@@ -302,7 +313,7 @@ export declare const actions: {
|
|
|
302
313
|
(payload: {
|
|
303
314
|
tableId: string;
|
|
304
315
|
focusType?: FocusType | undefined;
|
|
305
|
-
}): import(
|
|
316
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
306
317
|
tableId: string;
|
|
307
318
|
focusType?: FocusType | undefined;
|
|
308
319
|
}>;
|
|
@@ -316,7 +327,7 @@ export declare const actions: {
|
|
|
316
327
|
focusType: FocusType;
|
|
317
328
|
$mod: boolean;
|
|
318
329
|
shiftKey: boolean;
|
|
319
|
-
}): import(
|
|
330
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
320
331
|
tableId: string;
|
|
321
332
|
columnId: string;
|
|
322
333
|
focusType: FocusType;
|
|
@@ -327,7 +338,7 @@ export declare const actions: {
|
|
|
327
338
|
type: string;
|
|
328
339
|
};
|
|
329
340
|
focusTableEndAction: {
|
|
330
|
-
(payload: void): import(
|
|
341
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
331
342
|
toString(): string;
|
|
332
343
|
type: string;
|
|
333
344
|
};
|
|
@@ -335,7 +346,7 @@ export declare const actions: {
|
|
|
335
346
|
(payload: {
|
|
336
347
|
moveKey: string;
|
|
337
348
|
shiftKey: boolean;
|
|
338
|
-
}): import(
|
|
349
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
339
350
|
moveKey: string;
|
|
340
351
|
shiftKey: boolean;
|
|
341
352
|
}>;
|
|
@@ -343,24 +354,24 @@ export declare const actions: {
|
|
|
343
354
|
type: string;
|
|
344
355
|
};
|
|
345
356
|
editTableAction: {
|
|
346
|
-
(payload: void): import(
|
|
357
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
347
358
|
toString(): string;
|
|
348
359
|
type: string;
|
|
349
360
|
};
|
|
350
361
|
editTableEndAction: {
|
|
351
|
-
(payload: void): import(
|
|
362
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
352
363
|
toString(): string;
|
|
353
364
|
type: string;
|
|
354
365
|
};
|
|
355
366
|
selectAllColumnAction: {
|
|
356
|
-
(payload: void): import(
|
|
367
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
357
368
|
toString(): string;
|
|
358
369
|
type: string;
|
|
359
370
|
};
|
|
360
371
|
drawStartRelationshipAction: {
|
|
361
372
|
(payload: {
|
|
362
373
|
relationshipType: number;
|
|
363
|
-
}): import(
|
|
374
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
364
375
|
relationshipType: number;
|
|
365
376
|
}>;
|
|
366
377
|
toString(): string;
|
|
@@ -369,14 +380,14 @@ export declare const actions: {
|
|
|
369
380
|
drawStartAddRelationshipAction: {
|
|
370
381
|
(payload: {
|
|
371
382
|
tableId: string;
|
|
372
|
-
}): import(
|
|
383
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
373
384
|
tableId: string;
|
|
374
385
|
}>;
|
|
375
386
|
toString(): string;
|
|
376
387
|
type: string;
|
|
377
388
|
};
|
|
378
389
|
drawEndRelationshipAction: {
|
|
379
|
-
(payload: void): import(
|
|
390
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
380
391
|
toString(): string;
|
|
381
392
|
type: string;
|
|
382
393
|
};
|
|
@@ -384,7 +395,7 @@ export declare const actions: {
|
|
|
384
395
|
(payload: {
|
|
385
396
|
x: number;
|
|
386
397
|
y: number;
|
|
387
|
-
}): import(
|
|
398
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
388
399
|
x: number;
|
|
389
400
|
y: number;
|
|
390
401
|
}>;
|
|
@@ -394,14 +405,23 @@ export declare const actions: {
|
|
|
394
405
|
hoverColumnMapAction: {
|
|
395
406
|
(payload: {
|
|
396
407
|
columnIds: string[];
|
|
397
|
-
}): import(
|
|
408
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
398
409
|
columnIds: string[];
|
|
399
410
|
}>;
|
|
400
411
|
toString(): string;
|
|
401
412
|
type: string;
|
|
402
413
|
};
|
|
414
|
+
hoverRelationshipMapAction: {
|
|
415
|
+
(payload: {
|
|
416
|
+
relationshipIds: string[];
|
|
417
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
418
|
+
relationshipIds: string[];
|
|
419
|
+
}>;
|
|
420
|
+
toString(): string;
|
|
421
|
+
type: string;
|
|
422
|
+
};
|
|
403
423
|
changeOpenMapAction: {
|
|
404
|
-
(payload: Record<string, boolean>): import(
|
|
424
|
+
(payload: Record<string, boolean>): import('@dineug/r-html').AnyAction<Record<string, boolean>>;
|
|
405
425
|
toString(): string;
|
|
406
426
|
type: string;
|
|
407
427
|
};
|
|
@@ -409,7 +429,7 @@ export declare const actions: {
|
|
|
409
429
|
(payload: {
|
|
410
430
|
tableId: string;
|
|
411
431
|
columnIds: string[];
|
|
412
|
-
}): import(
|
|
432
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
413
433
|
tableId: string;
|
|
414
434
|
columnIds: string[];
|
|
415
435
|
}>;
|
|
@@ -417,7 +437,7 @@ export declare const actions: {
|
|
|
417
437
|
type: string;
|
|
418
438
|
};
|
|
419
439
|
dragendColumnAction: {
|
|
420
|
-
(payload: void): import(
|
|
440
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
421
441
|
toString(): string;
|
|
422
442
|
type: string;
|
|
423
443
|
};
|
|
@@ -425,7 +445,7 @@ export declare const actions: {
|
|
|
425
445
|
(payload: {
|
|
426
446
|
x: number;
|
|
427
447
|
y: number;
|
|
428
|
-
}): import(
|
|
448
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
429
449
|
x: number;
|
|
430
450
|
y: number;
|
|
431
451
|
}>;
|
|
@@ -433,7 +453,7 @@ export declare const actions: {
|
|
|
433
453
|
type: string;
|
|
434
454
|
};
|
|
435
455
|
validationIdsAction: {
|
|
436
|
-
(payload: void): import(
|
|
456
|
+
(payload: void): import('@dineug/r-html').AnyAction<void>;
|
|
437
457
|
toString(): string;
|
|
438
458
|
type: string;
|
|
439
459
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { GeneratorAction } from '../../generator.actions';
|
|
2
|
-
import { Rect } from '../../../utils/dragSelect';
|
|
3
1
|
import { MoveKey } from './state';
|
|
2
|
+
import { Rect } from '../../../utils/dragSelect';
|
|
3
|
+
import { GeneratorAction } from '../../generator.actions';
|
|
4
|
+
|
|
4
5
|
export declare const loadJsonAction$: (value: string) => GeneratorAction;
|
|
5
6
|
export declare const initialLoadJsonAction$: (value: string) => GeneratorAction;
|
|
6
7
|
export declare const moveAllAction$: (movementX: number, movementY: number) => GeneratorAction;
|
|
@@ -14,6 +15,8 @@ export declare const changeColorAllAction$: (color: string) => GeneratorAction;
|
|
|
14
15
|
export declare const loadSchemaSQLAction$: (value: string) => GeneratorAction;
|
|
15
16
|
export declare const dragstartColumnAction$: ($mod: boolean) => GeneratorAction;
|
|
16
17
|
export declare const dragoverColumnAction$: (targetId: string, targetTableId: string) => GeneratorAction;
|
|
18
|
+
export declare const columnKeyHoverStartAction$: (columnId: string) => GeneratorAction;
|
|
19
|
+
export declare const columnKeyHoverEndAction$: () => GeneratorAction;
|
|
17
20
|
export declare const actions$: {
|
|
18
21
|
loadJsonAction$: (value: string) => GeneratorAction;
|
|
19
22
|
initialLoadJsonAction$: (value: string) => GeneratorAction;
|
|
@@ -28,4 +31,6 @@ export declare const actions$: {
|
|
|
28
31
|
loadSchemaSQLAction$: (value: string) => GeneratorAction;
|
|
29
32
|
dragstartColumnAction$: ($mod: boolean) => GeneratorAction;
|
|
30
33
|
dragoverColumnAction$: (targetId: string, targetTableId: string) => GeneratorAction;
|
|
34
|
+
columnKeyHoverStartAction$: (columnId: string) => GeneratorAction;
|
|
35
|
+
columnKeyHoverEndAction$: () => GeneratorAction;
|
|
31
36
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Point, ValuesType } from '../../../internal-types';
|
|
2
|
+
|
|
2
3
|
export type Editor = {
|
|
3
4
|
id: string;
|
|
4
5
|
selectedMap: Record<string, SelectType>;
|
|
@@ -8,6 +9,7 @@ export type Editor = {
|
|
|
8
9
|
focusTable: FocusTable | null;
|
|
9
10
|
drawRelationship: DrawRelationship | null;
|
|
10
11
|
hoverColumnMap: Record<string, boolean>;
|
|
12
|
+
hoverRelationshipMap: Record<string, boolean>;
|
|
11
13
|
openMap: Record<string, boolean>;
|
|
12
14
|
draggableColumn: DraggableColumn | null;
|
|
13
15
|
draggingColumnMap: Record<string, boolean>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RootState } from '../../../state';
|
|
2
|
+
|
|
3
|
+
type TargetSource = {
|
|
4
|
+
columnId: string;
|
|
5
|
+
relationshipIds: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare function findRelationshipColumn(stack: TargetSource[], state: RootState, result?: TargetSource[]): TargetSource[];
|
|
8
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ActionMap, ActionType } from '../actions';
|
|
2
|
-
import { FocusType } from '../state';
|
|
3
1
|
import { RootState } from '../../../state';
|
|
2
|
+
import { FocusType } from '../state';
|
|
3
|
+
import { ActionMap, ActionType } from '../actions';
|
|
4
|
+
|
|
4
5
|
type Payload = ActionMap[typeof ActionType.focusMoveTable];
|
|
5
6
|
export declare function isColumns({ collections, editor: { focusTable } }: RootState): boolean;
|
|
6
7
|
export declare function isLastColumn(state: RootState): boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Reducer } from '@dineug/r-html';
|
|
2
|
-
import { EngineContext } from '../../context';
|
|
3
|
-
import { RootState } from '../../state';
|
|
4
1
|
import { ValuesType } from '../../../internal-types';
|
|
2
|
+
import { RootState } from '../../state';
|
|
3
|
+
import { EngineContext } from '../../context';
|
|
4
|
+
import { Reducer } from '@dineug/r-html';
|
|
5
|
+
|
|
5
6
|
export declare const ActionType: {
|
|
6
7
|
readonly addIndex: "index.add";
|
|
7
8
|
readonly removeIndex: "index.remove";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ReducerType } from './actions';
|
|
2
|
+
|
|
2
3
|
export declare const addIndexAction: {
|
|
3
4
|
(payload: {
|
|
4
5
|
id: string;
|
|
5
6
|
tableId: string;
|
|
6
|
-
}): import(
|
|
7
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
7
8
|
id: string;
|
|
8
9
|
tableId: string;
|
|
9
10
|
}>;
|
|
@@ -13,7 +14,7 @@ export declare const addIndexAction: {
|
|
|
13
14
|
export declare const removeIndexAction: {
|
|
14
15
|
(payload: {
|
|
15
16
|
id: string;
|
|
16
|
-
}): import(
|
|
17
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
17
18
|
id: string;
|
|
18
19
|
}>;
|
|
19
20
|
toString(): string;
|
|
@@ -24,7 +25,7 @@ export declare const changeIndexNameAction: {
|
|
|
24
25
|
id: string;
|
|
25
26
|
tableId: string;
|
|
26
27
|
value: string;
|
|
27
|
-
}): import(
|
|
28
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
28
29
|
id: string;
|
|
29
30
|
tableId: string;
|
|
30
31
|
value: string;
|
|
@@ -37,7 +38,7 @@ export declare const changeIndexUniqueAction: {
|
|
|
37
38
|
id: string;
|
|
38
39
|
tableId: string;
|
|
39
40
|
value: boolean;
|
|
40
|
-
}): import(
|
|
41
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
41
42
|
id: string;
|
|
42
43
|
tableId: string;
|
|
43
44
|
value: boolean;
|
|
@@ -56,7 +57,7 @@ export declare const actions: {
|
|
|
56
57
|
(payload: {
|
|
57
58
|
id: string;
|
|
58
59
|
tableId: string;
|
|
59
|
-
}): import(
|
|
60
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
60
61
|
id: string;
|
|
61
62
|
tableId: string;
|
|
62
63
|
}>;
|
|
@@ -66,7 +67,7 @@ export declare const actions: {
|
|
|
66
67
|
removeIndexAction: {
|
|
67
68
|
(payload: {
|
|
68
69
|
id: string;
|
|
69
|
-
}): import(
|
|
70
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
70
71
|
id: string;
|
|
71
72
|
}>;
|
|
72
73
|
toString(): string;
|
|
@@ -77,7 +78,7 @@ export declare const actions: {
|
|
|
77
78
|
id: string;
|
|
78
79
|
tableId: string;
|
|
79
80
|
value: string;
|
|
80
|
-
}): import(
|
|
81
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
81
82
|
id: string;
|
|
82
83
|
tableId: string;
|
|
83
84
|
value: string;
|
|
@@ -90,7 +91,7 @@ export declare const actions: {
|
|
|
90
91
|
id: string;
|
|
91
92
|
tableId: string;
|
|
92
93
|
value: boolean;
|
|
93
|
-
}): import(
|
|
94
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
94
95
|
id: string;
|
|
95
96
|
tableId: string;
|
|
96
97
|
value: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Reducer } from '@dineug/r-html';
|
|
2
|
-
import { EngineContext } from '../../context';
|
|
3
|
-
import { RootState } from '../../state';
|
|
4
1
|
import { ValuesType } from '../../../internal-types';
|
|
2
|
+
import { RootState } from '../../state';
|
|
3
|
+
import { EngineContext } from '../../context';
|
|
4
|
+
import { Reducer } from '@dineug/r-html';
|
|
5
|
+
|
|
5
6
|
export declare const ActionType: {
|
|
6
7
|
readonly addIndexColumn: "indexColumn.add";
|
|
7
8
|
readonly removeIndexColumn: "indexColumn.remove";
|