@formicoidea/labre-framework-bpmn 0.30.1 → 0.31.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/dist/effects.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EdgelessBpmnMenu } from './toolbar/bpmn-menu';
|
|
2
|
-
import { EdgelessBpmnSeniorButton } from './toolbar/bpmn-senior-button';
|
|
1
|
+
import { EdgelessBpmnMenu } from './toolbar/bpmn-menu.js';
|
|
2
|
+
import { EdgelessBpmnSeniorButton } from './toolbar/bpmn-senior-button.js';
|
|
3
3
|
export declare function effects(): void;
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
package/dist/effects.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EdgelessBpmnMenu } from './toolbar/bpmn-menu';
|
|
2
|
-
import { EdgelessBpmnSeniorButton } from './toolbar/bpmn-senior-button';
|
|
1
|
+
import { EdgelessBpmnMenu } from './toolbar/bpmn-menu.js';
|
|
2
|
+
import { EdgelessBpmnSeniorButton } from './toolbar/bpmn-senior-button.js';
|
|
3
3
|
export function effects() {
|
|
4
4
|
customElements.define('edgeless-bpmn-menu', EdgelessBpmnMenu);
|
|
5
5
|
customElements.define('edgeless-bpmn-senior-button', EdgelessBpmnSeniorButton);
|
package/dist/element-renderer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRendererExtension, } from '@formicoidea/labre-core/blocks/surface';
|
|
2
|
-
import { POOL_BAND_FILL, POOL_BAND_WIDTH, POOL_FONT_FAMILY, POOL_FRAME_COLOR, POOL_FRAME_WIDTH, POOL_NAME_COLOR, POOL_NAME_FONT_SIZE, } from './consts';
|
|
2
|
+
import { POOL_BAND_FILL, POOL_BAND_WIDTH, POOL_FONT_FAMILY, POOL_FRAME_COLOR, POOL_FRAME_WIDTH, POOL_NAME_COLOR, POOL_NAME_FONT_SIZE, } from './consts.js';
|
|
3
3
|
/** Trace a rounded-rectangle path (no dependency on ctx.roundRect). */
|
|
4
4
|
function roundedRectPath(ctx, x, y, w, h, r) {
|
|
5
5
|
const rr = Math.min(r, w / 2, h / 2);
|
package/dist/templates/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeTemplateSnapshot, surfaceText, } from '@formicoidea/labre-core/gfx/template';
|
|
2
2
|
import { ConnectorMode, FontFamily, PointStyle, ShapeStyle, StrokeStyle, } from '@formicoidea/labre-core/model';
|
|
3
|
-
import { END_WIDTH, EVENT_END, EVENT_START, INNER_FONT_SIZE, NEUTRAL_STROKE, NODE_FILL, NODE_SIZE, NODE_STROKE_WIDTH, SEQUENCE_STROKE, SEQUENCE_WIDTH, START_WIDTH, TASK_RADIUS, } from '../consts';
|
|
3
|
+
import { END_WIDTH, EVENT_END, EVENT_START, INNER_FONT_SIZE, NEUTRAL_STROKE, NODE_FILL, NODE_SIZE, NODE_STROKE_WIDTH, SEQUENCE_STROKE, SEQUENCE_WIDTH, START_WIDTH, TASK_RADIUS, } from '../consts.js';
|
|
4
4
|
/** One BPMN flow-object node, as a surface-element JSON entry. */
|
|
5
5
|
function node(kind, x, y, text) {
|
|
6
6
|
const { w, h } = NODE_SIZE[kind];
|
|
@@ -6,8 +6,8 @@ import { EditPropsStore, TelemetryProvider, } from '@formicoidea/labre-core/shar
|
|
|
6
6
|
import { EdgelessToolbarToolMixin } from '@formicoidea/labre-core/widgets/edgeless-toolbar';
|
|
7
7
|
import { Bound } from '@formicoidea/labre-core/global/gfx';
|
|
8
8
|
import { css, html, LitElement } from 'lit';
|
|
9
|
-
import { EVENT_END, EVENT_START, END_WIDTH, INNER_FONT_SIZE, NEUTRAL_STROKE, NODE_FILL, NODE_LABEL, NODE_SIZE, NODE_STROKE_WIDTH, SEQUENCE_STROKE, SEQUENCE_WIDTH, START_WIDTH, TASK_RADIUS, } from '../consts';
|
|
10
|
-
import { bpmnEndIcon, bpmnGatewayIcon, bpmnPoolIcon, bpmnSequenceIcon, bpmnStartIcon, bpmnTaskIcon, } from './icons';
|
|
9
|
+
import { EVENT_END, EVENT_START, END_WIDTH, INNER_FONT_SIZE, NEUTRAL_STROKE, NODE_FILL, NODE_LABEL, NODE_SIZE, NODE_STROKE_WIDTH, SEQUENCE_STROKE, SEQUENCE_WIDTH, START_WIDTH, TASK_RADIUS, } from '../consts.js';
|
|
10
|
+
import { bpmnEndIcon, bpmnGatewayIcon, bpmnPoolIcon, bpmnSequenceIcon, bpmnStartIcon, bpmnTaskIcon, } from './icons.js';
|
|
11
11
|
/** Per-kind native shape + accent presets (style C). */
|
|
12
12
|
const NODE_PRESETS = {
|
|
13
13
|
startEvent: { shapeType: 'ellipse', stroke: EVENT_START, width: START_WIDTH },
|
|
@@ -3,7 +3,7 @@ import { EmptyTool } from '@formicoidea/labre-core/gfx/pointer';
|
|
|
3
3
|
import { EdgelessToolbarToolMixin } from '@formicoidea/labre-core/widgets/edgeless-toolbar';
|
|
4
4
|
import { SignalWatcher } from '@formicoidea/labre-core/global/lit';
|
|
5
5
|
import { css, html, LitElement } from 'lit';
|
|
6
|
-
import { bpmnToolbarIcon } from './icons';
|
|
6
|
+
import { bpmnToolbarIcon } from './icons.js';
|
|
7
7
|
/**
|
|
8
8
|
* Main toolbar button (colored BPMN glyph) that opens the BPMN toolbox sub-menu
|
|
9
9
|
* above the toolbar. Mirrors the EDGY / Wardley senior buttons.
|
package/dist/view.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
|
|
2
2
|
import { extendTemplateCategory } from '@formicoidea/labre-core/gfx/template';
|
|
3
|
-
import { effects } from './effects';
|
|
4
|
-
import { bpmnTemplateCategory } from './templates';
|
|
5
|
-
import { BpmnPoolRendererExtension } from './element-renderer';
|
|
6
|
-
import { BpmnPoolInteraction, BpmnPoolView } from './element-view';
|
|
7
|
-
import { BpmnNodeRendererExtension } from './node/node-renderer';
|
|
8
|
-
import { BpmnNodeView } from './node/node-view';
|
|
9
|
-
import { bpmnPoolToolbarExtension } from './toolbar/config';
|
|
10
|
-
import { bpmnSeniorTool } from './toolbar/senior-tool';
|
|
3
|
+
import { effects } from './effects.js';
|
|
4
|
+
import { bpmnTemplateCategory } from './templates/index.js';
|
|
5
|
+
import { BpmnPoolRendererExtension } from './element-renderer.js';
|
|
6
|
+
import { BpmnPoolInteraction, BpmnPoolView } from './element-view.js';
|
|
7
|
+
import { BpmnNodeRendererExtension } from './node/node-renderer.js';
|
|
8
|
+
import { BpmnNodeView } from './node/node-view.js';
|
|
9
|
+
import { bpmnPoolToolbarExtension } from './toolbar/config.js';
|
|
10
|
+
import { bpmnSeniorTool } from './toolbar/senior-tool.js';
|
|
11
11
|
export class BpmnViewExtension extends ViewExtensionProvider {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-framework-bpmn",
|
|
3
3
|
"description": "Labre bpmn framework for @formicoidea/labre-core.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.31.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"author": "lajola",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@formicoidea/labre-core": "0.
|
|
30
|
+
"@formicoidea/labre-core": "0.31.0",
|
|
31
31
|
"lit": "^3.2.0"
|
|
32
32
|
}
|
|
33
33
|
}
|