@dineug/erd-editor 3.9.1 → 3.10.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.
Files changed (89) hide show
  1. package/README.md +46 -9
  2. package/dist/components/erd/Erd.d.ts +1 -0
  3. package/dist/components/erd/canvas/relationship-group/relationship/Relationship.d.ts +2 -0
  4. package/dist/components/erd/canvas/relationship-group/relationship/RelationshipActionLabel.d.ts +32 -0
  5. package/dist/components/erd/canvas/table/cellLayout.d.ts +11 -0
  6. package/dist/components/erd/canvas/table/column/Column.d.ts +7 -0
  7. package/dist/components/erd/canvas/table/goToErd.d.ts +3 -10
  8. package/dist/components/erd/erd-context-menu/menus/relationshipMenus.d.ts +11 -0
  9. package/dist/components/erd/goToErdTarget.d.ts +85 -0
  10. package/dist/components/erd/table-properties/TableProperties.d.ts +2 -0
  11. package/dist/components/erd/table-properties/TableProperties.styles.d.ts +24 -2
  12. package/dist/components/erd/table-properties/table-properties-indexes/TablePropertiesIndexes.d.ts +2 -0
  13. package/dist/components/erd/table-properties/table-properties-indexes/TablePropertiesIndexes.styles.d.ts +32 -0
  14. package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.d.ts +7 -0
  15. package/dist/components/erd/table-properties/table-properties-indexes/indexes-checkbox-column/IndexesCheckboxColumn.styles.d.ts +5 -0
  16. package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.d.ts +7 -0
  17. package/dist/components/erd/table-properties/table-properties-indexes/indexes-column/IndexesColumn.styles.d.ts +3 -0
  18. package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.d.ts +7 -0
  19. package/dist/components/erd/table-properties/table-properties-indexes/indexes-index/IndexesIndex.styles.d.ts +6 -0
  20. package/dist/components/erd/table-properties/table-properties-indexes/indexes-key/IndexesKey.d.ts +15 -0
  21. package/dist/components/erd/table-properties/table-properties-indexes/indexes-key/IndexesKey.styles.d.ts +13 -0
  22. package/dist/components/erd-editor/ErdEditor.d.ts +1 -1
  23. package/dist/components/find-replace/FindReplace.d.ts +13 -0
  24. package/dist/components/find-replace/FindReplace.styles.d.ts +27 -0
  25. package/dist/components/find-replace/fieldIcon.d.ts +5 -0
  26. package/dist/components/find-replace/matchTarget.d.ts +26 -0
  27. package/dist/components/find-replace/panelLayout.d.ts +17 -0
  28. package/dist/components/primitives/icon/icons.d.ts +10 -1
  29. package/dist/components/quick-search/QuickSearch.styles.d.ts +6 -0
  30. package/dist/components/quick-search/actions.d.ts +23 -0
  31. package/dist/components/quick-search/hangul.d.ts +73 -0
  32. package/dist/components/quick-search/paletteQuery.d.ts +37 -0
  33. package/dist/components/quick-search/scopedActions.d.ts +41 -0
  34. package/dist/components/visualization/table/column/Column.d.ts +4 -0
  35. package/dist/constants/layout.d.ts +13 -0
  36. package/dist/constants/open.d.ts +1 -0
  37. package/dist/constants/schema.d.ts +13 -0
  38. package/dist/engine/index.d.ts +1 -1
  39. package/dist/engine/index.js +20 -14
  40. package/dist/engine/modules/relationship/actions.d.ts +13 -0
  41. package/dist/engine/modules/relationship/atom.actions.d.ts +54 -0
  42. package/dist/engine/modules/relationship/fkColumns.d.ts +20 -3
  43. package/dist/engine/modules/relationship/generator.actions.d.ts +5 -2
  44. package/dist/engine/modules/relationship/history.d.ts +2 -0
  45. package/dist/engine/modules/relationship/hooks.d.ts +11 -0
  46. package/dist/engine/modules/table-column/hooks.d.ts +6 -0
  47. package/dist/engine/replication-store.d.ts +15 -1
  48. package/dist/engine/rx-operators/flushOnNotifier.d.ts +6 -0
  49. package/dist/engine/shared-store.d.ts +2 -2
  50. package/dist/engine/store-hooks.d.ts +8 -0
  51. package/dist/erd-editor.umd.js +1038 -481
  52. package/dist/index.d.ts +1 -0
  53. package/dist/index.js +7151 -5306
  54. package/dist/konva/scene/metrics.d.ts +5 -0
  55. package/dist/{store-hooks-DuNN9ZKu.js → loadValue-Mdc5K4qO.js} +4002 -3426
  56. package/dist/peer/index.d.ts +1 -1
  57. package/dist/peer/index.js +77 -80
  58. package/dist/schemaGCService-CZtGFh2z.js +42 -0
  59. package/dist/services/schema-gc/schemaGCService.d.ts +5 -0
  60. package/dist/shared-store-D82WVL5a.js +1129 -0
  61. package/dist/utils/calcTable.d.ts +9 -1
  62. package/dist/utils/emitter.d.ts +13 -0
  63. package/dist/utils/find-replace/findMatches.d.ts +90 -0
  64. package/dist/utils/find-replace/index.d.ts +5 -0
  65. package/dist/utils/find-replace/matcher.d.ts +53 -0
  66. package/dist/utils/find-replace/present.d.ts +22 -0
  67. package/dist/utils/find-replace/replaceActions.d.ts +20 -0
  68. package/dist/utils/generator-code/utils.d.ts +12 -1
  69. package/dist/utils/keyboard-shortcut/index.d.ts +8 -1
  70. package/dist/utils/loadValue.d.ts +7 -0
  71. package/dist/utils/referentialAction.d.ts +21 -0
  72. package/dist/utils/schema-aml-parser/types.d.ts +6 -0
  73. package/dist/utils/schema-dbml-parser/types.d.ts +3 -0
  74. package/dist/utils/schema-sql/Databricks.d.ts +5 -0
  75. package/dist/utils/schema-sql/MSSQL.d.ts +5 -0
  76. package/dist/utils/schema-sql/MariaDB.d.ts +5 -0
  77. package/dist/utils/schema-sql/MySQL.d.ts +5 -0
  78. package/dist/utils/schema-sql/Oracle.d.ts +5 -0
  79. package/dist/utils/schema-sql/index.d.ts +5 -0
  80. package/dist/utils/schema-sql/utils.d.ts +19 -0
  81. package/dist/utils/schema-sql-parser/index.d.ts +5 -1
  82. package/dist/utils/table-clipboard/payload.d.ts +3 -0
  83. package/dist/utils/tableKeys.d.ts +46 -0
  84. package/dist/workers/elkLayout.shared-worker.js +1 -1
  85. package/dist/workers/exportPng.shared-worker.js +29 -27
  86. package/dist/workers/schemaGC.shared-worker.js +1 -1
  87. package/package.json +9 -8
  88. package/dist/schemaGCService-_8A8Oh9Q.js +0 -38
  89. package/dist/shared-store-CtJL8B4I.js +0 -1072
@@ -8,8 +8,8 @@ export type SharedStore = {
8
8
  dispatchSync: (actions: Array<AnyAction> | AnyAction) => void;
9
9
  subscribe: (fn: (value: AnyAction[]) => void) => Unsubscribe;
10
10
  /**
11
- * Sends the stream groups still held back from the peers, now. A no-op
12
- * unless the store was created with manualStreamFlush.
11
+ * Sends the stream groups still held back from the peers, now, rather than
12
+ * after their quiet period: what a host calls before it lets a store go.
13
13
  */
14
14
  flushStreamBuffers: () => void;
15
15
  destroy: () => void;
@@ -1,5 +1,13 @@
1
+ import { EngineContext } from './context';
2
+ import { RootState } from './state';
1
3
  import { Store } from './store';
2
4
  export declare function createHooks(store: Store): {
3
5
  destroy: () => void;
4
6
  };
7
+ /**
8
+ * Writes at once what the hooks a load wakes write over the next 10 ms, which
9
+ * then find nothing left to write, so a replica measuring changes from its load
10
+ * does not take them for an edit.
11
+ */
12
+ export declare function settleLoad(state: RootState, ctx: EngineContext): void;
5
13
  //# sourceMappingURL=store-hooks.d.ts.map