@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,19 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaReceive from '../data/data-seq-dia-receive';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaArrow from './components/component-seq-dia-arrow';
|
|
8
|
-
import ComponentSeqDiaCaption from './components/component-seq-dia-caption';
|
|
9
|
-
import ComponentSeqDiaEnvelope from './components/component-seq-dia-envelope';
|
|
10
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
11
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
12
|
-
import
|
|
13
|
-
import InnerConst from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaReceive } from '../data/data-seq-dia-receive';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaArrow } from './components/component-seq-dia-arrow';
|
|
8
|
+
import { ComponentSeqDiaCaption } from './components/component-seq-dia-caption';
|
|
9
|
+
import { ComponentSeqDiaEnvelope } from './components/component-seq-dia-envelope';
|
|
10
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
11
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
12
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
class TemplateSeqDiaReceive extends TemplateSeqDiaProtocolBase {
|
|
15
|
+
export class TemplateSeqDiaReceive extends TemplateSeqDiaProtocolBase {
|
|
17
16
|
constructor(templateInners) {
|
|
18
17
|
super(DataSeqDiaReceive, 'seq_dia_receive', 20);
|
|
19
18
|
this.templateInners = templateInners;
|
|
@@ -27,10 +26,10 @@ class TemplateSeqDiaReceive extends TemplateSeqDiaProtocolBase {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
30
|
-
this.fragmentEast = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
29
|
+
this.fragmentEast = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
31
30
|
this.fragmentWest = this.fragmentEast.cloneNode(true);
|
|
32
31
|
|
|
33
|
-
const eastLine = this.fragmentEast.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
32
|
+
const eastLine = this.fragmentEast.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
34
33
|
eastLine.setAttribute('x1', Const.LINE_WIDTH_HALF + FilterSize.eventWidthHalf + 7);
|
|
35
34
|
eastLine.setAttribute('x2', FilterSize.eventWidth);
|
|
36
35
|
eastLine.setAttribute('y1', Const.MESSAGE_EVENT_HEIGHT_ONE_AND_HALF);
|
|
@@ -38,7 +37,7 @@ class TemplateSeqDiaReceive extends TemplateSeqDiaProtocolBase {
|
|
|
38
37
|
|
|
39
38
|
this.fragmentEast.appendChild(ComponentSeqDiaArrow.createWest(FilterSize.eventWidthHalf));
|
|
40
39
|
|
|
41
|
-
const westLine = this.fragmentWest.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
40
|
+
const westLine = this.fragmentWest.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
42
41
|
westLine.setAttribute('x1', FilterSize.eventWidthHalf - Const.LINE_WIDTH_HALF - 7);
|
|
43
42
|
westLine.setAttribute('x2', 0);
|
|
44
43
|
westLine.setAttribute('y1', Const.MESSAGE_EVENT_HEIGHT_ONE_AND_HALF);
|
|
@@ -114,6 +113,3 @@ class TemplateSeqDiaReceive extends TemplateSeqDiaProtocolBase {
|
|
|
114
113
|
ComponentSeqDiaEnvelope.removeEventListener(data, localNode.lastChild);
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
module.exports = TemplateSeqDiaReceive;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaSend from '../data/data-seq-dia-send';
|
|
6
|
-
import FilterSize from '../logic/filter-size';
|
|
7
|
-
import ComponentSeqDiaArrow from './components/component-seq-dia-arrow';
|
|
8
|
-
import ComponentSeqDiaCaption from './components/component-seq-dia-caption';
|
|
9
|
-
import ComponentSeqDiaEnvelope from './components/component-seq-dia-envelope';
|
|
10
|
-
import ComponentSeqDiaShared from './components/component-seq-dia-shared';
|
|
11
|
-
import TemplateSeqDiaProtocolBase from './template-seq-dia-protocol-base';
|
|
12
|
-
import
|
|
13
|
-
import InnerConst from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaSend } from '../data/data-seq-dia-send';
|
|
6
|
+
import { FilterSize } from '../logic/filter-size';
|
|
7
|
+
import { ComponentSeqDiaArrow } from './components/component-seq-dia-arrow';
|
|
8
|
+
import { ComponentSeqDiaCaption } from './components/component-seq-dia-caption';
|
|
9
|
+
import { ComponentSeqDiaEnvelope } from './components/component-seq-dia-envelope';
|
|
10
|
+
import { ComponentSeqDiaShared } from './components/component-seq-dia-shared';
|
|
11
|
+
import { TemplateSeqDiaProtocolBase } from './template-seq-dia-protocol-base';
|
|
12
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
class TemplateSeqDiaSend extends TemplateSeqDiaProtocolBase {
|
|
15
|
+
export class TemplateSeqDiaSend extends TemplateSeqDiaProtocolBase {
|
|
17
16
|
constructor(templateInners) {
|
|
18
17
|
super(DataSeqDiaSend, 'seq_dia_send', 20);
|
|
19
18
|
this.templateInners = templateInners;
|
|
@@ -29,9 +28,9 @@ class TemplateSeqDiaSend extends TemplateSeqDiaProtocolBase {
|
|
|
29
28
|
}
|
|
30
29
|
|
|
31
30
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
32
|
-
this.fragmentEast = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
31
|
+
this.fragmentEast = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
33
32
|
this.fragmentWest = this.fragmentEast.cloneNode(true);
|
|
34
|
-
const eastLine = this.fragmentEast.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
33
|
+
const eastLine = this.fragmentEast.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
35
34
|
eastLine.setAttribute('x1', Const.LINE_WIDTH_HALF + FilterSize.eventWidthHalf);
|
|
36
35
|
eastLine.setAttribute('x2', FilterSize.eventWidth - 7);
|
|
37
36
|
eastLine.setAttribute('y1', Const.MESSAGE_EVENT_HEIGHT_ONE_AND_HALF);
|
|
@@ -39,7 +38,7 @@ class TemplateSeqDiaSend extends TemplateSeqDiaProtocolBase {
|
|
|
39
38
|
|
|
40
39
|
this.fragmentEast.appendChild(ComponentSeqDiaArrow.createEast(FilterSize.eventWidth));
|
|
41
40
|
|
|
42
|
-
const westLine = this.fragmentWest.appendChild(document.createElementNS(InnerConst.SVG_NS, 'line'));
|
|
41
|
+
const westLine = this.fragmentWest.appendChild(document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line'));
|
|
43
42
|
westLine.setAttribute('x1', FilterSize.eventWidthHalf - Const.LINE_WIDTH_HALF);
|
|
44
43
|
westLine.setAttribute('x2', 7);
|
|
45
44
|
westLine.setAttribute('y1', Const.MESSAGE_EVENT_HEIGHT_ONE_AND_HALF);
|
|
@@ -116,6 +115,3 @@ class TemplateSeqDiaSend extends TemplateSeqDiaProtocolBase {
|
|
|
116
115
|
ComponentSeqDiaEnvelope.removeEventListener(data, localNode.lastChild);
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
module.exports = TemplateSeqDiaSend;
|
|
@@ -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 DataSeqDiaServerAccepted from '../data/data-seq-dia-server-accepted';
|
|
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 { DataSeqDiaServerAccepted } from '../data/data-seq-dia-server-accepted';
|
|
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 TemplateSeqDiaServerAccepted extends TemplateSeqDiaProtocolBase {
|
|
12
|
+
export class TemplateSeqDiaServerAccepted extends TemplateSeqDiaProtocolBase {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(DataSeqDiaServerAccepted, 'seq_dia_server_accepted', Const.STATE_EVENT_HEIGHT);
|
|
15
15
|
this.fragment = null;
|
|
@@ -20,12 +20,12 @@ class TemplateSeqDiaServerAccepted extends TemplateSeqDiaProtocolBase {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
23
|
-
const connectedCircleSmallTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
23
|
+
const connectedCircleSmallTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
24
24
|
connectedCircleSmallTemplate.classList.add('seq_dia_client_connected');
|
|
25
25
|
connectedCircleSmallTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
26
26
|
connectedCircleSmallTemplate.setAttribute('r', 3.5);
|
|
27
27
|
connectedCircleSmallTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
28
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
28
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
29
29
|
this.fragment.appendChild(connectedCircleSmallTemplate);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -56,6 +56,3 @@ class TemplateSeqDiaServerAccepted extends TemplateSeqDiaProtocolBase {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
module.exports = TemplateSeqDiaServerAccepted;
|
|
@@ -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 DataSeqDiaServerAccepting from '../data/data-seq-dia-server-accepting';
|
|
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 { DataSeqDiaServerAccepting } from '../data/data-seq-dia-server-accepting';
|
|
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 TemplateSeqDiaServerAccepting extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerAccepting extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerAccepting, 'seq_dia_server_accepting', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,13 +19,13 @@ class TemplateSeqDiaServerAccepting extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const connectingCircleTemplate = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
22
|
+
const connectingCircleTemplate = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
23
23
|
connectingCircleTemplate.classList.add('seq_dia_client_connecting');
|
|
24
24
|
connectingCircleTemplate.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
25
25
|
connectingCircleTemplate.setAttribute('r', 2);
|
|
26
26
|
connectingCircleTemplate.setAttribute('cx', FilterSize.eventWidthHalf);
|
|
27
27
|
|
|
28
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
28
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
29
29
|
this.fragment.appendChild(connectingCircleTemplate);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -40,6 +40,3 @@ class TemplateSeqDiaServerAccepting extends TemplateSeqDiaProtocolBase {
|
|
|
40
40
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
module.exports = TemplateSeqDiaServerAccepting;
|
|
@@ -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 DataSeqDiaServerAttached from '../data/data-seq-dia-server-attached';
|
|
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 { DataSeqDiaServerAttached } from '../data/data-seq-dia-server-attached';
|
|
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 TemplateSeqDiaServerAttached extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerAttached extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerAttached, 'seq_dia_server_attached', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,7 +19,7 @@ class TemplateSeqDiaServerAttached extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const startArrow = document.createElementNS(InnerConst.SVG_NS, 'polygon');
|
|
22
|
+
const startArrow = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'polygon');
|
|
23
23
|
startArrow.classList.add('seq_dia_arrow');
|
|
24
24
|
const arrowWidth = 4;
|
|
25
25
|
const startArrowX1 = FilterSize.eventWidthHalf - arrowWidth;
|
|
@@ -29,24 +29,24 @@ class TemplateSeqDiaServerAttached extends TemplateSeqDiaProtocolBase {
|
|
|
29
29
|
const startArrowY3 = Const.STATE_EVENT_HALF_HEIGHT + arrowWidth;
|
|
30
30
|
startArrow.setAttribute('points', `${startArrowX1},${startArrowY1} ${startArrowX1},${startArrowY3} ${startArrowX2},${startArrowY2}`);
|
|
31
31
|
|
|
32
|
-
const circle = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
32
|
+
const circle = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
33
33
|
circle.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
34
34
|
circle.setAttribute('cx', FilterSize.eventWidthHalf - 9);
|
|
35
35
|
circle.setAttribute('r', 4);
|
|
36
36
|
|
|
37
|
-
const lineHorizontal = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
37
|
+
const lineHorizontal = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
38
38
|
lineHorizontal.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
39
39
|
lineHorizontal.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT);
|
|
40
40
|
lineHorizontal.setAttribute('x1', FilterSize.eventWidthHalf - 11);
|
|
41
41
|
lineHorizontal.setAttribute('x2', FilterSize.eventWidthHalf - 7);
|
|
42
42
|
|
|
43
|
-
const lineVertical = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
43
|
+
const lineVertical = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
44
44
|
lineVertical.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT - 2);
|
|
45
45
|
lineVertical.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT + 2);
|
|
46
46
|
lineVertical.setAttribute('x1', FilterSize.eventWidthHalf - 9);
|
|
47
47
|
lineVertical.setAttribute('x2', FilterSize.eventWidthHalf - 9);
|
|
48
48
|
|
|
49
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
49
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
50
50
|
this.fragment.appendChild(startArrow);
|
|
51
51
|
this.fragment.appendChild(circle);
|
|
52
52
|
this.fragment.appendChild(lineHorizontal);
|
|
@@ -67,6 +67,3 @@ class TemplateSeqDiaServerAttached extends TemplateSeqDiaProtocolBase {
|
|
|
67
67
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
module.exports = TemplateSeqDiaServerAttached;
|
|
@@ -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 DataSeqDiaServerDetached from '../data/data-seq-dia-server-detached';
|
|
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 { DataSeqDiaServerDetached } from '../data/data-seq-dia-server-detached';
|
|
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 TemplateSeqDiaServerDetached extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerDetached extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerDetached, 'seq_dia_server_detached', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,24 +19,24 @@ class TemplateSeqDiaServerDetached extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const startRect = document.createElementNS(InnerConst.SVG_NS, 'rect');
|
|
22
|
+
const startRect = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'rect');
|
|
23
23
|
startRect.setAttribute('y', Const.STATE_EVENT_HALF_HEIGHT - 4);
|
|
24
24
|
startRect.setAttribute('height', 8);
|
|
25
25
|
startRect.setAttribute('x', FilterSize.eventWidthHalf - 4);
|
|
26
26
|
startRect.setAttribute('width', 8);
|
|
27
27
|
|
|
28
|
-
const circle = document.createElementNS(InnerConst.SVG_NS, 'circle');
|
|
28
|
+
const circle = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'circle');
|
|
29
29
|
circle.setAttribute('cy', Const.STATE_EVENT_HALF_HEIGHT);
|
|
30
30
|
circle.setAttribute('cx', FilterSize.eventWidthHalf - 9);
|
|
31
31
|
circle.setAttribute('r', 4);
|
|
32
32
|
|
|
33
|
-
const lineHorizontal = document.createElementNS(InnerConst.SVG_NS, 'line');
|
|
33
|
+
const lineHorizontal = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'line');
|
|
34
34
|
lineHorizontal.setAttribute('y1', Const.STATE_EVENT_HALF_HEIGHT);
|
|
35
35
|
lineHorizontal.setAttribute('y2', Const.STATE_EVENT_HALF_HEIGHT);
|
|
36
36
|
lineHorizontal.setAttribute('x1', FilterSize.eventWidthHalf - 11);
|
|
37
37
|
lineHorizontal.setAttribute('x2', FilterSize.eventWidthHalf - 7);
|
|
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(startRect);
|
|
41
41
|
this.fragment.appendChild(circle);
|
|
42
42
|
this.fragment.appendChild(lineHorizontal);
|
|
@@ -55,6 +55,3 @@ class TemplateSeqDiaServerDetached extends TemplateSeqDiaProtocolBase {
|
|
|
55
55
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
module.exports = TemplateSeqDiaServerDetached;
|
|
@@ -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 DataSeqDiaServerNotStarted from '../data/data-seq-dia-server-not-started';
|
|
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 { DataSeqDiaServerNotStarted } from '../data/data-seq-dia-server-not-started';
|
|
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 TemplateSeqDiaServerNotStarted extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerNotStarted extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerNotStarted, 'seq_dia_server_not_started', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,21 +19,21 @@ class TemplateSeqDiaServerNotStarted 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 - 6);
|
|
27
27
|
closingLine1.setAttribute('x2', FilterSize.eventWidthHalf + 4);
|
|
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 - 6);
|
|
34
34
|
closingLine2.setAttribute('x2', FilterSize.eventWidthHalf + 4);
|
|
35
35
|
|
|
36
|
-
const startArrowOuter = document.createElementNS(InnerConst.SVG_NS, 'polygon');
|
|
36
|
+
const startArrowOuter = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'polygon');
|
|
37
37
|
startArrowOuter.classList.add('seq_dia_arrow');
|
|
38
38
|
const arrowOuterWidth = 4;
|
|
39
39
|
const startArrowOuterX1 = FilterSize.eventWidthHalf - arrowOuterWidth;
|
|
@@ -43,7 +43,7 @@ class TemplateSeqDiaServerNotStarted extends TemplateSeqDiaProtocolBase {
|
|
|
43
43
|
const startArrowOuterY3 = Const.STATE_EVENT_HALF_HEIGHT + arrowOuterWidth;
|
|
44
44
|
startArrowOuter.setAttribute('points', `${startArrowOuterX1},${startArrowOuterY1} ${startArrowOuterX1},${startArrowOuterY3} ${startArrowOuterX2},${startArrowOuterY2}`);
|
|
45
45
|
|
|
46
|
-
const startArrowInner = document.createElementNS(InnerConst.SVG_NS, 'polygon');
|
|
46
|
+
const startArrowInner = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'polygon');
|
|
47
47
|
startArrowInner.classList.add('seq_dia_arrow');
|
|
48
48
|
const arrowInnerWidth = 2.2;
|
|
49
49
|
const startArrowInnerX1 = FilterSize.eventWidthHalf - arrowInnerWidth - 0.6;
|
|
@@ -53,7 +53,7 @@ class TemplateSeqDiaServerNotStarted extends TemplateSeqDiaProtocolBase {
|
|
|
53
53
|
const startArrowInnerY3 = Const.STATE_EVENT_HALF_HEIGHT + arrowInnerWidth - 0.2;
|
|
54
54
|
startArrowInner.setAttribute('points', `${startArrowInnerX1},${startArrowInnerY1} ${startArrowInnerX1},${startArrowInnerY3} ${startArrowInnerX2},${startArrowInnerY2}`);
|
|
55
55
|
|
|
56
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
56
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
57
57
|
this.fragment.appendChild(closingLine1);
|
|
58
58
|
this.fragment.appendChild(closingLine2);
|
|
59
59
|
this.fragment.appendChild(startArrowOuter);
|
|
@@ -72,6 +72,3 @@ class TemplateSeqDiaServerNotStarted extends TemplateSeqDiaProtocolBase {
|
|
|
72
72
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
module.exports = TemplateSeqDiaServerNotStarted;
|
|
@@ -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 DataSeqDiaServerStarted from '../data/data-seq-dia-server-started';
|
|
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 { DataSeqDiaServerStarted } from '../data/data-seq-dia-server-started';
|
|
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 TemplateSeqDiaServerStarted extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerStarted extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerStarted, 'seq_dia_server_started', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,7 +19,7 @@ class TemplateSeqDiaServerStarted extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const startArrow = document.createElementNS(InnerConst.SVG_NS, 'polygon');
|
|
22
|
+
const startArrow = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'polygon');
|
|
23
23
|
startArrow.classList.add('seq_dia_arrow');
|
|
24
24
|
const arrowWidth = 4;
|
|
25
25
|
const startArrowX1 = FilterSize.eventWidthHalf - arrowWidth;
|
|
@@ -29,7 +29,7 @@ class TemplateSeqDiaServerStarted extends TemplateSeqDiaProtocolBase {
|
|
|
29
29
|
const startArrowY3 = Const.STATE_EVENT_HALF_HEIGHT + arrowWidth;
|
|
30
30
|
startArrow.setAttribute('points', `${startArrowX1},${startArrowY1} ${startArrowX1},${startArrowY3} ${startArrowX2},${startArrowY2}`);
|
|
31
31
|
|
|
32
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
32
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
33
33
|
this.fragment.appendChild(startArrow);
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -44,6 +44,3 @@ class TemplateSeqDiaServerStarted extends TemplateSeqDiaProtocolBase {
|
|
|
44
44
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
module.exports = TemplateSeqDiaServerStarted;
|
|
@@ -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 DataSeqDiaServerStarting from '../data/data-seq-dia-server-starting';
|
|
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 { DataSeqDiaServerStarting } from '../data/data-seq-dia-server-starting';
|
|
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 TemplateSeqDiaServerStarting extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerStarting extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerStarting, 'seq_dia_server_starting', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,7 +19,7 @@ class TemplateSeqDiaServerStarting extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const startArrow = document.createElementNS(InnerConst.SVG_NS, 'polygon');
|
|
22
|
+
const startArrow = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'polygon');
|
|
23
23
|
startArrow.classList.add('seq_dia_arrow');
|
|
24
24
|
const arrowWidth = 3;
|
|
25
25
|
const startArrowX1 = FilterSize.eventWidthHalf - arrowWidth;
|
|
@@ -29,7 +29,7 @@ class TemplateSeqDiaServerStarting extends TemplateSeqDiaProtocolBase {
|
|
|
29
29
|
const startArrowY3 = Const.STATE_EVENT_HALF_HEIGHT + arrowWidth;
|
|
30
30
|
startArrow.setAttribute('points', `${startArrowX1},${startArrowY1} ${startArrowX1},${startArrowY3} ${startArrowX2},${startArrowY2}`);
|
|
31
31
|
|
|
32
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
32
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
33
33
|
this.fragment.appendChild(startArrow);
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -44,6 +44,3 @@ class TemplateSeqDiaServerStarting extends TemplateSeqDiaProtocolBase {
|
|
|
44
44
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
module.exports = TemplateSeqDiaServerStarting;
|
|
@@ -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 DataSeqDiaServerStopped from '../data/data-seq-dia-server-stopped';
|
|
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 { DataSeqDiaServerStopped } from '../data/data-seq-dia-server-stopped';
|
|
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 TemplateSeqDiaServerStopped extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerStopped extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerStopped, 'seq_dia_server_stopped', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,13 +19,13 @@ class TemplateSeqDiaServerStopped extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const startRect = document.createElementNS(InnerConst.SVG_NS, 'rect');
|
|
22
|
+
const startRect = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'rect');
|
|
23
23
|
startRect.setAttribute('y', Const.STATE_EVENT_HALF_HEIGHT - 4);
|
|
24
24
|
startRect.setAttribute('height', 8);
|
|
25
25
|
startRect.setAttribute('x', FilterSize.eventWidthHalf - 4);
|
|
26
26
|
startRect.setAttribute('width', 8);
|
|
27
27
|
|
|
28
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
28
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
29
29
|
this.fragment.appendChild(startRect);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -40,6 +40,3 @@ class TemplateSeqDiaServerStopped extends TemplateSeqDiaProtocolBase {
|
|
|
40
40
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
module.exports = TemplateSeqDiaServerStopped;
|
|
@@ -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 DataSeqDiaServerStopping from '../data/data-seq-dia-server-stopping';
|
|
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 { DataSeqDiaServerStopping } from '../data/data-seq-dia-server-stopping';
|
|
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 TemplateSeqDiaServerStopping extends TemplateSeqDiaProtocolBase {
|
|
11
|
+
export class TemplateSeqDiaServerStopping extends TemplateSeqDiaProtocolBase {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(DataSeqDiaServerStopping, 'seq_dia_server_stopping', Const.STATE_EVENT_HEIGHT);
|
|
14
14
|
this.fragment = null;
|
|
@@ -19,13 +19,13 @@ class TemplateSeqDiaServerStopping extends TemplateSeqDiaProtocolBase {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
onInit(filter, pooledBuffers, stackStyles) {
|
|
22
|
-
const startRect = document.createElementNS(InnerConst.SVG_NS, 'rect');
|
|
22
|
+
const startRect = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'rect');
|
|
23
23
|
startRect.setAttribute('y', Const.STATE_EVENT_HALF_HEIGHT - 3);
|
|
24
24
|
startRect.setAttribute('height', 6);
|
|
25
25
|
startRect.setAttribute('x', FilterSize.eventWidthHalf - 3);
|
|
26
26
|
startRect.setAttribute('width', 6);
|
|
27
27
|
|
|
28
|
-
this.fragment = document.createElementNS(InnerConst.SVG_NS, 'g');
|
|
28
|
+
this.fragment = document.createElementNS(CompLayerVisualizationinnerClient.InnerConst.SVG_NS, 'g');
|
|
29
29
|
this.fragment.appendChild(startRect);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -40,6 +40,3 @@ class TemplateSeqDiaServerStopping extends TemplateSeqDiaProtocolBase {
|
|
|
40
40
|
return this.filter.getServerEvents(phaseId) ? this.height : 0;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
module.exports = TemplateSeqDiaServerStopping;
|