@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.
Files changed (125) hide show
  1. package/npm-shrinkwrap.json +3 -3
  2. package/package.json +2 -2
  3. package/project/client/_build/Bundle-CompLayer-VisualizationSequenceDiagram-client.bld +13 -26
  4. package/project/client/content-decoders/content-decoder.js +4 -5
  5. package/project/client/content-decoders/image-decoder.js +12 -14
  6. package/project/client/content-decoders/text-decoder.js +12 -15
  7. package/project/client/data/data-seq-dia-client-connected-not.js +17 -20
  8. package/project/client/data/data-seq-dia-client-connected.js +16 -19
  9. package/project/client/data/data-seq-dia-client-connecting.js +17 -20
  10. package/project/client/data/data-seq-dia-client-dns-failure.js +2 -7
  11. package/project/client/data/data-seq-dia-connection-closed.js +16 -19
  12. package/project/client/data/data-seq-dia-connection-closing.js +17 -20
  13. package/project/client/data/data-seq-dia-connection-half-closed.js +16 -19
  14. package/project/client/data/data-seq-dia-connection-half-closing.js +17 -20
  15. package/project/client/data/data-seq-dia-connection-upgrading.js +2 -7
  16. package/project/client/data/data-seq-dia-gui-result.js +6 -9
  17. package/project/client/data/data-seq-dia-gui.js +14 -18
  18. package/project/client/data/data-seq-dia-phase-end-result.js +5 -8
  19. package/project/client/data/data-seq-dia-phase-end.js +14 -17
  20. package/project/client/data/data-seq-dia-phase-start-result.js +5 -8
  21. package/project/client/data/data-seq-dia-phase-start.js +14 -17
  22. package/project/client/data/data-seq-dia-protocol-single-node-result.js +5 -8
  23. package/project/client/data/data-seq-dia-protocol-single-node.js +6 -9
  24. package/project/client/data/data-seq-dia-protocol-two-nodes-result.js +5 -8
  25. package/project/client/data/data-seq-dia-protocol-two-nodes.js +9 -12
  26. package/project/client/data/data-seq-dia-receive.js +20 -24
  27. package/project/client/data/data-seq-dia-send.js +20 -24
  28. package/project/client/data/data-seq-dia-server-accepted.js +16 -19
  29. package/project/client/data/data-seq-dia-server-accepting.js +16 -19
  30. package/project/client/data/data-seq-dia-server-attached.js +16 -19
  31. package/project/client/data/data-seq-dia-server-detached.js +16 -19
  32. package/project/client/data/data-seq-dia-server-not-started.js +16 -19
  33. package/project/client/data/data-seq-dia-server-started.js +16 -19
  34. package/project/client/data/data-seq-dia-server-starting.js +16 -19
  35. package/project/client/data/data-seq-dia-server-stopped.js +16 -19
  36. package/project/client/data/data-seq-dia-server-stopping.js +16 -19
  37. package/project/client/data/data-seq-dia-stack-result.js +6 -9
  38. package/project/client/data/data-seq-dia-stack.js +13 -17
  39. package/project/client/data/data-seq-dia-state-result.js +5 -8
  40. package/project/client/data/data-seq-dia-state.js +14 -17
  41. package/project/client/data/data-seq-dia-test-case-end-result.js +5 -8
  42. package/project/client/data/data-seq-dia-test-case-end.js +14 -17
  43. package/project/client/data/data-seq-dia-test-case-header-result.js +5 -8
  44. package/project/client/data/data-seq-dia-test-case-header.js +12 -15
  45. package/project/client/data/data-seq-dia-test-case-start-result.js +5 -7
  46. package/project/client/data/data-seq-dia-test-case-start.js +15 -18
  47. package/project/client/logic/analyze.js +10 -13
  48. package/project/client/logic/cache-array.js +2 -5
  49. package/project/client/logic/cache-map-double.js +2 -5
  50. package/project/client/logic/cache-map-shared.js +4 -7
  51. package/project/client/logic/cache-map.js +2 -5
  52. package/project/client/logic/cache-type-connection-closed.js +4 -7
  53. package/project/client/logic/cache-type-connection-closing.js +4 -7
  54. package/project/client/logic/cache-type-connection-connected.js +4 -7
  55. package/project/client/logic/cache-type-connection-connecting.js +4 -7
  56. package/project/client/logic/cache-type-connection-half-closed.js +4 -7
  57. package/project/client/logic/cache-type-connection-half-closing.js +4 -7
  58. package/project/client/logic/cache-type-connection-not-connected.js +4 -7
  59. package/project/client/logic/cache-type-phase-end.js +4 -7
  60. package/project/client/logic/cache-type-phase-start.js +4 -7
  61. package/project/client/logic/cache-type-receive.js +4 -7
  62. package/project/client/logic/cache-type-send.js +4 -7
  63. package/project/client/logic/cache-type-server-accepted.js +4 -7
  64. package/project/client/logic/cache-type-server-accepting.js +4 -7
  65. package/project/client/logic/cache-type-server-attached.js +4 -7
  66. package/project/client/logic/cache-type-server-detached.js +4 -9
  67. package/project/client/logic/cache-type-server-not-started.js +4 -7
  68. package/project/client/logic/cache-type-server-started.js +4 -7
  69. package/project/client/logic/cache-type-server-starting.js +4 -7
  70. package/project/client/logic/cache-type-server-stopped.js +4 -7
  71. package/project/client/logic/cache-type-server-stopping.js +4 -7
  72. package/project/client/logic/cache-type-stack.js +4 -7
  73. package/project/client/logic/cache-type-state.js +4 -7
  74. package/project/client/logic/cache-type-test-case-end.js +3 -6
  75. package/project/client/logic/cache-type-test-case-header.js +3 -6
  76. package/project/client/logic/cache-type-test-case-start.js +3 -5
  77. package/project/client/logic/cache.js +31 -34
  78. package/project/client/logic/connection-data.js +3 -5
  79. package/project/client/logic/const.js +43 -76
  80. package/project/client/logic/content-cache.js +7 -12
  81. package/project/client/logic/data-log-row.js +2 -5
  82. package/project/client/logic/filter-size.js +43 -47
  83. package/project/client/logic/seq-dia-filter.js +33 -40
  84. package/project/client/logic/shared-template-data.js +6 -10
  85. package/project/client/react-component/sequence-diagram.jsx +82 -82
  86. package/project/client/templates/components/component-seq-dia-arrow.js +3 -6
  87. package/project/client/templates/components/component-seq-dia-caption.js +3 -6
  88. package/project/client/templates/components/component-seq-dia-envelope.js +12 -16
  89. package/project/client/templates/components/component-seq-dia-event-info.js +3 -6
  90. package/project/client/templates/components/component-seq-dia-event-row.js +12 -15
  91. package/project/client/templates/components/component-seq-dia-protocol.js +11 -14
  92. package/project/client/templates/components/component-seq-dia-shared.js +4 -7
  93. package/project/client/templates/template-seq-dia-client-connected-not.js +12 -15
  94. package/project/client/templates/template-seq-dia-client-connected.js +10 -13
  95. package/project/client/templates/template-seq-dia-client-connecting.js +10 -13
  96. package/project/client/templates/template-seq-dia-client-dns-failure.js +14 -17
  97. package/project/client/templates/template-seq-dia-connection-closed.js +11 -14
  98. package/project/client/templates/template-seq-dia-connection-closing.js +12 -15
  99. package/project/client/templates/template-seq-dia-connection-half-closed.js +11 -14
  100. package/project/client/templates/template-seq-dia-connection-half-closing.js +12 -15
  101. package/project/client/templates/template-seq-dia-connection-upgraded-not.js +15 -18
  102. package/project/client/templates/template-seq-dia-connection-upgraded.js +12 -15
  103. package/project/client/templates/template-seq-dia-connection-upgrading.js +12 -15
  104. package/project/client/templates/template-seq-dia-gui.js +46 -51
  105. package/project/client/templates/template-seq-dia-msg.js +15 -18
  106. package/project/client/templates/template-seq-dia-phase-end.js +6 -9
  107. package/project/client/templates/template-seq-dia-phase-start.js +6 -9
  108. package/project/client/templates/template-seq-dia-protocol-base.js +4 -7
  109. package/project/client/templates/template-seq-dia-receive.js +14 -18
  110. package/project/client/templates/template-seq-dia-send.js +14 -18
  111. package/project/client/templates/template-seq-dia-server-accepted.js +10 -13
  112. package/project/client/templates/template-seq-dia-server-accepting.js +9 -12
  113. package/project/client/templates/template-seq-dia-server-attached.js +12 -15
  114. package/project/client/templates/template-seq-dia-server-detached.js +11 -14
  115. package/project/client/templates/template-seq-dia-server-not-started.js +12 -15
  116. package/project/client/templates/template-seq-dia-server-started.js +9 -12
  117. package/project/client/templates/template-seq-dia-server-starting.js +9 -12
  118. package/project/client/templates/template-seq-dia-server-stopped.js +9 -12
  119. package/project/client/templates/template-seq-dia-server-stopping.js +9 -12
  120. package/project/client/templates/template-seq-dia-stack.js +24 -27
  121. package/project/client/templates/template-seq-dia-state.js +24 -27
  122. package/project/client/templates/template-seq-dia-test-case-end.js +7 -10
  123. package/project/client/templates/template-seq-dia-test-case-header.js +6 -9
  124. package/project/client/templates/template-seq-dia-test-case-start.js +4 -7
  125. package/LICENSE.txt +0 -96
@@ -1,23 +1,23 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Const from '../logic/const';
5
- import DataSeqDiaTestCaseStartResult from './data-seq-dia-test-case-start-result';
6
- import DataScrollListNode from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
7
- import Decoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
8
- import Encoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
9
- import StoreBaseRealtime from 'z-abs-corelayer-client/client/store/store-base-realtime';
10
- import HighResolutionDate from 'z-abs-corelayer-cs/clientServer/time/high-resolution-date';
4
+ import { Const } from '../logic/const';
5
+ import { DataSeqDiaTestCaseStartResult } from './data-seq-dia-test-case-start-result';
6
+ import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
7
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
8
+ import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
9
+ import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
10
+ import * as CoreLayerCs from 'z-abs-corelayer-cs/client/time/high-resolution-date';
11
11
 
12
12
 
13
- class DataSeqDiaTestCaseStart {
14
- static size = DataScrollListNode.renderDataSize + Encoder.Uint32Size + Encoder.CtSize + Encoder.Uint64Size;
13
+ export class DataSeqDiaTestCaseStart {
14
+ static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint64Size;
15
15
  static encoder = null;
16
16
  static decoder = null;
17
17
 
18
18
  static init(pooledBuffers) {
19
- DataSeqDiaTestCaseStart.encoder = new Encoder(StoreBaseRealtime.textCache);
20
- DataSeqDiaTestCaseStart.decoder = new Decoder(StoreBaseRealtime.textCache);
19
+ DataSeqDiaTestCaseStart.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
20
+ DataSeqDiaTestCaseStart.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
21
21
  DataSeqDiaTestCaseStart.encoder.init(pooledBuffers);
22
22
  DataSeqDiaTestCaseStart.decoder.init(pooledBuffers);
23
23
  }
@@ -29,7 +29,7 @@ class DataSeqDiaTestCaseStart {
29
29
 
30
30
  static store(msg, sharedTemplateData) {
31
31
  const encoder = DataSeqDiaTestCaseStart.encoder;
32
- const bufferData = encoder.createBuffer(DataSeqDiaTestCaseStart.size, DataScrollListNode.renderDataSize);
32
+ const bufferData = encoder.createBuffer(DataSeqDiaTestCaseStart.size, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
33
33
  encoder.setCtStringInternal(msg.name);
34
34
  encoder.setBigUint64(msg.timestamp);
35
35
  encoder.release();
@@ -38,13 +38,10 @@ class DataSeqDiaTestCaseStart {
38
38
 
39
39
  static restore(bufferData) {
40
40
  const decoder = DataSeqDiaTestCaseStart.decoder;
41
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
41
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
42
42
  const name = decoder.getCtString();
43
- const date = new HighResolutionDate(decoder.getBigUint64()).getDateMilliSeconds();
43
+ const date = new CoreLayerCs.HighResolutionDate(decoder.getBigUint64()).getDateMilliSeconds();
44
44
  decoder.detach();
45
45
  return DataSeqDiaTestCaseStartResult.create(name, date);
46
46
  }
47
47
  }
48
-
49
-
50
- module.exports = DataSeqDiaTestCaseStart;
@@ -1,12 +1,12 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Const from './const';
5
- import ActorPhaseConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-phase-const';
6
- import ActorTypeConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-type-const';
4
+ import { Const } from './const';
5
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/execution/actor-phase-const';
6
+ import * as FuncLayerEngineCs1 from 'z-abs-funclayer-engine-cs/client/execution/actor-type-const';
7
7
 
8
8
 
9
- class Analyze {
9
+ export class Analyze {
10
10
  constructor() {
11
11
  this.actorNames = [];
12
12
  this.actorPhases = [];
@@ -18,15 +18,15 @@ class Analyze {
18
18
  for(let i = 0; i < actors.length; ++i) {
19
19
  this.actorNames.push(actors[i].name);
20
20
  this.actorPhases.push(actors[i].phaseId);
21
- if(ActorTypeConst.REAL_SUT !== actors[i].typeId) {
22
- if((ActorTypeConst.COND !== actors[i].typeId) || (ActorTypeConst.COND === actors[i].typeId && ActorPhaseConst.PRE === actors[i].phaseId)) {
21
+ if(FuncLayerEngineCs.ActorTypeConst.REAL_SUT !== actors[i].typeId) {
22
+ if((FuncLayerEngineCs.ActorTypeConst.COND !== actors[i].typeId) || (FuncLayerEngineCs.ActorTypeConst.COND === actors[i].typeId && FuncLayerEngineCs.ActorPhaseConst.PRE === actors[i].phaseId)) {
23
23
  ++this.phaseActors[0];
24
24
  }
25
25
  this.phaseActors[actors[i].phaseId] += 4;
26
- if(ActorTypeConst.COND === actors[i].typeId) {
27
- this.phaseActors[ActorPhaseConst.POST] += 4;
26
+ if(FuncLayerEngineCs.ActorTypeConst.COND === actors[i].typeId) {
27
+ this.phaseActors[FuncLayerEngineCs.ActorPhaseConst.POST] += 4;
28
28
  }
29
- else if(ActorTypeConst.SUT === actors[i].typeId) {
29
+ else if(FuncLayerEngineCs.ActorTypeConst.SUT === actors[i].typeId) {
30
30
  this.sutIndexes.push(i);
31
31
  }
32
32
  }
@@ -36,6 +36,3 @@ class Analyze {
36
36
  }
37
37
  }
38
38
  }
39
-
40
-
41
- module.exports = Analyze;
@@ -1,8 +1,8 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
- class CacheArray {
5
+ export class CacheArray {
6
6
  #BUILD_RELEASE_START
7
7
  constructor() {
8
8
  this.elements = [];
@@ -40,6 +40,3 @@ class CacheArray {
40
40
  this.elements.length = 0;
41
41
  }
42
42
  }
43
-
44
-
45
- module.exports = CacheArray;
@@ -1,8 +1,8 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
- class CacheMapDouble {
5
+ export class CacheMapDouble {
6
6
  #BUILD_RELEASE_START
7
7
  constructor() {
8
8
  this.cache = new Map();
@@ -59,6 +59,3 @@ class CacheMapDouble {
59
59
  this.cache.clear();
60
60
  }
61
61
  }
62
-
63
-
64
- module.exports = CacheMapDouble;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheMapShared {
8
+ export class CacheMapShared {
9
9
  #BUILD_RELEASE_START
10
10
  constructor() {
11
11
  this.elementCache = new CacheMapDouble();
@@ -68,6 +68,3 @@ class CacheMapShared {
68
68
  this.elementCacheSharedBoth.clear();
69
69
  }
70
70
  }
71
-
72
-
73
- module.exports = CacheMapShared;
@@ -1,8 +1,8 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
- class CacheMap {
5
+ export class CacheMap {
6
6
  #BUILD_RELEASE_START
7
7
  constructor() {
8
8
  this.cache = new Map();
@@ -43,6 +43,3 @@ class CacheMap {
43
43
  this.cache.clear();
44
44
  }
45
45
  }
46
-
47
-
48
- module.exports = CacheMap;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionClosed {
8
+ export class CacheTypeConnectionClosed {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -51,6 +51,3 @@ class CacheTypeConnectionClosed {
51
51
  #BUILD_DEBUG_STOP
52
52
  }
53
53
  }
54
-
55
-
56
- module.exports = CacheTypeConnectionClosed;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionClosing {
8
+ export class CacheTypeConnectionClosing {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -51,6 +51,3 @@ class CacheTypeConnectionClosing {
51
51
  #BUILD_DEBUG_STOP
52
52
  }
53
53
  }
54
-
55
-
56
- module.exports = CacheTypeConnectionClosing;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionConnected {
8
+ export class CacheTypeConnectionConnected {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -53,6 +53,3 @@ class CacheTypeConnectionConnected {
53
53
  #BUILD_DEBUG_STOP
54
54
  }
55
55
  }
56
-
57
-
58
- module.exports = CacheTypeConnectionConnected;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionConnecting {
8
+ export class CacheTypeConnectionConnecting {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -53,6 +53,3 @@ class CacheTypeConnectionConnecting {
53
53
  #BUILD_DEBUG_STOP
54
54
  }
55
55
  }
56
-
57
-
58
- module.exports = CacheTypeConnectionConnecting;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionHalfClosed {
8
+ export class CacheTypeConnectionHalfClosed {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -51,6 +51,3 @@ class CacheTypeConnectionHalfClosed {
51
51
  #BUILD_DEBUG_STOP
52
52
  }
53
53
  }
54
-
55
-
56
- module.exports = CacheTypeConnectionHalfClosed;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionHalfClosing {
8
+ export class CacheTypeConnectionHalfClosing {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -51,6 +51,3 @@ class CacheTypeConnectionHalfClosing {
51
51
  #BUILD_DEBUG_STOP
52
52
  }
53
53
  }
54
-
55
-
56
- module.exports = CacheTypeConnectionHalfClosing;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeConnectionNotConnected {
8
+ export class CacheTypeConnectionNotConnected {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -53,6 +53,3 @@ class CacheTypeConnectionNotConnected {
53
53
  #BUILD_DEBUG_STOP
54
54
  }
55
55
  }
56
-
57
-
58
- module.exports = CacheTypeConnectionNotConnected;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMap from './cache-map';
5
- import Const from './const';
4
+ import { CacheMap } from './cache-map';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypePhaseEnd {
8
+ export class CacheTypePhaseEnd {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMap();
@@ -44,6 +44,3 @@ class CacheTypePhaseEnd {
44
44
  #BUILD_DEBUG_STOP
45
45
  }
46
46
  }
47
-
48
-
49
- module.exports = CacheTypePhaseEnd;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMap from './cache-map';
5
- import Const from './const';
4
+ import { CacheMap } from './cache-map';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypePhaseStart {
8
+ export class CacheTypePhaseStart {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMap();
@@ -44,6 +44,3 @@ class CacheTypePhaseStart {
44
44
  #BUILD_DEBUG_STOP
45
45
  }
46
46
  }
47
-
48
-
49
- module.exports = CacheTypePhaseStart;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapShared from './cache-map-shared';
5
- import Const from './const';
4
+ import { CacheMapShared } from './cache-map-shared';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeReceive {
8
+ export class CacheTypeReceive {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapShared();
@@ -53,6 +53,3 @@ class CacheTypeReceive {
53
53
  #BUILD_DEBUG_STOP
54
54
  }
55
55
  }
56
-
57
-
58
- module.exports = CacheTypeReceive;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapShared from './cache-map-shared';
5
- import Const from './const';
4
+ import { CacheMapShared } from './cache-map-shared';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeSend {
8
+ export class CacheTypeSend {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapShared();
@@ -53,6 +53,3 @@ class CacheTypeSend {
53
53
  #BUILD_DEBUG_STOP
54
54
  }
55
55
  }
56
-
57
-
58
- module.exports = CacheTypeSend;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerAccepted {
8
+ export class CacheTypeServerAccepted {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -31,6 +31,3 @@ class CacheTypeServerAccepted {
31
31
 
32
32
  }
33
33
  }
34
-
35
-
36
- module.exports = CacheTypeServerAccepted;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerAccepting {
8
+ export class CacheTypeServerAccepting {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -59,6 +59,3 @@ class CacheTypeServerAccepting {
59
59
 
60
60
  }
61
61
  }
62
-
63
-
64
- module.exports = CacheTypeServerAccepting;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerAttached {
8
+ export class CacheTypeServerAttached {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -59,6 +59,3 @@ class CacheTypeServerAttached {
59
59
 
60
60
  }
61
61
  }
62
-
63
-
64
- module.exports = CacheTypeServerAttached;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerDetached {
8
+ export class CacheTypeServerDetached {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -19,13 +19,11 @@ class CacheTypeServerDetached {
19
19
 
20
20
  get(data) {
21
21
  this._setKeys(data);
22
- //console.log('GET server-detached', data.localActorIndex, data.nbrOfActors, data.phaseId, '---', data.renderNodes, data.reverseDirection, data.protocolIndex);
23
22
  return this.elementCache.get(this.key1, this.key2);
24
23
  }
25
24
 
26
25
  set(data, element) {
27
26
  this._setKeys(data);
28
- //console.log('SET server-detached', data.localActorIndex, data.nbrOfActors, data.phaseId, '---', data.renderNodes, data.reverseDirection, data.protocolIndex);
29
27
  this.elementCache.set(this.key1, this.key2, element);
30
28
  }
31
29
 
@@ -50,6 +48,3 @@ class CacheTypeServerDetached {
50
48
  #BUILD_DEBUG_STOP
51
49
  }
52
50
  }
53
-
54
-
55
- module.exports = CacheTypeServerDetached;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerNotStarted {
8
+ export class CacheTypeServerNotStarted {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -59,6 +59,3 @@ let pos1 = 0;
59
59
 
60
60
  }
61
61
  }
62
-
63
-
64
- module.exports = CacheTypeServerNotStarted;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerStarted {
8
+ export class CacheTypeServerStarted {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -61,6 +61,3 @@ class CacheTypeServerStarted {
61
61
 
62
62
  }
63
63
  }
64
-
65
-
66
- module.exports = CacheTypeServerStarted;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerStarting {
8
+ export class CacheTypeServerStarting {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -48,6 +48,3 @@ class CacheTypeServerStarting {
48
48
  #BUILD_DEBUG_STOP
49
49
  }
50
50
  }
51
-
52
-
53
- module.exports = CacheTypeServerStarting;
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import CacheMapDouble from './cache-map-double';
5
- import Const from './const';
4
+ import { CacheMapDouble } from './cache-map-double';
5
+ import { Const } from './const';
6
6
 
7
7
 
8
- class CacheTypeServerStopped {
8
+ export class CacheTypeServerStopped {
9
9
  constructor() {
10
10
  #BUILD_RELEASE_START
11
11
  this.elementCache = new CacheMapDouble();
@@ -59,6 +59,3 @@ class CacheTypeServerStopped {
59
59
 
60
60
  }
61
61
  }
62
-
63
-
64
- module.exports = CacheTypeServerStopped;