@dineug/erd-editor 3.9.0 → 3.9.2
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 +18 -0
- package/dist/engine/index.js +13 -12
- package/dist/engine/modules/relationship/fkColumns.d.ts +9 -0
- package/dist/engine/modules/relationship/generator.actions.d.ts +10 -1
- package/dist/engine/modules/table/generator.actions.d.ts +7 -0
- package/dist/engine/peer-store.d.ts +93 -0
- package/dist/engine/presence.d.ts +23 -0
- package/dist/engine/rx-operators/bufferCircuitBreaker.d.ts +5 -0
- package/dist/engine/rx-operators/createSharedStreamActionsCompressor.d.ts +10 -0
- package/dist/engine/rx-operators/flushOnNotifier.d.ts +15 -0
- package/dist/engine/rx-operators/groupByStreamActions.d.ts +3 -1
- package/dist/engine/rx-operators/sharedStreamActionsCompressor.d.ts +2 -3
- package/dist/engine/rx-store.d.ts +13 -1
- package/dist/engine/shared-store.d.ts +11 -1
- package/dist/engine/stream-flush.d.ts +12 -0
- package/dist/engine/to-width.d.ts +7 -0
- package/dist/erd-editor.umd.js +286 -285
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4827 -5874
- package/dist/peer/index.d.ts +29 -0
- package/dist/peer/index.js +230 -0
- package/dist/schemaGCService-BagQ1wfF.js +38 -0
- package/dist/shared-store-BqPSXAEf.js +1072 -0
- package/dist/{schemaGCService-CFiz1xOG.js → store-hooks-DuzDVhPy.js} +3280 -3227
- package/dist/utils/calcTable.d.ts +9 -0
- package/dist/workers/exportPng.shared-worker.js +26 -26
- package/package.json +7 -3
|
@@ -43,4 +43,13 @@ export declare function tableRowHeight(source?: GeometrySource): number;
|
|
|
43
43
|
/** The box height for the rows given, every row of the table unless a view shows fewer. */
|
|
44
44
|
export declare function calcTableHeight(table: Table, rowCount?: number, source?: GeometrySource): number;
|
|
45
45
|
export declare function recalculateTableWidth({ doc: { tableIds }, collections }: RootState, { toWidth }: EngineContext): void;
|
|
46
|
+
/**
|
|
47
|
+
* The box a table takes on the ERD canvas once toWidth has measured its text,
|
|
48
|
+
* the size recalculateTableWidth would leave it at. It works on copies, so it
|
|
49
|
+
* writes no width into the state and bumps no width generation.
|
|
50
|
+
*/
|
|
51
|
+
export declare function measureTableSize(table: Table, state: RootState, toWidth: EngineContext['toWidth']): {
|
|
52
|
+
width: number;
|
|
53
|
+
height: number;
|
|
54
|
+
};
|
|
46
55
|
//# sourceMappingURL=calcTable.d.ts.map
|