@dineug/erd-editor 4.0.0 → 4.2.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 +106 -280
- package/dist/components/dictionary/Dictionary.d.ts +12 -0
- package/dist/components/dictionary/Dictionary.styles.d.ts +33 -0
- package/dist/components/dictionary/checkCount.d.ts +28 -0
- package/dist/components/dictionary/checkSheet.d.ts +41 -0
- package/dist/components/dictionary/dictionary-context-menu/DictionaryContextMenu.d.ts +30 -0
- package/dist/components/dictionary/dictionaryCommit.d.ts +83 -0
- package/dist/components/dictionary/dictionaryFile.d.ts +23 -0
- package/dist/components/dictionary/dictionaryKeys.d.ts +48 -0
- package/dist/components/dictionary/dictionaryView.d.ts +65 -0
- package/dist/components/dictionary/domain-cell-editor/DomainCellEditor.d.ts +22 -0
- package/dist/components/dictionary/domain-cell-editor/DomainCellEditor.styles.d.ts +7 -0
- package/dist/components/dictionary/domain-cell-editor/openDomainCellEditor.d.ts +9 -0
- package/dist/components/dictionary/gridTheme.d.ts +18 -0
- package/dist/components/dictionary/sheets.d.ts +65 -0
- package/dist/components/erd/automatic-table-placement/flowPlacement.d.ts +4 -4
- package/dist/components/erd/canvas/DiffOutline.template.d.ts +14 -0
- package/dist/components/erd/canvas/EditOverlay.styles.d.ts +6 -0
- package/dist/components/erd/canvas/sceneHit.d.ts +5 -0
- package/dist/components/erd/canvas/sceneTokens.d.ts +8 -0
- package/dist/components/erd/canvas/table/Table.d.ts +6 -0
- package/dist/components/erd/canvas/table/blankLogicalName.d.ts +19 -0
- package/dist/components/erd/canvas/table/cellLayout.d.ts +4 -4
- package/dist/components/erd/canvas/table/column/Column.d.ts +32 -5
- package/dist/components/erd/canvas/table/dictionaryMarks.d.ts +29 -0
- package/dist/components/erd/canvas/table/useFocusTable.d.ts +1 -0
- package/dist/components/erd/diff-viewer/diff-tree/DiffTree.d.ts +19 -0
- package/dist/components/erd/diff-viewer/diff-tree/DiffTree.styles.d.ts +13 -0
- package/dist/components/erd/diff-viewer/diff-tree/diffTreeModel.d.ts +52 -0
- package/dist/components/erd/diff-viewer/diff.d.ts +21 -19
- package/dist/components/erd/draw-target/placePill.d.ts +1 -3
- package/dist/components/erd/erd-context-menu/menus/nameViewMenus.d.ts +22 -0
- package/dist/components/erd/floating-toolbar/FloatingToolbar.d.ts +7 -4
- package/dist/components/erd/floating-toolbar/nameViewDropdown.d.ts +16 -0
- package/dist/components/erd/floating-toolbar/nameViewDropdown.styles.d.ts +5 -0
- package/dist/components/erd/goToErdTarget.d.ts +40 -16
- package/dist/components/erd/readerNameView.d.ts +15 -0
- package/dist/components/erd/relationshipHighlight.d.ts +18 -0
- package/dist/components/erd/welcome-screen/welcome-hints/WelcomeHints.styles.d.ts +5 -0
- package/dist/components/erd/welcome-screen/welcomeLayout.d.ts +7 -3
- package/dist/components/erd-editor/ErdEditor.styles.d.ts +4 -0
- package/dist/components/erd-editor/viewportLayout.d.ts +52 -0
- package/dist/components/explorer/Explorer.d.ts +12 -0
- package/dist/components/explorer/explorer-controller/ExplorerController.d.ts +11 -0
- package/dist/components/explorer/explorer-panel/ExplorerPanel.d.ts +14 -0
- package/dist/components/explorer/explorer-panel/ExplorerPanel.styles.d.ts +13 -0
- package/dist/components/explorer/explorer-search/ExplorerSearch.d.ts +12 -0
- package/dist/components/explorer/explorer-search/ExplorerSearch.styles.d.ts +13 -0
- package/dist/components/explorer/explorerCommands.d.ts +28 -0
- package/dist/components/explorer/explorerNavigation.d.ts +14 -0
- package/dist/components/explorer/explorerSearch.d.ts +71 -0
- package/dist/components/explorer/explorerTree.d.ts +93 -0
- package/dist/components/explorer/explorerView.d.ts +54 -0
- package/dist/components/{find-replace → explorer}/fieldIcon.d.ts +4 -1
- package/dist/components/{find-replace → explorer}/matchTarget.d.ts +7 -9
- package/dist/components/export-image/ExportImage.d.ts +10 -0
- package/dist/components/export-image/exportImageActions.d.ts +2 -2
- package/dist/components/flowCenters.d.ts +9 -0
- package/dist/components/map-columns/nameOf.d.ts +11 -3
- package/dist/components/primitives/icon/icons.d.ts +13 -4
- package/dist/components/primitives/sash/Sash.d.ts +1 -0
- package/dist/components/primitives/tree/Tree.d.ts +30 -0
- package/dist/components/primitives/tree/Tree.styles.d.ts +5 -0
- package/dist/components/primitives/tree/treeModel.d.ts +42 -0
- package/dist/components/quick-search/QuickSearch.styles.d.ts +1 -0
- package/dist/components/quick-search/actions.d.ts +3 -4
- package/dist/components/quick-search/paletteList.d.ts +7 -0
- package/dist/components/quick-search/scopedActions.d.ts +5 -11
- package/dist/components/schema-sql/schema-sql-options/SchemaSQLOptions.d.ts +2 -2
- package/dist/components/schema-sql/schema-sql-options/SchemaSQLOptions.styles.d.ts +2 -0
- package/dist/components/schema-sql/schemaSQLView.d.ts +2 -0
- package/dist/components/settings/lockSettingRows.d.ts +2 -1
- package/dist/components/table-view/column/column-domain/ColumnDomain.d.ts +19 -0
- package/dist/components/table-view/column/column-domain/domainOptions.d.ts +13 -0
- package/dist/components/table-view/column/column-logical-name/ColumnLogicalName.d.ts +22 -0
- package/dist/components/table-view/column/column-logical-name/ColumnLogicalName.styles.d.ts +4 -0
- package/dist/components/table-view/column/columnViewText.d.ts +33 -0
- package/dist/components/table-view/column/useHintList.d.ts +24 -0
- package/dist/components/theme-builder/ThemeBuilder.styles.d.ts +3 -3
- package/dist/components/toolbar/Toolbar.styles.d.ts +0 -1
- package/dist/components/visualization/createVisualization.d.ts +2 -0
- package/dist/components/visualization/flowLayout.d.ts +2 -1
- package/dist/components/visualization/table/column/Column.d.ts +4 -0
- package/dist/components/visualization/visualization-toolbar/VisualizationToolbar.d.ts +2 -2
- package/dist/components/visualization/visualizationView.d.ts +15 -4
- package/dist/constants/layout.d.ts +18 -1
- package/dist/constants/open.d.ts +0 -1
- package/dist/constants/schema.d.ts +15 -2
- package/dist/engine/actions.d.ts +5 -2
- package/dist/engine/history.actions.d.ts +8 -0
- package/dist/engine/history.d.ts +11 -3
- package/dist/engine/index.js +17 -17
- package/dist/engine/modules/dictionary/actions.d.ts +74 -0
- package/dist/engine/modules/dictionary/atom.actions.d.ts +74 -0
- package/dist/engine/modules/dictionary/checks.d.ts +76 -0
- package/dist/engine/modules/dictionary/derive.d.ts +54 -0
- package/dist/engine/modules/dictionary/derivedNames.d.ts +23 -0
- package/dist/engine/modules/dictionary/dictionaryIndex.d.ts +73 -0
- package/dist/engine/modules/dictionary/domainLinks.d.ts +9 -0
- package/dist/engine/modules/dictionary/domainTypes.d.ts +27 -0
- package/dist/engine/modules/dictionary/entryWrites.d.ts +63 -0
- package/dist/engine/modules/dictionary/generator.actions.d.ts +126 -0
- package/dist/engine/modules/dictionary/history.d.ts +14 -0
- package/dist/engine/modules/dictionary/membership.d.ts +28 -0
- package/dist/engine/modules/dictionary/orderKeys.d.ts +13 -0
- package/dist/engine/modules/dictionary/termIndex.d.ts +24 -0
- package/dist/engine/modules/editor/actions.d.ts +18 -3
- package/dist/engine/modules/editor/atom.actions.d.ts +24 -6
- package/dist/engine/modules/editor/generator.actions.d.ts +22 -8
- package/dist/engine/modules/editor/state.d.ts +24 -0
- package/dist/engine/modules/editor/utils/nameView.d.ts +103 -0
- package/dist/engine/modules/editor/view.actions.d.ts +24 -1
- package/dist/engine/modules/editor/view.d.ts +8 -0
- package/dist/engine/modules/relationship/fkColumns.d.ts +10 -4
- package/dist/engine/modules/settings/actions.d.ts +13 -3
- package/dist/engine/modules/settings/atom.actions.d.ts +49 -5
- package/dist/engine/modules/settings/generator.actions.d.ts +2 -2
- package/dist/engine/modules/table/actions.d.ts +7 -0
- package/dist/engine/modules/table/atom.actions.d.ts +46 -0
- package/dist/engine/modules/table/generator.actions.d.ts +7 -0
- package/dist/engine/modules/table/history.d.ts +2 -0
- package/dist/engine/modules/table-column/actions.d.ts +7 -0
- package/dist/engine/modules/table-column/atom.actions.d.ts +49 -0
- package/dist/engine/modules/table-column/generator.actions.d.ts +5 -0
- package/dist/engine/modules/table-column/history.d.ts +3 -0
- package/dist/engine/modules/table-column/utils/dataType.d.ts +3 -1
- package/dist/engine/rx-store.d.ts +6 -0
- package/dist/engine/tag.d.ts +8 -0
- package/dist/erd-editor.umd.js +1586 -1018
- package/dist/i18n/messages/ar-SA.d.ts +166 -15
- package/dist/i18n/messages/de-DE.d.ts +134 -11
- package/dist/i18n/messages/en/code.d.ts +0 -1
- package/dist/i18n/messages/en/common.d.ts +11 -1
- package/dist/i18n/messages/en/contextMenu.d.ts +1 -0
- package/dist/i18n/messages/en/dictionary.d.ts +79 -0
- package/dist/i18n/messages/en/explorer.d.ts +37 -0
- package/dist/i18n/messages/en/findReplace.d.ts +7 -1
- package/dist/i18n/messages/en/index.d.ts +135 -12
- package/dist/i18n/messages/en/palette.d.ts +5 -7
- package/dist/i18n/messages/en/schemaSql.d.ts +1 -0
- package/dist/i18n/messages/en/settings.d.ts +1 -0
- package/dist/i18n/messages/en/shortcuts.d.ts +3 -1
- package/dist/i18n/messages/en/toolbar.d.ts +0 -1
- package/dist/i18n/messages/en/visualization.d.ts +2 -0
- package/dist/i18n/messages/es-ES.d.ts +142 -12
- package/dist/i18n/messages/eu-ES.d.ts +134 -11
- package/dist/i18n/messages/fa-IR.d.ts +134 -11
- package/dist/i18n/messages/fr-FR.d.ts +142 -12
- package/dist/i18n/messages/he-IL.d.ts +142 -12
- package/dist/i18n/messages/id-ID.d.ts +126 -10
- package/dist/i18n/messages/it-IT.d.ts +142 -12
- package/dist/i18n/messages/ja-JP.d.ts +126 -10
- package/dist/i18n/messages/ko-KR.d.ts +126 -10
- package/dist/i18n/messages/nl-NL.d.ts +134 -11
- package/dist/i18n/messages/pl-PL.d.ts +150 -13
- package/dist/i18n/messages/pt-BR.d.ts +142 -12
- package/dist/i18n/messages/pt-PT.d.ts +142 -12
- package/dist/i18n/messages/ro-RO.d.ts +142 -12
- package/dist/i18n/messages/ru-RU.d.ts +150 -13
- package/dist/i18n/messages/sk-SK.d.ts +150 -13
- package/dist/i18n/messages/sl-SI.d.ts +150 -13
- package/dist/i18n/messages/sv-SE.d.ts +134 -11
- package/dist/i18n/messages/tr-TR.d.ts +134 -11
- package/dist/i18n/messages/uk-UA.d.ts +150 -13
- package/dist/i18n/messages/zh-CN.d.ts +126 -10
- package/dist/i18n/messages/zh-TW.d.ts +126 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.js +34929 -25093
- package/dist/internal-types/index.d.ts +6 -0
- package/dist/konva/scene/columnDropTarget.d.ts +2 -2
- package/dist/loadValue-B5ojYrZ-.js +14682 -0
- package/dist/peer/index.d.ts +4 -0
- package/dist/peer/index.js +60 -59
- package/dist/services/export-png/ExportScene.d.ts +1 -1
- package/dist/services/export-png/documentScene.d.ts +7 -1
- package/dist/services/export-png/index.d.ts +11 -5
- package/dist/services/export-png/renderPng.d.ts +4 -1
- package/dist/services/export-png/renderSvg.d.ts +4 -1
- package/dist/shared-store-S7YWEz3E.js +1656 -0
- package/dist/styles/scrollbar.styles.d.ts +1 -1
- package/dist/themes/tokens.d.ts +21 -4
- package/dist/utils/calcTable.d.ts +20 -4
- package/dist/utils/collection/domain.entity.d.ts +3 -0
- package/dist/utils/collection/term.entity.d.ts +3 -0
- package/dist/utils/collection/word.entity.d.ts +3 -0
- package/dist/utils/dictionary-csv/csv.d.ts +13 -0
- package/dist/utils/dictionary-csv/decode.d.ts +7 -0
- package/dist/utils/dictionary-csv/dictionaryCsv.d.ts +55 -0
- package/dist/utils/dictionary-csv/index.d.ts +4 -0
- package/dist/utils/diff/compareEntities.d.ts +39 -0
- package/dist/utils/diff/diffDocuments.d.ts +12 -0
- package/dist/utils/diff/index.d.ts +5 -0
- package/dist/utils/diff/pairEntities.d.ts +41 -0
- package/dist/utils/diff/types.d.ts +81 -0
- package/dist/utils/emitter.d.ts +2 -8
- package/dist/utils/file/exportFile.d.ts +10 -0
- package/dist/utils/find-replace/findMatches.d.ts +31 -12
- package/dist/utils/find-replace/matcher.d.ts +2 -0
- package/dist/utils/find-replace/present.d.ts +4 -3
- package/dist/utils/find-replace/preserveCase.d.ts +10 -0
- package/dist/utils/find-replace/replaceActions.d.ts +9 -5
- package/dist/utils/focus.d.ts +2 -0
- package/dist/utils/formatCount.d.ts +10 -0
- package/dist/utils/keyboard-shortcut/index.d.ts +11 -3
- package/dist/utils/map-columns/alignTypes.d.ts +3 -3
- package/dist/utils/schema-sql/Databricks.d.ts +2 -2
- package/dist/utils/schema-sql/MSSQL.d.ts +1 -1
- package/dist/utils/schema-sql/MariaDB.d.ts +2 -2
- package/dist/utils/schema-sql/MySQL.d.ts +2 -2
- package/dist/utils/schema-sql/Oracle.d.ts +1 -1
- package/dist/utils/schema-sql/PostgreSQL.d.ts +1 -1
- package/dist/utils/schema-sql/SQLite.d.ts +2 -2
- package/dist/utils/schema-sql/Snowflake.d.ts +2 -2
- package/dist/utils/schema-sql/options.d.ts +2 -0
- package/dist/utils/schema-sql/utils.d.ts +14 -0
- package/dist/utils/table-clipboard/copy.d.ts +2 -3
- package/dist/utils/table-clipboard/index.d.ts +9 -1
- package/dist/utils/table-clipboard/paste.d.ts +2 -2
- package/dist/utils/table-clipboard/payload.d.ts +12 -0
- package/dist/utils/takeover.d.ts +6 -0
- package/dist/utils/validation.d.ts +1 -0
- package/dist/utils/virtualRange.d.ts +15 -0
- package/dist/workers/exportPng.shared-worker.js +30 -29
- package/package.json +8 -6
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.d.ts +0 -12
- package/dist/components/erd/diff-viewer/tree-viewer/TreeViewer.styles.d.ts +0 -6
- package/dist/components/find-replace/FindReplace.d.ts +0 -13
- package/dist/components/find-replace/FindReplace.styles.d.ts +0 -27
- package/dist/components/find-replace/panelLayout.d.ts +0 -20
- package/dist/konva/batchDraw.d.ts +0 -42
- package/dist/konva/host.d.ts +0 -30
- package/dist/konva/jsx-types.test-d.d.ts +0 -2
- package/dist/loadValue-B3EFSe9k.js +0 -12925
- package/dist/shared-store-fUggY7sI.js +0 -1341
|
@@ -66,6 +66,28 @@ export declare const changeTableNameAction: {
|
|
|
66
66
|
toString(): string;
|
|
67
67
|
type: string;
|
|
68
68
|
};
|
|
69
|
+
export declare const changeTableLogicalNameAction: {
|
|
70
|
+
(payload: {
|
|
71
|
+
id: string;
|
|
72
|
+
value: string;
|
|
73
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
74
|
+
id: string;
|
|
75
|
+
value: string;
|
|
76
|
+
}>;
|
|
77
|
+
toString(): string;
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
export declare const changeTableNameDerivedAction: {
|
|
81
|
+
(payload: {
|
|
82
|
+
id: string;
|
|
83
|
+
value: boolean;
|
|
84
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
85
|
+
id: string;
|
|
86
|
+
value: boolean;
|
|
87
|
+
}>;
|
|
88
|
+
toString(): string;
|
|
89
|
+
type: string;
|
|
90
|
+
};
|
|
69
91
|
export declare const changeTableCommentAction: {
|
|
70
92
|
(payload: {
|
|
71
93
|
id: string;
|
|
@@ -132,6 +154,8 @@ export declare const tableReducers: {
|
|
|
132
154
|
"table.changeGroup": ReducerType<"table.changeGroup">;
|
|
133
155
|
"table.changeZIndex": ReducerType<"table.changeZIndex">;
|
|
134
156
|
"table.sort": ReducerType<"table.sort">;
|
|
157
|
+
"table.changeLogicalName": ReducerType<"table.changeLogicalName">;
|
|
158
|
+
"table.changeNameDerived": ReducerType<"table.changeNameDerived">;
|
|
135
159
|
};
|
|
136
160
|
export declare const actions: {
|
|
137
161
|
addTableAction: {
|
|
@@ -256,5 +280,27 @@ export declare const actions: {
|
|
|
256
280
|
toString(): string;
|
|
257
281
|
type: string;
|
|
258
282
|
};
|
|
283
|
+
changeTableLogicalNameAction: {
|
|
284
|
+
(payload: {
|
|
285
|
+
id: string;
|
|
286
|
+
value: string;
|
|
287
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
288
|
+
id: string;
|
|
289
|
+
value: string;
|
|
290
|
+
}>;
|
|
291
|
+
toString(): string;
|
|
292
|
+
type: string;
|
|
293
|
+
};
|
|
294
|
+
changeTableNameDerivedAction: {
|
|
295
|
+
(payload: {
|
|
296
|
+
id: string;
|
|
297
|
+
value: boolean;
|
|
298
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
299
|
+
id: string;
|
|
300
|
+
value: boolean;
|
|
301
|
+
}>;
|
|
302
|
+
toString(): string;
|
|
303
|
+
type: string;
|
|
304
|
+
};
|
|
259
305
|
};
|
|
260
306
|
//# sourceMappingURL=atom.actions.d.ts.map
|
|
@@ -10,11 +10,18 @@ export declare const pasteTableAction$: (columns: Column[]) => GeneratorAction;
|
|
|
10
10
|
* table.sort measures each replica's own text; placed points agree everywhere.
|
|
11
11
|
*/
|
|
12
12
|
export declare const sortTablesToMoveAction$: () => GeneratorAction;
|
|
13
|
+
/**
|
|
14
|
+
* Renames a table as typed by hand, so the dictionaries leave a name that is
|
|
15
|
+
* not empty alone from then on: the derived flag goes off in the same dispatch
|
|
16
|
+
* while it is on.
|
|
17
|
+
*/
|
|
18
|
+
export declare const changeTableNameAction$: (id: string, value: string) => GeneratorAction;
|
|
13
19
|
export declare const actions$: {
|
|
14
20
|
addTableAction$: () => GeneratorAction;
|
|
15
21
|
removeTableAction$: (id?: string) => GeneratorAction;
|
|
16
22
|
selectTableAction$: (id: string, $mod: boolean) => GeneratorAction;
|
|
17
23
|
pasteTableAction$: (columns: Column[]) => GeneratorAction;
|
|
18
24
|
sortTablesToMoveAction$: () => GeneratorAction;
|
|
25
|
+
changeTableNameAction$: (id: string, value: string) => GeneratorAction;
|
|
19
26
|
};
|
|
20
27
|
//# sourceMappingURL=generator.actions.d.ts.map
|
|
@@ -7,6 +7,8 @@ export declare const tablePushUndoHistoryMap: {
|
|
|
7
7
|
"table.changeGroup": PushUndoHistory;
|
|
8
8
|
"table.moveTo": PushUndoHistory;
|
|
9
9
|
"table.sort": PushUndoHistory;
|
|
10
|
+
"table.changeLogicalName": PushUndoHistory;
|
|
11
|
+
"table.changeNameDerived": PushUndoHistory;
|
|
10
12
|
};
|
|
11
13
|
export declare const tablePushStreamHistoryMap: {
|
|
12
14
|
"table.move": PushStreamHistory;
|
|
@@ -14,6 +14,9 @@ export declare const ActionType: {
|
|
|
14
14
|
readonly changeColumnUnique: "column.changeUnique";
|
|
15
15
|
readonly changeColumnNotNull: "column.changeNotNull";
|
|
16
16
|
readonly moveColumn: "column.move";
|
|
17
|
+
readonly changeColumnLogicalName: "column.changeLogicalName";
|
|
18
|
+
readonly changeColumnDomain: "column.changeDomain";
|
|
19
|
+
readonly changeColumnNameDerived: "column.changeNameDerived";
|
|
17
20
|
};
|
|
18
21
|
export type ActionType = ValuesType<typeof ActionType>;
|
|
19
22
|
export type ActionMap = {
|
|
@@ -38,6 +41,10 @@ export type ActionMap = {
|
|
|
38
41
|
tableId: string;
|
|
39
42
|
targetId: string;
|
|
40
43
|
};
|
|
44
|
+
[ActionType.changeColumnLogicalName]: ChangeColumnValuePayload;
|
|
45
|
+
/** The id of the domain the column links, '' for none. */
|
|
46
|
+
[ActionType.changeColumnDomain]: ChangeColumnValuePayload;
|
|
47
|
+
[ActionType.changeColumnNameDerived]: ChangeColumnOptionPayload;
|
|
41
48
|
};
|
|
42
49
|
export type ReducerType<T extends keyof ActionMap> = Reducer<RootState, T, ActionMap, EngineContext>;
|
|
43
50
|
export type ChangeColumnValuePayload = {
|
|
@@ -93,6 +93,29 @@ export declare const changeColumnNotNullAction: {
|
|
|
93
93
|
toString(): string;
|
|
94
94
|
type: string;
|
|
95
95
|
};
|
|
96
|
+
export declare const changeColumnLogicalNameAction: {
|
|
97
|
+
(payload: import('./actions').ChangeColumnValuePayload): import('@dineug/r-html').AnyAction<import('./actions').ChangeColumnValuePayload>;
|
|
98
|
+
toString(): string;
|
|
99
|
+
type: string;
|
|
100
|
+
};
|
|
101
|
+
export declare const changeColumnDomainAction: {
|
|
102
|
+
(payload: import('./actions').ChangeColumnValuePayload): import('@dineug/r-html').AnyAction<import('./actions').ChangeColumnValuePayload>;
|
|
103
|
+
toString(): string;
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
export declare const changeColumnNameDerivedAction: {
|
|
107
|
+
(payload: {
|
|
108
|
+
tableId: string;
|
|
109
|
+
id: string;
|
|
110
|
+
value: boolean;
|
|
111
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
112
|
+
tableId: string;
|
|
113
|
+
id: string;
|
|
114
|
+
value: boolean;
|
|
115
|
+
}>;
|
|
116
|
+
toString(): string;
|
|
117
|
+
type: string;
|
|
118
|
+
};
|
|
96
119
|
export declare const moveColumnAction: {
|
|
97
120
|
(payload: {
|
|
98
121
|
id: string;
|
|
@@ -118,6 +141,9 @@ export declare const tableColumnReducers: {
|
|
|
118
141
|
"column.changeUnique": ReducerType<"column.changeUnique">;
|
|
119
142
|
"column.changeNotNull": ReducerType<"column.changeNotNull">;
|
|
120
143
|
"column.move": ReducerType<"column.move">;
|
|
144
|
+
"column.changeLogicalName": ReducerType<"column.changeLogicalName">;
|
|
145
|
+
"column.changeDomain": ReducerType<"column.changeDomain">;
|
|
146
|
+
"column.changeNameDerived": ReducerType<"column.changeNameDerived">;
|
|
121
147
|
};
|
|
122
148
|
export declare const actions: {
|
|
123
149
|
addColumnAction: {
|
|
@@ -227,5 +253,28 @@ export declare const actions: {
|
|
|
227
253
|
toString(): string;
|
|
228
254
|
type: string;
|
|
229
255
|
};
|
|
256
|
+
changeColumnLogicalNameAction: {
|
|
257
|
+
(payload: import('./actions').ChangeColumnValuePayload): import('@dineug/r-html').AnyAction<import('./actions').ChangeColumnValuePayload>;
|
|
258
|
+
toString(): string;
|
|
259
|
+
type: string;
|
|
260
|
+
};
|
|
261
|
+
changeColumnDomainAction: {
|
|
262
|
+
(payload: import('./actions').ChangeColumnValuePayload): import('@dineug/r-html').AnyAction<import('./actions').ChangeColumnValuePayload>;
|
|
263
|
+
toString(): string;
|
|
264
|
+
type: string;
|
|
265
|
+
};
|
|
266
|
+
changeColumnNameDerivedAction: {
|
|
267
|
+
(payload: {
|
|
268
|
+
tableId: string;
|
|
269
|
+
id: string;
|
|
270
|
+
value: boolean;
|
|
271
|
+
}): import('@dineug/r-html').AnyAction<{
|
|
272
|
+
tableId: string;
|
|
273
|
+
id: string;
|
|
274
|
+
value: boolean;
|
|
275
|
+
}>;
|
|
276
|
+
toString(): string;
|
|
277
|
+
type: string;
|
|
278
|
+
};
|
|
230
279
|
};
|
|
231
280
|
//# sourceMappingURL=atom.actions.d.ts.map
|
|
@@ -6,6 +6,11 @@ export declare const isChangeColumnTypes: (value: FocusType) => boolean;
|
|
|
6
6
|
export declare const addColumnAction$: (tableId?: string) => GeneratorAction;
|
|
7
7
|
export declare const removeColumnAction$: (tableId: string, columnIds: string[]) => GeneratorAction;
|
|
8
8
|
export declare const toggleColumnValueAction$: (focusType: FocusType, tableId: string, columnId: string) => GeneratorAction;
|
|
9
|
+
/**
|
|
10
|
+
* Writes a column's type as typed, with what the data type sync spreads from
|
|
11
|
+
* it, and unlinks in the same dispatch each written column, a foreign key the
|
|
12
|
+
* sync reached included, off the type of its domain, listed or removed.
|
|
13
|
+
*/
|
|
9
14
|
export declare const changeColumnDataTypeAction$: (payload: ChangeColumnValuePayload) => GeneratorAction;
|
|
10
15
|
export declare const changeColumnValueAction$: (focusType: FocusType, tableId: string, columnId: string, value: string) => GeneratorAction;
|
|
11
16
|
/**
|
|
@@ -11,5 +11,8 @@ export declare const tableColumnPushUndoHistoryMap: {
|
|
|
11
11
|
"column.changePrimaryKey": PushUndoHistory;
|
|
12
12
|
"column.changeUnique": PushUndoHistory;
|
|
13
13
|
"column.move": PushUndoHistory;
|
|
14
|
+
"column.changeLogicalName": PushUndoHistory;
|
|
15
|
+
"column.changeDomain": PushUndoHistory;
|
|
16
|
+
"column.changeNameDerived": PushUndoHistory;
|
|
14
17
|
};
|
|
15
18
|
//# sourceMappingURL=history.d.ts.map
|
|
@@ -16,7 +16,9 @@ export type DataTypeSyncRelationship = {
|
|
|
16
16
|
*
|
|
17
17
|
* @param relationships The relationships to follow, the document's by default;
|
|
18
18
|
* a caller about to change one hands the list as it will stand.
|
|
19
|
+
* @param settledIds The columns the batch writes a type of their own, which the
|
|
20
|
+
* walk starts from and never writes again, so no stack order decides them.
|
|
19
21
|
*/
|
|
20
|
-
export declare function getDataTypeSyncColumns(stack: ChangeColumnValuePayload[], state: RootState, payloads?: ChangeColumnValuePayload[], relationships?: DataTypeSyncRelationship[]): ChangeColumnValuePayload[];
|
|
22
|
+
export declare function getDataTypeSyncColumns(stack: ChangeColumnValuePayload[], state: RootState, payloads?: ChangeColumnValuePayload[], relationships?: DataTypeSyncRelationship[], settledIds?: ReadonlySet<string>): ChangeColumnValuePayload[];
|
|
21
23
|
export {};
|
|
22
24
|
//# sourceMappingURL=dataType.d.ts.map
|
|
@@ -2,11 +2,17 @@ import { AnyAction } from '@dineug/r-html';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EngineContext } from './context';
|
|
4
4
|
import { History, HistoryOptions } from './history';
|
|
5
|
+
import { DictionaryKind } from './modules/dictionary/actions';
|
|
5
6
|
import { Store } from './store';
|
|
6
7
|
export type RxStore = Store & {
|
|
7
8
|
undo: () => void;
|
|
8
9
|
redo: () => void;
|
|
9
10
|
history: History;
|
|
11
|
+
/** The history of each dictionary sheet, which holds the Dictionary tab's edits of it. */
|
|
12
|
+
sheetHistories: Readonly<Record<DictionaryKind, History>>;
|
|
13
|
+
/** Undoes the last edit the Dictionary tab made on a sheet, as undo does the document's. */
|
|
14
|
+
undoSheet: (sheet: DictionaryKind) => void;
|
|
15
|
+
redoSheet: (sheet: DictionaryKind) => void;
|
|
10
16
|
resetHistory: () => void;
|
|
11
17
|
change$: Observable<Array<AnyAction>>;
|
|
12
18
|
/**
|
package/dist/engine/tag.d.ts
CHANGED
|
@@ -6,8 +6,16 @@ export declare const Tag: {
|
|
|
6
6
|
readonly following: 4;
|
|
7
7
|
/** A step a pointer drag streams, where an undo of the same move is one jump. */
|
|
8
8
|
readonly drag: 8;
|
|
9
|
+
/**
|
|
10
|
+
* A batch the Dictionary tab sends, whose undo goes into the history of the
|
|
11
|
+
* sheet its dictionary rows are on rather than the document's.
|
|
12
|
+
*/
|
|
13
|
+
readonly dictionarySheet: 16;
|
|
9
14
|
};
|
|
10
15
|
export declare function attachActionTag(tag: number, action: AnyAction): AnyAction;
|
|
11
16
|
export declare function attachActionsTag(tag: number, actions: AnyAction[]): AnyAction[];
|
|
12
17
|
export declare const attachChangeOnlyTag$: (...compositionActions: CompositionActions) => GeneratorAction;
|
|
18
|
+
export declare const attachDictionarySheetTag$: (...compositionActions: CompositionActions) => GeneratorAction;
|
|
19
|
+
/** Whether a batch carries a tag on any of its actions. */
|
|
20
|
+
export declare const hasActionTag: (actions: ReadonlyArray<AnyAction>, tag: number) => boolean;
|
|
13
21
|
//# sourceMappingURL=tag.d.ts.map
|