@dineug/erd-editor 3.0.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/LICENSE +21 -0
- package/README.md +337 -0
- package/dist/components/appContext.d.ts +22 -0
- package/dist/components/customElementRegistry.d.ts +1 -0
- package/dist/components/erd/Erd.d.ts +6 -0
- package/dist/components/erd/Erd.styles.d.ts +1 -0
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.d.ts +14 -0
- package/dist/components/erd/automatic-table-placement/AutomaticTablePlacement.styles.d.ts +2 -0
- package/dist/components/erd/automatic-table-placement/createAutomaticTablePlacement.d.ts +11 -0
- package/dist/components/erd/canvas/Canvas.d.ts +7 -0
- package/dist/components/erd/canvas/Canvas.styles.d.ts +1 -0
- package/dist/components/erd/canvas/canvas-svg/CanvasSvg.d.ts +7 -0
- package/dist/components/erd/canvas/canvas-svg/CanvasSvg.styles.d.ts +1 -0
- package/dist/components/erd/canvas/canvas-svg/relationship/Relationship.d.ts +8 -0
- package/dist/components/erd/canvas/canvas-svg/relationship/Relationship.template.d.ts +3 -0
- package/dist/components/erd/canvas/draw-relationship/DrawRelationship.d.ts +8 -0
- package/dist/components/erd/canvas/draw-relationship/DrawRelationship.styles.d.ts +1 -0
- package/dist/components/erd/canvas/high-level-table/HighLevelTable.d.ts +7 -0
- package/dist/components/erd/canvas/high-level-table/HighLevelTable.styles.d.ts +1 -0
- package/dist/components/erd/canvas/memo/Memo.d.ts +7 -0
- package/dist/components/erd/canvas/memo/Memo.styles.d.ts +6 -0
- package/dist/components/erd/canvas/memo/memo-sash/MemoSash.d.ts +9 -0
- package/dist/components/erd/canvas/table/Table.d.ts +7 -0
- package/dist/components/erd/canvas/table/Table.styles.d.ts +5 -0
- package/dist/components/erd/canvas/table/column/Column.d.ts +29 -0
- package/dist/components/erd/canvas/table/column/Column.styles.d.ts +2 -0
- package/dist/components/erd/canvas/table/column/column-data-type/ColumnDataType.d.ts +16 -0
- package/dist/components/erd/canvas/table/column/column-data-type/ColumnDataType.styles.d.ts +3 -0
- package/dist/components/erd/canvas/table/column/column-key/ColumnKey.d.ts +6 -0
- package/dist/components/erd/canvas/table/column/column-key/ColumnKey.styles.d.ts +1 -0
- package/dist/components/erd/canvas/table/column/column-not-null/ColumnNotNull.d.ts +7 -0
- package/dist/components/erd/canvas/table/column/column-not-null/ColumnNotNull.styles.d.ts +1 -0
- package/dist/components/erd/canvas/table/column/column-option/ColumnOption.d.ts +11 -0
- package/dist/components/erd/canvas/table/column/column-option/ColumnOption.styles.d.ts +1 -0
- package/dist/components/erd/canvas/table/useFocusTable.d.ts +7 -0
- package/dist/components/erd/canvas/table/useMoveTable.d.ts +6 -0
- package/dist/components/erd/drag-select/DragSelect.d.ts +9 -0
- package/dist/components/erd/drag-select/DragSelect.styles.d.ts +1 -0
- package/dist/components/erd/erd-context-menu/ErdContextMenu.d.ts +17 -0
- package/dist/components/erd/erd-context-menu/menus/databaseMenus.d.ts +12 -0
- package/dist/components/erd/erd-context-menu/menus/drawRelationshipMenus.d.ts +16 -0
- package/dist/components/erd/erd-context-menu/menus/exportMenus.d.ts +9 -0
- package/dist/components/erd/erd-context-menu/menus/importMenus.d.ts +9 -0
- package/dist/components/erd/erd-context-menu/menus/relationshipMenus.d.ts +7 -0
- package/dist/components/erd/erd-context-menu/menus/showMenus.d.ts +6 -0
- package/dist/components/erd/erdShortcutPerformCheck.d.ts +3 -0
- package/dist/components/erd/hide-sign/HideSign.d.ts +6 -0
- package/dist/components/erd/hide-sign/HideSign.styles.d.ts +1 -0
- package/dist/components/erd/minimap/Minimap.d.ts +4 -0
- package/dist/components/erd/minimap/Minimap.styles.d.ts +3 -0
- package/dist/components/erd/minimap/memo/Memo.d.ts +7 -0
- package/dist/components/erd/minimap/table/Table.d.ts +7 -0
- package/dist/components/erd/minimap/useMinimapScroll.d.ts +7 -0
- package/dist/components/erd/minimap/viewport/Viewport.d.ts +6 -0
- package/dist/components/erd/minimap/viewport/Viewport.styles.d.ts +1 -0
- package/dist/components/erd/table-properties/TableProperties.d.ts +9 -0
- package/dist/components/erd/table-properties/TableProperties.styles.d.ts +6 -0
- package/dist/components/erd/table-properties/table-properties-indexes/TablePropertiesIndexes.d.ts +6 -0
- package/dist/components/erd/table-properties/table-properties-indexes/TablePropertiesIndexes.styles.d.ts +3 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.d.ts +8 -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 +7 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.styles.d.ts +3 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.d.ts +9 -0
- package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.styles.d.ts +4 -0
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.d.ts +14 -0
- package/dist/components/erd/table-properties/table-properties-tabs/TablePropertiesTabs.styles.d.ts +2 -0
- package/dist/components/erd/useErdShortcut.d.ts +2 -0
- package/dist/components/erd-editor/ErdEditor.d.ts +26 -0
- package/dist/components/erd-editor/ErdEditor.stories.d.ts +18 -0
- package/dist/components/erd-editor/ErdEditor.styles.d.ts +2 -0
- package/dist/components/erd-editor/useErdEditorAttachElement.d.ts +21 -0
- package/dist/components/generator-code/GeneratorCode.d.ts +7 -0
- package/dist/components/generator-code/GeneratorCode.styles.d.ts +1 -0
- package/dist/components/generator-code/generator-code-context-menu/GeneratorCodeContextMenu.d.ts +6 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/columnNameCaseMenus.d.ts +12 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/languageMenus.d.ts +12 -0
- package/dist/components/generator-code/generator-code-context-menu/menus/tableNameCaseMenus.d.ts +12 -0
- package/dist/components/global-styles/GlobalStyles.d.ts +4 -0
- package/dist/components/primitives/button/Button.d.ts +9 -0
- package/dist/components/primitives/button/Button.stories.d.ts +26 -0
- package/dist/components/primitives/button/Button.styles.d.ts +6 -0
- package/dist/components/primitives/code-block/CodeBlock.d.ts +10 -0
- package/dist/components/primitives/code-block/CodeBlock.stories.d.ts +25 -0
- package/dist/components/primitives/code-block/CodeBlock.styles.d.ts +3 -0
- package/dist/components/primitives/color-picker/ColorPicker.d.ts +12 -0
- package/dist/components/primitives/color-picker/ColorPicker.stories.d.ts +26 -0
- package/dist/components/primitives/color-picker/ColorPicker.styles.d.ts +1 -0
- package/dist/components/primitives/context-menu/ContextMenu.d.ts +10 -0
- package/dist/components/primitives/context-menu/ContextMenu.stories.d.ts +16 -0
- package/dist/components/primitives/context-menu/context-menu-content/ContextMenuContent.d.ts +9 -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 +8 -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 +6 -0
- package/dist/components/primitives/context-menu/context-menu-root/contextMenuRootContext.d.ts +22 -0
- package/dist/components/primitives/context-menu/menu/Menu.d.ts +8 -0
- package/dist/components/primitives/context-menu/menu/Menu.styles.d.ts +3 -0
- package/dist/components/primitives/edit-input/EditInput.d.ts +16 -0
- package/dist/components/primitives/edit-input/EditInput.stories.d.ts +36 -0
- package/dist/components/primitives/edit-input/EditInput.styles.d.ts +4 -0
- package/dist/components/primitives/highlighted-text/HighlightedText.d.ts +8 -0
- package/dist/components/primitives/highlighted-text/HighlightedText.stories.d.ts +23 -0
- package/dist/components/primitives/highlighted-text/HighlightedText.styles.d.ts +1 -0
- package/dist/components/primitives/icon/Icon.d.ts +14 -0
- package/dist/components/primitives/icon/Icon.stories.d.ts +8 -0
- package/dist/components/primitives/icon/Icon.styles.d.ts +2 -0
- package/dist/components/primitives/icon/icons.d.ts +29 -0
- package/dist/components/primitives/kbd/Kbd.d.ts +7 -0
- package/dist/components/primitives/kbd/Kbd.stories.d.ts +17 -0
- package/dist/components/primitives/kbd/Kbd.styles.d.ts +3 -0
- package/dist/components/primitives/sash/Sash.d.ts +27 -0
- package/dist/components/primitives/sash/Sash.stories.d.ts +30 -0
- package/dist/components/primitives/sash/Sash.styles.d.ts +2 -0
- package/dist/components/primitives/separator/Separator.d.ts +7 -0
- package/dist/components/primitives/separator/Separator.stories.d.ts +25 -0
- package/dist/components/primitives/separator/Separator.styles.d.ts +2 -0
- package/dist/components/primitives/switch/Switch.d.ts +8 -0
- package/dist/components/primitives/switch/Switch.stories.d.ts +21 -0
- package/dist/components/primitives/switch/Switch.styles.d.ts +5 -0
- package/dist/components/primitives/text-input/TextInput.d.ts +19 -0
- package/dist/components/primitives/text-input/TextInput.stories.d.ts +41 -0
- package/dist/components/primitives/toast/Toast.d.ts +8 -0
- package/dist/components/primitives/toast/Toast.stories.d.ts +20 -0
- package/dist/components/primitives/toast/Toast.styles.d.ts +5 -0
- package/dist/components/quick-search/QuickSearch.d.ts +4 -0
- package/dist/components/quick-search/QuickSearch.styles.d.ts +10 -0
- package/dist/components/quick-search/actions.d.ts +14 -0
- package/dist/components/schema-sql/SchemaSQL.d.ts +7 -0
- package/dist/components/schema-sql/SchemaSQL.styles.d.ts +1 -0
- package/dist/components/schema-sql/schema-sql-context-menu/SchemaSQLContextMenu.d.ts +6 -0
- package/dist/components/schema-sql/schema-sql-context-menu/menus/bracketMenus.d.ts +12 -0
- package/dist/components/settings/Settings.d.ts +4 -0
- package/dist/components/settings/Settings.styles.d.ts +10 -0
- package/dist/components/settings/settings-lnb/SettingsLnb.d.ts +13 -0
- package/dist/components/settings/settings-lnb/SettingsLnb.styles.d.ts +3 -0
- package/dist/components/settings/shortcuts/Shortcuts.d.ts +4 -0
- package/dist/components/settings/shortcuts/Shortcuts.styles.d.ts +2 -0
- package/dist/components/theme/Theme.d.ts +7 -0
- package/dist/components/theme-builder/ThemeBuilder.d.ts +7 -0
- package/dist/components/theme-builder/ThemeBuilder.styles.d.ts +8 -0
- package/dist/components/toast-container/ToastContainer.d.ts +4 -0
- package/dist/components/toast-container/ToastContainer.styles.d.ts +1 -0
- package/dist/components/toolbar/Toolbar.d.ts +6 -0
- package/dist/components/toolbar/Toolbar.styles.d.ts +3 -0
- package/dist/components/visualization/Visualization.d.ts +4 -0
- package/dist/components/visualization/Visualization.styles.d.ts +1 -0
- package/dist/components/visualization/createVisualization.d.ts +9 -0
- package/dist/components/visualization/table/Table.d.ts +10 -0
- package/dist/components/visualization/table/Table.styles.d.ts +1 -0
- package/dist/components/visualization/table/column/Column.d.ts +12 -0
- package/dist/components/visualization/table/column/Column.styles.d.ts +1 -0
- package/dist/constants/language.d.ts +1 -0
- package/dist/constants/layout.d.ts +32 -0
- package/dist/constants/open.d.ts +8 -0
- package/dist/constants/schema.d.ts +102 -0
- package/dist/constants/sql/dataType/MSSQL.d.ts +5 -0
- package/dist/constants/sql/dataType/MariaDB.d.ts +5 -0
- package/dist/constants/sql/dataType/MySQL.d.ts +5 -0
- package/dist/constants/sql/dataType/Oracle.d.ts +5 -0
- package/dist/constants/sql/dataType/PostgreSQL.d.ts +5 -0
- package/dist/constants/sql/dataType/SQLite.d.ts +5 -0
- package/dist/constants/sql/dataType/index.d.ts +25 -0
- package/dist/constants/sql/database.d.ts +12 -0
- package/dist/engine/actions.d.ts +35 -0
- package/dist/engine/context.d.ts +5 -0
- package/dist/engine/generator.actions.d.ts +4 -0
- package/dist/engine/history.actions.d.ts +9 -0
- package/dist/engine/history.d.ts +20 -0
- package/dist/engine/hooks.d.ts +8 -0
- package/dist/engine/modules/editor/actions.d.ts +93 -0
- package/dist/engine/modules/editor/atom.actions.d.ts +406 -0
- package/dist/engine/modules/editor/generator.actions.d.ts +31 -0
- package/dist/engine/modules/editor/history.d.ts +5 -0
- package/dist/engine/modules/editor/state.d.ts +63 -0
- package/dist/engine/modules/editor/utils/focus.d.ts +15 -0
- package/dist/engine/modules/editor/utils/selectRangeColumn.d.ts +3 -0
- package/dist/engine/modules/index/actions.d.ts +31 -0
- package/dist/engine/modules/index/atom.actions.d.ts +101 -0
- package/dist/engine/modules/index/generator.actions.d.ts +7 -0
- package/dist/engine/modules/index/history.d.ts +7 -0
- package/dist/engine/modules/index-column/actions.d.ts +37 -0
- package/dist/engine/modules/index-column/atom.actions.d.ts +125 -0
- package/dist/engine/modules/index-column/generator.actions.d.ts +11 -0
- package/dist/engine/modules/index-column/history.d.ts +7 -0
- package/dist/engine/modules/memo/actions.d.ts +59 -0
- package/dist/engine/modules/memo/atom.actions.d.ts +225 -0
- package/dist/engine/modules/memo/generator.actions.d.ts +9 -0
- package/dist/engine/modules/memo/history.d.ts +12 -0
- package/dist/engine/modules/relationship/actions.d.ts +31 -0
- package/dist/engine/modules/relationship/atom.actions.d.ts +102 -0
- package/dist/engine/modules/relationship/generator.actions.d.ts +1 -0
- package/dist/engine/modules/relationship/history.d.ts +6 -0
- package/dist/engine/modules/relationship/hooks.d.ts +2 -0
- package/dist/engine/modules/settings/actions.d.ts +83 -0
- package/dist/engine/modules/settings/atom.actions.d.ts +348 -0
- package/dist/engine/modules/settings/generator.actions.d.ts +7 -0
- package/dist/engine/modules/settings/history.d.ts +11 -0
- package/dist/engine/modules/table/actions.d.ts +57 -0
- package/dist/engine/modules/table/atom.actions.d.ts +224 -0
- package/dist/engine/modules/table/generator.actions.d.ts +12 -0
- package/dist/engine/modules/table/history.d.ts +13 -0
- package/dist/engine/modules/table/hooks.d.ts +2 -0
- package/dist/engine/modules/table-column/actions.d.ts +53 -0
- package/dist/engine/modules/table-column/atom.actions.d.ts +230 -0
- package/dist/engine/modules/table-column/generator.actions.d.ts +19 -0
- package/dist/engine/modules/table-column/history.d.ts +14 -0
- package/dist/engine/modules/table-column/hooks.d.ts +2 -0
- package/dist/engine/modules/table-column/utils/dataType.d.ts +3 -0
- package/dist/engine/rx-operators/actionsFilter.d.ts +3 -0
- package/dist/engine/rx-operators/groupByStreamActions.d.ts +5 -0
- package/dist/engine/rx-operators/ignoreTagFilter.d.ts +3 -0
- package/dist/engine/rx-operators/index.d.ts +4 -0
- package/dist/engine/rx-operators/notEmptyActions.d.ts +2 -0
- package/dist/engine/rx-operators/readonlyIgnoreFilter.d.ts +3 -0
- package/dist/engine/rx-store.d.ts +10 -0
- package/dist/engine/state.d.ts +5 -0
- package/dist/engine/store.d.ts +5 -0
- package/dist/engine/store.hooks.d.ts +4 -0
- package/dist/engine/tag.d.ts +7 -0
- package/dist/erd-editor.js +42402 -0
- package/dist/hooks/useDarkMode.d.ts +5 -0
- package/dist/hooks/useFlipAnimation.d.ts +2 -0
- package/dist/hooks/useKeyBindingMap.d.ts +3 -0
- package/dist/hooks/useUnmounted.d.ts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.dev.d.ts +1 -0
- package/dist/internal-types/index.d.ts +40 -0
- package/dist/services/schema-gc/index.d.ts +10 -0
- package/dist/services/schema-gc/procGC.d.ts +3 -0
- package/dist/services/schema-gc/schemaGCService.d.ts +4 -0
- package/dist/services/shikiService.d.ts +8 -0
- package/dist/styles/colorPicker.style.d.ts +1 -0
- package/dist/styles/fonts.styles.d.ts +3 -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 +14 -0
- package/dist/themes/radix-ui-theme.config.d.ts +2 -0
- package/dist/themes/radix-ui-theme.d.ts +1792 -0
- package/dist/themes/textColor.d.ts +2 -0
- package/dist/themes/tokens.d.ts +63 -0
- package/dist/utils/attribute.d.ts +1 -0
- package/dist/utils/bit.d.ts +1 -0
- package/dist/utils/calcMemo.d.ts +3 -0
- package/dist/utils/calcTable.d.ts +16 -0
- package/dist/utils/clipboard.d.ts +1 -0
- package/dist/utils/collection/index.entity.d.ts +2 -0
- package/dist/utils/collection/indexColumn.entity.d.ts +2 -0
- package/dist/utils/collection/memo.entity.d.ts +2 -0
- package/dist/utils/collection/relationship.entity.d.ts +2 -0
- package/dist/utils/collection/sequence.d.ts +1 -0
- package/dist/utils/collection/table.entity.d.ts +2 -0
- package/dist/utils/collection/tableColumn.entity.d.ts +2 -0
- package/dist/utils/device-detect/index.d.ts +7 -0
- package/dist/utils/domEvent.d.ts +6 -0
- package/dist/utils/dragSelect.d.ts +23 -0
- package/dist/utils/draw-relationship/calc.d.ts +6 -0
- package/dist/utils/draw-relationship/draw.d.ts +4 -0
- package/dist/utils/draw-relationship/index.d.ts +108 -0
- package/dist/utils/draw-relationship/pathFinding.d.ts +3 -0
- package/dist/utils/draw-relationship/sort.d.ts +2 -0
- package/dist/utils/emitter.d.ts +141 -0
- package/dist/utils/file/exportFile.d.ts +9 -0
- package/dist/utils/file/importFile.d.ts +10 -0
- package/dist/utils/flipAnimation.d.ts +10 -0
- package/dist/utils/focus.d.ts +5 -0
- package/dist/utils/generator-code/csharp.d.ts +4 -0
- package/dist/utils/generator-code/graphql.d.ts +4 -0
- package/dist/utils/generator-code/index.d.ts +4 -0
- package/dist/utils/generator-code/java.d.ts +4 -0
- package/dist/utils/generator-code/jpa.d.ts +4 -0
- package/dist/utils/generator-code/kotlin.d.ts +4 -0
- package/dist/utils/generator-code/scala.d.ts +4 -0
- package/dist/utils/generator-code/typescript.d.ts +4 -0
- package/dist/utils/generator-code/utils.d.ts +19 -0
- package/dist/utils/globalEmitter.d.ts +28 -0
- package/dist/utils/globalEventObservable.d.ts +41 -0
- package/dist/utils/icon.d.ts +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/internalEvents.d.ts +38 -0
- package/dist/utils/keyboard-shortcut/index.d.ts +36 -0
- package/dist/utils/keyboard-shortcut/utils.d.ts +2 -0
- package/dist/utils/promise.d.ts +1 -0
- package/dist/utils/rx-operators/fromCopy.d.ts +3 -0
- package/dist/utils/rx-operators/fromDraggable.d.ts +1 -0
- package/dist/utils/rx-operators/fromPaste.d.ts +3 -0
- package/dist/utils/rx-operators/fromShadowDraggable.d.ts +1 -0
- package/dist/utils/rx-operators/takeUnsubscribe.d.ts +2 -0
- package/dist/utils/schema-sql/MSSQL.d.ts +5 -0
- package/dist/utils/schema-sql/MariaDB.d.ts +5 -0
- package/dist/utils/schema-sql/MySQL.d.ts +5 -0
- package/dist/utils/schema-sql/Oracle.d.ts +5 -0
- package/dist/utils/schema-sql/PostgreSQL.d.ts +5 -0
- package/dist/utils/schema-sql/SQLite.d.ts +5 -0
- package/dist/utils/schema-sql/index.d.ts +4 -0
- package/dist/utils/schema-sql/utils.d.ts +53 -0
- package/dist/utils/schema-sql-parser/index.d.ts +3 -0
- package/dist/utils/schema-sql-parser/utils.d.ts +3 -0
- package/dist/utils/table-clipboard/copy.d.ts +3 -0
- package/dist/utils/table-clipboard/index.d.ts +15 -0
- package/dist/utils/table-clipboard/paste.d.ts +4 -0
- package/dist/utils/text.d.ts +4 -0
- package/dist/utils/validation.d.ts +16 -0
- package/dist/workers/schemaGC.shared-worker.d.ts +1 -0
- package/dist/workers/schemaGC.worker.d.ts +1 -0
- package/package.json +101 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Reducer } from '@dineug/r-html';
|
|
2
|
+
import { EngineContext } from "../../context";
|
|
3
|
+
import { RootState } from "../../state";
|
|
4
|
+
import { ValuesType } from "../../../internal-types";
|
|
5
|
+
export declare const ActionType: {
|
|
6
|
+
readonly addIndexColumn: "indexColumn.add";
|
|
7
|
+
readonly removeIndexColumn: "indexColumn.remove";
|
|
8
|
+
readonly moveIndexColumn: "indexColumn.move";
|
|
9
|
+
readonly changeIndexColumnOrderType: "indexColumn.changeOrderType";
|
|
10
|
+
};
|
|
11
|
+
export type ActionType = ValuesType<typeof ActionType>;
|
|
12
|
+
export type ActionMap = {
|
|
13
|
+
[ActionType.addIndexColumn]: {
|
|
14
|
+
id: string;
|
|
15
|
+
indexId: string;
|
|
16
|
+
tableId: string;
|
|
17
|
+
columnId: string;
|
|
18
|
+
};
|
|
19
|
+
[ActionType.removeIndexColumn]: {
|
|
20
|
+
id: string;
|
|
21
|
+
indexId: string;
|
|
22
|
+
tableId: string;
|
|
23
|
+
};
|
|
24
|
+
[ActionType.moveIndexColumn]: {
|
|
25
|
+
id: string;
|
|
26
|
+
indexId: string;
|
|
27
|
+
tableId: string;
|
|
28
|
+
targetId: string;
|
|
29
|
+
};
|
|
30
|
+
[ActionType.changeIndexColumnOrderType]: {
|
|
31
|
+
id: string;
|
|
32
|
+
indexId: string;
|
|
33
|
+
columnId: string;
|
|
34
|
+
value: number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type ReducerType<T extends keyof ActionMap> = Reducer<RootState, T, ActionMap, EngineContext>;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { ReducerType } from './actions';
|
|
2
|
+
export declare const addIndexColumnAction: {
|
|
3
|
+
(payload: {
|
|
4
|
+
id: string;
|
|
5
|
+
indexId: string;
|
|
6
|
+
tableId: string;
|
|
7
|
+
columnId: string;
|
|
8
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
9
|
+
id: string;
|
|
10
|
+
indexId: string;
|
|
11
|
+
tableId: string;
|
|
12
|
+
columnId: string;
|
|
13
|
+
}>;
|
|
14
|
+
toString(): string;
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const removeIndexColumnAction: {
|
|
18
|
+
(payload: {
|
|
19
|
+
id: string;
|
|
20
|
+
indexId: string;
|
|
21
|
+
tableId: string;
|
|
22
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
23
|
+
id: string;
|
|
24
|
+
indexId: string;
|
|
25
|
+
tableId: string;
|
|
26
|
+
}>;
|
|
27
|
+
toString(): string;
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const moveIndexColumnAction: {
|
|
31
|
+
(payload: {
|
|
32
|
+
id: string;
|
|
33
|
+
indexId: string;
|
|
34
|
+
tableId: string;
|
|
35
|
+
targetId: string;
|
|
36
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
37
|
+
id: string;
|
|
38
|
+
indexId: string;
|
|
39
|
+
tableId: string;
|
|
40
|
+
targetId: string;
|
|
41
|
+
}>;
|
|
42
|
+
toString(): string;
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
export declare const changeIndexColumnOrderTypeAction: {
|
|
46
|
+
(payload: {
|
|
47
|
+
id: string;
|
|
48
|
+
indexId: string;
|
|
49
|
+
columnId: string;
|
|
50
|
+
value: number;
|
|
51
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
52
|
+
id: string;
|
|
53
|
+
indexId: string;
|
|
54
|
+
columnId: string;
|
|
55
|
+
value: number;
|
|
56
|
+
}>;
|
|
57
|
+
toString(): string;
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
60
|
+
export declare const indexColumnReducers: {
|
|
61
|
+
"indexColumn.add": ReducerType<"indexColumn.add">;
|
|
62
|
+
"indexColumn.remove": ReducerType<"indexColumn.remove">;
|
|
63
|
+
"indexColumn.move": ReducerType<"indexColumn.move">;
|
|
64
|
+
"indexColumn.changeOrderType": ReducerType<"indexColumn.changeOrderType">;
|
|
65
|
+
};
|
|
66
|
+
export declare const actions: {
|
|
67
|
+
addIndexColumnAction: {
|
|
68
|
+
(payload: {
|
|
69
|
+
id: string;
|
|
70
|
+
indexId: string;
|
|
71
|
+
tableId: string;
|
|
72
|
+
columnId: string;
|
|
73
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
74
|
+
id: string;
|
|
75
|
+
indexId: string;
|
|
76
|
+
tableId: string;
|
|
77
|
+
columnId: string;
|
|
78
|
+
}>;
|
|
79
|
+
toString(): string;
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
removeIndexColumnAction: {
|
|
83
|
+
(payload: {
|
|
84
|
+
id: string;
|
|
85
|
+
indexId: string;
|
|
86
|
+
tableId: string;
|
|
87
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
88
|
+
id: string;
|
|
89
|
+
indexId: string;
|
|
90
|
+
tableId: string;
|
|
91
|
+
}>;
|
|
92
|
+
toString(): string;
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
moveIndexColumnAction: {
|
|
96
|
+
(payload: {
|
|
97
|
+
id: string;
|
|
98
|
+
indexId: string;
|
|
99
|
+
tableId: string;
|
|
100
|
+
targetId: string;
|
|
101
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
102
|
+
id: string;
|
|
103
|
+
indexId: string;
|
|
104
|
+
tableId: string;
|
|
105
|
+
targetId: string;
|
|
106
|
+
}>;
|
|
107
|
+
toString(): string;
|
|
108
|
+
type: string;
|
|
109
|
+
};
|
|
110
|
+
changeIndexColumnOrderTypeAction: {
|
|
111
|
+
(payload: {
|
|
112
|
+
id: string;
|
|
113
|
+
indexId: string;
|
|
114
|
+
columnId: string;
|
|
115
|
+
value: number;
|
|
116
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
117
|
+
id: string;
|
|
118
|
+
indexId: string;
|
|
119
|
+
columnId: string;
|
|
120
|
+
value: number;
|
|
121
|
+
}>;
|
|
122
|
+
toString(): string;
|
|
123
|
+
type: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GeneratorAction } from "../../generator.actions";
|
|
2
|
+
export declare const addIndexColumnAction$: (indexId: string, columnId: string) => GeneratorAction;
|
|
3
|
+
export declare const removeIndexColumnAction$: (indexId: string, columnId: string) => GeneratorAction;
|
|
4
|
+
export declare const changeIndexColumnOrderTypeAction$: (indexColumnId: string) => GeneratorAction;
|
|
5
|
+
export declare const moveIndexColumnAction$: (indexColumnId: string, targetId: string) => GeneratorAction;
|
|
6
|
+
export declare const actions$: {
|
|
7
|
+
addIndexColumnAction$: (indexId: string, columnId: string) => GeneratorAction;
|
|
8
|
+
removeIndexColumnAction$: (indexId: string, columnId: string) => GeneratorAction;
|
|
9
|
+
changeIndexColumnOrderTypeAction$: (indexColumnId: string) => GeneratorAction;
|
|
10
|
+
moveIndexColumnAction$: (indexColumnId: string, targetId: string) => GeneratorAction;
|
|
11
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PushUndoHistory } from "../../history.actions";
|
|
2
|
+
export declare const indexColumnPushUndoHistoryMap: {
|
|
3
|
+
"indexColumn.add": PushUndoHistory;
|
|
4
|
+
"indexColumn.remove": PushUndoHistory;
|
|
5
|
+
"indexColumn.move": PushUndoHistory;
|
|
6
|
+
"indexColumn.changeOrderType": PushUndoHistory;
|
|
7
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Reducer } from '@dineug/r-html';
|
|
2
|
+
import { EngineContext } from "../../context";
|
|
3
|
+
import { RootState } from "../../state";
|
|
4
|
+
import { ValuesType } from "../../../internal-types";
|
|
5
|
+
export declare const ActionType: {
|
|
6
|
+
readonly addMemo: "memo.add";
|
|
7
|
+
readonly moveMemo: "memo.move";
|
|
8
|
+
readonly moveToMemo: "memo.moveTo";
|
|
9
|
+
readonly removeMemo: "memo.remove";
|
|
10
|
+
readonly changeMemoValue: "memo.changeValue";
|
|
11
|
+
readonly changeMemoColor: "memo.changeColor";
|
|
12
|
+
readonly resizeMemo: "memo.resize";
|
|
13
|
+
readonly changeZIndex: "memo.changeZIndex";
|
|
14
|
+
};
|
|
15
|
+
export type ActionType = ValuesType<typeof ActionType>;
|
|
16
|
+
export type ActionMap = {
|
|
17
|
+
[ActionType.addMemo]: {
|
|
18
|
+
id: string;
|
|
19
|
+
ui: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
zIndex: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
[ActionType.moveMemo]: {
|
|
26
|
+
movementX: number;
|
|
27
|
+
movementY: number;
|
|
28
|
+
ids: string[];
|
|
29
|
+
};
|
|
30
|
+
[ActionType.moveToMemo]: {
|
|
31
|
+
id: string;
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
};
|
|
35
|
+
[ActionType.removeMemo]: {
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
38
|
+
[ActionType.changeMemoValue]: {
|
|
39
|
+
id: string;
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
[ActionType.changeMemoColor]: {
|
|
43
|
+
id: string;
|
|
44
|
+
color: string;
|
|
45
|
+
prevColor: string;
|
|
46
|
+
};
|
|
47
|
+
[ActionType.resizeMemo]: {
|
|
48
|
+
id: string;
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
};
|
|
54
|
+
[ActionType.changeZIndex]: {
|
|
55
|
+
id: string;
|
|
56
|
+
zIndex: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type ReducerType<T extends keyof ActionMap> = Reducer<RootState, T, ActionMap, EngineContext>;
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { ReducerType } from './actions';
|
|
2
|
+
export declare const addMemoAction: {
|
|
3
|
+
(payload: {
|
|
4
|
+
id: string;
|
|
5
|
+
ui: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
};
|
|
10
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
11
|
+
id: string;
|
|
12
|
+
ui: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
zIndex: number;
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
toString(): string;
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const moveMemoAction: {
|
|
22
|
+
(payload: {
|
|
23
|
+
movementX: number;
|
|
24
|
+
movementY: number;
|
|
25
|
+
ids: string[];
|
|
26
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
27
|
+
movementX: number;
|
|
28
|
+
movementY: number;
|
|
29
|
+
ids: string[];
|
|
30
|
+
}>;
|
|
31
|
+
toString(): string;
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const moveToMemoAction: {
|
|
35
|
+
(payload: {
|
|
36
|
+
id: string;
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
40
|
+
id: string;
|
|
41
|
+
x: number;
|
|
42
|
+
y: number;
|
|
43
|
+
}>;
|
|
44
|
+
toString(): string;
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
export declare const removeMemoAction: {
|
|
48
|
+
(payload: {
|
|
49
|
+
id: string;
|
|
50
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
51
|
+
id: string;
|
|
52
|
+
}>;
|
|
53
|
+
toString(): string;
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
export declare const changeMemoValueAction: {
|
|
57
|
+
(payload: {
|
|
58
|
+
id: string;
|
|
59
|
+
value: string;
|
|
60
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
61
|
+
id: string;
|
|
62
|
+
value: string;
|
|
63
|
+
}>;
|
|
64
|
+
toString(): string;
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
export declare const changeMemoColorAction: {
|
|
68
|
+
(payload: {
|
|
69
|
+
id: string;
|
|
70
|
+
color: string;
|
|
71
|
+
prevColor: string;
|
|
72
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
73
|
+
id: string;
|
|
74
|
+
color: string;
|
|
75
|
+
prevColor: string;
|
|
76
|
+
}>;
|
|
77
|
+
toString(): string;
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
export declare const resizeMemoAction: {
|
|
81
|
+
(payload: {
|
|
82
|
+
id: string;
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
width: number;
|
|
86
|
+
height: number;
|
|
87
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
88
|
+
id: string;
|
|
89
|
+
x: number;
|
|
90
|
+
y: number;
|
|
91
|
+
width: number;
|
|
92
|
+
height: number;
|
|
93
|
+
}>;
|
|
94
|
+
toString(): string;
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
export declare const changeZIndexAction: {
|
|
98
|
+
(payload: {
|
|
99
|
+
id: string;
|
|
100
|
+
zIndex: number;
|
|
101
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
102
|
+
id: string;
|
|
103
|
+
zIndex: number;
|
|
104
|
+
}>;
|
|
105
|
+
toString(): string;
|
|
106
|
+
type: string;
|
|
107
|
+
};
|
|
108
|
+
export declare const memoReducers: {
|
|
109
|
+
"memo.add": ReducerType<"memo.add">;
|
|
110
|
+
"memo.move": ReducerType<"memo.move">;
|
|
111
|
+
"memo.moveTo": ReducerType<"memo.moveTo">;
|
|
112
|
+
"memo.remove": ReducerType<"memo.remove">;
|
|
113
|
+
"memo.changeValue": ReducerType<"memo.changeValue">;
|
|
114
|
+
"memo.changeColor": ReducerType<"memo.changeColor">;
|
|
115
|
+
"memo.resize": ReducerType<"memo.resize">;
|
|
116
|
+
"memo.changeZIndex": ReducerType<"memo.changeZIndex">;
|
|
117
|
+
};
|
|
118
|
+
export declare const actions: {
|
|
119
|
+
addMemoAction: {
|
|
120
|
+
(payload: {
|
|
121
|
+
id: string;
|
|
122
|
+
ui: {
|
|
123
|
+
x: number;
|
|
124
|
+
y: number;
|
|
125
|
+
zIndex: number;
|
|
126
|
+
};
|
|
127
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
128
|
+
id: string;
|
|
129
|
+
ui: {
|
|
130
|
+
x: number;
|
|
131
|
+
y: number;
|
|
132
|
+
zIndex: number;
|
|
133
|
+
};
|
|
134
|
+
}>;
|
|
135
|
+
toString(): string;
|
|
136
|
+
type: string;
|
|
137
|
+
};
|
|
138
|
+
moveMemoAction: {
|
|
139
|
+
(payload: {
|
|
140
|
+
movementX: number;
|
|
141
|
+
movementY: number;
|
|
142
|
+
ids: string[];
|
|
143
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
144
|
+
movementX: number;
|
|
145
|
+
movementY: number;
|
|
146
|
+
ids: string[];
|
|
147
|
+
}>;
|
|
148
|
+
toString(): string;
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
moveToMemoAction: {
|
|
152
|
+
(payload: {
|
|
153
|
+
id: string;
|
|
154
|
+
x: number;
|
|
155
|
+
y: number;
|
|
156
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
157
|
+
id: string;
|
|
158
|
+
x: number;
|
|
159
|
+
y: number;
|
|
160
|
+
}>;
|
|
161
|
+
toString(): string;
|
|
162
|
+
type: string;
|
|
163
|
+
};
|
|
164
|
+
removeMemoAction: {
|
|
165
|
+
(payload: {
|
|
166
|
+
id: string;
|
|
167
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
168
|
+
id: string;
|
|
169
|
+
}>;
|
|
170
|
+
toString(): string;
|
|
171
|
+
type: string;
|
|
172
|
+
};
|
|
173
|
+
changeMemoValueAction: {
|
|
174
|
+
(payload: {
|
|
175
|
+
id: string;
|
|
176
|
+
value: string;
|
|
177
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
178
|
+
id: string;
|
|
179
|
+
value: string;
|
|
180
|
+
}>;
|
|
181
|
+
toString(): string;
|
|
182
|
+
type: string;
|
|
183
|
+
};
|
|
184
|
+
changeMemoColorAction: {
|
|
185
|
+
(payload: {
|
|
186
|
+
id: string;
|
|
187
|
+
color: string;
|
|
188
|
+
prevColor: string;
|
|
189
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
190
|
+
id: string;
|
|
191
|
+
color: string;
|
|
192
|
+
prevColor: string;
|
|
193
|
+
}>;
|
|
194
|
+
toString(): string;
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
resizeMemoAction: {
|
|
198
|
+
(payload: {
|
|
199
|
+
id: string;
|
|
200
|
+
x: number;
|
|
201
|
+
y: number;
|
|
202
|
+
width: number;
|
|
203
|
+
height: number;
|
|
204
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
205
|
+
id: string;
|
|
206
|
+
x: number;
|
|
207
|
+
y: number;
|
|
208
|
+
width: number;
|
|
209
|
+
height: number;
|
|
210
|
+
}>;
|
|
211
|
+
toString(): string;
|
|
212
|
+
type: string;
|
|
213
|
+
};
|
|
214
|
+
changeZIndexAction: {
|
|
215
|
+
(payload: {
|
|
216
|
+
id: string;
|
|
217
|
+
zIndex: number;
|
|
218
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
219
|
+
id: string;
|
|
220
|
+
zIndex: number;
|
|
221
|
+
}>;
|
|
222
|
+
toString(): string;
|
|
223
|
+
type: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GeneratorAction } from "../../generator.actions";
|
|
2
|
+
export declare const addMemoAction$: () => GeneratorAction;
|
|
3
|
+
export declare const removeMemoAction$: (id?: string) => GeneratorAction;
|
|
4
|
+
export declare const selectMemoAction$: (id: string, $mod: boolean) => GeneratorAction;
|
|
5
|
+
export declare const actions$: {
|
|
6
|
+
addMemoAction$: () => GeneratorAction;
|
|
7
|
+
removeMemoAction$: (id?: string) => GeneratorAction;
|
|
8
|
+
selectMemoAction$: (id: string, $mod: boolean) => GeneratorAction;
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PushStreamHistory, PushUndoHistory } from "../../history.actions";
|
|
2
|
+
export declare const memoPushUndoHistoryMap: {
|
|
3
|
+
"memo.add": PushUndoHistory;
|
|
4
|
+
"memo.remove": PushUndoHistory;
|
|
5
|
+
"memo.changeValue": PushUndoHistory;
|
|
6
|
+
"memo.moveTo": PushUndoHistory;
|
|
7
|
+
};
|
|
8
|
+
export declare const memoPushStreamHistoryMap: {
|
|
9
|
+
"memo.move": PushStreamHistory;
|
|
10
|
+
"memo.changeColor": PushStreamHistory;
|
|
11
|
+
"memo.resize": PushStreamHistory;
|
|
12
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Reducer } from '@dineug/r-html';
|
|
2
|
+
import { EngineContext } from "../../context";
|
|
3
|
+
import { RootState } from "../../state";
|
|
4
|
+
import { ValuesType } from "../../../internal-types";
|
|
5
|
+
export declare const ActionType: {
|
|
6
|
+
readonly addRelationship: "relationship.add";
|
|
7
|
+
readonly removeRelationship: "relationship.remove";
|
|
8
|
+
readonly changeRelationshipType: "relationship.changeType";
|
|
9
|
+
};
|
|
10
|
+
export type ActionType = ValuesType<typeof ActionType>;
|
|
11
|
+
export type ActionMap = {
|
|
12
|
+
[ActionType.addRelationship]: {
|
|
13
|
+
id: string;
|
|
14
|
+
relationshipType: number;
|
|
15
|
+
start: RelationshipPoint;
|
|
16
|
+
end: RelationshipPoint;
|
|
17
|
+
};
|
|
18
|
+
[ActionType.removeRelationship]: {
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
[ActionType.changeRelationshipType]: {
|
|
22
|
+
id: string;
|
|
23
|
+
value: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type ReducerType<T extends keyof ActionMap> = Reducer<RootState, T, ActionMap, EngineContext>;
|
|
27
|
+
type RelationshipPoint = {
|
|
28
|
+
tableId: string;
|
|
29
|
+
columnIds: string[];
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { ReducerType } from './actions';
|
|
2
|
+
export declare const addRelationshipAction: {
|
|
3
|
+
(payload: {
|
|
4
|
+
id: string;
|
|
5
|
+
relationshipType: number;
|
|
6
|
+
start: {
|
|
7
|
+
tableId: string;
|
|
8
|
+
columnIds: string[];
|
|
9
|
+
};
|
|
10
|
+
end: {
|
|
11
|
+
tableId: string;
|
|
12
|
+
columnIds: string[];
|
|
13
|
+
};
|
|
14
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
15
|
+
id: string;
|
|
16
|
+
relationshipType: number;
|
|
17
|
+
start: {
|
|
18
|
+
tableId: string;
|
|
19
|
+
columnIds: string[];
|
|
20
|
+
};
|
|
21
|
+
end: {
|
|
22
|
+
tableId: string;
|
|
23
|
+
columnIds: string[];
|
|
24
|
+
};
|
|
25
|
+
}>;
|
|
26
|
+
toString(): string;
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const removeRelationshipAction: {
|
|
30
|
+
(payload: {
|
|
31
|
+
id: string;
|
|
32
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
33
|
+
id: string;
|
|
34
|
+
}>;
|
|
35
|
+
toString(): string;
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const changeRelationshipTypeAction: {
|
|
39
|
+
(payload: {
|
|
40
|
+
id: string;
|
|
41
|
+
value: number;
|
|
42
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
43
|
+
id: string;
|
|
44
|
+
value: number;
|
|
45
|
+
}>;
|
|
46
|
+
toString(): string;
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const relationshipReducers: {
|
|
50
|
+
"relationship.add": ReducerType<"relationship.add">;
|
|
51
|
+
"relationship.remove": ReducerType<"relationship.remove">;
|
|
52
|
+
"relationship.changeType": ReducerType<"relationship.changeType">;
|
|
53
|
+
};
|
|
54
|
+
export declare const actions: {
|
|
55
|
+
addRelationshipAction: {
|
|
56
|
+
(payload: {
|
|
57
|
+
id: string;
|
|
58
|
+
relationshipType: number;
|
|
59
|
+
start: {
|
|
60
|
+
tableId: string;
|
|
61
|
+
columnIds: string[];
|
|
62
|
+
};
|
|
63
|
+
end: {
|
|
64
|
+
tableId: string;
|
|
65
|
+
columnIds: string[];
|
|
66
|
+
};
|
|
67
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
68
|
+
id: string;
|
|
69
|
+
relationshipType: number;
|
|
70
|
+
start: {
|
|
71
|
+
tableId: string;
|
|
72
|
+
columnIds: string[];
|
|
73
|
+
};
|
|
74
|
+
end: {
|
|
75
|
+
tableId: string;
|
|
76
|
+
columnIds: string[];
|
|
77
|
+
};
|
|
78
|
+
}>;
|
|
79
|
+
toString(): string;
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
removeRelationshipAction: {
|
|
83
|
+
(payload: {
|
|
84
|
+
id: string;
|
|
85
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
86
|
+
id: string;
|
|
87
|
+
}>;
|
|
88
|
+
toString(): string;
|
|
89
|
+
type: string;
|
|
90
|
+
};
|
|
91
|
+
changeRelationshipTypeAction: {
|
|
92
|
+
(payload: {
|
|
93
|
+
id: string;
|
|
94
|
+
value: number;
|
|
95
|
+
}): import("@dineug/r-html").AnyAction<{
|
|
96
|
+
id: string;
|
|
97
|
+
value: number;
|
|
98
|
+
}>;
|
|
99
|
+
toString(): string;
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const actions$: {};
|