@operato/scene-bpmn 10.0.0-beta.1 → 10.0.0-beta.30
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
|
@@ -1,13 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
# @operato/scene-bpmn
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> bpmn components for things-scene
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
| ---- | ----------------------- | -------------- | ------ |
|
|
7
|
-
| UMD | things-scene-bpmn.js | modern browser | O |
|
|
8
|
-
| UMD | things-scene-bpmn-ie.js | ie 11 | O |
|
|
9
|
-
| ESM | things-scene-bpmn.mjs | modern browser | O |
|
|
5
|
+
<!-- AUTOGEN_BEGIN: do not edit between markers (run scripts/regenerate-readmes.mjs to update) -->
|
|
10
6
|
|
|
11
|
-
##
|
|
7
|
+
## Components
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
- `BPMNComment`
|
|
10
|
+
- `BPMNDataObject`
|
|
11
|
+
- `BPMNDataStore`
|
|
12
|
+
- `BPMNEvent`
|
|
13
|
+
- `BPMNFlow`
|
|
14
|
+
- `BPMNGateway`
|
|
15
|
+
- `BPMNGroup`
|
|
16
|
+
- `BPMNLane`
|
|
17
|
+
- `BPMNPool`
|
|
18
|
+
- `BPMNSubprocess`
|
|
19
|
+
- `BPMNExpandedSubprocess`
|
|
20
|
+
- `BPMNTask`
|
|
21
|
+
- `BPMNMessage`
|
|
22
|
+
|
|
23
|
+
## Install
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
yarn add @operato/scene-bpmn
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import { BPMNComment, BPMNDataObject, BPMNDataStore, BPMNEvent, BPMNFlow } from '@operato/scene-bpmn'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Build
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
yarn build
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Output: ESM module at `dist/index.js` (single bundle, no UMD/IE legacy).
|
|
42
|
+
|
|
43
|
+
_Version: 10.0.0-beta.2_
|
|
44
|
+
|
|
45
|
+
<!-- AUTOGEN_END -->
|
|
@@ -63,7 +63,7 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
|
|
|
63
63
|
get disposed(): boolean;
|
|
64
64
|
isLayer(): boolean;
|
|
65
65
|
isGroup(): boolean;
|
|
66
|
-
isContainer(): this is
|
|
66
|
+
isContainer(): this is Container;
|
|
67
67
|
isLine(): boolean;
|
|
68
68
|
isRoot(): boolean;
|
|
69
69
|
isRootModel(): boolean;
|
|
@@ -78,9 +78,9 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
|
|
|
78
78
|
get(property: any): any;
|
|
79
79
|
set(props: any, propval?: any): any;
|
|
80
80
|
getState(property: any): any;
|
|
81
|
-
setState(props:
|
|
81
|
+
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
82
82
|
get model(): any;
|
|
83
|
-
get state():
|
|
83
|
+
get state(): import("@hatiolab/things-scene").State;
|
|
84
84
|
get hierarchy(): any;
|
|
85
85
|
get volatile(): never[];
|
|
86
86
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -255,6 +255,7 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
|
|
|
255
255
|
set element(_v: HTMLElement | null): any;
|
|
256
256
|
}) & typeof Container;
|
|
257
257
|
export default abstract class BPMNContainerBase extends BPMNContainerBase_base {
|
|
258
|
+
createElement(): void;
|
|
258
259
|
get anchors(): Array<Anchor>;
|
|
259
260
|
get nodes(): NODE[];
|
|
260
261
|
}
|
|
@@ -58,6 +58,7 @@ function linkFilter(counterEnd) {
|
|
|
58
58
|
return !anchor?.type || anchor.type === this.type;
|
|
59
59
|
}
|
|
60
60
|
export default class BPMNContainerBase extends Connectable(Container) {
|
|
61
|
+
createElement() { }
|
|
61
62
|
get anchors() {
|
|
62
63
|
var allNodes = this.nodes;
|
|
63
64
|
var { left, top, width, height } = this.bounds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bpmn-container-base.js","sourceRoot":"","sources":["../../src/base/bpmn-container-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,SAAS,EAAE,WAAW,EAAc,MAAM,wBAAwB,CAAA;AAGnF,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,uBAAU,CAAA;IACV,wBAAW,CAAA;IACX,uBAAU,CAAA;AACZ,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,kBAAS,CAAA;IACT,oBAAW,CAAA;IACX,wBAAe,CAAA;AACjB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AAED,MAAM,CAAN,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6BAAqB,CAAA;IACrB,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAWD,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE;QACP,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,OAAO;KACnB;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,eAAe;KAC1B;IACD,WAAW,EAAE;QACX,WAAW,EAAE,QAAQ;QACrB,SAAS,EAAE,QAAQ;QACnB,QAAQ,EAAE,MAAM;QAChB,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,OAAO;QAClB,GAAG,EAAE,MAAM;QACX,OAAO,EAAE,OAAO;KACjB;CACF,CAAA;AAID,MAAM,aAAa,GAAG,CAAC,CAAA;AAEvB,MAAM,QAAQ,GAAG;IACf,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,CAAC;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C,OAAO;gBAClB,SAAS,EAAE,SAAS,CAAC,IAAI;gBACzB,YAAY,EAAE,CAAC;aAChB;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,yBAAyB;gBACtC,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,IAAI,CAAC,OAAO;gBAClB,SAAS,EAAE,SAAS,CAAC,KAAK;gBAC1B,YAAY,EAAE,CAAC;aAChB;SACF,CAAA;IACH,CAAC;CACF","sourcesContent":["import { Anchor, Container, Connectable, Properties } from '@hatiolab/things-scene'\ntype LinkEnd = any\n\nexport enum DIRECTION {\n NORTH = 'N',\n EAST = 'E',\n SOUTH = 'S',\n WEST = 'W'\n}\n\nexport enum INOUT {\n IN = 'in',\n OUT = 'out',\n INOUT = 'inout'\n}\n\nexport enum FLOW {\n MESSAGE = 'message',\n SEQUENCE = 'sequence',\n ASSOCIATION = 'association'\n}\n\nexport type NODE = {\n name: string\n description: string\n inout: INOUT\n type: FLOW\n direction: DIRECTION\n multiplicity?: number\n}\n\nconst STYLE_MAP = {\n message: {\n strokeStyle: 'black',\n fillStyle: 'black'\n },\n sequence: {\n strokeStyle: 'red',\n fillStyle: 'red',\n lineDash: 'long-dash-dot'\n },\n association: {\n strokeStyle: 'yellow',\n fillStyle: 'yellow',\n lineDash: 'dash',\n begin: 'none',\n beginSize: 'size1',\n end: 'none',\n endSize: 'size1'\n }\n}\n\ntype FILTER_FUNCTION = (this: Anchor, counterEnd?: LinkEnd) => boolean\n\nconst ANCHOR_LENGTH = 8\n\nconst TEMPLATE = {\n type: 'bpmn-flow',\n lineWidth: 2,\n strokeStyle: 'black',\n begin: 'none',\n beginSize: 'size1',\n end: 'arrow',\n endSize: 'size9',\n round: 10\n}\n\nfunction linkFilter(this: Anchor, counterEnd?: LinkEnd) {\n if (!counterEnd) {\n return this.inout !== 'in'\n }\n\n const { component, anchor } = counterEnd || {}\n /* FIXME remove !anchor.type condition */\n return !anchor?.type || anchor.type === this.type\n}\n\nexport default abstract class BPMNContainerBase extends Connectable(Container) {\n get anchors(): Array<Anchor> {\n var allNodes = this.nodes\n var { left, top, width, height } = this.bounds\n\n var right = left + width\n var bottom = top + height\n\n const dirs: Array<Array<Anchor>> = [DIRECTION.NORTH, DIRECTION.EAST, DIRECTION.SOUTH, DIRECTION.WEST].map(\n direction => {\n const nodes = allNodes.filter(node => node.direction === direction)\n if (nodes.length === 0) {\n return []\n }\n\n var dx = 0\n var dy = 0\n var sx = 0\n var sy = 0\n\n switch (direction) {\n case DIRECTION.NORTH:\n sx = left\n sy = top\n dx = width / (nodes.length + 1)\n dy = 0\n\n break\n\n case DIRECTION.EAST:\n sx = right\n sy = top\n dx = 0\n dy = height / (nodes.length + 1)\n\n break\n\n case DIRECTION.SOUTH:\n sx = left\n sy = bottom\n dx = width / (nodes.length + 1)\n dy = 0\n\n break\n\n case DIRECTION.WEST:\n sx = left\n sy = top\n dx = 0\n dy = height / (nodes.length + 1)\n\n break\n\n default:\n }\n\n return nodes.map((node, idx) => {\n const x = sx + dx * (idx + 1)\n const y = sy + dy * (idx + 1)\n\n return {\n type: node.type as string,\n name: node.name,\n inout: node.inout,\n position: {\n x,\n y\n },\n bounds: {\n left: x - ANCHOR_LENGTH / 2,\n top: y - ANCHOR_LENGTH / 2,\n width: ANCHOR_LENGTH,\n height: ANCHOR_LENGTH\n },\n filter: linkFilter,\n template: {\n ...TEMPLATE,\n ...(STYLE_MAP[node.type || 'message'] || STYLE_MAP['message'])\n },\n multiplicity: node.multiplicity\n }\n })\n }\n )\n\n return dirs.flat()\n }\n\n get nodes(): NODE[] {\n return [\n {\n name: 'Left',\n description: 'Left side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.WEST,\n multiplicity: 1\n },\n {\n name: 'Top',\n description: 'Top side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.NORTH,\n multiplicity: 1\n },\n {\n name: 'Right',\n description: 'Right side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.EAST,\n multiplicity: 1\n },\n {\n name: 'Down',\n description: 'Down side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.SOUTH,\n multiplicity: 1\n }\n ]\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"bpmn-container-base.js","sourceRoot":"","sources":["../../src/base/bpmn-container-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,SAAS,EAAE,WAAW,EAAc,MAAM,wBAAwB,CAAA;AAGnF,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,uBAAU,CAAA;IACV,wBAAW,CAAA;IACX,uBAAU,CAAA;AACZ,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,kBAAS,CAAA;IACT,oBAAW,CAAA;IACX,wBAAe,CAAA;AACjB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AAED,MAAM,CAAN,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6BAAqB,CAAA;IACrB,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAWD,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE;QACP,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,OAAO;KACnB;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,eAAe;KAC1B;IACD,WAAW,EAAE;QACX,WAAW,EAAE,QAAQ;QACrB,SAAS,EAAE,QAAQ;QACnB,QAAQ,EAAE,MAAM;QAChB,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,OAAO;QAClB,GAAG,EAAE,MAAM;QACX,OAAO,EAAE,OAAO;KACjB;CACF,CAAA;AAID,MAAM,aAAa,GAAG,CAAC,C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AAE,OAAO;gBACb,WAAW,EAAE,0BAA0B;gBACvC,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,IAAI,CAAC,OAAO;gBAClB,SAAS,EAAE,SAAS,CAAC,IAAI;gBACzB,YAAY,EAAE,CAAC;aAChB;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,yBAAyB;gBACtC,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,IAAI,CAAC,OAAO;gBAClB,SAAS,EAAE,SAAS,CAAC,KAAK;gBAC1B,YAAY,EAAE,CAAC;aAChB;SACF,CAAA;IACH,CAAC;CACF","sourcesContent":["import { Anchor, Container, Connectable, Properties } from '@hatiolab/things-scene'\ntype LinkEnd = any\n\nexport enum DIRECTION {\n NORTH = 'N',\n EAST = 'E',\n SOUTH = 'S',\n WEST = 'W'\n}\n\nexport enum INOUT {\n IN = 'in',\n OUT = 'out',\n INOUT = 'inout'\n}\n\nexport enum FLOW {\n MESSAGE = 'message',\n SEQUENCE = 'sequence',\n ASSOCIATION = 'association'\n}\n\nexport type NODE = {\n name: string\n description: string\n inout: INOUT\n type: FLOW\n direction: DIRECTION\n multiplicity?: number\n}\n\nconst STYLE_MAP = {\n message: {\n strokeStyle: 'black',\n fillStyle: 'black'\n },\n sequence: {\n strokeStyle: 'red',\n fillStyle: 'red',\n lineDash: 'long-dash-dot'\n },\n association: {\n strokeStyle: 'yellow',\n fillStyle: 'yellow',\n lineDash: 'dash',\n begin: 'none',\n beginSize: 'size1',\n end: 'none',\n endSize: 'size1'\n }\n}\n\ntype FILTER_FUNCTION = (this: Anchor, counterEnd?: LinkEnd) => boolean\n\nconst ANCHOR_LENGTH = 8\n\nconst TEMPLATE = {\n type: 'bpmn-flow',\n lineWidth: 2,\n strokeStyle: 'black',\n begin: 'none',\n beginSize: 'size1',\n end: 'arrow',\n endSize: 'size9',\n round: 10\n}\n\nfunction linkFilter(this: Anchor, counterEnd?: LinkEnd) {\n if (!counterEnd) {\n return this.inout !== 'in'\n }\n\n const { component, anchor } = counterEnd || {}\n /* FIXME remove !anchor.type condition */\n return !anchor?.type || anchor.type === this.type\n}\n\nexport default abstract class BPMNContainerBase extends Connectable(Container) {\n createElement(): void { /* inherited from Container via mixin */ }\n\n get anchors(): Array<Anchor> {\n var allNodes = this.nodes\n var { left, top, width, height } = this.bounds\n\n var right = left + width\n var bottom = top + height\n\n const dirs: Array<Array<Anchor>> = [DIRECTION.NORTH, DIRECTION.EAST, DIRECTION.SOUTH, DIRECTION.WEST].map(\n direction => {\n const nodes = allNodes.filter(node => node.direction === direction)\n if (nodes.length === 0) {\n return []\n }\n\n var dx = 0\n var dy = 0\n var sx = 0\n var sy = 0\n\n switch (direction) {\n case DIRECTION.NORTH:\n sx = left\n sy = top\n dx = width / (nodes.length + 1)\n dy = 0\n\n break\n\n case DIRECTION.EAST:\n sx = right\n sy = top\n dx = 0\n dy = height / (nodes.length + 1)\n\n break\n\n case DIRECTION.SOUTH:\n sx = left\n sy = bottom\n dx = width / (nodes.length + 1)\n dy = 0\n\n break\n\n case DIRECTION.WEST:\n sx = left\n sy = top\n dx = 0\n dy = height / (nodes.length + 1)\n\n break\n\n default:\n }\n\n return nodes.map((node, idx) => {\n const x = sx + dx * (idx + 1)\n const y = sy + dy * (idx + 1)\n\n return {\n type: node.type as string,\n name: node.name,\n inout: node.inout,\n position: {\n x,\n y\n },\n bounds: {\n left: x - ANCHOR_LENGTH / 2,\n top: y - ANCHOR_LENGTH / 2,\n width: ANCHOR_LENGTH,\n height: ANCHOR_LENGTH\n },\n filter: linkFilter,\n template: {\n ...TEMPLATE,\n ...(STYLE_MAP[node.type || 'message'] || STYLE_MAP['message'])\n },\n multiplicity: node.multiplicity\n }\n })\n }\n )\n\n return dirs.flat()\n }\n\n get nodes(): NODE[] {\n return [\n {\n name: 'Left',\n description: 'Left side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.WEST,\n multiplicity: 1\n },\n {\n name: 'Top',\n description: 'Top side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.NORTH,\n multiplicity: 1\n },\n {\n name: 'Right',\n description: 'Right side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.EAST,\n multiplicity: 1\n },\n {\n name: 'Down',\n description: 'Down side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.SOUTH,\n multiplicity: 1\n }\n ]\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Anchor, BOUNDS,
|
|
1
|
+
import { Anchor, BOUNDS, Shape } from '@hatiolab/things-scene';
|
|
2
2
|
export declare enum DIRECTION {
|
|
3
3
|
NORTH = "N",
|
|
4
4
|
EAST = "E",
|
|
@@ -63,7 +63,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
63
63
|
get disposed(): boolean;
|
|
64
64
|
isLayer(): boolean;
|
|
65
65
|
isGroup(): boolean;
|
|
66
|
-
isContainer(): this is import("@hatiolab/things-scene
|
|
66
|
+
isContainer(): this is import("@hatiolab/things-scene").Container;
|
|
67
67
|
isLine(): boolean;
|
|
68
68
|
isRoot(): boolean;
|
|
69
69
|
isRootModel(): boolean;
|
|
@@ -78,9 +78,9 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
78
78
|
get(property: any): any;
|
|
79
79
|
set(props: any, propval?: any): any;
|
|
80
80
|
getState(property: any): any;
|
|
81
|
-
setState(props:
|
|
81
|
+
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
82
82
|
get model(): any;
|
|
83
|
-
get state():
|
|
83
|
+
get state(): import("@hatiolab/things-scene").State;
|
|
84
84
|
get hierarchy(): any;
|
|
85
85
|
get volatile(): never[];
|
|
86
86
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -120,7 +120,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
120
120
|
draw(context?: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
121
121
|
prerender(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
122
122
|
render(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
123
|
-
prepare(resolve: (component: Component) => void, reject: (reason: any) => void): void;
|
|
123
|
+
prepare(resolve: (component: import("@hatiolab/things-scene").Component) => void, reject: (reason: any) => void): void;
|
|
124
124
|
prepareIf(condition: boolean): void;
|
|
125
125
|
drawText(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
126
126
|
drawStroke(context: import("@hatiolab/things-scene").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
@@ -171,16 +171,16 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
171
171
|
get started(): boolean;
|
|
172
172
|
set started(v: boolean): any;
|
|
173
173
|
get controls(): import("@hatiolab/things-scene").Control[] | undefined;
|
|
174
|
-
findFirst(finder: string | ((c: Component) => boolean), ...others: any[]): Component | undefined;
|
|
175
|
-
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
176
|
-
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
174
|
+
findFirst(finder: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): import("@hatiolab/things-scene").Component | undefined;
|
|
175
|
+
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
176
|
+
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
177
177
|
findAnchor(name: string): any;
|
|
178
|
-
isDescendible(container: Component): boolean;
|
|
178
|
+
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
179
179
|
getContext(component?: unknown): any;
|
|
180
|
-
get root(): Component;
|
|
181
|
-
get rootModel(): Component;
|
|
182
|
-
get parent(): Component;
|
|
183
|
-
set parent(v: Component): any;
|
|
180
|
+
get root(): import("@hatiolab/things-scene").Component;
|
|
181
|
+
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
182
|
+
get parent(): import("@hatiolab/things-scene").Component;
|
|
183
|
+
set parent(v: import("@hatiolab/things-scene").Component): any;
|
|
184
184
|
get anchors(): import("@hatiolab/things-scene").Anchor[];
|
|
185
185
|
get scalable(): boolean;
|
|
186
186
|
get stuck(): boolean;
|
|
@@ -206,20 +206,20 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
206
206
|
ondropfile(transfered: FileList, files: string[]): void;
|
|
207
207
|
transcoordS2P(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
208
208
|
transcoordP2S(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
209
|
-
transcoordS2T(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
210
|
-
transcoordT2P(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
211
|
-
transcoordT2S(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
212
|
-
transcoordS2TR(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
213
|
-
transcoordS2O(x: number, y: number, target: Component): import("@hatiolab/things-scene").POINT;
|
|
214
|
-
transcoordC2S(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
215
|
-
transcoordS2C(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
209
|
+
transcoordS2T(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
210
|
+
transcoordT2P(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
211
|
+
transcoordT2S(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
212
|
+
transcoordS2TR(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
213
|
+
transcoordS2O(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
214
|
+
transcoordC2S(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
215
|
+
transcoordS2C(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
216
216
|
toParent(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
217
217
|
fromParent(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
218
|
-
toScene(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
219
|
-
fromScene(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
220
|
-
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
221
|
-
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
222
|
-
toOther(x: number, y: number, target: Component): import("@hatiolab/things-scene").POINT;
|
|
218
|
+
toScene(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
219
|
+
fromScene(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
220
|
+
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
221
|
+
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
222
|
+
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
223
223
|
on(name: string | object, callback: Function, context?: any): any;
|
|
224
224
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
225
225
|
once(name: string | object, callback: Function, context?: any): any;
|
|
@@ -229,24 +229,24 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
229
229
|
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
230
230
|
calculateBounds?(): void;
|
|
231
231
|
oncreate_element?(element: HTMLElement): void;
|
|
232
|
-
removeComponent(component: Component, ghost?: boolean): void;
|
|
233
|
-
addComponent(component: Component, ghost?: boolean): void;
|
|
234
|
-
insertComponentAt(component: Component, index: number, ghost?: boolean): void;
|
|
235
|
-
getOverlay(component: Component): HTMLElement | undefined;
|
|
236
|
-
findById(id: string): Component | undefined;
|
|
237
|
-
findByRefid(ref: string | number): Component | undefined;
|
|
238
|
-
findAllById(id: string): Component[];
|
|
232
|
+
removeComponent(component: import("@hatiolab/things-scene").Component, ghost?: boolean): void;
|
|
233
|
+
addComponent(component: import("@hatiolab/things-scene").Component, ghost?: boolean): void;
|
|
234
|
+
insertComponentAt(component: import("@hatiolab/things-scene").Component, index: number, ghost?: boolean): void;
|
|
235
|
+
getOverlay(component: import("@hatiolab/things-scene").Component): HTMLElement | undefined;
|
|
236
|
+
findById(id: string): import("@hatiolab/things-scene").Component | undefined;
|
|
237
|
+
findByRefid(ref: string | number): import("@hatiolab/things-scene").Component | undefined;
|
|
238
|
+
findAllById(id: string): import("@hatiolab/things-scene").Component[];
|
|
239
239
|
resize(): void;
|
|
240
240
|
fit(type?: string): void;
|
|
241
|
-
get components(): Component[] | undefined;
|
|
241
|
+
get components(): import("@hatiolab/things-scene").Component[] | undefined;
|
|
242
242
|
get layout(): any;
|
|
243
243
|
get auxOverlay(): HTMLElement | undefined;
|
|
244
244
|
get isReady(): boolean;
|
|
245
245
|
get unitScale(): number;
|
|
246
|
-
get selected(): Component[];
|
|
247
|
-
set selected(_v: Component[]): any;
|
|
248
|
-
get focused(): Component | null;
|
|
249
|
-
set focused(_v: Component | null): any;
|
|
246
|
+
get selected(): import("@hatiolab/things-scene").Component[];
|
|
247
|
+
set selected(_v: import("@hatiolab/things-scene").Component[]): any;
|
|
248
|
+
get focused(): import("@hatiolab/things-scene").Component | null;
|
|
249
|
+
set focused(_v: import("@hatiolab/things-scene").Component | null): any;
|
|
250
250
|
get hasSameParentForAllSelected(): boolean;
|
|
251
251
|
set hasSameParentForAllSelected(_v: boolean): any;
|
|
252
252
|
get fitMode(): string | undefined;
|
|
@@ -303,7 +303,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
303
303
|
get disposed(): boolean;
|
|
304
304
|
isLayer(): boolean;
|
|
305
305
|
isGroup(): boolean;
|
|
306
|
-
isContainer(): this is import("@hatiolab/things-scene
|
|
306
|
+
isContainer(): this is import("@hatiolab/things-scene").Container;
|
|
307
307
|
isLine(): boolean;
|
|
308
308
|
isRoot(): boolean;
|
|
309
309
|
isRootModel(): boolean;
|
|
@@ -319,9 +319,9 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
319
319
|
get(property: any): any;
|
|
320
320
|
set(props: any, propval?: any): any;
|
|
321
321
|
getState(property: any): any;
|
|
322
|
-
setState(props:
|
|
322
|
+
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
323
323
|
get model(): any;
|
|
324
|
-
get state():
|
|
324
|
+
get state(): import("@hatiolab/things-scene").State;
|
|
325
325
|
get hierarchy(): any;
|
|
326
326
|
get volatile(): never[];
|
|
327
327
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -357,7 +357,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
357
357
|
draw(context?: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
358
358
|
prerender(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
359
359
|
postrender(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
360
|
-
prepare(resolve: (component: Component) => void, reject: (reason: any) => void): void;
|
|
360
|
+
prepare(resolve: (component: import("@hatiolab/things-scene").Component) => void, reject: (reason: any) => void): void;
|
|
361
361
|
prepareIf(condition: boolean): void;
|
|
362
362
|
drawText(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
363
363
|
drawStroke(context: import("@hatiolab/things-scene").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
@@ -408,16 +408,16 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
408
408
|
get started(): boolean;
|
|
409
409
|
set started(v: boolean): any;
|
|
410
410
|
get controls(): import("@hatiolab/things-scene").Control[] | undefined;
|
|
411
|
-
findFirst(finder: string | ((c: Component) => boolean), ...others: any[]): Component | undefined;
|
|
412
|
-
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
413
|
-
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
411
|
+
findFirst(finder: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): import("@hatiolab/things-scene").Component | undefined;
|
|
412
|
+
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
413
|
+
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
414
414
|
findAnchor(name: string): any;
|
|
415
|
-
isDescendible(container: Component): boolean;
|
|
415
|
+
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
416
416
|
getContext(component?: unknown): any;
|
|
417
|
-
get root(): Component;
|
|
418
|
-
get rootModel(): Component;
|
|
419
|
-
get parent(): Component;
|
|
420
|
-
set parent(v: Component): any;
|
|
417
|
+
get root(): import("@hatiolab/things-scene").Component;
|
|
418
|
+
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
419
|
+
get parent(): import("@hatiolab/things-scene").Component;
|
|
420
|
+
set parent(v: import("@hatiolab/things-scene").Component): any;
|
|
421
421
|
get scalable(): boolean;
|
|
422
422
|
get stuck(): boolean;
|
|
423
423
|
get capturable(): boolean;
|
|
@@ -442,20 +442,20 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
442
442
|
ondropfile(transfered: FileList, files: string[]): void;
|
|
443
443
|
transcoordS2P(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
444
444
|
transcoordP2S(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
445
|
-
transcoordS2T(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
446
|
-
transcoordT2P(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
447
|
-
transcoordT2S(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
448
|
-
transcoordS2TR(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
449
|
-
transcoordS2O(x: number, y: number, target: Component): import("@hatiolab/things-scene").POINT;
|
|
450
|
-
transcoordC2S(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
451
|
-
transcoordS2C(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
445
|
+
transcoordS2T(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
446
|
+
transcoordT2P(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
447
|
+
transcoordT2S(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
448
|
+
transcoordS2TR(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
449
|
+
transcoordS2O(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
450
|
+
transcoordC2S(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
451
|
+
transcoordS2C(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
452
452
|
toParent(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
453
453
|
fromParent(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
454
|
-
toScene(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
455
|
-
fromScene(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
456
|
-
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
457
|
-
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
458
|
-
toOther(x: number, y: number, target: Component): import("@hatiolab/things-scene").POINT;
|
|
454
|
+
toScene(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
455
|
+
fromScene(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
456
|
+
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
457
|
+
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
458
|
+
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
459
459
|
on(name: string | object, callback: Function, context?: any): any;
|
|
460
460
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
461
461
|
once(name: string | object, callback: Function, context?: any): any;
|
|
@@ -465,24 +465,24 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
|
|
|
465
465
|
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
466
466
|
calculateBounds?(): void;
|
|
467
467
|
oncreate_element?(element: HTMLElement): void;
|
|
468
|
-
removeComponent(component: Component, ghost?: boolean): void;
|
|
469
|
-
addComponent(component: Component, ghost?: boolean): void;
|
|
470
|
-
insertComponentAt(component: Component, index: number, ghost?: boolean): void;
|
|
471
|
-
getOverlay(component: Component): HTMLElement | undefined;
|
|
472
|
-
findById(id: string): Component | undefined;
|
|
473
|
-
findByRefid(ref: string | number): Component | undefined;
|
|
474
|
-
findAllById(id: string): Component[];
|
|
468
|
+
removeComponent(component: import("@hatiolab/things-scene").Component, ghost?: boolean): void;
|
|
469
|
+
addComponent(component: import("@hatiolab/things-scene").Component, ghost?: boolean): void;
|
|
470
|
+
insertComponentAt(component: import("@hatiolab/things-scene").Component, index: number, ghost?: boolean): void;
|
|
471
|
+
getOverlay(component: import("@hatiolab/things-scene").Component): HTMLElement | undefined;
|
|
472
|
+
findById(id: string): import("@hatiolab/things-scene").Component | undefined;
|
|
473
|
+
findByRefid(ref: string | number): import("@hatiolab/things-scene").Component | undefined;
|
|
474
|
+
findAllById(id: string): import("@hatiolab/things-scene").Component[];
|
|
475
475
|
resize(): void;
|
|
476
476
|
fit(type?: string): void;
|
|
477
|
-
get components(): Component[] | undefined;
|
|
477
|
+
get components(): import("@hatiolab/things-scene").Component[] | undefined;
|
|
478
478
|
get layout(): any;
|
|
479
479
|
get auxOverlay(): HTMLElement | undefined;
|
|
480
480
|
get isReady(): boolean;
|
|
481
481
|
get unitScale(): number;
|
|
482
|
-
get selected(): Component[];
|
|
483
|
-
set selected(_v: Component[]): any;
|
|
484
|
-
get focused(): Component | null;
|
|
485
|
-
set focused(_v: Component | null): any;
|
|
482
|
+
get selected(): import("@hatiolab/things-scene").Component[];
|
|
483
|
+
set selected(_v: import("@hatiolab/things-scene").Component[]): any;
|
|
484
|
+
get focused(): import("@hatiolab/things-scene").Component | null;
|
|
485
|
+
set focused(_v: import("@hatiolab/things-scene").Component | null): any;
|
|
486
486
|
get hasSameParentForAllSelected(): boolean;
|
|
487
487
|
set hasSameParentForAllSelected(_v: boolean): any;
|
|
488
488
|
get fitMode(): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bpmn-control-base.js","sourceRoot":"","sources":["../../src/base/bpmn-control-base.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"bpmn-control-base.js","sourceRoot":"","sources":["../../src/base/bpmn-control-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,WAAW,EAAc,QAAQ,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AA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AAY,EAAE,CAAC;aAChB;SACF,CAAA;IACH,CAAC;CACF","sourcesContent":["import { Anchor, BOUNDS, Connectable, Properties, RectPath, Shape } from '@hatiolab/things-scene'\ntype LinkEnd = any\n\nexport enum DIRECTION {\n NORTH = 'N',\n EAST = 'E',\n SOUTH = 'S',\n WEST = 'W'\n}\n\nexport enum INOUT {\n IN = 'in',\n OUT = 'out',\n INOUT = 'inout'\n}\n\nexport enum FLOW {\n MESSAGE = 'message',\n SEQUENCE = 'sequence',\n ASSOCIATION = 'association'\n}\n\nexport type NODE = {\n name: string\n description: string\n inout: INOUT\n type: FLOW\n direction: DIRECTION\n multiplicity?: number\n}\n\nconst STYLE_MAP = {\n message: {\n strokeStyle: 'black',\n fillStyle: 'black'\n },\n sequence: {\n strokeStyle: 'red',\n fillStyle: 'red',\n lineDash: 'long-dash-dot'\n },\n association: {\n strokeStyle: 'yellow',\n fillStyle: 'yellow',\n lineDash: 'dash',\n begin: 'none',\n beginSize: 'size1',\n end: 'none',\n endSize: 'size1'\n }\n}\n\ntype FILTER_FUNCTION = (this: Anchor, counterEnd?: LinkEnd) => boolean\n\nconst ANCHOR_LENGTH = 8\n\nconst TEMPLATE = {\n type: 'bpmn-flow',\n lineWidth: 2,\n strokeStyle: 'black',\n begin: 'none',\n beginSize: 'size1',\n end: 'arrow',\n endSize: 'size9',\n round: 10\n}\n\nfunction linkFilter(this: Anchor, counterEnd?: LinkEnd) {\n if (!counterEnd) {\n return this.inout !== 'in'\n }\n\n const { component, anchor } = counterEnd || {}\n /* FIXME remove !anchor.type condition */\n return !anchor?.type || anchor.type === this.type\n}\n\nexport default abstract class BPMNControlBase extends Connectable(RectPath(Shape)) {\n get anchors(): Array<Anchor> {\n var allNodes = this.nodes\n var { left, top, width, height } = this.bounds\n\n var right = left + width\n var bottom = top + height\n\n const dirs: Array<Array<Anchor>> = [DIRECTION.NORTH, DIRECTION.EAST, DIRECTION.SOUTH, DIRECTION.WEST].map(\n direction => {\n const nodes = allNodes.filter(node => node.direction === direction)\n if (nodes.length === 0) {\n return []\n }\n\n var dx = 0\n var dy = 0\n var sx = 0\n var sy = 0\n\n switch (direction) {\n case DIRECTION.NORTH:\n sx = left\n sy = top\n dx = width / (nodes.length + 1)\n dy = 0\n\n break\n\n case DIRECTION.EAST:\n sx = right\n sy = top\n dx = 0\n dy = height / (nodes.length + 1)\n\n break\n\n case DIRECTION.SOUTH:\n sx = left\n sy = bottom\n dx = width / (nodes.length + 1)\n dy = 0\n\n break\n\n case DIRECTION.WEST:\n sx = left\n sy = top\n dx = 0\n dy = height / (nodes.length + 1)\n\n break\n\n default:\n }\n\n return nodes.map((node, idx) => {\n const x = sx + dx * (idx + 1)\n const y = sy + dy * (idx + 1)\n\n return {\n type: node.type as string,\n name: node.name,\n inout: node.inout,\n position: {\n x,\n y\n },\n bounds: {\n left: x - ANCHOR_LENGTH / 2,\n top: y - ANCHOR_LENGTH / 2,\n width: ANCHOR_LENGTH,\n height: ANCHOR_LENGTH\n },\n filter: linkFilter,\n template: {\n ...TEMPLATE,\n ...(STYLE_MAP[node.type || 'message'] || STYLE_MAP['message'])\n },\n multiplicity: node.multiplicity\n }\n })\n }\n )\n\n return dirs.flat()\n }\n\n get nodes(): NODE[] {\n return [\n {\n name: 'Left',\n description: 'Left side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.WEST,\n multiplicity: 1\n },\n {\n name: 'Top',\n description: 'Top side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.NORTH,\n multiplicity: 1\n },\n {\n name: 'Right',\n description: 'Right side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.EAST,\n multiplicity: 1\n },\n {\n name: 'Down',\n description: 'Down side message inout',\n inout: INOUT.INOUT,\n type: FLOW.MESSAGE,\n direction: DIRECTION.SOUTH,\n multiplicity: 1\n }\n ]\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/scene-bpmn",
|
|
3
3
|
"description": "bpmn components for things-scene",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.0.0-beta.
|
|
5
|
+
"version": "10.0.0-beta.30",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"prettier --write"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "06b35b1726ec4f27ee76657ce341c6c6f3ba1b3a"
|
|
64
64
|
}
|