@miragon/context-maps-renderer 0.3.0 → 0.4.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 CHANGED
@@ -70,17 +70,27 @@ new Modeler({
70
70
  height?: number | string, // canvas height (default "100%", or "600px" with no container)
71
71
  additionalModules?: ModuleDeclaration[], // extra diagram-js modules
72
72
  undoRedoKeys?: boolean, // bind Cmd/Ctrl+Z, Shift+Z, Y to the canvas (default true)
73
- freeRectInsets?: () => { top: number; right: number; bottom: number; left: number },
73
+ freeArea?: // where the host's chrome leaves the canvas free
74
+ | { insets: () => { top: number; right: number; bottom: number; left: number } }
75
+ | { center: () => { x: number; y: number } | undefined },
76
+ fitOnImport?: boolean, // fit the content after every import (default true)
74
77
  });
75
78
  ```
76
79
 
77
80
  - `undoRedoKeys: false` leaves the undo and redo keys unbound and unprevented, for a host whose
78
81
  document owns the history (the VS Code extension).
79
- - `freeRectInsets` are the margins of the container a host's chrome covers. The fit after an import
80
- centres the content in what is left, and Enter or Space on a palette entry (a click with
81
- `detail === 0`) places the new context in its centre, 24px further down and right while that spot
82
- is taken, selected and with its name editor open. Without it the renderer keeps room for its own
83
- palette.
82
+ - `freeArea` names the part of the container a host's chrome leaves free, with the names of the
83
+ `@miragon/modeler-api` 1.2 factory options: `{ insets }` are the margins the chrome covers (the
84
+ modeler shell's `shell.fitInsets()`), `{ center }` is the free rectangle's centre in diagram
85
+ coordinates (`viewport.freeRectCenter()`). Enter or Space on a palette entry (a click with
86
+ `detail === 0`) places the new context in that centre, 24px further down and right while that
87
+ spot is taken, selected and with its name editor open, and the fit after an import centres the
88
+ content in what the insets leave. Without it, and for the fit when only `center` is given, the
89
+ renderer keeps room for its own palette.
90
+ - `fitOnImport: false` leaves the view to a host whose chrome fits the content itself after every
91
+ import, so the view changes once per import.
92
+ - `freeRectInsets` (the insets function itself) is the deprecated name of `freeArea: { insets }`.
93
+ It is accepted through the 0.4 releases and ignored when `freeArea` is given.
84
94
 
85
95
  ### Shared methods (`Viewer` / `NavigatedViewer` / `Modeler`)
86
96
 
@@ -99,10 +109,16 @@ new Modeler({
99
109
 
100
110
  An import is **silent**: the previous document's undo history goes without a
101
111
  `commandStack.changed`, so a host that saves on every change never writes an import back. It
102
- **rejects without a trace**: a document with a duplicate id or an id of the engine's roots throws
103
- before anything is removed. It is **lossless**: keys the model does not know and relationships whose
104
- ends are not on the map come back on export. A label edit open during an import is taken down and
105
- reopened on the element with the same id, with the typed text.
112
+ **rejects without a trace**: a document with a duplicate id, an id of the engine's roots or the
113
+ name of a built-in object property as an id throws before anything is removed. It is **lossless**:
114
+ keys the model does not know and relationships whose ends are not on the map come back on export. A
115
+ label edit open during an import is taken down and reopened on the element with the same id, with
116
+ the typed text.
117
+
118
+ A **view change never commits** an open label edit or description prompt: a pan or zoom, the user's
119
+ or the host's (`canvas.viewbox(…)`, `setViewState`, a fit), keeps it open with the typed text and
120
+ moves it with its element or pad entry. Only the user's own gestures commit it: Enter, leaving the
121
+ field, or starting a drag.
106
122
 
107
123
  ### Modeler-only
108
124
 
@@ -120,12 +136,16 @@ modeler.onContentChanged(() => save(modeler.exportText()));
120
136
  ```
121
137
 
122
138
  `createCollaborativeModeler` and `createCollaborativeViewer` implement the `CollaborativeModeler`
123
- contract of `@miragon/modeler-api` 1.1 (`meta.notation` is `"context-maps"`): the canonical JSON text
139
+ contract of `@miragon/modeler-api` 1.2 (`meta.notation` is `"context-maps"`): the canonical JSON text
124
140
  as the text lane, `onContentChanged` for every user-visible change (element commands, the title,
125
- undo, redo) and never for an import, the viewbox as view state, and the `elements` surface over the
126
- context and relationship ids (their labels as names). `modeler.diagram` is the wrapped `Modeler` or
127
- `NavigatedViewer`. The contract's conformance kit runs in this package's browser tests, every case
128
- and every hook, without a skip or an advisory.
141
+ undo, redo) and never for an import or a view change, the viewbox as view state, and the `elements`
142
+ surface over the context and relationship ids (their labels as names). `elements.bounds(id)` reads
143
+ an element's box from the live canvas in diagram coordinates (a relationship: the box around its
144
+ waypoints), `undefined` for an id `elements.list()` does not report. Both factories take the
145
+ contract's `CollaborativeModelerOptions` (`freeArea`, `fitOnImport`, `undoRedoKeys`, which the
146
+ viewer ignores) next to `additionalModules` and the deprecated `freeRectInsets`. `modeler.diagram`
147
+ is the wrapped `Modeler` or `NavigatedViewer`. The contract's conformance kit runs in this package's
148
+ browser tests, every case and every hook, without a skip or an advisory.
129
149
 
130
150
  ## Around the canvas
131
151
 
@@ -1,4 +1,5 @@
1
1
  import { ModuleDeclaration } from 'didi';
2
+ import { FreeArea } from '@miragon/modeler-api';
2
3
  import { CmDocument } from '@miragon/context-maps-schema-model';
3
4
  import { ImportWarning, RootBusinessObject } from './io/types.js';
4
5
  /** Container margins in screen px that a host's chrome covers. */
@@ -21,12 +22,21 @@ export interface CmViewerOptions {
21
22
  */
22
23
  undoRedoKeys?: boolean | undefined;
23
24
  /**
24
- * The margins of the container the host's chrome covers (palette row, zoom panel, legend). The
25
- * fit after an import centres the content in what is left, and an element created from the
26
- * palette with Enter or Space lands in its centre (guide §5.5, §5.9). Default: room for the
27
- * renderer's own palette.
25
+ * The part of the container the host's chrome (palette row, zoom panel, legend) leaves free, under
26
+ * its `@miragon/modeler-api` name: `{ insets }`, the margins the chrome covers, or `{ center }`,
27
+ * the free rectangle's centre in diagram coordinates. An element created from the palette with
28
+ * Enter or Space lands in that centre, and the fit after an import centres the content in what
29
+ * the insets leave (guide §5.5, §5.9). Default: room for the renderer's own palette, which the
30
+ * fit also keeps when only `center` is given.
28
31
  */
32
+ freeArea?: FreeArea | undefined;
33
+ /** @deprecated Use `freeArea: { insets }`; accepted through the 0.4 releases, ignored next to it. */
29
34
  freeRectInsets?: (() => FreeRectInsets) | undefined;
35
+ /**
36
+ * Fit the content into the view after every import (default true). Pass false when the host's
37
+ * chrome fits the content itself, so the view changes once per import.
38
+ */
39
+ fitOnImport?: boolean | undefined;
30
40
  }
31
41
  export type EventCallback<T = unknown> = (event: T) => void;
32
42
  export declare abstract class CmBaseViewer {
@@ -41,6 +51,8 @@ export declare abstract class CmBaseViewer {
41
51
  get<T>(name: string): T;
42
52
  /** The margins the host's chrome covers right now. */
43
53
  private readonly freeRectInsets;
54
+ /** The free rectangle's centre when the host names it, else the palette derives it. */
55
+ private readonly freeRectCenter;
44
56
  /** A service only some of the viewers have (the Modeler's editing services), else null. */
45
57
  private _optional;
46
58
  on<T = unknown>(event: string, callback: EventCallback<T>, priority?: number): void;
@@ -1 +1 @@
1
- {"version":3,"file":"CmBaseViewer.d.ts","sourceRoot":"","sources":["../src/CmBaseViewer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAQ9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAOrE,OAAO,EAAW,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAErF,kEAAkE;AAClE,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,SAAS,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACrC,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACpD;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,cAAc,CAAC,GAAG,SAAS,CAAC;CACrD;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,OAAO,IAAI,CAAC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AE,OAAO,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAUnD,oFAAoF;IACpF,OAAO,IAAI,kBAAkB,GAAG,SAAS;IAIzC,8FAA8F;IAC9F,OAAO,CAAC,aAAa;IAIrB,+CAA+C;IAC/C,OAAO,IAAI;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;IAI1B;;;;OAIG;IACH,OAAO,CAAC,IAAI;IA6CZ,0CAA0C;IAC1C,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAKnC,2DAA2D;IAC3D,MAAM,IAAI,IAAI;IAId,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,IAAI;IAQf,IAAI,SAAS,IAAI,WAAW,CAE3B;CACF"}
@@ -1,21 +1,25 @@
1
- import { CollaborativeModeler, ElementsSurface } from '@miragon/modeler-api';
1
+ import { CollaborativeModeler, CollaborativeModelerOptions, ElementBounds, ElementsSurface } from '@miragon/modeler-api';
2
2
  import { ModuleDeclaration } from 'didi';
3
3
  import { FreeRectInsets } from '../CmBaseViewer.js';
4
4
  import { Modeler } from '../Modeler.js';
5
5
  import { NavigatedViewer } from '../NavigatedViewer.js';
6
6
  /** Stable notation id in `meta.notation` of the collaborative-modeler contract. */
7
7
  export declare const CONTEXT_MAPS_NOTATION = "context-maps";
8
- export interface CollaborativeContextMapsOptions {
8
+ /**
9
+ * The contract's factory options (`freeArea`, `fitOnImport`, `undoRedoKeys`, see
10
+ * `CmViewerOptions`) and the renderer's own. The viewer ignores `undoRedoKeys`.
11
+ */
12
+ export interface CollaborativeContextMapsOptions extends CollaborativeModelerOptions {
9
13
  /** Appended to the renderer's own modules (e.g. a host's chrome module). */
10
14
  additionalModules?: ModuleDeclaration[] | undefined;
11
- /** See `CmViewerOptions.undoRedoKeys` (default true). */
12
- undoRedoKeys?: boolean | undefined;
13
- /** See `CmViewerOptions.freeRectInsets`. */
15
+ /** @deprecated Use `freeArea: { insets }`; accepted through the 0.4 releases, ignored next to it. */
14
16
  freeRectInsets?: (() => FreeRectInsets) | undefined;
15
17
  }
16
18
  /** The contract surface plus the wrapped diagram for host-specific wiring. */
17
19
  export interface CollaborativeContextMapsModeler extends CollaborativeModeler {
18
- readonly elements: ElementsSurface;
20
+ readonly elements: ElementsSurface & {
21
+ bounds(id: string): ElementBounds | undefined;
22
+ };
19
23
  readonly diagram: Modeler | NavigatedViewer;
20
24
  }
21
25
  /**
@@ -24,5 +28,5 @@ export interface CollaborativeContextMapsModeler extends CollaborativeModeler {
24
28
  */
25
29
  export declare function createCollaborativeModeler(options?: CollaborativeContextMapsOptions): CollaborativeContextMapsModeler;
26
30
  /** The read-only mount (`meta.editable: false`): imports, exports and reveals, never edits. */
27
- export declare function createCollaborativeViewer(options?: Omit<CollaborativeContextMapsOptions, "undoRedoKeys">): CollaborativeContextMapsModeler;
31
+ export declare function createCollaborativeViewer(options?: CollaborativeContextMapsOptions): CollaborativeContextMapsModeler;
28
32
  //# sourceMappingURL=CollaborativeContextMaps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CollaborativeContextMaps.d.ts","sourceRoot":"","sources":["../../src/collaborative/CollaborativeContextMaps.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAGrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAM9C,OAAO,KAAK,EAAmB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,mFAAmF;AACnF,eAAO,MAAM,qBAAqB,iBAAiB,CAAC;AAEpD,MAAM,WAAW,+BAA+B;IAC9C,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACpD,yDAAyD;IACzD,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAA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