@aj-shadow/z-abs-complayer-visualizationsequencediagram-client 0.0.0-aj-beta.227 → 0.0.0-aj-beta.237
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/npm-shrinkwrap.json +3 -3
- package/package.json +2 -2
- package/project/client/_build/Bundle-CompLayer-VisualizationSequenceDiagram-client.bld +13 -26
- package/project/client/content-decoders/content-decoder.js +4 -5
- package/project/client/content-decoders/image-decoder.js +12 -14
- package/project/client/content-decoders/text-decoder.js +12 -15
- package/project/client/data/data-seq-dia-client-connected-not.js +17 -20
- package/project/client/data/data-seq-dia-client-connected.js +16 -19
- package/project/client/data/data-seq-dia-client-connecting.js +17 -20
- package/project/client/data/data-seq-dia-client-dns-failure.js +2 -7
- package/project/client/data/data-seq-dia-connection-closed.js +16 -19
- package/project/client/data/data-seq-dia-connection-closing.js +17 -20
- package/project/client/data/data-seq-dia-connection-half-closed.js +16 -19
- package/project/client/data/data-seq-dia-connection-half-closing.js +17 -20
- package/project/client/data/data-seq-dia-connection-upgrading.js +2 -7
- package/project/client/data/data-seq-dia-gui-result.js +6 -9
- package/project/client/data/data-seq-dia-gui.js +14 -18
- package/project/client/data/data-seq-dia-phase-end-result.js +5 -8
- package/project/client/data/data-seq-dia-phase-end.js +14 -17
- package/project/client/data/data-seq-dia-phase-start-result.js +5 -8
- package/project/client/data/data-seq-dia-phase-start.js +14 -17
- package/project/client/data/data-seq-dia-protocol-single-node-result.js +5 -8
- package/project/client/data/data-seq-dia-protocol-single-node.js +6 -9
- package/project/client/data/data-seq-dia-protocol-two-nodes-result.js +5 -8
- package/project/client/data/data-seq-dia-protocol-two-nodes.js +9 -12
- package/project/client/data/data-seq-dia-receive.js +20 -24
- package/project/client/data/data-seq-dia-send.js +20 -24
- package/project/client/data/data-seq-dia-server-accepted.js +16 -19
- package/project/client/data/data-seq-dia-server-accepting.js +16 -19
- package/project/client/data/data-seq-dia-server-attached.js +16 -19
- package/project/client/data/data-seq-dia-server-detached.js +16 -19
- package/project/client/data/data-seq-dia-server-not-started.js +16 -19
- package/project/client/data/data-seq-dia-server-started.js +16 -19
- package/project/client/data/data-seq-dia-server-starting.js +16 -19
- package/project/client/data/data-seq-dia-server-stopped.js +16 -19
- package/project/client/data/data-seq-dia-server-stopping.js +16 -19
- package/project/client/data/data-seq-dia-stack-result.js +6 -9
- package/project/client/data/data-seq-dia-stack.js +13 -17
- package/project/client/data/data-seq-dia-state-result.js +5 -8
- package/project/client/data/data-seq-dia-state.js +14 -17
- package/project/client/data/data-seq-dia-test-case-end-result.js +5 -8
- package/project/client/data/data-seq-dia-test-case-end.js +14 -17
- package/project/client/data/data-seq-dia-test-case-header-result.js +5 -8
- package/project/client/data/data-seq-dia-test-case-header.js +12 -15
- package/project/client/data/data-seq-dia-test-case-start-result.js +5 -7
- package/project/client/data/data-seq-dia-test-case-start.js +15 -18
- package/project/client/logic/analyze.js +10 -13
- package/project/client/logic/cache-array.js +2 -5
- package/project/client/logic/cache-map-double.js +2 -5
- package/project/client/logic/cache-map-shared.js +4 -7
- package/project/client/logic/cache-map.js +2 -5
- package/project/client/logic/cache-type-connection-closed.js +4 -7
- package/project/client/logic/cache-type-connection-closing.js +4 -7
- package/project/client/logic/cache-type-connection-connected.js +4 -7
- package/project/client/logic/cache-type-connection-connecting.js +4 -7
- package/project/client/logic/cache-type-connection-half-closed.js +4 -7
- package/project/client/logic/cache-type-connection-half-closing.js +4 -7
- package/project/client/logic/cache-type-connection-not-connected.js +4 -7
- package/project/client/logic/cache-type-phase-end.js +4 -7
- package/project/client/logic/cache-type-phase-start.js +4 -7
- package/project/client/logic/cache-type-receive.js +4 -7
- package/project/client/logic/cache-type-send.js +4 -7
- package/project/client/logic/cache-type-server-accepted.js +4 -7
- package/project/client/logic/cache-type-server-accepting.js +4 -7
- package/project/client/logic/cache-type-server-attached.js +4 -7
- package/project/client/logic/cache-type-server-detached.js +4 -9
- package/project/client/logic/cache-type-server-not-started.js +4 -7
- package/project/client/logic/cache-type-server-started.js +4 -7
- package/project/client/logic/cache-type-server-starting.js +4 -7
- package/project/client/logic/cache-type-server-stopped.js +4 -7
- package/project/client/logic/cache-type-server-stopping.js +4 -7
- package/project/client/logic/cache-type-stack.js +4 -7
- package/project/client/logic/cache-type-state.js +4 -7
- package/project/client/logic/cache-type-test-case-end.js +3 -6
- package/project/client/logic/cache-type-test-case-header.js +3 -6
- package/project/client/logic/cache-type-test-case-start.js +3 -5
- package/project/client/logic/cache.js +31 -34
- package/project/client/logic/connection-data.js +3 -5
- package/project/client/logic/const.js +43 -76
- package/project/client/logic/content-cache.js +7 -12
- package/project/client/logic/data-log-row.js +2 -5
- package/project/client/logic/filter-size.js +43 -47
- package/project/client/logic/seq-dia-filter.js +33 -40
- package/project/client/logic/shared-template-data.js +6 -10
- package/project/client/react-component/sequence-diagram.jsx +82 -82
- package/project/client/templates/components/component-seq-dia-arrow.js +3 -6
- package/project/client/templates/components/component-seq-dia-caption.js +3 -6
- package/project/client/templates/components/component-seq-dia-envelope.js +12 -16
- package/project/client/templates/components/component-seq-dia-event-info.js +3 -6
- package/project/client/templates/components/component-seq-dia-event-row.js +12 -15
- package/project/client/templates/components/component-seq-dia-protocol.js +11 -14
- package/project/client/templates/components/component-seq-dia-shared.js +4 -7
- package/project/client/templates/template-seq-dia-client-connected-not.js +12 -15
- package/project/client/templates/template-seq-dia-client-connected.js +10 -13
- package/project/client/templates/template-seq-dia-client-connecting.js +10 -13
- package/project/client/templates/template-seq-dia-client-dns-failure.js +14 -17
- package/project/client/templates/template-seq-dia-connection-closed.js +11 -14
- package/project/client/templates/template-seq-dia-connection-closing.js +12 -15
- package/project/client/templates/template-seq-dia-connection-half-closed.js +11 -14
- package/project/client/templates/template-seq-dia-connection-half-closing.js +12 -15
- package/project/client/templates/template-seq-dia-connection-upgraded-not.js +15 -18
- package/project/client/templates/template-seq-dia-connection-upgraded.js +12 -15
- package/project/client/templates/template-seq-dia-connection-upgrading.js +12 -15
- package/project/client/templates/template-seq-dia-gui.js +46 -51
- package/project/client/templates/template-seq-dia-msg.js +15 -18
- package/project/client/templates/template-seq-dia-phase-end.js +6 -9
- package/project/client/templates/template-seq-dia-phase-start.js +6 -9
- package/project/client/templates/template-seq-dia-protocol-base.js +4 -7
- package/project/client/templates/template-seq-dia-receive.js +14 -18
- package/project/client/templates/template-seq-dia-send.js +14 -18
- package/project/client/templates/template-seq-dia-server-accepted.js +10 -13
- package/project/client/templates/template-seq-dia-server-accepting.js +9 -12
- package/project/client/templates/template-seq-dia-server-attached.js +12 -15
- package/project/client/templates/template-seq-dia-server-detached.js +11 -14
- package/project/client/templates/template-seq-dia-server-not-started.js +12 -15
- package/project/client/templates/template-seq-dia-server-started.js +9 -12
- package/project/client/templates/template-seq-dia-server-starting.js +9 -12
- package/project/client/templates/template-seq-dia-server-stopped.js +9 -12
- package/project/client/templates/template-seq-dia-server-stopping.js +9 -12
- package/project/client/templates/template-seq-dia-stack.js +24 -27
- package/project/client/templates/template-seq-dia-state.js +24 -27
- package/project/client/templates/template-seq-dia-test-case-end.js +7 -10
- package/project/client/templates/template-seq-dia-test-case-header.js +6 -9
- package/project/client/templates/template-seq-dia-test-case-start.js +4 -7
- package/LICENSE.txt +0 -96
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionUpgrading from '../data/data-seq-dia-connection-upgrading';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
8
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionUpgrading } from '../data/data-seq-dia-connection-upgrading';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
8
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class TemplateSeqDiaConnectionUpgradedNot extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaConnectionUpgradedNot extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaConnectionUpgrading);
|
|
14
14
|
this.fragment = null;
|
|
@@ -20,43 +20,43 @@ class TemplateSeqDiaConnectionUpgradedNot extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
|
|
21
21
|
onInit(appDeserializer) {
|
|
22
22
|
DataSeqDiaConnectionUpgrading.init(appDeserializer);
|
|
23
|
-
const gTop = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
23
|
+
const gTop = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
24
24
|
gTop.setAttribute('transform', `translate(${FilterSize.eventWidthHalf} 0)`);
|
|
25
25
|
|
|
26
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
26
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
27
27
|
closingLine1.classList.add('seq_dia_event_connection_closing');
|
|
28
28
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
29
29
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
30
30
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
31
31
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
32
32
|
|
|
33
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
33
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
34
34
|
closingLine2.classList.add('seq_dia_event_connection_closing');
|
|
35
35
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
36
36
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
37
37
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
38
38
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
39
39
|
|
|
40
|
-
const connectedCircleOuterTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
40
|
+
const connectedCircleOuterTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
41
41
|
connectedCircleOuterTemplate.classList.add('seq_dia_client_connected');
|
|
42
42
|
connectedCircleOuterTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
43
43
|
//connectedCircleOuterTemplate.setAttribute('r', 4);
|
|
44
44
|
connectedCircleOuterTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
45
45
|
|
|
46
|
-
const connectedCircleInnerTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
46
|
+
const connectedCircleInnerTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
47
47
|
connectedCircleInnerTemplate.classList.add('seq_dia_client_connected');
|
|
48
48
|
connectedCircleInnerTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
49
49
|
//connectedCircleInnerTemplate.setAttribute('r', 3);
|
|
50
50
|
connectedCircleInnerTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
51
51
|
|
|
52
|
-
const gTransform = gTop.appendChild(document.createElementNS(InnerConst.SVG_NS, 'g'));
|
|
52
|
+
const gTransform = gTop.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g'));
|
|
53
53
|
gTransform.setAttribute('transform', 'translate(-2.4 2.4) scale(0.015 0.015)');
|
|
54
54
|
|
|
55
|
-
const path = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
55
|
+
const path = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
56
56
|
path.setAttribute('d', 'M32,21.9h0Z');
|
|
57
57
|
path.setAttribute('d', 'M65,330h200c8.284,0,15-6.716,15-15V145c0-8.284-6.716-15-15-15h-15V85c0-46.869-38.131-85-85-85 S80,38.131,80,85v45H65c-8.284,0-15,6.716-15,15v170C50,323.284,56.716,330,65,330z M180,234.986V255c0,8.284-6.716,15-15,15 s-15-6.716-15-15v-20.014c-6.068-4.565-10-11.824-10-19.986c0-13.785,11.215-25,25-25s25,11.215,25,25 C190,223.162,186.068,230.421,180,234.986z M110,85c0-30.327,24.673-55,55-55s55,24.673,55,55v45H110V85z');
|
|
58
58
|
|
|
59
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
59
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
60
60
|
this.fragment.appendChild(closingLine1.cloneNode(true));
|
|
61
61
|
this.fragment.appendChild(closingLine2.cloneNode(true));
|
|
62
62
|
this.fragment.appendChild(connectedCircleOuterTemplate.cloneNode(true));
|
|
@@ -77,6 +77,3 @@ class TemplateSeqDiaConnectionUpgradedNot extends TemplateSeqDiaProtocolBase {
|
|
|
77
77
|
return this.filter.getConnectionEvents(phaseId) ? this.height : 0;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
module.exports = TemplateSeqDiaConnectionUpgradedNot;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionUpgrading from '../data/data-seq-dia-connection-upgrading';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
8
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionUpgrading } from '../data/data-seq-dia-connection-upgrading';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
8
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class TemplateSeqDiaConnectionUpgraded extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaConnectionUpgraded extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaConnectionUpgrading);
|
|
14
14
|
this.fragment = null;
|
|
@@ -20,23 +20,23 @@ class TemplateSeqDiaConnectionUpgraded extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
|
|
21
21
|
onInit(appDeserializer) {
|
|
22
22
|
DataSeqDiaConnectionUpgrading.init(appDeserializer);
|
|
23
|
-
const gTop = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
23
|
+
const gTop = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
24
24
|
gTop.setAttribute('transform', `translate(${FilterSize.eventWidthHalf} 0)`);
|
|
25
25
|
|
|
26
|
-
const connectedCircleSmallTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
26
|
+
const connectedCircleSmallTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
27
27
|
connectedCircleSmallTemplate.classList.add('seq_dia_client_connected');
|
|
28
28
|
connectedCircleSmallTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
29
29
|
connectedCircleSmallTemplate.setAttribute('r', 4);
|
|
30
30
|
connectedCircleSmallTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
31
31
|
|
|
32
|
-
const gTransform = gTop.appendChild(document.createElementNS(InnerConst.SVG_NS, 'g'));
|
|
32
|
+
const gTransform = gTop.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g'));
|
|
33
33
|
gTransform.setAttribute('transform', 'translate(-3.2 1.6) scale(0.019 0.019)');
|
|
34
34
|
|
|
35
|
-
const path = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
35
|
+
const path = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
36
36
|
path.setAttribute('d', 'M32,21.9h0Z');
|
|
37
37
|
path.setAttribute('d', 'M65,330h200c8.284,0,15-6.716,15-15V145c0-8.284-6.716-15-15-15h-15V85c0-46.869-38.131-85-85-85 S80,38.131,80,85v45H65c-8.284,0-15,6.716-15,15v170C50,323.284,56.716,330,65,330z M180,234.986V255c0,8.284-6.716,15-15,15 s-15-6.716-15-15v-20.014c-6.068-4.565-10-11.824-10-19.986c0-13.785,11.215-25,25-25s25,11.215,25,25 C190,223.162,186.068,230.421,180,234.986z M110,85c0-30.327,24.673-55,55-55s55,24.673,55,55v45H110V85z');
|
|
38
38
|
|
|
39
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
39
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
40
40
|
this.fragment.appendChild(connectedCircleSmallTemplate.cloneNode(true));
|
|
41
41
|
this.fragment.appendChild(gTop.cloneNode(true));
|
|
42
42
|
}
|
|
@@ -52,6 +52,3 @@ class TemplateSeqDiaConnectionUpgraded extends TemplateSeqDiaProtocolBase {
|
|
|
52
52
|
return this.filter.getConnectionEvents(phaseId) ? this.height : 0;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
module.exports = TemplateSeqDiaConnectionUpgraded;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionUpgrading from '../data/data-seq-dia-connection-upgrading';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
8
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionUpgrading } from '../data/data-seq-dia-connection-upgrading';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
8
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class TemplateSeqDiaConnectionUpgrading extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaConnectionUpgrading extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaConnectionUpgrading);
|
|
14
14
|
this.fragment = null;
|
|
@@ -20,23 +20,23 @@ class TemplateSeqDiaConnectionUpgrading extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
|
|
21
21
|
onInit(appDeserializer) {
|
|
22
22
|
DataSeqDiaConnectionUpgrading.init(appDeserializer);
|
|
23
|
-
const gTop = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
23
|
+
const gTop = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
24
24
|
gTop.setAttribute('transform', `translate(${FilterSize.eventWidthHalf} 0)`);
|
|
25
25
|
|
|
26
|
-
const connectedCircleSmallTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
26
|
+
const connectedCircleSmallTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
27
27
|
connectedCircleSmallTemplate.classList.add('seq_dia_client_connected');
|
|
28
28
|
connectedCircleSmallTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
29
29
|
connectedCircleSmallTemplate.setAttribute('r', 4);
|
|
30
30
|
connectedCircleSmallTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
31
31
|
|
|
32
|
-
const gTransform = gTop.appendChild(document.createElementNS(InnerConst.SVG_NS, 'g'));
|
|
32
|
+
const gTransform = gTop.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g'));
|
|
33
33
|
gTransform.setAttribute('transform', 'translate(-3.2 1.6) scale(0.13 0.13)');
|
|
34
34
|
|
|
35
|
-
const path = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
35
|
+
const path = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
36
36
|
path.setAttribute('d', 'M32,21.9h0Z');
|
|
37
37
|
path.setAttribute('d', 'M40,18H16V13a7,7,0,0,1,7-7h2a7.1,7.1,0,0,1,5,2.1,2,2,0,0,0,2.2.5h.1a1.9,1.9,0,0,0,.6-3.1A10.9,10.9,0,0,0,25,2H23A11,11,0,0,0,12,13v5H8a2,2,0,0,0-2,2V44a2,2,0,0,0,2,2H40a2,2,0,0,0,2-2V20A2,2,0,0,0,40,18ZM25.9,33.4v2.5a2,2,0,0,1-4,0V33.4a4,4,0,1,1,4,0Z');
|
|
38
38
|
|
|
39
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
39
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
40
40
|
this.fragment.appendChild(connectedCircleSmallTemplate.cloneNode(true));
|
|
41
41
|
this.fragment.appendChild(gTop.cloneNode(true));
|
|
42
42
|
}
|
|
@@ -52,6 +52,3 @@ class TemplateSeqDiaConnectionUpgrading extends TemplateSeqDiaProtocolBase {
|
|
|
52
52
|
return this.filter.getConnectionEvents(phaseId) ? this.height : 0;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
module.exports = TemplateSeqDiaConnectionUpgrading;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import ComponentSeqDiaEventInfo from './components/component-seq-dia-event-info';
|
|
6
|
-
import ComponentSeqDiaEventRow from './components/component-seq-dia-event-row';
|
|
7
|
-
import DataSeqDiaGui from '../data/data-seq-dia-gui';
|
|
8
|
-
import FilterSize from '../logic/filter-size';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import LogDataGuiType from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-gui-type';
|
|
13
|
-
import InnerConst from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { ComponentSeqDiaEventInfo } from './components/component-seq-dia-event-info';
|
|
6
|
+
import { ComponentSeqDiaEventRow } from './components/component-seq-dia-event-row';
|
|
7
|
+
import { DataSeqDiaGui } from '../data/data-seq-dia-gui';
|
|
8
|
+
import { FilterSize } from '../logic/filter-size';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-gui-sub-type';
|
|
11
|
+
import * as FuncLayerEngineCs1 from 'z-abs-funclayer-engine-cs/client/log/log-data-gui-type';
|
|
14
12
|
|
|
15
13
|
|
|
16
|
-
class TemplateSeqDiaGui {
|
|
14
|
+
export class TemplateSeqDiaGui {
|
|
17
15
|
constructor() {
|
|
18
16
|
this.filter = null;
|
|
19
17
|
this.eventInfoIds = null;
|
|
@@ -36,28 +34,28 @@ class TemplateSeqDiaGui {
|
|
|
36
34
|
this.filter = filter;
|
|
37
35
|
DataSeqDiaGui.init(pooledBuffers);
|
|
38
36
|
|
|
39
|
-
const length = LogDataGuiType.results.length;
|
|
37
|
+
const length = FuncLayerEngineCs.LogDataGuiType.results.length;
|
|
40
38
|
this.template = new Array(length);
|
|
41
39
|
|
|
42
40
|
for(let i = 0; i < length; ++i) {
|
|
43
|
-
const g = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
41
|
+
const g = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
44
42
|
this.template[i] = g
|
|
45
43
|
switch(i) {
|
|
46
|
-
case LogDataGuiType.NEW_BROWSER:
|
|
47
|
-
case LogDataGuiType.USE_BROWSER:
|
|
44
|
+
case FuncLayerEngineCs.LogDataGuiType.NEW_BROWSER:
|
|
45
|
+
case FuncLayerEngineCs.LogDataGuiType.USE_BROWSER:
|
|
48
46
|
g.appendChild(this._browserTemplate(i));
|
|
49
47
|
break;
|
|
50
|
-
case LogDataGuiType.NEW_PAGE:
|
|
51
|
-
case LogDataGuiType.USE_PAGE:
|
|
48
|
+
case FuncLayerEngineCs.LogDataGuiType.NEW_PAGE:
|
|
49
|
+
case FuncLayerEngineCs.LogDataGuiType.USE_PAGE:
|
|
52
50
|
g.appendChild(this._newPageTemplate(i));
|
|
53
51
|
break;
|
|
54
|
-
case LogDataGuiType.ACTION_CLICK:
|
|
52
|
+
case FuncLayerEngineCs.LogDataGuiType.ACTION_CLICK:
|
|
55
53
|
g.appendChild(this._clickTemplate());
|
|
56
54
|
break;
|
|
57
|
-
case LogDataGuiType.ACTION_TYPE:
|
|
55
|
+
case FuncLayerEngineCs.LogDataGuiType.ACTION_TYPE:
|
|
58
56
|
g.appendChild(this._typeTemplate());
|
|
59
57
|
break;
|
|
60
|
-
case LogDataGuiType.FUNCTION_CALL:
|
|
58
|
+
case FuncLayerEngineCs.LogDataGuiType.FUNCTION_CALL:
|
|
61
59
|
g.appendChild(this._functionCallTemplate());
|
|
62
60
|
break;
|
|
63
61
|
}
|
|
@@ -72,33 +70,33 @@ class TemplateSeqDiaGui {
|
|
|
72
70
|
}
|
|
73
71
|
|
|
74
72
|
_browserTemplate(type) {
|
|
75
|
-
const gTransform = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
76
|
-
gTransform.setAttribute('transform', `translate(${FilterSize.eventWidthHalf - 5}) scale(0.1 0.1)${LogDataGuiType.NEW_BROWSER === type ? '' : ' rotate(45 38 46)'}`);
|
|
77
|
-
const path = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
73
|
+
const gTransform = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
74
|
+
gTransform.setAttribute('transform', `translate(${FilterSize.eventWidthHalf - 5}) scale(0.1 0.1)${FuncLayerEngineCs.LogDataGuiType.NEW_BROWSER === type ? '' : ' rotate(45 38 46)'}`);
|
|
75
|
+
const path = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
78
76
|
path.classList.add('gui_seq_dia_browser_svg');
|
|
79
77
|
path.setAttribute('d', 'M 84.24 34.662 c 5.993 -13.379 7.386 -25.143 3.819 -32.273 c -0.097 -0.193 -0.254 -0.35 -0.447 -0.447 C 80.481 -1.626 68.717 -0.234 55.337 5.76 c -0.018 0.008 -0.033 0.021 -0.05 0.03 c -6.605 2.964 -13.045 6.812 -18.59 11.048 l -12.576 0.306 c -1.434 0.035 -2.838 0.449 -4.061 1.197 L 2.531 29.06 c -1.463 0.894 -2.359 2.452 -2.397 4.167 c -0.038 1.715 0.79 3.311 2.212 4.268 l 13.132 8.839 l -2.22 10.701 c -0.068 0.33 0.034 0.672 0.272 0.91 L 32.056 76.47 c 0.189 0.189 0.444 0.293 0.707 0.293 c 0.067 0 0.136 -0.007 0.203 -0.021 l 10.693 -2.218 l 8.817 13.101 c 0.937 1.392 2.484 2.213 4.157 2.213 c 0.036 0 0.074 0 0.111 -0.001 c 1.714 -0.037 3.273 -0.934 4.168 -2.397 l 10.717 -17.53 c 0.748 -1.221 1.161 -2.625 1.197 -4.061 l 0.305 -12.506 z');
|
|
80
78
|
|
|
81
|
-
const circle = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'circle'));
|
|
79
|
+
const circle = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle'));
|
|
82
80
|
circle.setAttribute('cx', 49);
|
|
83
81
|
circle.setAttribute('cy', 40);
|
|
84
82
|
circle.setAttribute('r', 15);
|
|
85
83
|
circle.setAttribute('style', 'fill:White;');
|
|
86
84
|
|
|
87
|
-
const line1 = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
85
|
+
const line1 = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
88
86
|
line1.classList.add('gui_seq_dia_browser_svg_fuel');
|
|
89
87
|
line1.setAttribute('x1', 20);
|
|
90
88
|
line1.setAttribute('x2', 0);
|
|
91
89
|
line1.setAttribute('y1', 58);
|
|
92
90
|
line1.setAttribute('y2', 78);
|
|
93
91
|
|
|
94
|
-
const line2 = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
92
|
+
const line2 = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
95
93
|
line2.classList.add('gui_seq_dia_browser_svg_fuel');
|
|
96
94
|
line2.setAttribute('x1', 26);
|
|
97
95
|
line2.setAttribute('x2', 0);
|
|
98
96
|
line2.setAttribute('y1', 64);
|
|
99
97
|
line2.setAttribute('y2', 90);
|
|
100
98
|
|
|
101
|
-
const line3 = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
99
|
+
const line3 = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
102
100
|
line3.classList.add('gui_seq_dia_browser_svg_fuel');
|
|
103
101
|
line3.setAttribute('x1', 32);
|
|
104
102
|
line3.setAttribute('x2', 12);
|
|
@@ -108,52 +106,52 @@ class TemplateSeqDiaGui {
|
|
|
108
106
|
}
|
|
109
107
|
|
|
110
108
|
_newPageTemplate(type) {
|
|
111
|
-
const gTransform = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
109
|
+
const gTransform = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
112
110
|
gTransform.setAttribute('transform', `translate(${FilterSize.eventWidthHalf - 4}) scale(0.018 0.018)`);
|
|
113
111
|
|
|
114
|
-
const path1 = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
112
|
+
const path1 = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
115
113
|
path1.classList.add('gui_seq_dia_page');
|
|
116
114
|
path1.setAttribute('d', 'm285.37 85.136 1.3221-76.683 101.47 101.8-80.98-1.3221z');
|
|
117
115
|
path1.setAttribute('style', 'fill:#8fbcef;');
|
|
118
116
|
|
|
119
|
-
const path2 = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
117
|
+
const path2 = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
120
118
|
path2.setAttribute('d', 'm5.742 26.302 18.84-16.527 262.11-1.3221-1.3221 76.683 21.815 23.798 80.98 1.3221-0.99159 368.21-17.518 18.675-338.79 4.1316-23.137-20.823z');
|
|
121
119
|
path2.setAttribute('style', 'fill:White');
|
|
122
120
|
|
|
123
|
-
const path3 = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
121
|
+
const path3 = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
124
122
|
path3.classList.add('gui_seq_dia_page');
|
|
125
123
|
path3.setAttribute('d', 'm398.96 110.75c-0.018-0.185-0.05-0.365-0.081-0.545-0.011-0.06-0.016-0.122-0.028-0.182-0.043-0.215-0.098-0.425-0.159-0.632-7e-3 -0.025-0.012-0.052-0.02-0.077-0.065-0.213-0.141-0.421-0.224-0.625-8e-3 -0.021-0.015-0.043-0.023-0.064-0.081-0.195-0.173-0.384-0.269-0.57-0.016-0.031-0.029-0.063-0.045-0.094-0.093-0.173-0.196-0.339-0.301-0.504-0.027-0.042-0.05-0.086-0.077-0.127-0.103-0.154-0.216-0.3-0.33-0.446-0.037-0.048-0.07-0.098-0.109-0.145-0.142-0.173-0.294-0.338-0.45-0.498-0.015-0.015-0.027-0.031-0.042-0.046l-104-104c-0.018-0.018-0.038-0.033-0.057-0.051-0.156-0.153-0.317-0.301-0.486-0.44-0.055-0.045-0.113-0.083-0.169-0.126-0.138-0.107-0.275-0.214-0.42-0.311-0.051-0.034-0.105-0.062-0.156-0.095-0.156-0.099-0.312-0.197-0.475-0.284-0.036-0.019-0.074-0.035-0.111-0.053-0.181-0.093-0.365-0.183-0.554-0.262-0.024-0.01-0.049-0.017-0.074-0.027-0.202-0.081-0.406-0.157-0.616-0.221-0.027-8e-3 -0.054-0.013-0.081-0.021-0.206-0.06-0.415-0.115-0.628-0.158-0.063-0.013-0.128-0.018-0.192-0.029-0.177-0.031-0.354-0.062-0.536-0.08-0.248-0.025-0.498-0.038-0.749-0.038h-248c-21.78 0-39.5 17.72-39.5 39.5v432c0 21.78 17.72 39.5 39.5 39.5h320c21.78 0 39.5-17.72 39.5-39.5v-360c0-0.251-0.013-0.501-0.038-0.749zm-103.96-85.145 78.394 78.394h-53.894c-13.509 0-24.5-10.99-24.5-24.5zm64.5 470.39h-320c-13.509 0-24.5-10.99-24.5-24.5v-432c0-13.51 10.991-24.5 24.5-24.5h240.5v64.5c0 21.78 17.72 39.5 39.5 39.5h64.5v352.5c0 13.51-10.991 24.5-24.5 24.5z');
|
|
126
124
|
path3.setAttribute('style', 'fill:#227ce0;');
|
|
127
125
|
|
|
128
|
-
const g = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'g'));
|
|
126
|
+
const g = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g'));
|
|
129
127
|
g.setAttribute('transform', 'translate(-55.998 .001)');
|
|
130
128
|
|
|
131
|
-
const pathG1 = g.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
129
|
+
const pathG1 = g.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
132
130
|
pathG1.setAttribute('d', 'm210.79 328.21v33.164l-117.89-51.094v-28.359l117.89-51.094v33.398l-82.148 31.641z');
|
|
133
131
|
|
|
134
|
-
const pathG2 = g.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
132
|
+
const pathG2 = g.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
135
133
|
pathG2.setAttribute('d', 'm283.68 230.12-32.812 135.12q-1.6406 6.6797-2.9297 10.547-1.1719 3.8672-3.75 5.9766-2.4609 2.2266-7.2656 2.2266-11.953 0-11.953-10.312 0-2.6953 2.3438-13.477l32.695-135.12q2.5781-10.781 4.9219-14.766 2.3438-3.9844 9.1406-3.9844 5.8594 0 8.9062 2.8125 3.1641 2.8125 3.1641 7.7344 0 3.6328-2.4609 13.242z');
|
|
136
134
|
|
|
137
|
-
const pathG3 = g.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
135
|
+
const pathG3 = g.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
138
136
|
pathG3.setAttribute('d', 'm418.1 310.28-117.89 51.328v-33.164l82.383-32.344-82.383-31.875v-32.93l117.89 50.859z');
|
|
139
137
|
|
|
140
138
|
return gTransform;
|
|
141
139
|
}
|
|
142
140
|
|
|
143
141
|
_clickTemplate() {
|
|
144
|
-
const gTransform = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
142
|
+
const gTransform = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
145
143
|
gTransform.setAttribute('transform', `translate(${FilterSize.eventWidthHalf - 11.2} 1.0) scale(0.14 0.12)`);
|
|
146
144
|
|
|
147
|
-
const circle = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'circle'));
|
|
145
|
+
const circle = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle'));
|
|
148
146
|
circle.setAttribute('cx', 80);
|
|
149
147
|
circle.setAttribute('cy', 20);
|
|
150
148
|
circle.setAttribute('r', 15);
|
|
151
149
|
circle.setAttribute('style', 'fill:forestgreen;');
|
|
152
150
|
|
|
153
|
-
const g = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'g'));
|
|
151
|
+
const g = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g'));
|
|
154
152
|
g.setAttribute('transform', 'translate(35 -35)');
|
|
155
153
|
|
|
156
|
-
const path = g.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
154
|
+
const path = g.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
157
155
|
path.setAttribute('d', 'M 66.437 24.873 c 0.382 -1.923 -0.02 -3.815 -1.129 -5.329 c -1.108 -1.514 -2.791 -2.467 -4.739 -2.685 c -1.918 -0.215 -3.853 0.314 -5.455 1.487 l -32.62 23.888 l 0.161 -8.456 c 0.036 -1.889 -0.682 -3.638 -2.023 -4.924 c -1.388 -1.332 -3.25 -1.999 -5.258 -1.878 c -4.003 0.242 -7.319 3.62 -7.394 7.529 L 7.399 65.128 C 7.276 70.599 8.867 75.753 12 80.031 c 4.799 6.553 12.408 9.97 20.359 9.969 c 5.88 0 11.948 -1.868 17.205 -5.718 l 13.652 -9.998 c 3.344 -2.45 4.212 -6.972 1.935 -10.081 c -1.108 -1.513 -2.791 -2.467 -4.739 -2.684 c -0.013 -0.001 -0.025 -0.001 -0.038 -0.002 l 0.359 -0.263 c 1.601 -1.173 2.69 -2.86 3.064 -4.751 c 0.382 -1.922 -0.02 -3.816 -1.129 -5.329 c -1.108 -1.513 -2.791 -2.467 -4.739 -2.685 c -0.351 -0.04 -0.702 -0.046 -1.052 -0.036 c 0.446 -0.746 0.771 -1.56 0.942 -2.42 c 0.381 -1.922 -0.021 -3.815 -1.129 -5.329 c -1.154 -1.576 -2.899 -2.488 -4.774 -2.689 l 11.458 -8.391 C 64.974 28.451 66.063 26.764 66.437 24.873');
|
|
158
156
|
path.setAttribute('style', 'stroke:Black;stroke-width:4;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;fill:forestgreen;fill-rule:nonzero;opacity:1;stroke-linecap:round;transform:rotate(45deg)');
|
|
159
157
|
|
|
@@ -161,10 +159,10 @@ class TemplateSeqDiaGui {
|
|
|
161
159
|
}
|
|
162
160
|
|
|
163
161
|
_typeTemplate() {
|
|
164
|
-
const gTransform = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
162
|
+
const gTransform = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
165
163
|
gTransform.setAttribute('transform', `translate(${FilterSize.eventWidthHalf - 14.2} -1) scale(0.023 0.023)`);
|
|
166
164
|
|
|
167
|
-
const background = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'rect'));
|
|
165
|
+
const background = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'rect'));
|
|
168
166
|
background.classList.add('gui_seq_dia_type');
|
|
169
167
|
background.setAttribute('x', 0);
|
|
170
168
|
background.setAttribute('width', 480);
|
|
@@ -173,10 +171,10 @@ class TemplateSeqDiaGui {
|
|
|
173
171
|
background.setAttribute('height', 200);
|
|
174
172
|
background.setAttribute('ry', 2);
|
|
175
173
|
|
|
176
|
-
const path = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'path'));
|
|
174
|
+
const path = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'path'));
|
|
177
175
|
path.setAttribute('d', 'M251.2,193.5v-53.7c0-5.8,4.7-10.5,10.5-10.5h119.4c21,0,38.1-17.1,38.1-38.1s-17.1-38.1-38.1-38.1H129.5 c-5.4,0-10.1,4.3-10.1,10.1c0,5.8,4.3,10.1,10.1,10.1h251.6c10.1,0,17.9,8.2,17.9,17.9c0,10.1-8.2,17.9-17.9,17.9H261.7 c-16.7,0-30.3,13.6-30.3,30.3v53.3H0v244.2h490V193.5H251.2z M232.2,221.5h15.6c5.4,0,10.1,4.3,10.1,10.1s-4.3,10.1-10.1,10.1 h-15.6c-5.4,0-10.1-4.3-10.1-10.1C222.1,225.8,226.7,221.5,232.2,221.5z M203.4,325.7h-15.6c-5.4,0-10.1-4.3-10.1-10.1 c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C213.5,321,208.8,325.7,203.4,325.7z M213.5,352.9 c0,5.4-4.3,10.1-10.1,10.1h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6C208.8,342.8,213.5,347.5,213.5,352.9z M203.4,288h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.8,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 C213.5,283.7,208.8,288,203.4,288z M186.3,221.5h15.6c5.4,0,10.1,4.3,10.1,10.1s-4.3,10.1-10.1,10.1h-15.6 c-5.4,0-10.1-4.3-10.1-10.1S180.8,221.5,186.3,221.5z M140.4,221.5H156c5.4,0,10.1,4.3,10.1,10.1s-4.3,10.1-10.1,10.1h-15.6 c-5.4,0-10.1-4.3-10.1-10.1C130.3,225.8,134.9,221.5,140.4,221.5z M138.8,268.1h15.6c5.4,0,10.1,4.3,10.1,10.1 c0,5.8-4.3,10.1-10.1,10.1h-15.6c-5.4,0-10.1-4.3-10.1-10.1C128.7,272.4,133.4,268.1,138.8,268.1z M138.8,305.5h15.6 c5.4,0,10.1,4.3,10.1,10.1c0,5.4-4.3,10.1-10.1,10.1h-15.6c-5.4,0-10.1-4.3-10.1-10.1C128.7,310.1,133.4,305.5,138.8,305.5z M138.8,342.8h15.6c5.4,0,10.1,4.3,10.1,10.1c0,5.4-4.3,10.1-10.1,10.1h-15.6c-5.4,0-10.1-4.3-10.1-10.1 C128.7,347.5,133.4,342.8,138.8,342.8z M94.5,221.5h15.6c5.4,0,10.1,4.3,10.1,10.1s-4.3,10.1-10.1,10.1H94.5 c-5.4,0-10.1-4.3-10.1-10.1S89.1,221.5,94.5,221.5z M89.4,268.1H105c5.4,0,10.1,4.3,10.1,10.1c0,5.8-4.3,10.1-10.1,10.1H89.4 c-5.4,0-10.1-4.3-10.1-10.1C79.3,272.4,84,268.1,89.4,268.1z M89.4,305.5H105c5.4,0,10.1,4.3,10.1,10.1c0,5.4-4.3,10.1-10.1,10.1 H89.4c-5.4,0-10.1-4.3-10.1-10.1C79.7,310.1,84,305.5,89.4,305.5z M89.4,342.8H105c5.4,0,10.1,4.3,10.1,10.1 c0,5.4-4.3,10.1-10.1,10.1H89.4c-5.4,0-10.1-4.3-10.1-10.1C79.7,347.5,84,342.8,89.4,342.8z M56,400.4H40.4 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1H56c5.4,0,10.1,4.3,10.1,10.1C65.7,395.7,61.4,400.4,56,400.4z M56,363H40.4 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1H56c5.4,0,10.1,4.3,10.1,10.1C65.7,358.4,61.4,363,56,363z M56,325.7H40.4 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1H56c5.4,0,10.1,4.3,10.1,10.1C65.7,321,61.4,325.7,56,325.7z M56,288H40.4 c-5.4,0-10.1-4.3-10.1-10.1c0-5.8,4.3-10.1,10.1-10.1H56c5.4,0,10.1,4.3,10.1,10.1C66.1,283.7,61.4,288,56,288z M56,241.3H40.4 c-5.4,0-10.1-4.3-10.1-10.1s4.3-10.1,10.1-10.1H56c5.4,0,10.1,4.3,10.1,10.1S61.4,241.3,56,241.3z M252.8,400.4H89.4 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h163.3c5.4,0,10.1,4.3,10.1,10.1C262.9,395.7,258.2,400.4,252.8,400.4z M252.8,363h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 C262.9,358.4,258.2,363,252.8,363z M252.8,325.7h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6 c5.4,0,10.1,4.3,10.1,10.1C262.9,321,258.2,325.7,252.8,325.7z M252.8,288h-15.6c-5.4,0-10.1-4.3-10.1-10.1 c0-5.8,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C262.9,283.7,258.2,288,252.8,288z M302.2,400.4h-15.6 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C311.9,395.7,307.6,400.4,302.2,400.4z M302.2,363h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 C311.9,358.4,307.6,363,302.2,363z M302.2,325.7h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6 c5.4,0,10.1,4.3,10.1,10.1C311.9,321,307.6,325.7,302.2,325.7z M302.2,288h-15.6c-5.4,0-10.1-4.3-10.1-10.1 c0-5.8,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C312.3,283.7,307.6,288,302.2,288z M312.3,241.3h-15.6 c-5.4,0-10.1-4.3-10.1-10.1s4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1S317.7,241.3,312.3,241.3z M351.2,400.4h-15.6 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C361.3,395.7,356.6,400.4,351.2,400.4z M351.2,363h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 C361.3,358.4,356.6,363,351.2,363z M351.2,325.7h-15.6c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6 c5.4,0,10.1,4.3,10.1,10.1C361.3,321,356.6,325.7,351.2,325.7z M351.2,288h-15.6c-5.4,0-10.1-4.3-10.1-10.1 c0-5.8,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C361.3,283.7,356.6,288,351.2,288z M357.8,241.3h-15.6 c-5.4,0-10.1-4.3-10.1-10.1s4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1S363.6,241.3,357.8,241.3z M400.6,400.4H385 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C410.3,395.7,406,400.4,400.6,400.4z M400.6,363H385c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 C410.3,358.4,406,363,400.6,363z M400.6,325.7H385c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6 c5.4,0,10.1,4.3,10.1,10.1C410.3,321,406,325.7,400.6,325.7z M400.6,288H385c-5.4,0-10.1-4.3-10.1-10.1c0-5.8,4.3-10.1,10.1-10.1 h15.6c5.4,0,10.1,4.3,10.1,10.1C410.7,283.7,406,288,400.6,288z M403.7,241.3h-15.6c-5.4,0-10.1-4.3-10.1-10.1s4.3-10.1,10.1-10.1 h15.6c5.4,0,10.1,4.3,10.1,10.1C413.8,237,409.5,241.3,403.7,241.3z M449.6,400.4H434c-5.4,0-10.1-4.3-10.1-10.1 c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C459.7,395.7,455,400.4,449.6,400.4z M449.6,363H434 c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C459.7,358.4,455,363,449.6,363z M449.6,325.7 H434c-5.4,0-10.1-4.3-10.1-10.1c0-5.4,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1C459.7,321,455,325.7,449.6,325.7z M449.6,288H434c-5.4,0-10.1-4.3-10.1-10.1c0-5.8,4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 C459.7,283.7,455,288,449.6,288z M449.6,241.3H434c-5.4,0-10.1-4.3-10.1-10.1s4.3-10.1,10.1-10.1h15.6c5.4,0,10.1,4.3,10.1,10.1 S455,241.3,449.6,241.3z');
|
|
178
176
|
|
|
179
|
-
/*const rLine = clonedGTop.firstChild.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
177
|
+
/*const rLine = clonedGTop.firstChild.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
180
178
|
rLine.classList.add('gui_seq_dia_svg');
|
|
181
179
|
rLine.setAttribute('x1', -1.5);
|
|
182
180
|
rLine.setAttribute('x2', -8);
|
|
@@ -186,17 +184,17 @@ class TemplateSeqDiaGui {
|
|
|
186
184
|
}
|
|
187
185
|
|
|
188
186
|
_functionCallTemplate() {
|
|
189
|
-
const gTransform = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
187
|
+
const gTransform = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
190
188
|
gTransform.setAttribute('transform', `translate(${FilterSize.eventWidthHalf})`);
|
|
191
189
|
|
|
192
|
-
const rect = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'rect'));
|
|
190
|
+
const rect = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'rect'));
|
|
193
191
|
rect.classList.add('gui_seq_dia_function');
|
|
194
192
|
rect.setAttribute('y', 1);
|
|
195
193
|
rect.setAttribute('height', Const.STATE_EVENT_HEIGHT - 2);
|
|
196
194
|
rect.setAttribute('x', -5);
|
|
197
195
|
rect.setAttribute('width', 9);
|
|
198
196
|
|
|
199
|
-
const text = gTransform.appendChild(document.createElementNS(InnerConst.SVG_NS, 'text'));
|
|
197
|
+
const text = gTransform.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'text'));
|
|
200
198
|
text.classList.add('gui_seq_dia_function');
|
|
201
199
|
text.setAttribute('x', 4);
|
|
202
200
|
text.setAttribute('y', Const.STATE_EVENT_HALF_HEIGHT + 2.5);
|
|
@@ -207,7 +205,7 @@ class TemplateSeqDiaGui {
|
|
|
207
205
|
|
|
208
206
|
calculateHeight(bufferData) {
|
|
209
207
|
const data = DataSeqDiaGui.restoreHeightData(bufferData);
|
|
210
|
-
return this.filter.getGuiEvents(data.phaseId, LogDataGuiSubType.subTypes[data.type]) ? Const.STATE_EVENT_HEIGHT : 0;
|
|
208
|
+
return this.filter.getGuiEvents(data.phaseId, FuncLayerEngineCs.LogDataGuiSubType.subTypes[data.type]) ? Const.STATE_EVENT_HEIGHT : 0;
|
|
211
209
|
}
|
|
212
210
|
|
|
213
211
|
store(msg, sharedTemplateData) {
|
|
@@ -245,6 +243,3 @@ class TemplateSeqDiaGui {
|
|
|
245
243
|
|
|
246
244
|
removeElement(data, node) {}
|
|
247
245
|
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
module.exports = TemplateSeqDiaGui;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import ComponentSeqDiaEventRow from './components/component-seq-dia-event-row';
|
|
5
|
-
import ContentDecoder from '../content-decoders/content-decoder';
|
|
6
|
-
import Const from '../logic/const';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
4
|
+
import { ComponentSeqDiaEventRow } from './components/component-seq-dia-event-row';
|
|
5
|
+
import { ContentDecoder } from '../content-decoders/content-decoder';
|
|
6
|
+
import { Const } from '../logic/const';
|
|
7
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-part-type';
|
|
8
|
+
import * as FuncLayerEngineCs1 from 'z-abs-funclayer-engine-cs/client/execution/actor-phase-const';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class TemplateSeqDiaMsg {
|
|
11
|
+
export class TemplateSeqDiaMsg {
|
|
12
12
|
// static dynamicInnerBufferImage = null;
|
|
13
13
|
// static dynamicInnerBufferImageFirst = null;
|
|
14
14
|
static NO_INNERS = 0;
|
|
@@ -50,8 +50,8 @@ class TemplateSeqDiaMsg {
|
|
|
50
50
|
|
|
51
51
|
static init(filter, stackStyles, actorPhaseConst, logInner) {
|
|
52
52
|
TemplateSeqDiaMsg.filter = filter;
|
|
53
|
-
TemplateSeqDiaMsg.divTemplate = new Array(ActorPhaseConst.namesRunning.length);
|
|
54
|
-
TemplateSeqDiaMsg.divMsgTemplate = new Array(ActorPhaseConst.namesRunning.length);
|
|
53
|
+
TemplateSeqDiaMsg.divTemplate = new Array(FuncLayerEngineCs.ActorPhaseConst.namesRunning.length);
|
|
54
|
+
TemplateSeqDiaMsg.divMsgTemplate = new Array(FuncLayerEngineCs.ActorPhaseConst.namesRunning.length);
|
|
55
55
|
TemplateSeqDiaMsg.logInner = logInner;
|
|
56
56
|
|
|
57
57
|
TemplateSeqDiaMsg.divInnerTemplate = new Array(stackStyles.size);
|
|
@@ -61,7 +61,7 @@ class TemplateSeqDiaMsg {
|
|
|
61
61
|
|
|
62
62
|
const divTemplate = document.createElement('div');
|
|
63
63
|
|
|
64
|
-
ActorPhaseConst.namesRunning.forEach((phase, indexPhase) => {
|
|
64
|
+
FuncLayerEngineCs.ActorPhaseConst.namesRunning.forEach((phase, indexPhase) => {
|
|
65
65
|
const divNodeMessage = divTemplate.cloneNode(true);
|
|
66
66
|
// divNodeMessage.classList.add(`${Const.phasePrefixClasses[indexPhase]}message_content_event__message`);
|
|
67
67
|
const divNodeMessageDetail = divTemplate.cloneNode(true);
|
|
@@ -318,7 +318,7 @@ class TemplateSeqDiaMsg {
|
|
|
318
318
|
divInner.lastChild.previousSibling.appendChild(div);
|
|
319
319
|
if(1 <= inner.logParts.length) {
|
|
320
320
|
const innerPart = inner.logParts[0];
|
|
321
|
-
if(LogPartType.REF === innerPart.type) {
|
|
321
|
+
if(FuncLayerEngineCs.LogPartType.REF === innerPart.type) {
|
|
322
322
|
if(haveInnersIndex) {
|
|
323
323
|
const refNode = this.dynamicInnerRef.cloneNode(true);
|
|
324
324
|
div.appendChild(refNode);
|
|
@@ -330,7 +330,7 @@ class TemplateSeqDiaMsg {
|
|
|
330
330
|
div.lastChild.setAttribute('href', innerPart.ref);
|
|
331
331
|
div.lastChild.firstChild.nodeValue = innerPart.text;
|
|
332
332
|
}
|
|
333
|
-
else if(LogPartType.TEXT === innerPart.type) {
|
|
333
|
+
else if(FuncLayerEngineCs.LogPartType.TEXT === innerPart.type) {
|
|
334
334
|
if(haveInnersIndex) {
|
|
335
335
|
const textNode = this.dynamicInnerText.cloneNode(true);
|
|
336
336
|
div.appendChild(textNode);
|
|
@@ -344,13 +344,13 @@ class TemplateSeqDiaMsg {
|
|
|
344
344
|
}
|
|
345
345
|
for(let i = 1; i < inner.logParts.length; ++i) {
|
|
346
346
|
const innerPart = inner.logParts[i];
|
|
347
|
-
if(LogPartType.REF === innerPart.type) {
|
|
347
|
+
if(FuncLayerEngineCs.LogPartType.REF === innerPart.type) {
|
|
348
348
|
const refNode = this.dynamicInnerRef.cloneNode(true);
|
|
349
349
|
div.appendChild(refNode);
|
|
350
350
|
div.lastChild.setAttribute('href', innerPart.ref);
|
|
351
351
|
div.lastChild.firstChild.nodeValue = innerPart.text;
|
|
352
352
|
}
|
|
353
|
-
else if(LogPartType.TEXT === innerPart.type) {
|
|
353
|
+
else if(FuncLayerEngineCs.LogPartType.TEXT === innerPart.type) {
|
|
354
354
|
const textNode = this.dynamicInnerText.cloneNode(true);
|
|
355
355
|
div.appendChild(textNode);
|
|
356
356
|
div.lastChild.firstChild.nodeValue = innerPart.text;
|
|
@@ -372,7 +372,7 @@ class TemplateSeqDiaMsg {
|
|
|
372
372
|
if(0 !== innerInner.logParts.length) {
|
|
373
373
|
if(!div.parentNode.nextSibling.childNodes[1].firstChild.firstChild.firstChild) {
|
|
374
374
|
const part = innerInner.logParts[0];
|
|
375
|
-
if(undefined !== part && LogPartType.BUFFER === part.type) {
|
|
375
|
+
if(undefined !== part && FuncLayerEngineCs.LogPartType.BUFFER === part.type) {
|
|
376
376
|
const sizeF = (node, width, height) => {
|
|
377
377
|
innerInner.generatedHeight = height;
|
|
378
378
|
innerInner.generatedWidth = width;
|
|
@@ -495,6 +495,3 @@ class TemplateSeqDiaMsg {
|
|
|
495
495
|
return divInnerTemplate;
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
module.exports = TemplateSeqDiaMsg;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import ComponentSeqDiaEventRow from './components/component-seq-dia-event-row';
|
|
6
|
-
import DataSeqDiaPhaseEnd from '../data/data-seq-dia-phase-end';
|
|
7
|
-
import FilterSize from '../logic/filter-size';
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { ComponentSeqDiaEventRow } from './components/component-seq-dia-event-row';
|
|
6
|
+
import { DataSeqDiaPhaseEnd } from '../data/data-seq-dia-phase-end';
|
|
7
|
+
import { FilterSize } from '../logic/filter-size';
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class TemplateSeqDiaPhaseEnd {
|
|
10
|
+
export class TemplateSeqDiaPhaseEnd {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.filter = null;
|
|
13
13
|
}
|
|
@@ -54,6 +54,3 @@ class TemplateSeqDiaPhaseEnd {
|
|
|
54
54
|
|
|
55
55
|
removeElement(data, node) {}
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
module.exports = TemplateSeqDiaPhaseEnd;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import ComponentSeqDiaEventRow from './components/component-seq-dia-event-row';
|
|
6
|
-
import DataSeqDiaPhaseStart from '../data/data-seq-dia-phase-start';
|
|
7
|
-
import FilterSize from '../logic/filter-size';
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { ComponentSeqDiaEventRow } from './components/component-seq-dia-event-row';
|
|
6
|
+
import { DataSeqDiaPhaseStart } from '../data/data-seq-dia-phase-start';
|
|
7
|
+
import { FilterSize } from '../logic/filter-size';
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class TemplateSeqDiaPhaseStart {
|
|
10
|
+
export class TemplateSeqDiaPhaseStart {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.filter = null;
|
|
13
13
|
}
|
|
@@ -54,6 +54,3 @@ class TemplateSeqDiaPhaseStart {
|
|
|
54
54
|
|
|
55
55
|
removeElement(data, node) {}
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
module.exports = TemplateSeqDiaPhaseStart;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import ComponentSeqDiaProtocol from './components/component-seq-dia-protocol';
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { ComponentSeqDiaProtocol } from './components/component-seq-dia-protocol';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class TemplateSeqDiaProtocolBase {
|
|
8
|
+
export class TemplateSeqDiaProtocolBase {
|
|
9
9
|
constructor(data, className, height) {
|
|
10
10
|
this.data = data;
|
|
11
11
|
this.className = className;
|
|
@@ -102,6 +102,3 @@ class TemplateSeqDiaProtocolBase {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
module.exports = TemplateSeqDiaProtocolBase;
|