@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,13 +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 LogDataGuiSubType from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-gui-sub-type';
6
- import ActorPhaseConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-phase-const';
7
- import ActorResultConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-result-const';
4
+ import { Const } from './const';
5
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-gui-sub-type';
6
+ import * as FuncLayerEngineCs1 from 'z-abs-funclayer-engine-cs/client/execution/actor-phase-const';
8
7
 
9
8
 
10
- class SeqDiaFilter {
9
+ export class SeqDiaFilter {
11
10
  constructor() {
12
11
  this.filters = new Map();
13
12
 
@@ -145,11 +144,11 @@ class SeqDiaFilter {
145
144
  this.guiInstanceData = sequenceDiagramFilter.guiInstanceData;
146
145
  this.guiProtocolData = sequenceDiagramFilter.guiProtocolData;
147
146
 
148
- this.phases[ActorPhaseConst.DATA] = sequenceDiagramFilter.phaseData;
149
- this.phases[ActorPhaseConst.PRE] = sequenceDiagramFilter.phasePrecondition;
150
- this.phases[ActorPhaseConst.EXEC] = sequenceDiagramFilter.phaseExecution;
151
- this.phases[ActorPhaseConst.POST] = sequenceDiagramFilter.phasePostcondition;
152
- this.phases[ActorPhaseConst.NONE] = sequenceDiagramFilter.phaseNone;
147
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.DATA] = sequenceDiagramFilter.phaseData;
148
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.PRE] = sequenceDiagramFilter.phasePrecondition;
149
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.EXEC] = sequenceDiagramFilter.phaseExecution;
150
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.POST] = sequenceDiagramFilter.phasePostcondition;
151
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.NONE] = sequenceDiagramFilter.phaseNone;
153
152
 
154
153
  /////////////////////
155
154
 
@@ -206,13 +205,12 @@ class SeqDiaFilter {
206
205
  }
207
206
 
208
207
  update(sequenceDiagramFilter) {
209
- // console.log('seq-dia-filter');
210
208
  let isUpdated = false;
211
- if(this.phases[ActorPhaseConst.DATA] !== sequenceDiagramFilter.phaseData
212
- || this.phases[ActorPhaseConst.PRE] !== sequenceDiagramFilter.phasePrecondition
213
- || this.phases[ActorPhaseConst.EXEC] !== sequenceDiagramFilter.phaseExecution
214
- || this.phases[ActorPhaseConst.POST] !== sequenceDiagramFilter.phasePostcondition
215
- || this.phases[ActorPhaseConst.NONE] !== sequenceDiagramFilter.phaseNone
209
+ if(this.phases[FuncLayerEngineCs.ActorPhaseConst.DATA] !== sequenceDiagramFilter.phaseData
210
+ || this.phases[FuncLayerEngineCs.ActorPhaseConst.PRE] !== sequenceDiagramFilter.phasePrecondition
211
+ || this.phases[FuncLayerEngineCs.ActorPhaseConst.EXEC] !== sequenceDiagramFilter.phaseExecution
212
+ || this.phases[FuncLayerEngineCs.ActorPhaseConst.POST] !== sequenceDiagramFilter.phasePostcondition
213
+ || this.phases[FuncLayerEngineCs.ActorPhaseConst.NONE] !== sequenceDiagramFilter.phaseNone
216
214
  ) {
217
215
  this.setPhases(sequenceDiagramFilter);
218
216
  isUpdated = true;
@@ -286,17 +284,15 @@ class SeqDiaFilter {
286
284
  }
287
285
  this.showReceivedMessageNumbers(sequenceDiagramFilter.showReceivedMessageNumbers);
288
286
  this.showAddresses(sequenceDiagramFilter.showAddresses);
289
-
290
- // console.log('seq-dia-filter:', isUpdated);
291
287
  return isUpdated;
292
288
  }
293
289
 
294
290
  setPhases(sequenceDiagramFilter) {
295
- this.phases[ActorPhaseConst.DATA] = sequenceDiagramFilter.phaseData;
296
- this.phases[ActorPhaseConst.PRE] = sequenceDiagramFilter.phasePrecondition;
297
- this.phases[ActorPhaseConst.EXEC] = sequenceDiagramFilter.phaseExecution;
298
- this.phases[ActorPhaseConst.POST] = sequenceDiagramFilter.phasePostcondition;
299
- this.phases[ActorPhaseConst.NONE] = sequenceDiagramFilter.phaseNone;
291
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.DATA] = sequenceDiagramFilter.phaseData;
292
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.PRE] = sequenceDiagramFilter.phasePrecondition;
293
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.EXEC] = sequenceDiagramFilter.phaseExecution;
294
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.POST] = sequenceDiagramFilter.phasePostcondition;
295
+ this.phases[FuncLayerEngineCs.ActorPhaseConst.NONE] = sequenceDiagramFilter.phaseNone;
300
296
  }
301
297
 
302
298
  getPhase(phaseId) {
@@ -422,11 +418,11 @@ class SeqDiaFilter {
422
418
 
423
419
  getGuiEvents(phaseId, subType) {
424
420
  switch(subType) {
425
- case LogDataGuiSubType.SUB_TYPE_OBJECT:
421
+ case FuncLayerEngineCs.LogDataGuiSubType.SUB_TYPE_OBJECT:
426
422
  return this.guiEvents && this.guiObjectEvents && this.phases[phaseId];
427
- case LogDataGuiSubType.SUB_TYPE_ACTION:
423
+ case FuncLayerEngineCs.LogDataGuiSubType.SUB_TYPE_ACTION:
428
424
  return this.guiEvents && this.guiActionEvents && this.phases[phaseId];
429
- case LogDataGuiSubType.SUB_TYPE_FUNCTION:
425
+ case FuncLayerEngineCs.LogDataGuiSubType.SUB_TYPE_FUNCTION:
430
426
  return this.guiEvents && this.guiFunctionEvents && this.phases[phaseId];
431
427
  }
432
428
  }
@@ -450,16 +446,16 @@ class SeqDiaFilter {
450
446
 
451
447
  showMessageContentEvents(show) {
452
448
  this.filterShowMessageContent = show;
453
- const showDataMessage = show && this.messageEvents && this.phases[ActorPhaseConst.DATA];
454
- const showPreMessage = show && this.messageEvents && this.phases[ActorPhaseConst.PRE];
455
- const showExecMessage = show && this.messageEvents && this.phases[ActorPhaseConst.EXEC];
456
- const showPostMessage = show && this.messageEvents && this.phases[ActorPhaseConst.POST];
457
- const showNoneMessage = show && this.messageEvents && this.phases[ActorPhaseConst.NONE];
458
- const showDataMessageDetail = show && this.messageDetailEvents && this.phases[ActorPhaseConst.DATA];
459
- const showPreMessageDetail = show && this.messageDetailEvents && this.phases[ActorPhaseConst.PRE];
460
- const showExecMessageDetail = show && this.messageDetailEvents && this.phases[ActorPhaseConst.EXEC];
461
- const showPostMessageDetail = show && this.messageDetailEvents && this.phases[ActorPhaseConst.POST];
462
- const showNoneMessageDetail = show && this.messageDetailEvents && this.phases[ActorPhaseConst.NONE];
449
+ const showDataMessage = show && this.messageEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.DATA];
450
+ const showPreMessage = show && this.messageEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.PRE];
451
+ const showExecMessage = show && this.messageEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.EXEC];
452
+ const showPostMessage = show && this.messageEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.POST];
453
+ const showNoneMessage = show && this.messageEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.NONE];
454
+ const showDataMessageDetail = show && this.messageDetailEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.DATA];
455
+ const showPreMessageDetail = show && this.messageDetailEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.PRE];
456
+ const showExecMessageDetail = show && this.messageDetailEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.EXEC];
457
+ const showPostMessageDetail = show && this.messageDetailEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.POST];
458
+ const showNoneMessageDetail = show && this.messageDetailEvents && this.phases[FuncLayerEngineCs.ActorPhaseConst.NONE];
463
459
  }
464
460
 
465
461
  getMessageContentEvents(phaseId, details, open) {
@@ -499,6 +495,3 @@ class SeqDiaFilter {
499
495
  this.styleSheet.insertRule(`${filter.type}.${filter.name} { ${rule} }`, filter.index);
500
496
  }
501
497
  }
502
-
503
-
504
- module.exports = SeqDiaFilter;
@@ -1,12 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Analyze from './analyze';
5
- import DataLogRow from './data-log-row';
6
- import ActorPhaseConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-phase-const';
4
+ import { Analyze } from './analyze';
5
+ import { DataLogRow } from './data-log-row';
6
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/execution/actor-phase-const';
7
7
 
8
-
9
- class SharedTemplateData {
8
+ export class SharedTemplateData {
10
9
  constructor() {
11
10
  this.filter = null;
12
11
  this.stackStyles = null;
@@ -21,7 +20,7 @@ class SharedTemplateData {
21
20
  this.analyze = new Analyze();
22
21
  this.analyze.analyzeActors(actors);
23
22
  this.dataLogRow = DataLogRow.create(null, 0, 0);
24
- this.nextPhaseId = ActorPhaseConst.DATA;
23
+ this.nextPhaseId = FuncLayerEngineCs.ActorPhaseConst.DATA;
25
24
  }
26
25
 
27
26
  stateDone(msg) {
@@ -57,6 +56,3 @@ class SharedTemplateData {
57
56
  return isNewPhase;
58
57
  }
59
58
  }
60
-
61
-
62
- module.exports = SharedTemplateData;
@@ -1,63 +1,63 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Cache from '../logic/cache';
5
- import ConnectionData from '../logic/connection-data';
6
- import Const from '../logic/const';
7
- import ContentCache from '../logic/content-cache';
8
- import FilterSize from '../logic/filter-size';
9
- import SharedTemplateData from '../logic/shared-template-data';
10
- import ComponentSeqDiaCaption from '../templates/components/component-seq-dia-caption';
11
- import ComponentSeqDiaEnvelope from '../templates/components/component-seq-dia-envelope';
12
- import ComponentSeqDiaEventRow from '../templates/components/component-seq-dia-event-row';
13
- import ComponentSeqDiaShared from '../templates/components/component-seq-dia-shared';
14
- import TemplateSeqDiaTestCaseStart from '../templates/template-seq-dia-test-case-start';
15
- import TemplateSeqDiaTestCaseHeader from '../templates/template-seq-dia-test-case-header';
16
- import TemplateSeqDiaPhaseStart from '../templates/template-seq-dia-phase-start';
17
- import TemplateSeqDiaPhaseEnd from '../templates/template-seq-dia-phase-end';
18
- import TemplateSeqDiaTestCaseEnd from '../templates/template-seq-dia-test-case-end';
19
- import TemplateSeqDiaState from '../templates/template-seq-dia-state';
20
- import TemplateSeqDiaStack from '../templates/template-seq-dia-stack';
21
- import TemplateSeqDiaServerStarting from '../templates/template-seq-dia-server-starting';
22
- import TemplateSeqDiaServerStarted from '../templates/template-seq-dia-server-started';
23
- import TemplateSeqDiaServerAttached from '../templates/template-seq-dia-server-attached';
24
- import TemplateSeqDiaServerStopping from '../templates/template-seq-dia-server-stopping';
25
- import TemplateSeqDiaServerStopped from '../templates/template-seq-dia-server-stopped';
26
- import TemplateSeqDiaServerDetached from '../templates/template-seq-dia-server-detached';
27
- import TemplateSeqDiaServerNotStarted from '../templates/template-seq-dia-server-not-started';
28
- import TemplateSeqDiaServerAccepting from '../templates/template-seq-dia-server-accepting';
29
- import TemplateSeqDiaServerAccepted from '../templates/template-seq-dia-server-accepted';
30
- import TemplateSeqDiaClientConnecting from '../templates/template-seq-dia-client-connecting';
31
- import TemplateSeqDiaClientConnected from '../templates/template-seq-dia-client-connected';
32
- import TemplateSeqDiaClientDnsFailure from '../templates/template-seq-dia-client-dns-failure';
33
- import TemplateSeqDiaClientConnectedNot from '../templates/template-seq-dia-client-connected-not';
34
- import TemplateSeqDiaConnectionUpgrading from '../templates/template-seq-dia-connection-upgrading';
35
- import TemplateSeqDiaConnectionUpgraded from '../templates/template-seq-dia-connection-upgraded';
36
- import TemplateSeqDiaConnectionUpgradedNot from '../templates/template-seq-dia-connection-upgraded-not';
37
- import TemplateSeqDiaConnectionHalfClosing from '../templates/template-seq-dia-connection-half-closing';
38
- import TemplateSeqDiaConnectionHalfClosed from '../templates/template-seq-dia-connection-half-closed';
39
- import TemplateSeqDiaConnectionClosing from '../templates/template-seq-dia-connection-closing';
40
- import TemplateSeqDiaConnectionClosed from '../templates/template-seq-dia-connection-closed';
41
- import TemplateSeqDiaSend from '../templates/template-seq-dia-send';
42
- import TemplateSeqDiaReceive from '../templates/template-seq-dia-receive';
43
- import TemplateSeqDiaGui from '../templates/template-seq-dia-gui';
44
- import TemplateInners from 'z-abs-complayer-visualizationinner-client/client/templates/template-inners';
45
- import DataLogDynamicBuffer from 'z-abs-complayer-visualizationinner-client/client/data/data-log-dynamic-buffer';
46
- import DataScrollListNode from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
47
- import ScrollListNode from 'z-abs-complayer-bootstrap-client/client/scroll-list/scroll-list-node';
48
- import ScrollList from 'z-abs-complayer-bootstrap-client/client/scroll-list/scroll-list';
49
- import ScrollListTemplateData from 'z-abs-complayer-bootstrap-client/client/scroll-list/scroll-list-template-data';
50
- import PooledBuffers from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-buffers';
51
- import ReactComponentRealtimeRenderer from 'z-abs-corelayer-client/client/react-component/react-component-realtime-renderer';
52
- import AppProtocolConst from 'z-abs-funclayer-engine-cs/clientServer/communication/app-protocol/app-protocol-const';
53
- import ActorResultConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-result-const';
54
- import ActorStateConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-state-const';
55
- import ActorTypeConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-type-const';
56
- import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
57
- import React from 'react';
4
+ import { Cache } from '../logic/cache';
5
+ import { ConnectionData } from '../logic/connection-data';
6
+ import { Const } from '../logic/const';
7
+ import { ContentCache } from '../logic/content-cache';
8
+ import { FilterSize } from '../logic/filter-size';
9
+ import { SharedTemplateData } from '../logic/shared-template-data';
10
+ import { ComponentSeqDiaCaption } from '../templates/components/component-seq-dia-caption';
11
+ import { ComponentSeqDiaEnvelope } from '../templates/components/component-seq-dia-envelope';
12
+ import { ComponentSeqDiaEventRow } from '../templates/components/component-seq-dia-event-row';
13
+ import { ComponentSeqDiaShared } from '../templates/components/component-seq-dia-shared';
14
+ import { TemplateSeqDiaTestCaseStart } from '../templates/template-seq-dia-test-case-start';
15
+ import { TemplateSeqDiaTestCaseHeader } from '../templates/template-seq-dia-test-case-header';
16
+ import { TemplateSeqDiaPhaseStart } from '../templates/template-seq-dia-phase-start';
17
+ import { TemplateSeqDiaPhaseEnd } from '../templates/template-seq-dia-phase-end';
18
+ import { TemplateSeqDiaTestCaseEnd } from '../templates/template-seq-dia-test-case-end';
19
+ import { TemplateSeqDiaState } from '../templates/template-seq-dia-state';
20
+ import { TemplateSeqDiaStack } from '../templates/template-seq-dia-stack';
21
+ import { TemplateSeqDiaServerStarting } from '../templates/template-seq-dia-server-starting';
22
+ import { TemplateSeqDiaServerStarted } from '../templates/template-seq-dia-server-started';
23
+ import { TemplateSeqDiaServerAttached } from '../templates/template-seq-dia-server-attached';
24
+ import { TemplateSeqDiaServerStopping } from '../templates/template-seq-dia-server-stopping';
25
+ import { TemplateSeqDiaServerStopped } from '../templates/template-seq-dia-server-stopped';
26
+ import { TemplateSeqDiaServerDetached } from '../templates/template-seq-dia-server-detached';
27
+ import { TemplateSeqDiaServerNotStarted } from '../templates/template-seq-dia-server-not-started';
28
+ import { TemplateSeqDiaServerAccepting } from '../templates/template-seq-dia-server-accepting';
29
+ import { TemplateSeqDiaServerAccepted } from '../templates/template-seq-dia-server-accepted';
30
+ import { TemplateSeqDiaClientConnecting } from '../templates/template-seq-dia-client-connecting';
31
+ import { TemplateSeqDiaClientConnected } from '../templates/template-seq-dia-client-connected';
32
+ import { TemplateSeqDiaClientDnsFailure } from '../templates/template-seq-dia-client-dns-failure';
33
+ import { TemplateSeqDiaClientConnectedNot } from '../templates/template-seq-dia-client-connected-not';
34
+ import { TemplateSeqDiaConnectionUpgrading } from '../templates/template-seq-dia-connection-upgrading';
35
+ import { TemplateSeqDiaConnectionUpgraded } from '../templates/template-seq-dia-connection-upgraded';
36
+ import { TemplateSeqDiaConnectionUpgradedNot } from '../templates/template-seq-dia-connection-upgraded-not';
37
+ import { TemplateSeqDiaConnectionHalfClosing } from '../templates/template-seq-dia-connection-half-closing';
38
+ import { TemplateSeqDiaConnectionHalfClosed } from '../templates/template-seq-dia-connection-half-closed';
39
+ import { TemplateSeqDiaConnectionClosing } from '../templates/template-seq-dia-connection-closing';
40
+ import { TemplateSeqDiaConnectionClosed } from '../templates/template-seq-dia-connection-closed';
41
+ import { TemplateSeqDiaSend } from '../templates/template-seq-dia-send';
42
+ import { TemplateSeqDiaReceive } from '../templates/template-seq-dia-receive';
43
+ import { TemplateSeqDiaGui } from '../templates/template-seq-dia-gui';
44
+ import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/templates/template-inners';
45
+ import * as CompLayerVisualizationinnerClient1 from 'z-abs-complayer-visualizationinner-client/client/data/data-log-dynamic-buffer';
46
+ import * as CompLayerVisualizationinnerClient2 from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
47
+ import * as CompLayerBootstrapClient from 'z-abs-complayer-bootstrap-client/client/scroll-list/scroll-list-node';
48
+ import * as CompLayerBootstrapClient1 from 'z-abs-complayer-bootstrap-client/client/scroll-list/scroll-list';
49
+ import * as CompLayerBootstrapClient2 from 'z-abs-complayer-bootstrap-client/client/scroll-list/scroll-list-template-data';
50
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-buffers';
51
+ import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/react-component/react-component-realtime-renderer';
52
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/communication/app-protocol/app-protocol-const';
53
+ import * as FuncLayerEngineCs1 from 'z-abs-funclayer-engine-cs/client/execution/actor-result-const';
54
+ import * as FuncLayerEngineCs2 from 'z-abs-funclayer-engine-cs/client/execution/actor-state-const';
55
+ import * as FuncLayerEngineCs3 from 'z-abs-funclayer-engine-cs/client/execution/actor-type-const';
56
+ import * as FuncLayerEngineCs4 from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
57
+ import * as React from 'react';
58
58
 
59
59
 
60
- export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
60
+ export class SequenceDiagram extends CoreLayerClient.ReactComponentRealtimeRenderer {
61
61
  static TEMPLATE_TEST_CASE_START = 25;
62
62
  static TEMPLATE_TEST_CASE_END = SequenceDiagram.TEMPLATE_TEST_CASE_START + 1;
63
63
  static TEMPLATE_TEST_CASE_HEADER = SequenceDiagram.TEMPLATE_TEST_CASE_END + 1;
@@ -83,8 +83,8 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
83
83
  this.seqDiaConnectionUpgradedTemplate = new TemplateSeqDiaConnectionUpgraded();
84
84
  this.seqDiaConnectionUpgradedNotTemplate = new TemplateSeqDiaConnectionUpgradedNot();
85
85
  this.cache = new Cache();
86
- this.pooledBuffers = new PooledBuffers('sequence-diagram');
87
- this.templateInners = new TemplateInners('seq_dia', ComponentSeqDiaEnvelope.createInners, this.calculateInnersSize.bind(this));
86
+ this.pooledBuffers = new CoreLayerClient.PooledBuffers('sequence-diagram');
87
+ this.templateInners = new CompLayerVisualizationinnerClient.TemplateInners('seq_dia', ComponentSeqDiaEnvelope.createInners, this.calculateInnersSize.bind(this));
88
88
  this.templates = [
89
89
  new TemplateSeqDiaServerStarting(),
90
90
  new TemplateSeqDiaServerStarted(),
@@ -118,7 +118,7 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
118
118
  this.seqDiaPhaseEndTemplate,
119
119
  this.seqDiaStateTemplate
120
120
  ];
121
- this.scrollList = new ScrollList(props.name, new ScrollListTemplateData(this.templates, new DataScrollListNode(this.pooledBuffers)), (autoScroll) => {
121
+ this.scrollList = new CompLayerBootstrapClient.ScrollList(props.name, new CompLayerBootstrapClient.ScrollListTemplateData(this.templates, new CompLayerVisualizationinnerClient.DataScrollListNode(this.pooledBuffers)), (autoScroll) => {
122
122
  if(props.onAutoScroll) {
123
123
  props.onAutoScroll(autoScroll);
124
124
  }
@@ -156,7 +156,7 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
156
156
  const nextStoreState = nextState[nextProps.storeName];
157
157
  const changedWidth = FilterSize.update(Const.ACTOR_X_MARGIN, Const.ACTOR_X_PADDING, nextStoreState.buttons.sequenceDiagram.width);
158
158
  if((this.props.buttonsLoaded !== nextProps.buttonsLoaded) || changedWidth || !this.shallowCompare(this.props.stackStyles, nextProps.stackStyles)) {
159
- this.prepairComponents(nextProps, true, true, () => {
159
+ this.prepairComponents(nextProps, true, true, () => {
160
160
  this.scrollList.update(nextStoreState.buttons.sequenceDiagram.scroll, nextStoreState.buttons.sequenceDiagram.zoom, false);
161
161
  });
162
162
  }
@@ -222,7 +222,7 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
222
222
  }
223
223
  });
224
224
  };
225
- this._prepairComponent(func, initOrexit, DataLogDynamicBuffer, this.pooledBuffers);
225
+ this._prepairComponent(func, initOrexit, CompLayerVisualizationinnerClient.DataLogDynamicBuffer, this.pooledBuffers);
226
226
  this._prepairComponent(func, initOrexit, this.templateInners, props.stackStyles, this._updateScrollList.bind(this));
227
227
  this._prepairComponent(func, initOrexit, ComponentSeqDiaShared, props.stackStyles);
228
228
  this._prepairComponent(func, initOrexit, ComponentSeqDiaCaption);
@@ -248,16 +248,16 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
248
248
  }
249
249
 
250
250
  onRealtimeMessage(msg) {
251
- if(AppProtocolConst.LOG === msg.msgId) {
251
+ if(FuncLayerEngineCs.AppProtocolConst.LOG === msg.msgId) {
252
252
  const logData = msg.data;
253
253
  if(logData) {
254
254
  if(this.sharedTemplateData.setLogRow(msg)) {
255
255
  const bufferData = this.seqDiaPhaseStartTemplate.store(msg, this.sharedTemplateData);
256
- const node = new ScrollListNode(bufferData);
256
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
257
257
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_PHASE_START);
258
258
  }
259
- if(ActorTypeConst.NAME_REAL_SUT === this.sharedTemplateData.dataLogRow.actorType) {
260
- if(LogDataAction.STARTING <= logData.actionId && LogDataAction.STOPPED >= logData.actionId) {
259
+ if(FuncLayerEngineCs.ActorTypeConst.NAME_REAL_SUT === this.sharedTemplateData.dataLogRow.actorType) {
260
+ if(FuncLayerEngineCs.LogDataAction.STARTING <= logData.actionId && FuncLayerEngineCs.LogDataAction.STOPPED >= logData.actionId) {
261
261
  return;
262
262
  }
263
263
  }
@@ -265,54 +265,54 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
265
265
  const template = this.templates[logData.actionId];
266
266
  if(template) {
267
267
  const bufferData = template.store(msg, this.sharedTemplateData);
268
- const node = new ScrollListNode(bufferData);
268
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
269
269
  this.scrollList.add(node, logData.actionId);
270
270
  this._renderActiveRealtime([false, false]);
271
271
  }
272
272
  }
273
273
  catch(err) {// TODO: REMOVE
274
- ddb.error(LogDataAction.LOG[logData.actionId], ' error: ', err);
274
+ ddb.error(FuncLayerEngineCs.LogDataAction.LOG[logData.actionId], ' error: ', err);
275
275
  }
276
276
  }
277
277
  }
278
- if(AppProtocolConst.TEST_CASE_STATE === msg.msgId) {
278
+ if(FuncLayerEngineCs.AppProtocolConst.TEST_CASE_STATE === msg.msgId) {
279
279
  if(this.logClient) {
280
- if(ActorStateConst.DATA === msg.stateIndex && ActorResultConst.NA === msg.stateResultIndex) {
280
+ if(FuncLayerEngineCs.ActorStateConst.DATA === msg.stateIndex && FuncLayerEngineCs.ActorResultConst.NA === msg.stateResultIndex) {
281
281
  return;
282
282
  }
283
283
  if(this.sharedTemplateData.setLogRow(null)) {
284
284
  const bufferData = this.seqDiaPhaseStartTemplate.store(msg, this.sharedTemplateData);
285
- const node = new ScrollListNode(bufferData);
285
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
286
286
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_PHASE_START);
287
287
  }
288
288
  const bufferData = this.seqDiaStateTemplate.store(msg, this.sharedTemplateData);
289
- const node = new ScrollListNode(bufferData);
289
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
290
290
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_STATE);
291
291
  const currentPhaseId = this.sharedTemplateData.dataLogRow.phaseId;
292
292
  const nextPhaseId = this.sharedTemplateData.stateDone(msg);
293
293
  if(currentPhaseId !== nextPhaseId) {
294
294
  this.sharedTemplateData.setLogRow(null);
295
295
  const bufferData = this.seqDiaPhaseEndTemplate.store(msg, this.sharedTemplateData);
296
- const node = new ScrollListNode(bufferData);
296
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
297
297
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_PHASE_END);
298
298
  this.sharedTemplateData.setPhaseId(nextPhaseId);
299
299
  }
300
300
  this._renderActiveRealtime([false, false]);
301
301
  }
302
302
  }
303
- else if(AppProtocolConst.TEST_CASE_STARTED === msg.msgId) {
303
+ else if(FuncLayerEngineCs.AppProtocolConst.TEST_CASE_STARTED === msg.msgId) {
304
304
  if(this.logClient) {
305
305
  this.sharedTemplateData.init(msg.actors, this.props.filter, this.props.stackStyles);
306
306
  const bufferData = this.seqDiaTestCaseStartTemplate.store(msg, this.sharedTemplateData);
307
- const node = new ScrollListNode(bufferData);
307
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
308
308
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_TEST_CASE_START);
309
309
  if(msg.isExecuted) {
310
310
  const bufferData = this.seqDiaTestCaseHeaderTemplate.store(msg, this.sharedTemplateData);
311
- const node = new ScrollListNode(bufferData);
311
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
312
312
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_TEST_CASE_HEADER);
313
313
  if(2 <= msg.actors.length) {
314
314
  const bufferData = this.seqDiaPhaseStartTemplate.store(msg, this.sharedTemplateData);
315
- const node = new ScrollListNode(bufferData);
315
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
316
316
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_PHASE_START);
317
317
  }
318
318
  }
@@ -320,22 +320,22 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
320
320
  this.sharedTemplateData.setLogRow(null);
321
321
  }
322
322
  }
323
- else if(AppProtocolConst.TEST_CASE_STOPPED === msg.msgId) {
323
+ else if(FuncLayerEngineCs.AppProtocolConst.TEST_CASE_STOPPED === msg.msgId) {
324
324
  if(this.logClient) {
325
325
  this.sharedTemplateData.setLogRow(null);
326
326
  const bufferData = this.seqDiaTestCaseEndTemplate.store(msg, this.sharedTemplateData);
327
- const node = new ScrollListNode(bufferData);
327
+ const node = new CompLayerBootstrapClient.ScrollListNode(bufferData);
328
328
  this.scrollList.add(node, SequenceDiagram.TEMPLATE_TEST_CASE_END);
329
329
  this._renderActiveRealtime([false, false]);
330
330
  }
331
331
  }
332
- else if(AppProtocolConst.TEST_SUITE_STOPPED === msg.msgId) {
332
+ else if(FuncLayerEngineCs.AppProtocolConst.TEST_SUITE_STOPPED === msg.msgId) {
333
333
  }
334
- else if(AppProtocolConst.EXECUTION_STARTED === msg.msgId) {
334
+ else if(FuncLayerEngineCs.AppProtocolConst.EXECUTION_STARTED === msg.msgId) {
335
335
  this.logClient = !!(1 & msg.chosen);
336
336
  this.logConsole = !!(2 & msg.chosen);
337
337
  }
338
- else if(AppProtocolConst.TEST_CASE_CLEAR === msg.msgId && 'TestCase' === this.props.clearMsgPrefix) {
338
+ else if(FuncLayerEngineCs.AppProtocolConst.TEST_CASE_CLEAR === msg.msgId && 'TestCase' === this.props.clearMsgPrefix) {
339
339
  if('sequence-diagram' === msg.tab) {
340
340
  this._renderActiveRealtime([true, false], () => {
341
341
  ContentCache.clear();
@@ -345,7 +345,7 @@ export default class SequenceDiagram extends ReactComponentRealtimeRenderer {
345
345
  });
346
346
  }
347
347
  }
348
- else if(AppProtocolConst.TEST_SUITE_CLEAR === msg.msgId && 'TestSuite' === this.props.clearMsgPrefix) {
348
+ else if(FuncLayerEngineCs.AppProtocolConst.TEST_SUITE_CLEAR === msg.msgId && 'TestSuite' === this.props.clearMsgPrefix) {
349
349
  if('sequence-diagram' === msg.tab) {
350
350
  this._renderActiveRealtime([true, false], () => {
351
351
  ContentCache.clear();
@@ -1,10 +1,10 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Const from '../../logic/const';
4
+ import { Const } from '../../logic/const';
5
5
 
6
6
 
7
- class ComponentSeqDiaArrow {
7
+ export class ComponentSeqDiaArrow {
8
8
  static ARROW_WIDTH = 11;
9
9
  static ARROW_HEIGHT = 3;
10
10
  static ARROW_WIDTH_MIDDLE = 6;
@@ -21,6 +21,3 @@ class ComponentSeqDiaArrow {
21
21
  return arrow;
22
22
  }
23
23
  }
24
-
25
-
26
- module.exports = ComponentSeqDiaArrow;
@@ -1,10 +1,10 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Const from '../../logic/const';
4
+ import { Const } from '../../logic/const';
5
5
 
6
6
 
7
- class ComponentSeqDiaCaption {
7
+ export class ComponentSeqDiaCaption {
8
8
  static template = null;
9
9
 
10
10
  static exit() {
@@ -39,6 +39,3 @@ class ComponentSeqDiaCaption {
39
39
  node.lastChild.firstChild.firstChild.nodeValue = text;
40
40
  }
41
41
  }
42
-
43
-
44
- module.exports = ComponentSeqDiaCaption;
@@ -1,15 +1,14 @@
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 FilterSize from '../../logic/filter-size';
6
- import DataLogDynamicBuffer from 'z-abs-complayer-visualizationinner-client/client/data/data-log-dynamic-buffer';
7
- import InnerConst from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
8
- import TemplateInners from 'z-abs-complayer-visualizationinner-client/client/templates/template-inners';
9
- import TransportTypeConst from 'z-abs-funclayer-engine-cs/clientServer/stack/transport-type-const';
4
+ import { Const } from '../../logic/const';
5
+ import { FilterSize } from '../../logic/filter-size';
6
+ import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-log-dynamic-buffer';
7
+ import * as CompLayerVisualizationinnerClient1 from 'z-abs-complayer-visualizationinner-client/client/logic/inner-const';
8
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/stack/transport-type-const';
10
9
 
11
10
 
12
- class ComponentSeqDiaEnvelope {
11
+ export class ComponentSeqDiaEnvelope {
13
12
  static TOP_POINT = 2;
14
13
  static MIDDLE_TOP_POINT = ComponentSeqDiaEnvelope.TOP_POINT + 2.5;
15
14
  static MIDDLE_BOTTOM_POINT = ComponentSeqDiaEnvelope.MIDDLE_TOP_POINT + 2.5;
@@ -125,7 +124,7 @@ class ComponentSeqDiaEnvelope {
125
124
 
126
125
  static createInners(data) {
127
126
  const outerNode = ComponentSeqDiaEnvelope.innersTemplate[data.protocolIndex].cloneNode(true);
128
- outerNode.firstChild.lastChild.textContent = TransportTypeConst.TRANSPORT_TYPE_NAMES[data.transportType];
127
+ outerNode.firstChild.lastChild.textContent = FuncLayerEngineCs.TransportTypeConst.TRANSPORT_TYPE_NAMES[data.transportType];
129
128
  const innerNode = outerNode.lastChild;
130
129
  return {
131
130
  outerNode,
@@ -135,7 +134,7 @@ class ComponentSeqDiaEnvelope {
135
134
 
136
135
  static addEventListener(data, envelopeNode) {
137
136
  const extraData = data?.extraData;
138
- const innerStatus = !extraData?.innersData ? InnerConst.INNER_NONE : (extraData.innersData.isOpen ? InnerConst.INNER_OPEN : InnerConst.INNER_CLOSED);
137
+ const innerStatus = !extraData?.innersData ? CompLayerVisualizationinnerClient.InnerConst.INNER_NONE : (extraData.innersData.isOpen ? CompLayerVisualizationinnerClient.InnerConst.INNER_OPEN : CompLayerVisualizationinnerClient.InnerConst.INNER_CLOSED);
139
138
  envelopeNode.lastChild.addEventListener('click', ComponentSeqDiaEnvelope.onClickInner, true);
140
139
  envelopeNode.setAttribute('data-key', extraData.innersData.dataKey);
141
140
  }
@@ -148,7 +147,7 @@ class ComponentSeqDiaEnvelope {
148
147
  static _clickInner(event) {
149
148
  const divNode = event.currentTarget.parentNode;
150
149
  const dataKey = divNode.getAttribute('data-key');
151
- const extraData = DataLogDynamicBuffer.restoreFromKey(dataKey);
150
+ const extraData = CompLayerVisualizationinnerClient.DataLogDynamicBuffer.restoreFromKey(dataKey);
152
151
  const topNode = divNode.parentNode.parentNode.parentNode.parentNode.parentNode;
153
152
  if(divNode.getAttribute('data-inner') === 'closed') {
154
153
  let id = 0;
@@ -173,16 +172,13 @@ class ComponentSeqDiaEnvelope {
173
172
  });
174
173
  const innersRaw = JSON.stringify(extraData.inners);
175
174
  extraData.size = ComponentSeqDiaEnvelope.templateInners.calculateInnersSize(extraData.inners, extraData.type);
176
- DataLogDynamicBuffer.storeFromKey(dataKey, innersRaw, extraData.inners, true, extraData.size, extraData.type);
175
+ CompLayerVisualizationinnerClient.DataLogDynamicBuffer.storeFromKey(dataKey, innersRaw, extraData.inners, true, extraData.size, extraData.type);
177
176
  }
178
177
  else {
179
178
  extraData.size = 0;
180
- DataLogDynamicBuffer.storeFromKey(dataKey, extraData.innersRaw, null, false, extraData.size, extraData.type);
179
+ CompLayerVisualizationinnerClient.DataLogDynamicBuffer.storeFromKey(dataKey, extraData.innersRaw, null, false, extraData.size, extraData.type);
181
180
  }
182
181
  ComponentSeqDiaEnvelope.updateScrollList();
183
182
  event.preventDefault();
184
183
  }
185
184
  }
186
-
187
-
188
- module.exports = ComponentSeqDiaEnvelope;
@@ -1,10 +1,10 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Const from '../../logic/const';
4
+ import { Const } from '../../logic/const';
5
5
 
6
6
 
7
- class ComponentSeqDiaEventInfo {
7
+ export class ComponentSeqDiaEventInfo {
8
8
  constructor() {
9
9
  this.stackStyles = null;
10
10
  this.templateData = null;
@@ -103,6 +103,3 @@ class ComponentSeqDiaEventInfo {
103
103
  return infoNode;
104
104
  }
105
105
  }
106
-
107
-
108
- module.exports = ComponentSeqDiaEventInfo;