@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,13 @@
1
1
  {
2
2
  "name": "@aj-shadow/z-abs-complayer-visualizationsequencediagram-client",
3
- "version": "0.0.0-aj-beta.227",
3
+ "version": "0.0.0-aj-beta.237",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@aj-shadow/z-abs-complayer-visualizationsequencediagram-client",
9
- "version": "0.0.0-aj-beta.227",
10
- "license": "SEE LICENSE IN LICENSE.txt"
9
+ "version": "0.0.0-aj-beta.237",
10
+ "license": "MIT"
11
11
  }
12
12
  }
13
13
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aj-shadow/z-abs-complayer-visualizationsequencediagram-client",
3
- "version": "0.0.0-aj-beta.227",
3
+ "version": "0.0.0-aj-beta.237",
4
4
  "release-step": "delivery",
5
5
  "description": "Library used by @actorjs/actorjs",
6
6
  "author": "ActorJs",
7
- "license": "SEE LICENSE IN LICENSE.txt",
7
+ "license": "MIT",
8
8
  "repository": "https://gitlab.com/actorjs-shadow-delivery-public/z-abs-complayer-visualizationsequencediagram-client.git",
9
9
  "dependencies": {}
10
10
  }
@@ -2,35 +2,22 @@
2
2
  "layer": "Comp",
3
3
  "part": "VisualizationSequenceDiagram-client",
4
4
  "source": {
5
- "path": "./build/z-abs-complayer-visualizationsequencediagram-client/client",
6
- "filters": ["js"]
5
+ "path": "./build/z-abs-complayer-visualizationsequencediagram-client/client",
6
+ "filters": ["js"]
7
7
  },
8
8
  "dest": "./dist/scripts",
9
9
  "_bundle": true,
10
10
  "ignores": null,
11
- "externals": [
12
- "react"
11
+ "dictionary": [],
12
+ "exports": [],
13
+ "dependencies": [
14
+ ["z-abs-complayer-visualizationsequencediagram-client", "client"],
15
+ ["z-abs-complayer-visualizationinner-client", "client"],
16
+ ["z-abs-complayer-bootstrap-client", "client"],
17
+ ["z-abs-corelayer-client", "client"],
18
+ ["z-abs-funclayer-engine-cs", "cs"],
19
+ ["z-abs-corelayer-cs", "cs"],
20
+ ["z-abs-3pplayer-react-client", "client"]
13
21
  ],
14
- "externalGlobs": [
15
- "./build/z-abs-complayer-visualizationinner-client/**/*.js",
16
- "./build/z-abs-complayer-bootstrap-client/**/*.js",
17
- "./build/z-abs-corelayer-client/**/*.js",
18
- "./build/z-abs-corelayer-cs/**/*.js",
19
- "./build/z-abs-funclayer-engine-cs/**/*.js"
20
- ],
21
- "exports": null,
22
- "exportSource": true,
23
- "dependencyNames": [
24
- "Client:CompLayer/VisualizationSequenceDiagram-client",
25
- "Client:CompLayer/VisualizationSequenceDiagram-client-jsx",
26
- "Client:CompLayer/VisualizationInner-client",
27
- "Client:CompLayer/VisualizationInner-client-jsx",
28
- "Client:CompLayer/Bootstrap-client",
29
- "Client:CompLayer/Bootstrap-client-jsx",
30
- "Client:CoreLayer/client",
31
- "Client:CoreLayer/client-jsx",
32
- "Client:CoreLayer/cs",
33
- "Client:FuncLayer/Engine-cs",
34
- "Client:3ppLayer/React-client"
35
- ]
22
+ "allowRequire": false
36
23
  }
@@ -1,11 +1,11 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import ImageDecoder from './image-decoder';
5
- import TextDecoder from './text-decoder';
4
+ import { ImageDecoder } from './image-decoder';
5
+ import { TextDecoder } from './text-decoder';
6
6
 
7
7
 
8
- class ContentDecoder {
8
+ export class ContentDecoder {
9
9
  static decode(buffer, toolbarNodes, contentType, options, sizeF) {
10
10
  if(contentType.startsWith('text/') || contentType.startsWith('application/json') || contentType.startsWith('application/javascript') || contentType.startsWith('application/x-www-form-urlencoded')) {
11
11
  return TextDecoder.decode(buffer, toolbarNodes, contentType, options, sizeF);
@@ -19,4 +19,3 @@ class ContentDecoder {
19
19
  }
20
20
  }
21
21
 
22
- module.exports = ContentDecoder;
@@ -1,21 +1,20 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
- class ImageDecoder {
6
- constructor() {
7
- this.dynamicInnerBufferImage = document.createElement('img');
5
+ export class ImageDecoder {
6
+ static dynamicInnerBufferImage = document.createElement('img');
7
+ static dynamicInnerBufferImageFirst = ImageDecoder.dynamicInnerBufferImage.cloneNode(true);
8
+ static {
8
9
  this.dynamicInnerBufferImage.classList.add('inner');
9
10
  this.dynamicInnerBufferImage.classList.add('seq_dia_protocol_base');
10
11
  this.dynamicInnerBufferImage.classList.add('seq_dia_protocol');
11
-
12
- this.dynamicInnerBufferImageFirst = this.dynamicInnerBufferImage.cloneNode(true);
13
- this.dynamicInnerBufferImageFirst.classList.replace('seq_dia_protocol', 'seq_dia_protocol_first');
12
+ this.dynamicInnerBufferImageFirst.classList.replace('seq_dia_protocol', 'seq_dia_protocol_first');
14
13
  }
15
14
 
16
- decode(buffer, toolbarNodes, contentType, options, sizeF) {
17
- const imageNode = this.dynamicInnerBufferImageFirst.cloneNode(true);
18
- const blob = new Blob([this._getBuffer(buffer, options)], {type: contentType});
15
+ static decode(buffer, toolbarNodes, contentType, options, sizeF) {
16
+ const imageNode = ImageDecoder.dynamicInnerBufferImageFirst.cloneNode(true);
17
+ const blob = new Blob([ImageDecoder._getBuffer(buffer, options)], {type: contentType});
19
18
  const imageUrl = URL.createObjectURL(blob);
20
19
  imageNode.onload = () => {
21
20
  if(sizeF) {
@@ -30,10 +29,10 @@ class ImageDecoder {
30
29
  return imageNode;
31
30
  }
32
31
 
33
- _getBuffer(buffer, options) {
32
+ static _getBuffer(buffer, options) {
34
33
  const realBuffer = "Buffer" === buffer.type ? Uint8Array.from(buffer.data) : buffer;
35
34
  if(options?.transferEncoding) {
36
- const result = this._parseChunked(realBuffer);
35
+ const result = ImageDecoder._parseChunked(realBuffer);
37
36
  if(result.result) {
38
37
  return result.buffer;
39
38
  }
@@ -43,7 +42,7 @@ class ImageDecoder {
43
42
  }
44
43
  }
45
44
 
46
- _parseChunked(buffer) {
45
+ static _parseChunked(buffer) {
47
46
  const buffers = [];
48
47
  const result = {
49
48
  buffer: null,
@@ -95,4 +94,3 @@ class ImageDecoder {
95
94
  }
96
95
  }
97
96
 
98
- module.exports = new ImageDecoder();
@@ -1,25 +1,24 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
- class TextDecoder {
6
- constructor() {
7
- this.dynamicInnerText = document.createElement('pre');
5
+ export class TextDecoder {
6
+ static dynamicInnerText = document.createElement('pre');
7
+ static dynamicInnerBufferText = TextDecoder.dynamicInnerText.cloneNode(true);
8
+ static {
8
9
  this.dynamicInnerText.classList.add('inner');
9
10
  this.dynamicInnerText.classList.add('seq_dia_protocol_base');
10
11
  this.dynamicInnerText.classList.add('seq_dia_protocol');
11
12
  this.dynamicInnerText.appendChild(document.createTextNode(''));
12
-
13
- this.dynamicInnerBufferText = this.dynamicInnerText.cloneNode(true);
14
13
  this.dynamicInnerBufferText.classList.replace('inner', 'seq_dia_inner_buffer');
15
14
  }
16
15
 
17
- decode(buffer, toolbarNodes, contentType, options, sizeF) {
18
- const textNode = this.dynamicInnerBufferText.cloneNode(true);
16
+ static decode(buffer, toolbarNodes, contentType, options, sizeF) {
17
+ const textNode = TextDecoder.dynamicInnerBufferText.cloneNode(true);
19
18
  const decoder = new window.TextDecoder("utf-8");
20
19
  const dataBuffer = undefined !== buffer.data ? decoder.decode(Uint8Array.from(buffer.data)) : buffer;
21
20
  if(contentType.startsWith('application/json')) {
22
- textNode.firstChild.nodeValue = this._createInnerJson(textNode, toolbarNodes, dataBuffer, options, sizeF);
21
+ textNode.firstChild.nodeValue = TextDecoder._createInnerJson(textNode, toolbarNodes, dataBuffer, options, sizeF);
23
22
  }
24
23
  else {
25
24
  textNode.firstChild.nodeValue = dataBuffer;
@@ -32,7 +31,7 @@ class TextDecoder {
32
31
  return textNode;
33
32
  }
34
33
 
35
- _parseJson(buffer, space) {
34
+ static _parseJson(buffer, space) {
36
35
  try {
37
36
  return JSON.stringify(JSON.parse(buffer), null, space);
38
37
  }
@@ -41,10 +40,10 @@ class TextDecoder {
41
40
  }
42
41
  }
43
42
 
44
- _createInnerJson(node, toolbarNodes, buffer, options, cbSize) {
43
+ static _createInnerJson(node, toolbarNodes, buffer, options, cbSize) {
45
44
  console.log('_createInnerJson');
46
- const valueOpen = this._parseJson(buffer, 2);
47
- const valueClosed = this._parseJson(buffer);
45
+ const valueOpen = TextDecoder._parseJson(buffer, 2);
46
+ const valueClosed = TextDecoder._parseJson(buffer);
48
47
  // display text toolbar
49
48
  toolbarNodes.forEach((toolbarNode) => {
50
49
  if(toolbarNode.classList.contains('seq_dia_json')) {
@@ -61,5 +60,3 @@ class TextDecoder {
61
60
  return valueOpen;
62
61
  }
63
62
  }
64
-
65
- module.exports = new TextDecoder();
@@ -1,25 +1,25 @@
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 DataSeqDiaProtocolTwoNodes from '../data/data-seq-dia-protocol-two-nodes';
6
- import DataSeqDiaProtocolSingleNodeResult from '../data/data-seq-dia-protocol-single-node-result';
7
- import DataScrollListNode from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
8
- import Decoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
9
- import Encoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
10
- import StoreBaseRealtime from 'z-abs-corelayer-client/client/store/store-base-realtime';
11
- import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
4
+ import { Const } from '../logic/const';
5
+ import { DataSeqDiaProtocolTwoNodes } from '../data/data-seq-dia-protocol-two-nodes';
6
+ import { DataSeqDiaProtocolSingleNodeResult } from '../data/data-seq-dia-protocol-single-node-result';
7
+ import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
8
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
9
+ import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
10
+ import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
11
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
12
12
 
13
13
 
14
- class DataSeqDiaClientConnectedNot {
15
- static size = Encoder.Uint8Size + Encoder.Uint16Size;
14
+ export class DataSeqDiaClientConnectedNot {
15
+ static size = CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size;
16
16
  static InfoNotConnected = 'Not Connected';
17
17
  static encoder = null;
18
18
  static decoder = null;
19
19
 
20
20
  static init(pooledBuffers) {
21
- DataSeqDiaClientConnectedNot.encoder = new Encoder(StoreBaseRealtime.textCache);
22
- DataSeqDiaClientConnectedNot.decoder = new Decoder(StoreBaseRealtime.textCache);
21
+ DataSeqDiaClientConnectedNot.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
22
+ DataSeqDiaClientConnectedNot.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
23
23
  DataSeqDiaClientConnectedNot.encoder.init(pooledBuffers);
24
24
  DataSeqDiaClientConnectedNot.decoder.init(pooledBuffers);
25
25
  }
@@ -31,7 +31,7 @@ class DataSeqDiaClientConnectedNot {
31
31
 
32
32
  static store(msg, sharedTemplateData) {
33
33
  const encoder = DataSeqDiaClientConnectedNot.encoder;
34
- const bufferData = encoder.createBuffer(DataSeqDiaClientConnectedNot.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
34
+ const bufferData = encoder.createBuffer(DataSeqDiaClientConnectedNot.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
35
35
  DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
36
36
  encoder.setUint2_1(msg.data.local.actionId, true);
37
37
  const remote = msg.data.remote;
@@ -42,8 +42,8 @@ class DataSeqDiaClientConnectedNot {
42
42
 
43
43
  static restore(bufferData) {
44
44
  const decoder = DataSeqDiaClientConnectedNot.decoder;
45
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
46
- const result = DataSeqDiaProtocolTwoNodes.restore(LogDataAction.NOT_CONNECTED, decoder, DataSeqDiaClientConnectedNot.InfoNotConnected);
45
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
46
+ const result = DataSeqDiaProtocolTwoNodes.restore(FuncLayerEngineCs.LogDataAction.NOT_CONNECTED, decoder, DataSeqDiaClientConnectedNot.InfoNotConnected);
47
47
  const actionId = decoder.getUint2_1(true);
48
48
  const remoteActorIndex = decoder.getUint16();
49
49
  result.renderNodes = Const.RENDER_TWO_NODES;
@@ -58,12 +58,9 @@ class DataSeqDiaClientConnectedNot {
58
58
 
59
59
  static restoreHeightData(bufferData) {
60
60
  const decoder = DataSeqDiaClientConnectedNot.decoder;
61
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
61
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
62
62
  const height = decoder.getUint8();
63
63
  decoder.detach();
64
64
  return height;
65
65
  }
66
66
  }
67
-
68
-
69
- module.exports = DataSeqDiaClientConnectedNot;
@@ -1,25 +1,25 @@
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 DataSeqDiaProtocolTwoNodes from '../data/data-seq-dia-protocol-two-nodes';
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 LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
4
+ import { Const } from '../logic/const';
5
+ import { DataSeqDiaProtocolTwoNodes } from '../data/data-seq-dia-protocol-two-nodes';
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 FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
11
11
 
12
12
 
13
- class DataSeqDiaClientConnected {
14
- static size = Encoder.Uint8Size;
13
+ export class DataSeqDiaClientConnected {
14
+ static size = CoreLayerClient.PooledEncoder.Uint8Size;
15
15
  static InfoConnected = 'Connected';
16
16
  static InfoMembershipAdded = 'Membership added';
17
17
  static encoder = null;
18
18
  static decoder = null;
19
19
 
20
20
  static init(pooledBuffers) {
21
- DataSeqDiaClientConnected.encoder = new Encoder(StoreBaseRealtime.textCache);
22
- DataSeqDiaClientConnected.decoder = new Decoder(StoreBaseRealtime.textCache);
21
+ DataSeqDiaClientConnected.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
22
+ DataSeqDiaClientConnected.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
23
23
  DataSeqDiaClientConnected.encoder.init(pooledBuffers);
24
24
  DataSeqDiaClientConnected.decoder.init(pooledBuffers);
25
25
  }
@@ -31,7 +31,7 @@ class DataSeqDiaClientConnected {
31
31
 
32
32
  static store(msg, sharedTemplateData) {
33
33
  const encoder = DataSeqDiaClientConnected.encoder;
34
- const bufferData = encoder.createBuffer(DataSeqDiaClientConnected.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
34
+ const bufferData = encoder.createBuffer(DataSeqDiaClientConnected.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
35
35
  DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
36
36
  encoder.setUint2_0(msg.data.local.actionId, true);
37
37
  encoder.release();
@@ -40,8 +40,8 @@ class DataSeqDiaClientConnected {
40
40
 
41
41
  static restore(bufferData) {
42
42
  const decoder = DataSeqDiaClientConnected.decoder;
43
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
44
- const result = DataSeqDiaProtocolTwoNodes.restoreWithChoise(LogDataAction.CONNECTED, decoder, (transportType) => {
43
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
44
+ const result = DataSeqDiaProtocolTwoNodes.restoreWithChoise(FuncLayerEngineCs.LogDataAction.CONNECTED, decoder, (transportType) => {
45
45
  if(Const.TRANSPORT_TYPE_MC === transportType) {
46
46
  return DataSeqDiaClientConnected.InfoMembershipAdded;
47
47
  }
@@ -67,12 +67,9 @@ class DataSeqDiaClientConnected {
67
67
 
68
68
  static restoreHeightData(bufferData) {
69
69
  const decoder = DataSeqDiaClientConnected.decoder;
70
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
70
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
71
71
  const height = decoder.getUint8();
72
72
  decoder.detach();
73
73
  return height;
74
74
  }
75
75
  }
76
-
77
-
78
- module.exports = DataSeqDiaClientConnected;
@@ -1,26 +1,26 @@
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 DataSeqDiaProtocolSingleNode from '../data/data-seq-dia-protocol-single-node';
6
- import DataSeqDiaProtocolSingleNodeResult from '../data/data-seq-dia-protocol-single-node-result';
7
- import DataScrollListNode from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
8
- import Decoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
9
- import Encoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
10
- import StoreBaseRealtime from 'z-abs-corelayer-client/client/store/store-base-realtime';
11
- import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
4
+ import { Const } from '../logic/const';
5
+ import { DataSeqDiaProtocolSingleNode } from '../data/data-seq-dia-protocol-single-node';
6
+ import { DataSeqDiaProtocolSingleNodeResult } from '../data/data-seq-dia-protocol-single-node-result';
7
+ import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
8
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
9
+ import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
10
+ import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
11
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
12
12
 
13
13
 
14
- class DataSeqDiaClientConnecting {
15
- static size = Encoder.CtSize + Encoder.Uint16Size + Encoder.CtSize + Encoder.Uint16Size;
14
+ export class DataSeqDiaClientConnecting {
15
+ static size = CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint16Size;
16
16
  static InfoConnecting = 'Connecting';
17
17
  static InfoAddMembership = 'Add membership';
18
18
  static encoder = null;
19
19
  static decoder = null;
20
20
 
21
21
  static init(pooledBuffers) {
22
- DataSeqDiaClientConnecting.encoder = new Encoder(StoreBaseRealtime.textCache);
23
- DataSeqDiaClientConnecting.decoder = new Decoder(StoreBaseRealtime.textCache);
22
+ DataSeqDiaClientConnecting.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
23
+ DataSeqDiaClientConnecting.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
24
24
  DataSeqDiaClientConnecting.encoder.init(pooledBuffers);
25
25
  DataSeqDiaClientConnecting.decoder.init(pooledBuffers);
26
26
  }
@@ -32,7 +32,7 @@ class DataSeqDiaClientConnecting {
32
32
 
33
33
  static store(msg, sharedTemplateData) {
34
34
  const encoder = DataSeqDiaClientConnecting.encoder;
35
- const bufferData = encoder.createBuffer(DataSeqDiaClientConnecting.size + DataSeqDiaProtocolSingleNode.getSize(msg), DataScrollListNode.renderDataSize);
35
+ const bufferData = encoder.createBuffer(DataSeqDiaClientConnecting.size + DataSeqDiaProtocolSingleNode.getSize(msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
36
36
  DataSeqDiaProtocolSingleNode.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
37
37
  const remote = msg.data.remote;
38
38
  encoder.setCtStringInternal(remote.host);
@@ -45,8 +45,8 @@ class DataSeqDiaClientConnecting {
45
45
 
46
46
  static restore(bufferData) {
47
47
  const decoder = DataSeqDiaClientConnecting.decoder;
48
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
49
- const result = DataSeqDiaProtocolSingleNode.restoreWithChoise(LogDataAction.CONNECTING, decoder, (transportType) => {
48
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
49
+ const result = DataSeqDiaProtocolSingleNode.restoreWithChoise(FuncLayerEngineCs.LogDataAction.CONNECTING, decoder, (transportType) => {
50
50
  if(Const.TRANSPORT_TYPE_MC === transportType) {
51
51
  return DataSeqDiaClientConnecting.InfoAddMembership;
52
52
  }
@@ -73,12 +73,9 @@ class DataSeqDiaClientConnecting {
73
73
 
74
74
  static restoreHeightData(bufferData) {
75
75
  const decoder = DataSeqDiaClientConnecting.decoder;
76
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
76
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
77
77
  const height = decoder.getUint8();
78
78
  decoder.detach();
79
79
  return height;
80
80
  }
81
81
  }
82
-
83
-
84
- module.exports = DataSeqDiaClientConnecting;
@@ -1,10 +1,8 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
5
4
 
6
-
7
- class DataSeqDiaClientDnsFailure {
5
+ export class DataSeqDiaClientDnsFailure {
8
6
  static appDeserializer = null;
9
7
 
10
8
  static init(appDeserializer) {
@@ -24,6 +22,3 @@ class DataSeqDiaClientDnsFailure {
24
22
  return decoder.getUint8();
25
23
  }
26
24
  }
27
-
28
-
29
- module.exports = DataSeqDiaClientDnsFailure;
@@ -1,24 +1,24 @@
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 DataSeqDiaProtocolTwoNodes from '../data/data-seq-dia-protocol-two-nodes';
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 LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
4
+ import { Const } from '../logic/const';
5
+ import { DataSeqDiaProtocolTwoNodes } from '../data/data-seq-dia-protocol-two-nodes';
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 FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
11
11
 
12
12
 
13
- class DataSeqDiaConnectionClosed {
14
- static size = Encoder.Uint8Size + Encoder.Uint16Size;
13
+ export class DataSeqDiaConnectionClosed {
14
+ static size = CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size;
15
15
  static InfoClosed = 'Closed';
16
16
  static encoder = null;
17
17
  static decoder = null;
18
18
 
19
19
  static init(pooledBuffers) {
20
- DataSeqDiaConnectionClosed.encoder = new Encoder(StoreBaseRealtime.textCache);
21
- DataSeqDiaConnectionClosed.decoder = new Decoder(StoreBaseRealtime.textCache);
20
+ DataSeqDiaConnectionClosed.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
21
+ DataSeqDiaConnectionClosed.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
22
22
  DataSeqDiaConnectionClosed.encoder.init(pooledBuffers);
23
23
  DataSeqDiaConnectionClosed.decoder.init(pooledBuffers);
24
24
  }
@@ -30,7 +30,7 @@ class DataSeqDiaConnectionClosed {
30
30
 
31
31
  static store(msg, sharedTemplateData) {
32
32
  const encoder = DataSeqDiaConnectionClosed.encoder;
33
- const bufferData = encoder.createBuffer(DataSeqDiaConnectionClosed.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
33
+ const bufferData = encoder.createBuffer(DataSeqDiaConnectionClosed.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
34
34
  DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
35
35
  encoder.setUint2_1(msg.data.local.actionId, true);
36
36
  const remote = msg.data.remote;
@@ -41,8 +41,8 @@ class DataSeqDiaConnectionClosed {
41
41
 
42
42
  static restore(bufferData) {
43
43
  const decoder = DataSeqDiaConnectionClosed.decoder;
44
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
45
- const result = DataSeqDiaProtocolTwoNodes.restore(LogDataAction.CLOSED, decoder, DataSeqDiaConnectionClosed.InfoClosed);
44
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
45
+ const result = DataSeqDiaProtocolTwoNodes.restore(FuncLayerEngineCs.LogDataAction.CLOSED, decoder, DataSeqDiaConnectionClosed.InfoClosed);
46
46
  const actionId = decoder.getUint2_1(true);
47
47
  const remoteActorIndex = decoder.getUint16();
48
48
  if(2 === actionId) {
@@ -62,12 +62,9 @@ class DataSeqDiaConnectionClosed {
62
62
 
63
63
  static restoreHeightData(bufferData) {
64
64
  const decoder = DataSeqDiaConnectionClosed.decoder;
65
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
65
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
66
66
  const height = decoder.getUint8();
67
67
  decoder.detach();
68
68
  return height;
69
69
  }
70
70
  }
71
-
72
-
73
- module.exports = DataSeqDiaConnectionClosed;
@@ -1,25 +1,25 @@
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 DataSeqDiaProtocolSingleNode from '../data/data-seq-dia-protocol-single-node';
6
- import DataSeqDiaProtocolSingleNodeResult from '../data/data-seq-dia-protocol-single-node-result';
7
- import DataScrollListNode from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
8
- import Decoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
9
- import Encoder from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
10
- import StoreBaseRealtime from 'z-abs-corelayer-client/client/store/store-base-realtime';
11
- import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
4
+ import { Const } from '../logic/const';
5
+ import { DataSeqDiaProtocolSingleNode } from '../data/data-seq-dia-protocol-single-node';
6
+ import { DataSeqDiaProtocolSingleNodeResult } from '../data/data-seq-dia-protocol-single-node-result';
7
+ import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
8
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
9
+ import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
10
+ import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
11
+ import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
12
12
 
13
13
 
14
- class DataSeqDiaConnectionClosing {
15
- static size = Encoder.Uint16Size + Encoder.Uint8Size;
14
+ export class DataSeqDiaConnectionClosing {
15
+ static size = CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint8Size;
16
16
  static InfoClosing = 'Closing';
17
17
  static encoder = null;
18
18
  static decoder = null;
19
19
 
20
20
  static init(pooledBuffers) {
21
- DataSeqDiaConnectionClosing.encoder = new Encoder(StoreBaseRealtime.textCache);
22
- DataSeqDiaConnectionClosing.decoder = new Decoder(StoreBaseRealtime.textCache);
21
+ DataSeqDiaConnectionClosing.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
22
+ DataSeqDiaConnectionClosing.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
23
23
  DataSeqDiaConnectionClosing.encoder.init(pooledBuffers);
24
24
  DataSeqDiaConnectionClosing.decoder.init(pooledBuffers);
25
25
  }
@@ -31,7 +31,7 @@ class DataSeqDiaConnectionClosing {
31
31
 
32
32
  static store(msg, sharedTemplateData) {
33
33
  const encoder = DataSeqDiaConnectionClosing.encoder;
34
- const bufferData = encoder.createBuffer(DataSeqDiaConnectionClosing.size + DataSeqDiaProtocolSingleNode.getSize(msg), DataScrollListNode.renderDataSize);
34
+ const bufferData = encoder.createBuffer(DataSeqDiaConnectionClosing.size + DataSeqDiaProtocolSingleNode.getSize(msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
35
35
  DataSeqDiaProtocolSingleNode.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
36
36
  const remote = msg.data.remote;
37
37
  encoder.setUint16(remote.actorIndex);
@@ -42,8 +42,8 @@ class DataSeqDiaConnectionClosing {
42
42
 
43
43
  static restore(bufferData) {
44
44
  const decoder = DataSeqDiaConnectionClosing.decoder;
45
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
46
- const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.CLOSING, decoder, DataSeqDiaConnectionClosing.InfoClosing, DataSeqDiaProtocolSingleNodeResult);
45
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
46
+ const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.CLOSING, decoder, DataSeqDiaConnectionClosing.InfoClosing, DataSeqDiaProtocolSingleNodeResult);
47
47
  const remoteActorIndex = decoder.getUint16();
48
48
  const remoteIsShared = !!decoder.getUint1_0(true);
49
49
  result.reverseDirection = remoteActorIndex < result.localActorIndex ? Const.REVERS_DIRECTION_TRUE : Const.REVERS_DIRECTION_FALSE;
@@ -60,12 +60,9 @@ class DataSeqDiaConnectionClosing {
60
60
 
61
61
  static restoreHeightData(bufferData) {
62
62
  const decoder = DataSeqDiaConnectionClosing.decoder;
63
- decoder.attach(bufferData, DataScrollListNode.renderDataSize);
63
+ decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
64
64
  const height = decoder.getUint8();
65
65
  decoder.detach();
66
66
  return height;
67
67
  }
68
68
  }
69
-
70
-
71
- module.exports = DataSeqDiaConnectionClosing;