@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,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 FilterSize from '../../logic/filter-size';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import { Const } from '../../logic/const';
|
|
5
|
+
import { FilterSize } from '../../logic/filter-size';
|
|
6
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
7
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/execution/actor-phase-const';
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class ComponentSeqDiaEventRow {
|
|
10
|
+
export class ComponentSeqDiaEventRow {
|
|
11
11
|
static divRowHeader = null;
|
|
12
12
|
static divColumnHeaderLeft = null;
|
|
13
13
|
static divColumnHeader = null;
|
|
@@ -63,8 +63,8 @@ class ComponentSeqDiaEventRow {
|
|
|
63
63
|
actorLine.classList.add('seq_dia_event_actor_line');
|
|
64
64
|
actorLine.classList.add('seq__dia_event_actor_line');
|
|
65
65
|
|
|
66
|
-
ComponentSeqDiaEventRow.divColumnLeft = new Array(ActorPhaseConst.namesRunning.length);
|
|
67
|
-
ActorPhaseConst.namesRunning.forEach((phase, indexPhase) => {
|
|
66
|
+
ComponentSeqDiaEventRow.divColumnLeft = new Array(FuncLayerEngineCs.ActorPhaseConst.namesRunning.length);
|
|
67
|
+
FuncLayerEngineCs.ActorPhaseConst.namesRunning.forEach((phase, indexPhase) => {
|
|
68
68
|
const divColumnLeft = divColumnTemplateLR.cloneNode(true);
|
|
69
69
|
divColumnLeft.classList.add('seq_dia_event_column_left');
|
|
70
70
|
divColumnLeft.classList.add(`seq_dia_phase_${phase}`);
|
|
@@ -75,9 +75,9 @@ class ComponentSeqDiaEventRow {
|
|
|
75
75
|
ComponentSeqDiaEventRow.divColumnRight = new Array(Const.ACTOR_STATIC_ACTORS);
|
|
76
76
|
|
|
77
77
|
for(let i = 0; i < Const.ACTOR_STATIC_ACTORS; ++i) {
|
|
78
|
-
ComponentSeqDiaEventRow.divColumn[i] = new Array(ActorPhaseConst.namesRunning.length);
|
|
79
|
-
ComponentSeqDiaEventRow.divColumnRight[i] = new Array(ActorPhaseConst.namesRunning.length);
|
|
80
|
-
ActorPhaseConst.namesRunning.forEach((phase, indexPhase) => {
|
|
78
|
+
ComponentSeqDiaEventRow.divColumn[i] = new Array(FuncLayerEngineCs.ActorPhaseConst.namesRunning.length);
|
|
79
|
+
ComponentSeqDiaEventRow.divColumnRight[i] = new Array(FuncLayerEngineCs.ActorPhaseConst.namesRunning.length);
|
|
80
|
+
FuncLayerEngineCs.ActorPhaseConst.namesRunning.forEach((phase, indexPhase) => {
|
|
81
81
|
const divColumn = divColumnTemplate.cloneNode(true);
|
|
82
82
|
divColumn.classList.add('seq_dia_event_column_middle');
|
|
83
83
|
divColumn.classList.add(`seq_dia_phase_${phase}`);
|
|
@@ -91,7 +91,7 @@ class ComponentSeqDiaEventRow {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
const svgTemplate = document.createElementNS(InnerConst.SVG_NS, 'svg');
|
|
94
|
+
const svgTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'svg');
|
|
95
95
|
svgTemplate.classList.add('actor_svg');
|
|
96
96
|
svgTemplate.setAttribute('height', 10);
|
|
97
97
|
svgTemplate.setAttribute('width', FilterSize.eventWidth);
|
|
@@ -142,6 +142,3 @@ class ComponentSeqDiaEventRow {
|
|
|
142
142
|
return svg;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
module.exports = ComponentSeqDiaEventRow;
|
|
@@ -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 ComponentSeqDiaEventInfo from './component-seq-dia-event-info';
|
|
6
|
-
import ComponentSeqDiaEventRow from './component-seq-dia-event-row';
|
|
7
|
-
import FilterSize from '../../logic/filter-size';
|
|
8
|
-
import
|
|
4
|
+
import { Const } from '../../logic/const';
|
|
5
|
+
import { ComponentSeqDiaEventInfo } from './component-seq-dia-event-info';
|
|
6
|
+
import { ComponentSeqDiaEventRow } from './component-seq-dia-event-row';
|
|
7
|
+
import { FilterSize } from '../../logic/filter-size';
|
|
8
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class ComponentSeqDiaProtocol {
|
|
11
|
+
export class ComponentSeqDiaProtocol {
|
|
12
12
|
static FRAGMENT = 0;
|
|
13
13
|
static PART = 1;
|
|
14
14
|
|
|
@@ -61,21 +61,21 @@ class ComponentSeqDiaProtocol {
|
|
|
61
61
|
this.componentSeqDiaEventInfo.createRightInfoDiv(rightRow, '[info]', 'seq_dia__data_protocol_info', false);
|
|
62
62
|
|
|
63
63
|
this.eventInfoId = this.componentSeqDiaEventInfo.createTemplate(leftRow, rightRow);
|
|
64
|
-
const g = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
64
|
+
const g = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
65
65
|
|
|
66
|
-
const leftLine = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
66
|
+
const leftLine = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
67
67
|
leftLine.setAttribute('x1', FilterSize.eventWidthHalf);
|
|
68
68
|
leftLine.setAttribute('x2', FilterSize.eventWidth);
|
|
69
69
|
leftLine.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
70
70
|
leftLine.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT);
|
|
71
71
|
|
|
72
|
-
const rightLine = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
72
|
+
const rightLine = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
73
73
|
rightLine.setAttribute('x1', 0);
|
|
74
74
|
rightLine.setAttribute('x2', FilterSize.eventWidthHalf);
|
|
75
75
|
rightLine.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
76
76
|
rightLine.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT);
|
|
77
77
|
|
|
78
|
-
const middleLine = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
78
|
+
const middleLine = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
79
79
|
middleLine.setAttribute('x1', 0);
|
|
80
80
|
middleLine.setAttribute('x2', FilterSize.eventWidth);
|
|
81
81
|
middleLine.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
@@ -309,6 +309,3 @@ class ComponentSeqDiaProtocol {
|
|
|
309
309
|
return null;
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
module.exports = ComponentSeqDiaProtocol;
|
|
@@ -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 FilterSize from '../../logic/filter-size';
|
|
4
|
+
import { Const } from '../../logic/const';
|
|
5
|
+
import { FilterSize } from '../../logic/filter-size';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class ComponentSeqDiaShared {
|
|
8
|
+
export class ComponentSeqDiaShared {
|
|
9
9
|
static template = null;
|
|
10
10
|
|
|
11
11
|
static exit() {
|
|
@@ -53,6 +53,3 @@ class ComponentSeqDiaShared {
|
|
|
53
53
|
return ComponentSeqDiaShared.template[protocolIndex][part][reverseDirection].cloneNode(true);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
module.exports = ComponentSeqDiaShared;
|
|
@@ -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 DataSeqDiaClientConnectedNot from '../data/data-seq-dia-client-connected-not';
|
|
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 { DataSeqDiaClientConnectedNot } from '../data/data-seq-dia-client-connected-not';
|
|
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 TemplateSeqDiaClientConnectedNot extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaClientConnectedNot extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaClientConnectedNot, 'seq_dia_client_connected_not', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,31 +19,31 @@ class TemplateSeqDiaClientConnectedNot extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
22
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
23
23
|
closingLine1.classList.add('seq_dia_event_connected_not');
|
|
24
24
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
25
25
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
26
26
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
27
27
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
28
28
|
|
|
29
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
29
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
30
30
|
closingLine2.classList.add('seq_dia_event_connected_not');
|
|
31
31
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
32
32
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
33
33
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
34
34
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
35
35
|
|
|
36
|
-
const closingCircleOuter = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
36
|
+
const closingCircleOuter = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
37
37
|
closingCircleOuter.classList.add('seq_dia_event_connected_not');
|
|
38
38
|
closingCircleOuter.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
39
39
|
closingCircleOuter.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
40
40
|
|
|
41
|
-
const closingCircleInner = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
41
|
+
const closingCircleInner = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
42
42
|
closingCircleInner.classList.add('seq_dia_event_connected_not');
|
|
43
43
|
closingCircleInner.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
44
44
|
closingCircleInner.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
45
45
|
|
|
46
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
46
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
47
47
|
this.fragment.appendChild(closingLine1.cloneNode(true));
|
|
48
48
|
this.fragment.appendChild(closingLine2.cloneNode(true));
|
|
49
49
|
this.fragment.appendChild(closingCircleOuter.cloneNode(true));
|
|
@@ -62,6 +62,3 @@ class TemplateSeqDiaClientConnectedNot extends TemplateSeqDiaProtocolBase {
|
|
|
62
62
|
return this.filter.getConnectionEvents(phaseId) ? this.height : 0;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
module.exports = TemplateSeqDiaClientConnectedNot;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaClientConnected from '../data/data-seq-dia-client-connected';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
8
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaClientConnected } from '../data/data-seq-dia-client-connected';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
8
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class TemplateSeqDiaClientConnected extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaClientConnected extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaClientConnected, 'seq_dia_client_connected', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragmentEast = null;
|
|
@@ -22,12 +22,12 @@ class TemplateSeqDiaClientConnected extends TemplateSeqDiaProtocolBase {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
25
|
-
const connectedCircleSmallTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
25
|
+
const connectedCircleSmallTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
26
26
|
connectedCircleSmallTemplate.classList.add('seq_dia_client_connected');
|
|
27
27
|
connectedCircleSmallTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
28
28
|
connectedCircleSmallTemplate.setAttribute('r', 3.5);
|
|
29
29
|
connectedCircleSmallTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
30
|
-
this.fragmentEast = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
30
|
+
this.fragmentEast = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
31
31
|
this.fragmentEast.appendChild(connectedCircleSmallTemplate);
|
|
32
32
|
|
|
33
33
|
this.fragmentWest = this.fragmentEast.cloneNode(true);
|
|
@@ -62,6 +62,3 @@ class TemplateSeqDiaClientConnected extends TemplateSeqDiaProtocolBase {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
module.exports = TemplateSeqDiaClientConnected;
|
|
@@ -1,15 +1,15 @@
|
|
|
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 DataSeqDiaClientConnecting from '../data/data-seq-dia-client-connecting';
|
|
7
|
-
import FilterSize from '../logic/filter-size';
|
|
8
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { ComponentSeqDiaEventInfo } from './components/component-seq-dia-event-info';
|
|
6
|
+
import { DataSeqDiaClientConnecting } from '../data/data-seq-dia-client-connecting';
|
|
7
|
+
import { FilterSize } from '../logic/filter-size';
|
|
8
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class TemplateSeqDiaClientConnecting extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaClientConnecting extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaClientConnecting, 'seq_dia_server_connecting', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragment = null;
|
|
@@ -25,13 +25,13 @@ class TemplateSeqDiaClientConnecting extends TemplateSeqDiaProtocolBase {
|
|
|
25
25
|
|
|
26
26
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
27
27
|
this.componentSeqDiaEventInfo.init(stackStyles);
|
|
28
|
-
const connectingCircleTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
28
|
+
const connectingCircleTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
29
29
|
connectingCircleTemplate.classList.add('seq_dia_client_connecting');
|
|
30
30
|
connectingCircleTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
31
31
|
connectingCircleTemplate.setAttribute('r', 2);
|
|
32
32
|
connectingCircleTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
33
33
|
|
|
34
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
34
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
35
35
|
this.fragment.appendChild(connectingCircleTemplate);
|
|
36
36
|
|
|
37
37
|
const leftRow = this.componentSeqDiaEventInfo.createLeftRowDiv('seq_dia__data_protocol');
|
|
@@ -66,6 +66,3 @@ class TemplateSeqDiaClientConnecting extends TemplateSeqDiaProtocolBase {
|
|
|
66
66
|
captionNode.lastChild.childNodes[1].firstChild.firstChild.nodeValue = data.extraData.remoteName;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
module.exports = TemplateSeqDiaClientConnecting;
|
|
@@ -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 DataSeqDiaClientDnsFailure from '../data/data-seq-dia-client-dns-failure';
|
|
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 { DataSeqDiaClientDnsFailure } from '../data/data-seq-dia-client-dns-failure';
|
|
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 TemplateSeqDiaClientDnsFailure extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaClientDnsFailure extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaClientDnsFailure);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,40 +19,40 @@ class TemplateSeqDiaClientDnsFailure extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(appDeserializer) {
|
|
22
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
22
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
23
23
|
closingLine1.classList.add('seq_dia_event_connection_closing');
|
|
24
24
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
25
25
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
26
26
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
27
27
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
28
28
|
|
|
29
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
29
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
30
30
|
closingLine2.classList.add('seq_dia_event_connection_closing');
|
|
31
31
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
32
32
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
33
33
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
34
34
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
35
35
|
|
|
36
|
-
const closingCircleOuter = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
36
|
+
const closingCircleOuter = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
37
37
|
closingCircleOuter.classList.add('seq_dia_client_connecting');
|
|
38
38
|
closingCircleOuter.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
39
39
|
closingCircleOuter.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
40
40
|
|
|
41
|
-
const closingCircleInner = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
41
|
+
const closingCircleInner = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
42
42
|
closingCircleInner.classList.add('seq_dia_client_connecting');
|
|
43
43
|
closingCircleInner.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
44
44
|
closingCircleInner.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
45
45
|
|
|
46
|
-
const infoTemplate = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
46
|
+
const infoTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
47
47
|
|
|
48
|
-
const dsrAddressTspanTemplate = infoTemplate.appendChild(document.createElementNS(InnerConst.SVG_NS, 'text'));
|
|
48
|
+
const dsrAddressTspanTemplate = infoTemplate.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'text'));
|
|
49
49
|
dsrAddressTspanTemplate.classList.add('seq_dia_event_address');
|
|
50
50
|
//addressNameTspanTemplate.classList.add('seq_dia_show__display__address_name');
|
|
51
51
|
dsrAddressTspanTemplate.setAttribute('x', FilterSize.eventWidthHalf + 7.5);
|
|
52
52
|
dsrAddressTspanTemplate.setAttribute('y', Const.STATE_EVENT_HALF_HEIGHT + 2);
|
|
53
53
|
dsrAddressTspanTemplate.appendChild(document.createTextNode('[src:>dst]'));
|
|
54
54
|
|
|
55
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
55
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
56
56
|
this.fragment.appendChild(closingLine1.cloneNode(true));
|
|
57
57
|
this.fragment.appendChild(closingLine2.cloneNode(true));
|
|
58
58
|
this.fragment.appendChild(closingCircleOuter.cloneNode(true));
|
|
@@ -77,6 +77,3 @@ class TemplateSeqDiaClientDnsFailure extends TemplateSeqDiaProtocolBase {
|
|
|
77
77
|
node.childNodes[actorIndex + 1].firstChild.childNodes[1].childNodes[4].firstChild.textContent = dataSeqDiaClientDnsFailure.dstUrl;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
module.exports = TemplateSeqDiaClientDnsFailure;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionClosed from '../data/data-seq-dia-connection-closed';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
8
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionClosed } from '../data/data-seq-dia-connection-closed';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
8
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class TemplateSeqDiaConnectionClosed extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaConnectionClosed extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaConnectionClosed, 'seq_dia_connection_closed', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragment = null;
|
|
@@ -20,21 +20,21 @@ class TemplateSeqDiaConnectionClosed extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
23
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
23
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
24
24
|
closingLine1.classList.add('seq_dia_event_connection_closed');
|
|
25
25
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
26
26
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
27
27
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
28
28
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
29
29
|
|
|
30
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
30
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
31
31
|
closingLine2.classList.add('seq_dia_event_connection_closed');
|
|
32
32
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
33
33
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
34
34
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
35
35
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
36
36
|
|
|
37
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
37
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
38
38
|
this.fragment.appendChild(closingLine1.cloneNode(true));
|
|
39
39
|
this.fragment.appendChild(closingLine2.cloneNode(true));
|
|
40
40
|
}
|
|
@@ -65,6 +65,3 @@ class TemplateSeqDiaConnectionClosed extends TemplateSeqDiaProtocolBase {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
module.exports = TemplateSeqDiaConnectionClosed;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionClosing from '../data/data-seq-dia-connection-closing';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
8
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionClosing } from '../data/data-seq-dia-connection-closing';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
8
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class TemplateSeqDiaConnectionClosing extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaConnectionClosing extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaConnectionClosing, 'seq_dia_connection_closing', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragment = null;
|
|
@@ -20,27 +20,27 @@ class TemplateSeqDiaConnectionClosing extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
23
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
23
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
24
24
|
closingLine1.classList.add('seq_dia_event_connection_closing');
|
|
25
25
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
26
26
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
27
27
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
28
28
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
29
29
|
|
|
30
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
30
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
31
31
|
closingLine2.classList.add('seq_dia_event_connection_closing');
|
|
32
32
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
33
33
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
34
34
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
35
35
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
36
36
|
|
|
37
|
-
const closingCircle = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
37
|
+
const closingCircle = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
38
38
|
closingCircle.classList.add('seq_dia_client_connecting');
|
|
39
39
|
closingCircle.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
40
40
|
closingCircle.setAttribute('r', 2);
|
|
41
41
|
closingCircle.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
42
42
|
|
|
43
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
43
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
44
44
|
this.fragment.appendChild(closingLine1.cloneNode(true));
|
|
45
45
|
this.fragment.appendChild(closingLine2.cloneNode(true));
|
|
46
46
|
this.fragment.appendChild(closingCircle.cloneNode(true));
|
|
@@ -67,6 +67,3 @@ class TemplateSeqDiaConnectionClosing extends TemplateSeqDiaProtocolBase {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
module.exports = TemplateSeqDiaConnectionClosing;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionHalfClosed from '../data/data-seq-dia-connection-half-closed';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
8
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionHalfClosed } from '../data/data-seq-dia-connection-half-closed';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
8
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class TemplateSeqDiaConnectionHalfClosed extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaConnectionHalfClosed extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaConnectionHalfClosed, 'seq_dia_connection_half_closed', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragment = null;
|
|
@@ -20,21 +20,21 @@ class TemplateSeqDiaConnectionHalfClosed extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
23
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
23
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
24
24
|
closingLine1.classList.add('seq_dia_event_connection_half_closed');
|
|
25
25
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
26
26
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
27
27
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
28
28
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
29
29
|
|
|
30
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
30
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
31
31
|
closingLine2.classList.add('seq_dia_event_connection_half_closed');
|
|
32
32
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
33
33
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
34
34
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf - 3);
|
|
35
35
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 3);
|
|
36
36
|
|
|
37
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
37
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
38
38
|
this.fragment.appendChild(closingLine1.cloneNode(true));
|
|
39
39
|
this.fragment.appendChild(closingLine2.cloneNode(true));
|
|
40
40
|
}
|
|
@@ -65,6 +65,3 @@ class TemplateSeqDiaConnectionHalfClosed extends TemplateSeqDiaProtocolBase {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
module.exports = TemplateSeqDiaConnectionHalfClosed;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaConnectionHalfClosing from '../data/data-seq-dia-connection-half-closing';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
8
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaConnectionHalfClosing } from '../data/data-seq-dia-connection-half-closing';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
8
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
9
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class TemplateSeqDiaConnectionHalfClosing extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaConnectionHalfClosing extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaConnectionHalfClosing, 'seq_dia_connection_half_closing', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragment = null;
|
|
@@ -20,28 +20,28 @@ class TemplateSeqDiaConnectionHalfClosing extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
23
|
-
const closingLine1 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
23
|
+
const closingLine1 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
24
24
|
closingLine1.classList.add('seq_dia_event_connection_half_closing');
|
|
25
25
|
closingLine1.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
26
26
|
closingLine1.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 3);
|
|
27
27
|
closingLine1.setAttribute('x1', FilterSize.eventWidthHalf);
|
|
28
28
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf - 3);
|
|
29
29
|
|
|
30
|
-
const closingLine2 = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
30
|
+
const closingLine2 = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
31
31
|
closingLine2.classList.add('seq_dia_event_connection_half_closing');
|
|
32
32
|
closingLine2.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
33
33
|
closingLine2.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
34
34
|
closingLine2.setAttribute('x1', FilterSize.eventWidthHalf);
|
|
35
35
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf - 3);
|
|
36
36
|
|
|
37
|
-
const closingCircle = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
37
|
+
const closingCircle = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
38
38
|
closingCircle.classList.add('seq_dia_client_connecting');
|
|
39
39
|
closingCircle.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
40
40
|
closingCircle.setAttribute('r', 2);
|
|
41
41
|
closingCircle.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
42
42
|
|
|
43
43
|
this.fragment = [];
|
|
44
|
-
const fragmentEast = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
44
|
+
const fragmentEast = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
45
45
|
fragmentEast.appendChild(closingLine1.cloneNode(true));
|
|
46
46
|
fragmentEast.appendChild(closingLine2.cloneNode(true));
|
|
47
47
|
fragmentEast.appendChild(closingCircle.cloneNode(true));
|
|
@@ -75,6 +75,3 @@ class TemplateSeqDiaConnectionHalfClosing extends TemplateSeqDiaProtocolBase {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
module.exports = TemplateSeqDiaConnectionHalfClosing;
|