@aj-shadow/z-abs-complayer-documentation-client 0.0.0-aj-beta.227 → 0.0.0-aj-beta.236

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.
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@aj-shadow/z-abs-complayer-documentation-client",
3
- "version": "0.0.0-aj-beta.227",
3
+ "version": "0.0.0-aj-beta.236",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@aj-shadow/z-abs-complayer-documentation-client",
9
- "version": "0.0.0-aj-beta.227",
10
- "license": "SEE LICENSE IN LICENSE.txt"
9
+ "version": "0.0.0-aj-beta.236",
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-documentation-client",
3
- "version": "0.0.0-aj-beta.227",
3
+ "version": "0.0.0-aj-beta.236",
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-documentation-client.git",
9
9
  "dependencies": {}
10
10
  }
@@ -2,35 +2,22 @@
2
2
  "layer": "Comp",
3
3
  "part": "Documentation-client",
4
4
  "source": {
5
- "path": "./build/z-abs-complayer-documentation-client/client",
6
- "filters": ["js"]
5
+ "path": "./build/z-abs-complayer-documentation-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-documentation-client", "client"],
15
+ ["z-abs-complayer-markup-client", "client"],
16
+ ["z-abs-complayer-bootstrap-client", "client"],
17
+ ["z-abs-complayer-router-client", "client"],
18
+ ["z-abs-corelayer-client", "client"],
19
+ ["z-abs-corelayer-cs", "cs"],
20
+ ["z-abs-3pplayer-react-client", "client"]
13
21
  ],
14
- "externalGlobs": [
15
- "./build/z-abs-complayer-markup-client/**/*.js",
16
- "./build/z-abs-complayer-bootstrap-client/**/*.js",
17
- "./build/z-abs-complayer-router-client/**/*.js",
18
- "./build/z-abs-corelayer-client/**/*.js",
19
- "./build/z-abs-corelayer-cs/**/*.js"
20
- ],
21
- "exports": null,
22
- "exportSource": true,
23
- "dependencyNames": [
24
- "Client:CompLayer/Documentation-client",
25
- "Client:CompLayer/Documentation-client-jsx",
26
- "Client:CompLayer/Markup-client",
27
- "Client:CompLayer/Markup-client-jsx",
28
- "Client:CompLayer/Bootstrap-client",
29
- "Client:CompLayer/Bootstrap-client-jsx",
30
- "Client:CompLayer/Router-client-jsx",
31
- "Client:CoreLayer/client",
32
- "Client:CoreLayer/client-jsx",
33
- "Client:CoreLayer/cs",
34
- "Client:3ppLayer/React-client"
35
- ]
22
+ "allowRequire": false
36
23
  }
@@ -1,130 +1,130 @@
1
1
 
2
- 'use strict';
2
+ 'use strict';// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import Action from 'z-abs-corelayer-client/client/communication/action';
4
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/action';
5
5
 
6
6
 
7
- export class ActionDocumentationGet extends Action {
7
+ export class ActionDocumentationGet extends CoreLayerClient.Action {
8
8
  constructor(documentName, embed, preview) {
9
9
  super(documentName, embed, preview);
10
10
  }
11
11
  }
12
12
 
13
- export class ActionDocumentationAdd extends Action {
13
+ export class ActionDocumentationAdd extends CoreLayerClient.Action {
14
14
  constructor() {
15
15
  super();
16
16
  }
17
17
  }
18
18
 
19
- export class ActionDocumentationUpdate extends Action {
19
+ export class ActionDocumentationUpdate extends CoreLayerClient.Action {
20
20
  constructor() {
21
21
  super();
22
22
  }
23
23
  }
24
24
 
25
- export class ActionDocumentationNavigationsUpdate extends Action {
25
+ export class ActionDocumentationNavigationsUpdate extends CoreLayerClient.Action {
26
26
  constructor() {
27
27
  super();
28
28
  }
29
29
  }
30
30
 
31
- export class ActionDocumentationCurrentNavigation extends Action {
31
+ export class ActionDocumentationCurrentNavigation extends CoreLayerClient.Action {
32
32
  constructor(index, path, link) {
33
33
  super(index, path, link);
34
34
  }
35
35
  }
36
36
 
37
- export class ActionDocumentationCurrentPage extends Action {
37
+ export class ActionDocumentationCurrentPage extends CoreLayerClient.Action {
38
38
  constructor(documentName) {
39
39
  super(documentName);
40
40
  }
41
41
  }
42
42
 
43
- export class ActionDocumentationGotoPage extends Action {
43
+ export class ActionDocumentationGotoPage extends CoreLayerClient.Action {
44
44
  constructor(gotoStep) {
45
45
  super(gotoStep);
46
46
  }
47
47
  }
48
48
 
49
- export class ActionDocumentationMarkup extends Action {
49
+ export class ActionDocumentationMarkup extends CoreLayerClient.Action {
50
50
  constructor() {
51
51
  super();
52
52
  }
53
53
  }
54
54
 
55
- export class ActionDocumentationMarkupCancel extends Action {
55
+ export class ActionDocumentationMarkupCancel extends CoreLayerClient.Action {
56
56
  constructor() {
57
57
  super();
58
58
  }
59
59
  }
60
60
 
61
- export class ActionDocumentationMarkupSave extends Action {
61
+ export class ActionDocumentationMarkupSave extends CoreLayerClient.Action {
62
62
  constructor() {
63
63
  super();
64
64
  }
65
65
  }
66
66
 
67
- export class ActionDocumentationMarkupNavigationChange extends Action {
67
+ export class ActionDocumentationMarkupNavigationChange extends CoreLayerClient.Action {
68
68
  constructor(markup) {
69
69
  super(markup);
70
70
  }
71
71
  }
72
72
 
73
- export class ActionDocumentationMarkupDocumentChange extends Action {
73
+ export class ActionDocumentationMarkupDocumentChange extends CoreLayerClient.Action {
74
74
  constructor(markup) {
75
75
  super(markup);
76
76
  }
77
77
  }
78
78
 
79
- export class ActionDocumentationLocalNoteMarkup extends Action {
79
+ export class ActionDocumentationLocalNoteMarkup extends CoreLayerClient.Action {
80
80
  constructor(guid) {
81
81
  super(guid);
82
82
  }
83
83
  }
84
84
 
85
- export class ActionDocumentationLocalNoteMarkupCancel extends Action {
85
+ export class ActionDocumentationLocalNoteMarkupCancel extends CoreLayerClient.Action {
86
86
  constructor() {
87
87
  super();
88
88
  }
89
89
  }
90
90
 
91
- export class ActionDocumentationLocalNoteMarkupChange extends Action {
91
+ export class ActionDocumentationLocalNoteMarkupChange extends CoreLayerClient.Action {
92
92
  constructor(markup) {
93
93
  super(markup);
94
94
  }
95
95
  }
96
96
 
97
- export class ActionDocumentationLocalNoteMarkupSave extends Action {
97
+ export class ActionDocumentationLocalNoteMarkupSave extends CoreLayerClient.Action {
98
98
  constructor() {
99
99
  super();
100
100
  }
101
101
  }
102
102
 
103
- export class ActionDocumentationLocalNoteGet extends Action {
103
+ export class ActionDocumentationLocalNoteGet extends CoreLayerClient.Action {
104
104
  constructor(guid, preview) {
105
105
  super(guid, preview);
106
106
  }
107
107
  }
108
108
 
109
- export class ActionDocumentationLocalNoteAdd extends Action {
109
+ export class ActionDocumentationLocalNoteAdd extends CoreLayerClient.Action {
110
110
  constructor(guid, path) {
111
111
  super(guid, path);
112
112
  }
113
113
  }
114
114
 
115
- export class ActionDocumentationLocalNoteUpdate extends Action {
115
+ export class ActionDocumentationLocalNoteUpdate extends CoreLayerClient.Action {
116
116
  constructor(guid, path) {
117
117
  super(guid, path);
118
118
  }
119
119
  }
120
120
 
121
- export class ActionDocumentationLocalNoteDelete extends Action {
121
+ export class ActionDocumentationLocalNoteDelete extends CoreLayerClient.Action {
122
122
  constructor(guid, path) {
123
123
  super(guid, path);
124
124
  }
125
125
  }
126
126
 
127
- export class ActionDocumentationReferencesGet extends Action {
127
+ export class ActionDocumentationReferencesGet extends CoreLayerClient.Action {
128
128
  constructor(repo) {
129
129
  super(repo);
130
130
  }
@@ -1,47 +1,46 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
  import { ActionDocumentationReferencesGet, ActionDocumentationGet, ActionDocumentationAdd, ActionDocumentationUpdate, ActionDocumentationNavigationsUpdate, ActionDocumentationLocalNoteGet, ActionDocumentationLocalNoteAdd, ActionDocumentationLocalNoteUpdate, ActionDocumentationLocalNoteDelete } from './action-documentation';
5
- import DataAction from 'z-abs-corelayer-client/client/communication/data-action';
6
- import DataActionMulti from 'z-abs-corelayer-client/client/communication/data-action-multi';
5
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/data-action';
7
6
 
8
7
 
9
- export class DataActionDocumentationGet extends DataAction {
8
+ export class DataActionDocumentationGet extends CoreLayerClient.DataAction {
10
9
  constructor(repo, appName, documentGroup, documentName, embed, preview) {
11
10
  super();
12
11
  this.addRequest(new ActionDocumentationGet(documentName, embed, preview), repo, appName, documentGroup, documentName, embed);
13
12
  }
14
13
  }
15
14
 
16
- export class DataActionDocumentationAdd extends DataAction {
15
+ export class DataActionDocumentationAdd extends CoreLayerClient.DataAction {
17
16
  constructor(repo, documentGroup, documentName, documentData) {
18
17
  super();
19
18
  this.addRequest(new ActionDocumentationAdd(), repo, documentGroup, documentName, documentData);
20
19
  }
21
20
  }
22
21
 
23
- export class DataActionDocumentationUpdate extends DataAction {
22
+ export class DataActionDocumentationUpdate extends CoreLayerClient.DataAction {
24
23
  constructor(repo, documentGroup, documentName, documentData) {
25
24
  super();
26
25
  this.addRequest(new ActionDocumentationUpdate(), repo, documentGroup, documentName, documentData);
27
26
  }
28
27
  }
29
28
 
30
- export class DataActionDocumentationNavigationsUpdate extends DataAction {
29
+ export class DataActionDocumentationNavigationsUpdate extends CoreLayerClient.DataAction {
31
30
  constructor(repo, appName, documentGroup, navigations) {
32
31
  super();
33
32
  this.addRequest(new ActionDocumentationNavigationsUpdate(), repo, appName, documentGroup, navigations);
34
33
  }
35
34
  }
36
35
 
37
- export class DataActionDocumentationLocalNoteGet extends DataAction {
36
+ export class DataActionDocumentationLocalNoteGet extends CoreLayerClient.DataAction {
38
37
  constructor(guid, path, preview) {
39
38
  super();
40
39
  this.addRequest(new ActionDocumentationLocalNoteGet(preview), guid, path);
41
40
  }
42
41
  }
43
42
 
44
- export class DataActionDocumentationLocalNotesAndEmbededGet extends DataAction {
43
+ export class DataActionDocumentationLocalNotesAndEmbededGet extends CoreLayerClient.DataAction {
45
44
  constructor(localNoteGuids, localNotePath, localNotePreview, embedRepo, embedAppName, embedDocumentGroup, embedDocumentName, embedEmbed, embedPreview) {
46
45
  super();
47
46
  this.addRequest(new ActionDocumentationLocalNoteGet(localNoteGuids, localNotePreview), localNoteGuids, localNotePath);
@@ -49,28 +48,28 @@ export class DataActionDocumentationLocalNotesAndEmbededGet extends DataAction {
49
48
  }
50
49
  }
51
50
 
52
- export class DataActionDocumentationLocalNoteAdd extends DataAction {
51
+ export class DataActionDocumentationLocalNoteAdd extends CoreLayerClient.DataAction {
53
52
  constructor(guid, path, document) {
54
53
  super();
55
54
  this.addRequest(new ActionDocumentationLocalNoteAdd(guid, path), guid, path, document);
56
55
  }
57
56
  }
58
57
 
59
- export class DataActionDocumentationLocalNoteUpdate extends DataAction {
58
+ export class DataActionDocumentationLocalNoteUpdate extends CoreLayerClient.DataAction {
60
59
  constructor(guid, path, document) {
61
60
  super();
62
61
  this.addRequest(new ActionDocumentationLocalNoteUpdate(guid, path), guid, path, document);
63
62
  }
64
63
  }
65
64
 
66
- export class DataActionDocumentationLocalNoteDelete extends DataAction {
65
+ export class DataActionDocumentationLocalNoteDelete extends CoreLayerClient.DataAction {
67
66
  constructor(guid, path) {
68
67
  super();
69
68
  this.addRequest(new ActionDocumentationLocalNoteDelete(guid), guid, path);
70
69
  }
71
70
  }
72
71
 
73
- export class DataActionDocumentationReferencesGet extends DataAction {
72
+ export class DataActionDocumentationReferencesGet extends CoreLayerClient.DataAction {
74
73
  constructor(repo) {
75
74
  super();
76
75
  this.addRequest(new ActionDocumentationReferencesGet(repo), repo);
@@ -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 Arc {
5
+ export class Arc {
6
6
  static describeArc(x, y, radius, spread, startAngle, endAngle) {
7
7
  const innerStart = this.polarToCartesian(x, y, radius, endAngle);
8
8
  const innerEnd = this.polarToCartesian(x, y, radius, startAngle);
@@ -27,6 +27,3 @@ class Arc {
27
27
  };
28
28
  }
29
29
  }
30
-
31
-
32
- module.exports = Arc;
@@ -1,16 +1,16 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
  import { ActionDocumentationCurrentNavigation } from '../../actions/action-documentation';
5
- import Link from 'z-abs-complayer-router-client/client/react-component/link';
6
- import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
7
- import React from 'react';
5
+ import * as CompLayerRouterClient from 'z-abs-complayer-router-client/client/react-component/link';
6
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/react-component/react-component-store';
7
+ import * as React from 'react';
8
8
 
9
9
 
10
- export default class MiddleDocumentationNavigation extends ReactComponentStore {
10
+ export class MiddleDocumentationNavigation extends CoreLayerClient.ReactComponentStore {
11
11
  constructor(props) {
12
- super(props, [props.documentationStore]);
13
- this.documentationStoreName = props.documentationStore.constructor.name;
12
+ super(props, [props.documentationStore.getInstance()]);
13
+ this.documentationStoreName = props.documentationStore.name;
14
14
  }
15
15
 
16
16
  _documentationStore(state) {
@@ -34,9 +34,9 @@ export default class MiddleDocumentationNavigation extends ReactComponentStore {
34
34
  name = oldName.substring('[[stack-'.length, match[0].length - 2) + oldName.substring(match[0].length);
35
35
  }
36
36
  return (
37
- <Link data-name={name} href={`/${link}`}>
37
+ <CompLayerRouterClient.Link data-name={name} href={`/${link}`}>
38
38
  {name}
39
- </Link>
39
+ </CompLayerRouterClient.Link>
40
40
  );
41
41
  }
42
42
  else {
@@ -66,14 +66,14 @@ export default class MiddleDocumentationNavigation extends ReactComponentStore {
66
66
  onClickCapture={(e) => {
67
67
  e.stopPropagation();
68
68
  e.preventDefault();
69
- this.dispatch(this.props.documentationStore, new ActionDocumentationCurrentNavigation(this._documentationStore(this.state).current.navigationIndex, open ? node.parentPath : node.path, node.link));
69
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationCurrentNavigation(this._documentationStore(this.state).current.navigationIndex, open ? node.parentPath : node.path, node.link));
70
70
  }}
71
71
  >{node.name}</p>
72
72
  <svg className={classNameUlInner} width="11" height="11" viewBox="0 0 11 11"
73
73
  onClickCapture={(e) => {
74
74
  e.stopPropagation();
75
75
  e.preventDefault();
76
- this.dispatch(this.props.documentationStore, new ActionDocumentationCurrentNavigation(this._documentationStore(this.state).current.navigationIndex, open ? node.parentPath : node.path, node.link));
76
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationCurrentNavigation(this._documentationStore(this.state).current.navigationIndex, open ? node.parentPath : node.path, node.link));
77
77
  }}
78
78
  >
79
79
  <polygon points="2,2 2,10 10,6"/>
@@ -188,14 +188,14 @@ export default class MiddleDocumentationNavigation extends ReactComponentStore {
188
188
  onClickCapture={(e) => {
189
189
  e.stopPropagation();
190
190
  e.preventDefault();
191
- this.dispatch(this.props.documentationStore, new ActionDocumentationCurrentNavigation(index, '', ''));
191
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationCurrentNavigation(index, '', ''));
192
192
  }}
193
193
  >{navigation.heading}</h3>
194
194
  <svg className={classNameUl} width="11" height="11" viewBox="0 0 11 11"
195
195
  onClickCapture={(e) => {
196
196
  e.stopPropagation();
197
197
  e.preventDefault();
198
- this.dispatch(this.props.documentationStore, new ActionDocumentationCurrentNavigation(index, '', ''));
198
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationCurrentNavigation(index, '', ''));
199
199
  }}
200
200
  >
201
201
  <polygon points="2,2 2,10 10,6"/>
@@ -1,18 +1,17 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
  import { ActionDocumentationMarkup, ActionDocumentationMarkupSave, ActionDocumentationMarkupCancel, ActionDocumentationLocalNoteMarkupSave, ActionDocumentationLocalNoteMarkupCancel } from '../../actions/action-documentation';
5
- import Button from 'z-abs-complayer-bootstrap-client/client/button';
6
- import ButtonNew from 'z-abs-complayer-bootstrap-client/client/button-new';
7
- import {RouterContext} from 'z-abs-complayer-router-client/client/react-component/router-context';
8
- import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
9
- import GuidGenerator from 'z-abs-corelayer-cs/clientServer/guid-generator';
10
- import React from 'react';
5
+ import * as CompLayerBootstrapClient from 'z-abs-complayer-bootstrap-client/client/button-new';
6
+ import * as CompLayerRouterClient from 'z-abs-complayer-router-client/client/react-component/router-context';
7
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/react-component/react-component-store';
8
+ import * as CoreLayerCs from 'z-abs-corelayer-cs/client/guid-generator';
9
+ import * as React from 'react';
11
10
 
12
11
 
13
- export default class MiddleDocumentationToolbar extends ReactComponentStore {
12
+ export class MiddleDocumentationToolbar extends CoreLayerClient.ReactComponentStore {
14
13
  constructor(props) {
15
- super(props, [props.documentationStore, props.plusServicesStore], {
14
+ super(props, [props.documentationStore.getInstance(), props.plusServicesStore], {
16
15
  guid: ''
17
16
  });
18
17
  this.boundKeyDown = this._keyDown.bind(this);
@@ -20,7 +19,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
20
19
  this.markupDisabledSave = true;
21
20
  this.markupDisabledHelp = false;
22
21
  this.markupDisabledCancel = true;
23
- this.documentationStoreName = props.documentationStore.constructor.name;
22
+ this.documentationStoreName = props.documentationStore.name;
24
23
  this.plusServicesStoreName = props.plusServicesStore.constructor.name;
25
24
  }
26
25
 
@@ -50,15 +49,15 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
50
49
  }
51
50
 
52
51
  _markupOpen() {
53
- this.dispatch(this.props.documentationStore, new ActionDocumentationMarkup());
52
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationMarkup());
54
53
  }
55
54
 
56
55
  _markupSave() {
57
56
  if(this._documentationStore(this.state).markup.definition) {
58
- this.dispatch(this.props.documentationStore, new ActionDocumentationMarkupSave());
57
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationMarkupSave());
59
58
  }
60
59
  else if(this._documentationStore(this.state).localNoteMarkup.definition) {
61
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteMarkupSave());
60
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteMarkupSave());
62
61
  }
63
62
  }
64
63
 
@@ -68,10 +67,10 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
68
67
 
69
68
  _markupCancel() {
70
69
  if(this._documentationStore(this.state).markup.definition) {
71
- this.dispatch(this.props.documentationStore, new ActionDocumentationMarkupCancel());
70
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationMarkupCancel());
72
71
  }
73
72
  else if(this._documentationStore(this.state).localNoteMarkup.definition) {
74
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteMarkupCancel());
73
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteMarkupCancel());
75
74
  }
76
75
  }
77
76
 
@@ -105,7 +104,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
105
104
  renderMarkupOpenButton() {
106
105
  this.markupDisabledOpen = this._documentationStore(this.state).markup.definition || this._documentationStore(this.state).localNoteMarkup.definition;
107
106
  return (
108
- <ButtonNew id="documentation_markup_open" icon="icon-markup-open" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Open" content="Markup" shortcut="Ctrl+O" disabled={this.markupDisabledOpen}
107
+ <CompLayerBootstrapClient.ButtonNew id="documentation_markup_open" icon="icon-markup-open" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Open" content="Markup" shortcut="Ctrl+O" disabled={this.markupDisabledOpen}
109
108
  onClick={(e) => {
110
109
  this._markupOpen();
111
110
  }}
@@ -122,7 +121,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
122
121
  this.markupDisabledSave = this._documentationStore(this.state).localNoteMarkup.document.content === this._documentationStore(this.state).localNoteMarkup.document.contentOriginal;
123
122
  }
124
123
  return (
125
- <ButtonNew id="documentation_markup_save" icon="icon-markup-save" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Save" content="Markup" shortcut="Ctrl+S" disabled={this.markupDisabledSave}
124
+ <CompLayerBootstrapClient.ButtonNew id="documentation_markup_save" icon="icon-markup-save" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Save" content="Markup" shortcut="Ctrl+S" disabled={this.markupDisabledSave}
126
125
  onClick={(e) => {
127
126
  this._markupSave();
128
127
  }}
@@ -133,7 +132,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
133
132
  renderMarkupHelpButton() {
134
133
  this.markupDisabledHelp = this._documentationStore(this.state).markup.definition;
135
134
  return (
136
- <ButtonNew id="documentation_markup_help" icon="icon-markup-help" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Help" content="Markup" shortcut="Ctrl+Shift+?" disabled={this.markupDisabledHelp}
135
+ <CompLayerBootstrapClient.ButtonNew id="documentation_markup_help" icon="icon-markup-help" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Help" content="Markup" shortcut="Ctrl+Shift+?" disabled={this.markupDisabledHelp}
137
136
  onClick={(e) => {
138
137
  this._markupHelp();
139
138
  }}
@@ -144,7 +143,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
144
143
  renderMarkupCancelButton() {
145
144
  this.markupDisabledCancel = !this._documentationStore(this.state).markup.definition && !this._documentationStore(this.state).localNoteMarkup.definition;
146
145
  return (
147
- <ButtonNew id="documentation_markup_cancel" icon="icon-markup-close" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Cancel" content="Markup" shortcut="Ctrl+Shift+C" disabled={this.markupDisabledCancel}
146
+ <CompLayerBootstrapClient.ButtonNew id="documentation_markup_cancel" icon="icon-markup-close" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Cancel" content="Markup" shortcut="Ctrl+Shift+C" disabled={this.markupDisabledCancel}
148
147
  onClick={(e) => {
149
148
  this._markupCancel();
150
149
  }}
@@ -156,7 +155,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
156
155
  const toolTipInstruction = this.props.showNavigationMarkup ? "Hide" : "Show";
157
156
  const active = this.props.showNavigationMarkup ? "active" : "";
158
157
  return (
159
- <ButtonNew id="documentation_navigation" colorMark="markup_color" icon="icon-doc-navigation" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Navigation Markup" active={active} disabled={!this._documentationStore(this.state).markup.definition}
158
+ <CompLayerBootstrapClient.ButtonNew id="documentation_navigation" colorMark="markup_color" icon="icon-doc-navigation" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Navigation Markup" active={active} disabled={!this._documentationStore(this.state).markup.definition}
160
159
  onClick={(e) => {
161
160
  this.props.onToggleNavigationMarkup && this.props.onToggleNavigationMarkup();
162
161
  }}
@@ -168,7 +167,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
168
167
  const toolTipInstruction = this.props.showNavigationPreview ? "Hide" : "Show";
169
168
  const active = this.props.showNavigationPreview ? "active" : "";
170
169
  return (
171
- <ButtonNew id="documentation_navigation_preview" colorMark="markup_color" icon="icon-doc-navigation-preview" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Navigation Preview" active={active} disabled={!this._documentationStore(this.state).markup.definition}
170
+ <CompLayerBootstrapClient.ButtonNew id="documentation_navigation_preview" colorMark="markup_color" icon="icon-doc-navigation-preview" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Navigation Preview" active={active} disabled={!this._documentationStore(this.state).markup.definition}
172
171
  onClick={(e) => {
173
172
  this.props.onToggleNavigationPreview && this.props.onToggleNavigationPreview();
174
173
  }}
@@ -180,7 +179,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
180
179
  const toolTipInstruction = this.props.showDocumentationMarkup ? "Hide" : "Show";
181
180
  const active = this.props.showDocumentationMarkup ? "active" : "";
182
181
  return (
183
- <ButtonNew id="documentation_markup" colorMark="markup_color" icon="icon-doc-markup" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Document Markup" active={active} disabled={!this._documentationStore(this.state).markup.definition}
182
+ <CompLayerBootstrapClient.ButtonNew id="documentation_markup" colorMark="markup_color" icon="icon-doc-markup" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Document Markup" active={active} disabled={!this._documentationStore(this.state).markup.definition}
184
183
  onClick={(e) => {
185
184
  this.props.onToggleDocumentationMarkup && this.props.onToggleDocumentationMarkup();
186
185
  }}
@@ -192,7 +191,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
192
191
  const toolTipInstruction = this.props.showDocumentationPreview ? "Hide" : "Show";
193
192
  const active = this.props.showDocumentationPreview ? "active" : "";
194
193
  return (
195
- <ButtonNew id="documentation_markup_preview" colorMark="markup_color" icon="icon-doc-markup-preview" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Document Preview" active={active} disabled={!this._documentationStore(this.state).markup.definition}
194
+ <CompLayerBootstrapClient.ButtonNew id="documentation_markup_preview" colorMark="markup_color" icon="icon-doc-markup-preview" size="aj_btn_sm" placement="bottom" heading={`${toolTipInstruction}`} content="Document Preview" active={active} disabled={!this._documentationStore(this.state).markup.definition}
196
195
  onClick={(e) => {
197
196
  this.props.onToggleDocumentationPreview && this.props.onToggleDocumentationPreview();
198
197
  }}
@@ -215,7 +214,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
215
214
  image2Style = {width:'0px',top:'2px',left:'-6px',transform:'scale(1.3, 0.9)'};
216
215
  }
217
216
  return (
218
- <ButtonNew id="documentation_align" icon="icon-align" size="aj_btn_sm" colorMark="markup_color" active={this.props.documentationOrder} placement="bottom" heading={`${toolTipInstruction}`} content="Document Order" disabled={!this._documentationStore(this.state).markup.definition}
217
+ <CompLayerBootstrapClient.ButtonNew id="documentation_align" icon="icon-align" size="aj_btn_sm" colorMark="markup_color" active={this.props.documentationOrder} placement="bottom" heading={`${toolTipInstruction}`} content="Document Order" disabled={!this._documentationStore(this.state).markup.definition}
219
218
  onClick={(e) => {
220
219
  this.props.onToggleDocumentationOrder && this.props.onToggleDocumentationOrder();
221
220
  }}
@@ -226,9 +225,9 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
226
225
  renderGuidGeneratorButton() {
227
226
  if(this._documentationStore(this.state).markup.definition || this._documentationStore(this.state).localNoteMarkup.definition) {
228
227
  return (
229
- <ButtonNew id="documentation_guid" icon="icon-guid" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Generate" content="GUID"
228
+ <CompLayerBootstrapClient.ButtonNew id="documentation_guid" icon="icon-guid" size="aj_btn_sm" colorMark="markup_color" placement="bottom" heading="Generate" content="GUID"
230
229
  onClick={(e) => {
231
- const guid = GuidGenerator.create();
230
+ const guid = CoreLayerCs.GuidGenerator.create();
232
231
  navigator.clipboard.writeText(guid).then(() => {
233
232
  /* clipboard successfully set */
234
233
  }, () => {
@@ -251,7 +250,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
251
250
 
252
251
  renderDocumentationButton() {
253
252
  return (
254
- <ButtonNew id="documentation_documentation" colorMark="markup_color" icon="icon-doc-documentation" size="aj_btn_sm" heading="Goto" content="Documentation"
253
+ <CompLayerBootstrapClient.ButtonNew id="documentation_documentation" colorMark="markup_color" icon="icon-doc-documentation" size="aj_btn_sm" heading="Goto" content="Documentation"
255
254
  onClick={(e) => {
256
255
  this.context.history(`/documentation`, {global: true});
257
256
  }}
@@ -261,7 +260,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
261
260
 
262
261
  renderEducationButton() {
263
262
  return (
264
- <ButtonNew id="documentation_education" colorMark="markup_color" icon="icon-doc-education" size="aj_btn_sm" heading="Goto" content="Education"
263
+ <CompLayerBootstrapClient.ButtonNew id="documentation_education" colorMark="markup_color" icon="icon-doc-education" size="aj_btn_sm" heading="Goto" content="Education"
265
264
  onClick={(e) => {
266
265
  this.context.history(`/education`, {global: true});
267
266
  }}
@@ -271,7 +270,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
271
270
 
272
271
  renderWorkshopButton() {
273
272
  return (
274
- <ButtonNew id="documentation_workshop" colorMark="markup_color" icon="icon-doc-workshop" size="aj_btn_sm" heading="Goto" content="Workshop"
273
+ <CompLayerBootstrapClient.ButtonNew id="documentation_workshop" colorMark="markup_color" icon="icon-doc-workshop" size="aj_btn_sm" heading="Goto" content="Workshop"
275
274
  onClick={(e) => {
276
275
  this.context.history(`/workshop`, {global: true});
277
276
  }}
@@ -281,7 +280,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
281
280
 
282
281
  renderVideosButton() {
283
282
  return (
284
- <ButtonNew id="documentation_video" colorMark="markup_color" icon="icon-doc-video" size="aj_btn_sm" heading="Goto" content="Videos"
283
+ <CompLayerBootstrapClient.ButtonNew id="documentation_video" colorMark="markup_color" icon="icon-doc-video" size="aj_btn_sm" heading="Goto" content="Videos"
285
284
  onClick={(e) => {
286
285
  this.context.history(`/videos`, {global: true});
287
286
  }}
@@ -291,7 +290,7 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
291
290
 
292
291
  renderLocalDocumentationButton(repoName) {
293
292
  return (
294
- <ButtonNew id={`start_local_documentation_${repoName}`} colorMark="markup_color" icon="icon-doc-docs" size="aj_btn_sm" heading="Goto" content="Plus Service - Docs" aria-label="Plus Service - Docs"
293
+ <CompLayerBootstrapClient.ButtonNew id={`start_local_documentation_${repoName}`} colorMark="markup_color" icon="icon-doc-docs" size="aj_btn_sm" heading="Goto" content="Plus Service - Docs" aria-label="Plus Service - Docs"
295
294
  onClick={(e) => {
296
295
  this.context.history(`/local-documentation-${repoName}`, {global: true});
297
296
  }}
@@ -345,4 +344,4 @@ export default class MiddleDocumentationToolbar extends ReactComponentStore {
345
344
  }
346
345
 
347
346
 
348
- MiddleDocumentationToolbar.contextType = RouterContext;
347
+ MiddleDocumentationToolbar.contextType = CompLayerRouterClient.RouterContext;
@@ -1,23 +1,22 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import MiddleDocumentationNavigation from './middle-documentation-navigation';
4
+ import { MiddleDocumentationNavigation } from './middle-documentation-navigation';
5
5
  import { ActionDocumentationCurrentPage, ActionDocumentationGotoPage, ActionDocumentationMarkupNavigationChange, ActionDocumentationMarkupDocumentChange, ActionDocumentationMarkupCancel, ActionDocumentationLocalNoteMarkup, ActionDocumentationLocalNoteMarkupCancel, ActionDocumentationLocalNoteMarkupChange, ActionDocumentationLocalNoteDelete } from '../../actions/action-documentation';
6
- import ComponentDocument from 'z-abs-complayer-markup-client/client/react-components/markup/component-document';
7
- import ScrollData from 'z-abs-complayer-markup-client/client/react-components/helper/scroll-data';
8
- import DataDocumentationNavigation from 'z-abs-complayer-markup-client/client/data/data-documentation/data-documentation-navigation';
9
- import StyleStore from 'z-abs-complayer-markup-client/client/stores/style-store';
10
- import ComponentMarkedTextarea from 'z-abs-complayer-bootstrap-client/client/marked-textarea';
11
- import ButtonNew from 'z-abs-complayer-bootstrap-client/client/button-new';
12
- import {RouterContext} from 'z-abs-complayer-router-client/client/react-component/router-context';
13
- import NotFound from 'z-abs-corelayer-client/client/components/not-found';
14
- import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
15
- import React from 'react';
6
+ import * as CompLayerMarkupClient from 'z-abs-complayer-markup-client/client/react-components/markup/component-document';
7
+ import * as CompLayerMarkupClient1 from 'z-abs-complayer-markup-client/client/react-components/helper/scroll-data';
8
+ import * as CompLayerMarkupClient2 from 'z-abs-complayer-markup-client/client/stores/style-store';
9
+ import * as CompLayerBootstrapClient from 'z-abs-complayer-bootstrap-client/client/marked-textarea';
10
+ import * as CompLayerBootstrapClient2 from 'z-abs-complayer-bootstrap-client/client/button-new';
11
+ import * as CompLayerRouterClient from 'z-abs-complayer-router-client/client/react-component/router-context';
12
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/components/not-found';
13
+ import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/react-component/react-component-store';
14
+ import * as React from 'react';
16
15
 
17
16
 
18
- export default class MiddleDocumentationView extends ReactComponentStore {
17
+ export class MiddleDocumentationView extends CoreLayerClient.ReactComponentStore {
19
18
  constructor(props) {
20
- super(props, [props.documentationStore, StyleStore], {
19
+ super(props, [props.documentationStore.getInstance(), CompLayerMarkupClient.StyleStore.getInstance()], {
21
20
  autoScroll: true,
22
21
  breaks: false,
23
22
  whiteSpaceClass: 'no_word_wrap'
@@ -30,8 +29,8 @@ export default class MiddleDocumentationView extends ReactComponentStore {
30
29
  this.refPreviewDiv = React.createRef();
31
30
  this.refPreviewComponentDocument = React.createRef();
32
31
  this.refMarkupComponentMarkedTextarea = React.createRef();
33
- this.scrollData = new ScrollData();
34
- this.documentationStoreName = props.documentationStore.constructor.name;
32
+ this.scrollData = new CompLayerMarkupClient.ScrollData();
33
+ this.documentationStoreName = props.documentationStore.name;
35
34
  this.scrollGuard = false;
36
35
  this.topGuard = false;
37
36
  }
@@ -43,7 +42,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
43
42
  didMount() {
44
43
  window.addEventListener('keydown', this.boundKeyDown, true);
45
44
  window.addEventListener('keyup', this.boundKeyUp, true);
46
- this.dispatch(this.props.documentationStore, new ActionDocumentationCurrentPage(this._getDocumentName(this.props._uriPath)));
45
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationCurrentPage(this._getDocumentName(this.props._uriPath)));
47
46
  }
48
47
 
49
48
  shouldUpdate(nextProps, nextState) {
@@ -119,7 +118,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
119
118
  if(!this.shallowCompare(this.props._uriPath, prevProps._uriPath)) {
120
119
  const documentName = this._getDocumentName(this.props._uriPath)
121
120
  if(this._documentationStore(this.state).currentDocumentName !== documentName) {
122
- this.dispatch(this.props.documentationStore, new ActionDocumentationCurrentPage(documentName));
121
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationCurrentPage(documentName));
123
122
  }
124
123
  }
125
124
  }
@@ -128,10 +127,10 @@ export default class MiddleDocumentationView extends ReactComponentStore {
128
127
  window.removeEventListener('keyup', this.boundKeyUp, true);
129
128
  window.removeEventListener('keydown', this.boundKeyDown, true);
130
129
  if(this._documentationStore(this.state).markup.definition) {
131
- this.dispatch(this.props.documentationStore, new ActionDocumentationMarkupCancel());
130
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationMarkupCancel());
132
131
  }
133
132
  if(this._documentationStore(this.state).localNoteMarkup.definition) {
134
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteMarkupCancel());
133
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteMarkupCancel());
135
134
  }
136
135
  }
137
136
 
@@ -168,9 +167,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
168
167
  <div className="markup_heading">
169
168
  <h5 className="markup_heading">Markup - Navigation</h5>
170
169
  </div>
171
- <ComponentMarkedTextarea id="documentation_navigation_markup_textarea" className={this.state.whiteSpaceClass + ' form-control test_case_definition doc_same_size_as_parent'} rows="10" value={this._documentationStore(this.state).markup.navigation.content} results={this._documentationStore(this.state).markup.navigation.rows}
170
+ <CompLayerBootstrapClient.MarkedTextarea id="documentation_navigation_markup_textarea" className={this.state.whiteSpaceClass + ' form-control test_case_definition doc_same_size_as_parent'} rows="10" value={this._documentationStore(this.state).markup.navigation.content} results={this._documentationStore(this.state).markup.navigation.rows}
172
171
  onChange={(value) => {
173
- this.dispatch(this.props.documentationStore, new ActionDocumentationMarkupNavigationChange(value));
172
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationMarkupNavigationChange(value));
174
173
  }}
175
174
  />
176
175
  </div>
@@ -194,7 +193,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
194
193
  renderDocumentMarkupScrollFirstLine() {
195
194
  const disabled = !this.state.autoScroll;
196
195
  return (
197
- <ButtonNew id="markup_documentation_first_line" colorMark="markup_color" icon="icon-line-first" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="First line" disabled={disabled} sticky
196
+ <CompLayerBootstrapClient.ButtonNew id="markup_documentation_first_line" colorMark="markup_color" icon="icon-line-first" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="First line" disabled={disabled} sticky
198
197
  onClick={(e) => {
199
198
  this.scrollData.setLineFirst();
200
199
  this.refPreviewComponentDocument.current.scroll(this.scrollData);
@@ -207,7 +206,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
207
206
  renderDocumentMarkupScrollPreviousBlock() {
208
207
  const disabled = !this.state.autoScroll;
209
208
  return (
210
- <ButtonNew id="markup_documentation_previous_block" colorMark="markup_color" icon="icon-line-previous-block" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Previous block" disabled={disabled} sticky
209
+ <CompLayerBootstrapClient.ButtonNew id="markup_documentation_previous_block" colorMark="markup_color" icon="icon-line-previous-block" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Previous block" disabled={disabled} sticky
211
210
  onClick={(e) => {
212
211
  this.refPreviewComponentDocument.current.calculateObject(this.scrollData, 'previous_block');
213
212
  this.refPreviewComponentDocument.current.scroll(this.scrollData);
@@ -220,7 +219,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
220
219
  renderDocumentMarkupScrollPreviousLine() {
221
220
  const disabled = !this.state.autoScroll;
222
221
  return (
223
- <ButtonNew id="markup_documentation_previous_line" colorMark="markup_color" icon="icon-line-previous-line" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Previous line" disabled={disabled} sticky
222
+ <CompLayerBootstrapClient.ButtonNew id="markup_documentation_previous_line" colorMark="markup_color" icon="icon-line-previous-line" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Previous line" disabled={disabled} sticky
224
223
  onClick={(e) => {
225
224
  this.scrollData.decrement();
226
225
  this.refPreviewComponentDocument.current.scroll(this.scrollData);
@@ -233,7 +232,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
233
232
  renderDocumentMarkupScrollNextLine() {
234
233
  const disabled = !this.state.autoScroll;
235
234
  return (
236
- <ButtonNew id="markup_documentation_next_line" colorMark="markup_color" icon="icon-line-next-line" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Next line" disabled={disabled} sticky
235
+ <CompLayerBootstrapClient.ButtonNew id="markup_documentation_next_line" colorMark="markup_color" icon="icon-line-next-line" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Next line" disabled={disabled} sticky
237
236
  onClick={(e) => {
238
237
  this.scrollData.increment();
239
238
  this.refPreviewComponentDocument.current.scroll(this.scrollData);
@@ -246,7 +245,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
246
245
  renderDocumentMarkupScrollNextBlock() {
247
246
  const disabled = !this.state.autoScroll;
248
247
  return (
249
- <ButtonNew id="markup_documentation_next_block" colorMark="markup_color" icon="icon-line-next-block" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Next block" disabled={disabled} sticky
248
+ <CompLayerBootstrapClient.ButtonNew id="markup_documentation_next_block" colorMark="markup_color" icon="icon-line-next-block" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="Next block" disabled={disabled} sticky
250
249
  onClick={(e) => {
251
250
  this.refPreviewComponentDocument.current.calculateObject(this.scrollData, 'next_block');
252
251
  this.refPreviewComponentDocument.current.scroll(this.scrollData);
@@ -259,7 +258,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
259
258
  renderDocumentMarkupScrollEndLine() {
260
259
  const disabled = !this.state.autoScroll;
261
260
  return (
262
- <ButtonNew id="markup_documentation_last_line" colorMark="markup_color" icon="icon-line-last" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="End line" disabled={disabled} sticky
261
+ <CompLayerBootstrapClient.ButtonNew id="markup_documentation_last_line" colorMark="markup_color" icon="icon-line-last" size="aj_btn_xs" type="transparent" placement="bottom" heading="Goto" content="End line" disabled={disabled} sticky
263
262
  onClick={(e) => {
264
263
  this.scrollData.setLineLast();
265
264
  this.refPreviewComponentDocument.current.scroll(this.scrollData);
@@ -319,7 +318,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
319
318
  {this.renderDocumentMarkupScrollEndLine()}
320
319
  </div>
321
320
  </div>
322
- <ComponentMarkedTextarea id="documentation_navigation_marked_textarea" ref={this.refMarkupComponentMarkedTextarea} className={this.state.whiteSpaceClass + " form-control test_case_definition doc_same_size_as_parent"} value={this._documentationStore(this.state).markup.document.content}
321
+ <CompLayerBootstrapClient.MarkedTextarea id="documentation_navigation_marked_textarea" ref={this.refMarkupComponentMarkedTextarea} className={this.state.whiteSpaceClass + " form-control test_case_definition doc_same_size_as_parent"} value={this._documentationStore(this.state).markup.document.content}
323
322
  onScroll={(e) => {
324
323
  const lines = this._documentationStore(this.state).markup.document.contentLines;
325
324
  const scrollLines = (e.target.scrollHeight - e.target.clientHeight) / e.target.scrollHeight * lines;
@@ -331,7 +330,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
331
330
  }
332
331
  }}
333
332
  onChange={(value, rows) => {
334
- this.dispatch(this.props.documentationStore, new ActionDocumentationMarkupDocumentChange(value));
333
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationMarkupDocumentChange(value));
335
334
  }}
336
335
  />
337
336
 
@@ -362,7 +361,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
362
361
  }
363
362
  }}
364
363
  >
365
- <ComponentDocument noediting={this.props.noediting} ref={this.refPreviewComponentDocument} preview document={storeState.document} embededDocuments={storeState.embededDocuments} localNotes={storeState.localNotes} linkReferences={this._documentationStore(this.state).linkReferences}
364
+ <CompLayerMarkupClient.ComponentDocument noediting={this.props.noediting} ref={this.refPreviewComponentDocument} preview document={storeState.document} embededDocuments={storeState.embededDocuments} localNotes={storeState.localNotes} linkReferences={this._documentationStore(this.state).linkReferences}
366
365
  onEditorScroll={(top) => {
367
366
  this.refPreviewDiv.current.scrollTop = top;
368
367
  }}
@@ -400,9 +399,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
400
399
  }}
401
400
  />
402
401
  </div>
403
- <ComponentMarkedTextarea id="documentation_navigation_local_note_markup_textarea" className={this.state.whiteSpaceClass + ' form-control test_case_definition doc_same_size_as_parent'} rows="10" value={this._documentationStore(this.state).localNoteMarkup.document.content}
402
+ <CompLayerBootstrapClient.MarkedTextarea id="documentation_navigation_local_note_markup_textarea" className={this.state.whiteSpaceClass + ' form-control test_case_definition doc_same_size_as_parent'} rows="10" value={this._documentationStore(this.state).localNoteMarkup.document.content}
404
403
  onChange={(value) => {
405
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteMarkupChange(value));
404
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteMarkupChange(value));
406
405
  }}
407
406
  />
408
407
  </div>
@@ -433,7 +432,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
433
432
  }*/
434
433
  }}
435
434
  >
436
- <ComponentDocument noediting={this.props.noediting} preview document={storeState.document} linkReferences={this._documentationStore(this.state).linkReferences}
435
+ <CompLayerMarkupClient.ComponentDocument noediting={this.props.noediting} preview document={storeState.document} linkReferences={this._documentationStore(this.state).linkReferences}
437
436
  onEditorScroll={(top) => {
438
437
  // this.refPreviewDiv.current.scrollTop = top;
439
438
  }}
@@ -454,15 +453,15 @@ export default class MiddleDocumentationView extends ReactComponentStore {
454
453
  return (
455
454
  <>
456
455
  <div id="topOfPage" />
457
- <ComponentDocument noediting={this.props.noediting} ref={this.refDocumentComponentDocument} document={storeState.document} embededDocuments={storeState.embededDocuments} localNotes={storeState.localNotes} linkReferences={this._documentationStore(this.state).linkReferences}
456
+ <CompLayerMarkupClient.ComponentDocument noediting={this.props.noediting} ref={this.refDocumentComponentDocument} document={storeState.document} embededDocuments={storeState.embededDocuments} localNotes={storeState.localNotes} linkReferences={this._documentationStore(this.state).linkReferences}
458
457
  onAddNote={(guid) => {
459
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteMarkup(guid));
458
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteMarkup(guid));
460
459
  }}
461
460
  onEditNote={(guid) => {
462
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteMarkup(guid));
461
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteMarkup(guid));
463
462
  }}
464
463
  onDeleteNote={(guid) => {
465
- this.dispatch(this.props.documentationStore, new ActionDocumentationLocalNoteDelete(guid));
464
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationLocalNoteDelete(guid));
466
465
  }}
467
466
  onEditorScroll={(top) => {
468
467
  this.refDocumentDiv.current.scrollTop = top;
@@ -474,7 +473,7 @@ export default class MiddleDocumentationView extends ReactComponentStore {
474
473
  }
475
474
  else {
476
475
  return (
477
- <NotFound />
476
+ <CoreLayerClient.NotFound />
478
477
  );
479
478
  }
480
479
  }
@@ -482,9 +481,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
482
481
  renderFirstDocument() {
483
482
  const disabled = false;
484
483
  return (
485
- <ButtonNew id="documentation_first_document" colorMark="markup_color" icon="icon-line-first" size="aj_btn_xs" className="documentation_first_document" type="transparent" placement="bottom" heading="Goto" content="First Document" disabled={disabled} sticky
484
+ <CompLayerBootstrapClient.ButtonNew id="documentation_first_document" colorMark="markup_color" icon="icon-line-first" size="aj_btn_xs" className="documentation_first_document" type="transparent" placement="bottom" heading="Goto" content="First Document" disabled={disabled} sticky
486
485
  onClick={(e) => {
487
- this.dispatch(this.props.documentationStore, new ActionDocumentationGotoPage('first'));
486
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationGotoPage('first'));
488
487
  }}
489
488
  />
490
489
  );
@@ -493,9 +492,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
493
492
  renderPreviousDocument() {
494
493
  const disabled = false;
495
494
  return (
496
- <ButtonNew id="documentation_previous_document" colorMark="markup_color" icon="icon-line-previous-line" size="aj_btn_xs" className="documentation_previous_document" type="transparent" placement="bottom" heading="Goto" content="Previous Document" disabled={disabled} sticky
495
+ <CompLayerBootstrapClient.ButtonNew id="documentation_previous_document" colorMark="markup_color" icon="icon-line-previous-line" size="aj_btn_xs" className="documentation_previous_document" type="transparent" placement="bottom" heading="Goto" content="Previous Document" disabled={disabled} sticky
497
496
  onClick={(e) => {
498
- this.dispatch(this.props.documentationStore, new ActionDocumentationGotoPage('previous'));
497
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationGotoPage('previous'));
499
498
  }}
500
499
  />
501
500
  );
@@ -504,9 +503,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
504
503
  renderPreviousSection() {
505
504
  const disabled = false;
506
505
  return (
507
- <ButtonNew id="documentation_next_document" colorMark="markup_color" icon="icon-line-previous-block" size="aj_btn_xs" className="documentation_previous_document" type="transparent" placement="bottom" heading="Goto" content="Previous Section Document" disabled={disabled} sticky
506
+ <CompLayerBootstrapClient.ButtonNew id="documentation_next_document" colorMark="markup_color" icon="icon-line-previous-block" size="aj_btn_xs" className="documentation_previous_document" type="transparent" placement="bottom" heading="Goto" content="Previous Section Document" disabled={disabled} sticky
508
507
  onClick={(e) => {
509
- this.dispatch(this.props.documentationStore, new ActionDocumentationGotoPage('previous-section'));
508
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationGotoPage('previous-section'));
510
509
  }}
511
510
  />
512
511
  );
@@ -515,9 +514,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
515
514
  renderNextDocument() {
516
515
  const disabled = false;
517
516
  return (
518
- <ButtonNew id="documentation_next_document" colorMark="markup_color" icon="icon-line-next-line" size="aj_btn_xs" className="documentation_next_document" type="transparent" placement="bottom" heading="Goto" content="Next Document" disabled={disabled} sticky
517
+ <CompLayerBootstrapClient.ButtonNew id="documentation_next_document" colorMark="markup_color" icon="icon-line-next-line" size="aj_btn_xs" className="documentation_next_document" type="transparent" placement="bottom" heading="Goto" content="Next Document" disabled={disabled} sticky
519
518
  onClick={(e) => {
520
- this.dispatch(this.props.documentationStore, new ActionDocumentationGotoPage('next'));
519
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationGotoPage('next'));
521
520
  }}
522
521
  />
523
522
  );
@@ -526,9 +525,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
526
525
  renderNextSection() {
527
526
  const disabled = false;
528
527
  return (
529
- <ButtonNew id="documentation_next_section_document" colorMark="markup_color" icon="icon-line-next-block" size="aj_btn_xs" className="documentation_next_document" type="transparent" placement="bottom" heading="Goto" content="Next Section Document" disabled={disabled} sticky
528
+ <CompLayerBootstrapClient.ButtonNew id="documentation_next_section_document" colorMark="markup_color" icon="icon-line-next-block" size="aj_btn_xs" className="documentation_next_document" type="transparent" placement="bottom" heading="Goto" content="Next Section Document" disabled={disabled} sticky
530
529
  onClick={(e) => {
531
- this.dispatch(this.props.documentationStore, new ActionDocumentationGotoPage('next-section'));
530
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationGotoPage('next-section'));
532
531
  }}
533
532
  />
534
533
  );
@@ -537,9 +536,9 @@ export default class MiddleDocumentationView extends ReactComponentStore {
537
536
  renderLastDocument() {
538
537
  const disabled = false;
539
538
  return (
540
- <ButtonNew id="documentation_last_document" colorMark="markup_color" icon="icon-line-last" size="aj_btn_xs" className="documentation_last_document" type="transparent" placement="bottom" heading="Goto" content="Last Document" disabled={disabled} sticky
539
+ <CompLayerBootstrapClient.ButtonNew id="documentation_last_document" colorMark="markup_color" icon="icon-line-last" size="aj_btn_xs" className="documentation_last_document" type="transparent" placement="bottom" heading="Goto" content="Last Document" disabled={disabled} sticky
541
540
  onClick={(e) => {
542
- this.dispatch(this.props.documentationStore, new ActionDocumentationGotoPage('last'));
541
+ this.dispatch(this.props.documentationStore.getInstance(), new ActionDocumentationGotoPage('last'));
543
542
  }}
544
543
  />
545
544
  );
@@ -619,4 +618,4 @@ export default class MiddleDocumentationView extends ReactComponentStore {
619
618
  }
620
619
 
621
620
 
622
- MiddleDocumentationView.contextType = RouterContext;
621
+ MiddleDocumentationView.contextType = CompLayerRouterClient.RouterContext;
@@ -1,14 +1,14 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- import MiddleDocumentationToolbar from './middle-documentation-toolbar';
5
- import MiddleDocumentationView from './middle-documentation-view';
6
- import Route from 'z-abs-complayer-router-client/client/react-component/route';
7
- import ReactComponentBase from 'z-abs-corelayer-client/client/react-component/react-component-base';
8
- import React from 'react';
4
+ import { MiddleDocumentationToolbar } from './middle-documentation-toolbar';
5
+ import { MiddleDocumentationView } from './middle-documentation-view';
6
+ import * as CompLayerRouterClient from 'z-abs-complayer-router-client/client/react-component/route';
7
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/react-component/react-component-base';
8
+ import * as React from 'react';
9
9
 
10
10
 
11
- export default class MiddleDocumentation extends ReactComponentBase {
11
+ export class MiddleDocumentation extends CoreLayerClient.ReactComponentBase {
12
12
  constructor(props) {
13
13
  super(props, {
14
14
  showNavigationMarkup: false,
@@ -79,7 +79,7 @@ export default class MiddleDocumentation extends ReactComponentBase {
79
79
  <div className="documentation_view_middle">
80
80
  {this.renderToolbar()}
81
81
  {this.renderSidebar()}
82
- <Route switch="*" catchClick location={this.props.location} handler={MiddleDocumentationView} className={`documentation_view_middle_view${undefined !== this.props.sidebar ? ' documentation_view_middle_view_with_sidebar' : ''}${this.props.noediting ? '' : ' documentation_view_middle_view_with_toolbar'}`} noediting={this.props.noediting} documentationStore={this.props.documentationStore} titleText={this.props.titleText} showNavigationMarkup={this.state.showNavigationMarkup} showDocumentationMarkup={this.state.showDocumentationMarkup} showDocumentationPreview={this.state.showDocumentationPreview} showNavigationPreview={this.state.showNavigationPreview} documentationOrder={this.state.documentationOrder} />
82
+ <CompLayerRouterClient.Route switch="*" catchClick location={this.props.location} handler={MiddleDocumentationView} className={`documentation_view_middle_view${undefined !== this.props.sidebar ? ' documentation_view_middle_view_with_sidebar' : ''}${this.props.noediting ? '' : ' documentation_view_middle_view_with_toolbar'}`} noediting={this.props.noediting} documentationStore={this.props.documentationStore} titleText={this.props.titleText} showNavigationMarkup={this.state.showNavigationMarkup} showDocumentationMarkup={this.state.showDocumentationMarkup} showDocumentationPreview={this.state.showDocumentationPreview} showNavigationPreview={this.state.showNavigationPreview} documentationOrder={this.state.documentationOrder} />
83
83
  </div>
84
84
  );
85
85
  }
@@ -1,13 +1,13 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
  import { DataActionDocumentationReferencesGet, DataActionDocumentationGet, DataActionDocumentationAdd, DataActionDocumentationUpdate, DataActionDocumentationNavigationsUpdate, DataActionDocumentationLocalNoteGet, DataActionDocumentationLocalNotesAndEmbededGet, DataActionDocumentationLocalNoteAdd, DataActionDocumentationLocalNoteUpdate, DataActionDocumentationLocalNoteDelete } from '../actions/data-action-documentation';
5
- import MarkupDocumentationPage from 'z-abs-complayer-markup-client/client/markup/markup-documentation/markup-documentation-page';
6
- import MarkupDocumentationNavigation from 'z-abs-complayer-markup-client/client/markup/markup-documentation/markup-documentation-navigation';
7
- import StoreBaseData from 'z-abs-corelayer-client/client/store/store-base-data';
5
+ import * as CompLayerMarkupClient from 'z-abs-complayer-markup-client/client/markup/markup-documentation/markup-documentation-page';
6
+ import * as CompLayerMarkupClient1 from 'z-abs-complayer-markup-client/client/markup/markup-documentation/markup-documentation-navigation';
7
+ import * as CoreLayerClient from 'z-abs-corelayer-client/client/store/store-base-data';
8
8
 
9
9
 
10
- class DocumentationStoreBase extends StoreBaseData {
10
+ export class DocumentationStoreBase extends CoreLayerClient.StoreBaseData {
11
11
  constructor(documentationGroup, appName, repo) {
12
12
  super({
13
13
  markup: {
@@ -184,8 +184,8 @@ class DocumentationStoreBase extends StoreBaseData {
184
184
  }
185
185
 
186
186
  onActionDocumentationMarkup(action) {
187
- const markupNavigation = MarkupDocumentationNavigation.stringify(this.state.documentation.navigations, this.state.currentDocumentName);
188
- const markupDocument = MarkupDocumentationPage.stringify(this.state.documentation.document);
187
+ const markupNavigation = CompLayerMarkupClient.MarkupDocumentationNavigation.stringify(this.state.documentation.navigations, this.state.currentDocumentName);
188
+ const markupDocument = CompLayerMarkupClient.MarkupDocumentationPage.stringify(this.state.documentation.document);
189
189
  this.updateState({markup: {definition: {$set: true}}});
190
190
  this.updateState({markup: {navigation: {content: {$set: markupNavigation}}}});
191
191
  this.updateState({markup: {navigation: {contentOriginal: {$set: markupNavigation}}}});
@@ -199,7 +199,7 @@ class DocumentationStoreBase extends StoreBaseData {
199
199
  }
200
200
 
201
201
  onActionDocumentationMarkupNavigationChange(action) {
202
- const result = MarkupDocumentationNavigation.parse(action.markup);
202
+ const result = CompLayerMarkupClient.MarkupDocumentationNavigation.parse(action.markup);
203
203
  this.updateState({markup: {navigation: {rows: {$set: result.rows}}}});
204
204
  if(result.success) {
205
205
  this.updateState({markup: {navigation: {content: {$set: action.markup}}}});
@@ -210,14 +210,14 @@ class DocumentationStoreBase extends StoreBaseData {
210
210
  onActionDocumentationMarkupDocumentChange(action) {
211
211
  this.updateState({markup: {document: {content: {$set: action.markup}}}});
212
212
  this.updateState({markup: {document: {contentLines: {$set: action.markup.split('\n').length}}}});
213
- const document = MarkupDocumentationPage.parse(action.markup);
213
+ const document = CompLayerMarkupClient.MarkupDocumentationPage.parse(action.markup);
214
214
  this.updateState({documentationPreview: {document: {$set: document}}});
215
215
  this._getInternalDocumentationData(document, this.state.documentationPreview.embededDocuments, true);
216
216
  }
217
217
 
218
218
  onActionDocumentationMarkupSave(action) {
219
219
  if(this.state.markup.navigation.contentOriginal !== this.state.markup.navigation.content && undefined === this.state.markup.navigation.rows) {
220
- const result = MarkupDocumentationNavigation.parse(this.state.markup.navigation.content);
220
+ const result = CompLayerMarkupClient.MarkupDocumentationNavigation.parse(this.state.markup.navigation.content);
221
221
  this.sendDataAction(new DataActionDocumentationNavigationsUpdate(this.repo, this.appName, this.documentationGroup, result.navigations));
222
222
  }
223
223
  if(this.state.documentation.documentCreated) {
@@ -241,7 +241,7 @@ class DocumentationStoreBase extends StoreBaseData {
241
241
  }
242
242
 
243
243
  onActionDocumentationLocalNoteMarkup(action) {
244
- const markupLocalNote = MarkupDocumentationPage.stringify(this.state.documentation.localNotes.get(action.guid).document);
244
+ const markupLocalNote = CompLayerMarkupClient.MarkupDocumentationPage.stringify(this.state.documentation.localNotes.get(action.guid).document);
245
245
  this.updateState({localNoteMarkup: {definition: {$set: true}}});
246
246
  this.updateState({localNoteMarkup: {document: {content: {$set: markupLocalNote}}}});
247
247
  this.updateState({localNoteMarkup: {document: {contentOriginal: {$set: markupLocalNote}}}});
@@ -252,7 +252,7 @@ class DocumentationStoreBase extends StoreBaseData {
252
252
  onActionDocumentationLocalNoteMarkupChange(action) {
253
253
  this.updateState({localNoteMarkup: {document: {content: {$set: action.markup}}}});
254
254
  this.updateState({localNoteMarkup: {document: {contentLines: {$set: action.markup.split('\n').length}}}});
255
- const document = MarkupDocumentationPage.parse(action.markup);
255
+ const document = CompLayerMarkupClient.MarkupDocumentationPage.parse(action.markup);
256
256
  this.updateState({localNotePreview: {document: {$set: document}}});
257
257
  }
258
258
 
@@ -293,7 +293,7 @@ class DocumentationStoreBase extends StoreBaseData {
293
293
  const response = action.getResponse();
294
294
  if(response.isSuccess()) {
295
295
  if(!action.embed) {
296
- const document = MarkupDocumentationPage.parse(response.data[1]);
296
+ const document = CompLayerMarkupClient.MarkupDocumentationPage.parse(response.data[1]);
297
297
  this.updateState({documentation: {navigations: {$set: response.data[0]}}});
298
298
  this.updateState({documentation: {document: {$set: document}}});
299
299
  this.updateState({documentation: {contentLines: {$set: response.data[1].split('\n').length}}});
@@ -343,14 +343,14 @@ class DocumentationStoreBase extends StoreBaseData {
343
343
  if(!action.preview) {
344
344
  this.updateState({documentation: {embededDocuments: (embededDocuments) => {
345
345
  responseDatas.forEach((responseData) => {
346
- embededDocuments.set(documentNames[++index], funcLocalNotes(MarkupDocumentationPage.parse(responseData)));
346
+ embededDocuments.set(documentNames[++index], funcLocalNotes(CompLayerMarkupClient.MarkupDocumentationPage.parse(responseData)));
347
347
  });
348
348
  }}});
349
349
  }
350
350
  else {
351
351
  this.updateState({documentationPreview: {embededDocuments: (embededDocuments) => {
352
352
  responseDatas.forEach((responseData) => {
353
- embededDocuments.set(documentNames[++index], funcLocalNotes(MarkupDocumentationPage.parse(responseData)));
353
+ embededDocuments.set(documentNames[++index], funcLocalNotes(CompLayerMarkupClient.MarkupDocumentationPage.parse(responseData)));
354
354
  });
355
355
  }}});
356
356
  }
@@ -393,7 +393,7 @@ class DocumentationStoreBase extends StoreBaseData {
393
393
  this.updateState({documentation: {localNotes: (localNotes) => {
394
394
  responseDatas.forEach((responseData) => {
395
395
  localNotes.set(responseData.guid, {
396
- document: MarkupDocumentationPage.parse(responseData.document),
396
+ document: CompLayerMarkupClient.MarkupDocumentationPage.parse(responseData.document),
397
397
  created: responseData.created
398
398
  });
399
399
  });
@@ -403,7 +403,7 @@ class DocumentationStoreBase extends StoreBaseData {
403
403
  this.updateState({documentationPreview: {localNotes: (localNotes) => {
404
404
  responseDatas.forEach((responseData) => {
405
405
  localNotes.set(responseData.guid, {
406
- document: MarkupDocumentationPage.parse(responseData.document),
406
+ document: CompLayerMarkupClient.MarkupDocumentationPage.parse(responseData.document),
407
407
  created: responseData.created
408
408
  });
409
409
  });
@@ -478,6 +478,3 @@ class DocumentationStoreBase extends StoreBaseData {
478
478
  this.sendDataAction(new DataActionDocumentationLocalNotesAndEmbededGet(localNoteGuids, this.state.currentDocumentName, preview, this.repo, this.appName, this.documentationGroup, documents, true, preview));
479
479
  }
480
480
  }
481
-
482
-
483
- module.exports = DocumentationStoreBase;
package/LICENSE.txt DELETED
@@ -1,96 +0,0 @@
1
-
2
- LICENSE AGREEMENT
3
-
4
- Effective: 1st of November 2020
5
- This License Agreement is between Licensee and Hagnell Konsulting AB (a company incorporated in Sweden with
6
- company registration number: 559476-0570) (“Hagnell Konsulting”) and governs the use by Licensee of ActorJs
7
- (as defined below).
8
- By installing the Software (as defined below), Licensee agrees to be bound by the terms of this License Agreement.
9
-
10
- DEFENITIONS
11
- ActorJs The test tool developed by Hagnell Konsulting, utilizing the Patent and the Software.
12
- Derivative Works Any work, whether in source or object code, which is based on the Software and which
13
- does not constitute a new and independent work pursuant to paragraph 2 of article 4 of
14
- the Swedish Act (1960:729) on Copyright in Literary and Artistic Works.
15
- Documentation The manuals and instruction materials furnished by Hagnell Konsulting in connection
16
- with ActorJs.
17
- Licensee The physical or legal person to which the License hereunder has been granted by
18
- Hagnell Konsulting.
19
- Patent The patent application for a system and method for testing of systems under test, patent
20
- application number:19218798.7 (European Patent Office).
21
- Software The software developed and owned by Hagnell Konsulting, identified as ActorJs.
22
-
23
- § 1 - LICENSE
24
- Licensee is hereby granted a limited, non-exclusive and non-transferable license to use ActorJs (including any
25
- Derivative Works created by Licensee hereunder) (the “License”). The License is granted subject to the terms and
26
- conditions set forth below.
27
- The Software is licensed to Licensee on an open source basis. The License includes the right to create Derivative
28
- Works pursuant to sub-clause 3 below.
29
- ActorJs may be used only by Licensee himself/herself/itself, or (if, for instance, Licensee is a company), by the
30
- employees and consultants of Licensee.
31
- The License does not include any updates to the Software, or any support services. Notwithstanding the foregoing,
32
- should Hagnell Konsulting furnish any updates to Licensee, such updates shall be subject to the License granted hereunder.
33
- As regards the Documentation provided by Hagnell Konsulting, Licensee may use this Documentation for the purpose of
34
- the License hereunder (only). Licensee shall not be entitled to distribute copies of the Documentation, or electronically
35
- communicate the Documentation, to recipients who are not employees or consultants of Licensee.
36
-
37
- § 2 - LICENSE RESTRICTIONS
38
- Licensee may not:
39
- i) Rent, lease, lend, sell, distribute, transfer or otherwise make available ActorJs (and/or a Derivative Work)
40
- (whether for value or otherwise) to third parties without Hagnell Konsulting´s written approval. Any such approval
41
- will be subject to the third party acknowledging in writing (vis-à-vis Hagnell Konsulting) that its use of ActorJs
42
- (and/or the Derivative Work) shall be subject to the terms and conditions of this Agreement.
43
-
44
- ii) Distribute copies of the Software (and/or a Derivate Work), or electronically communicate the Software
45
- (and/or a Derivative Work), to recipients who are not employees or consultants of Licensee.
46
-
47
- § 3 – DERITATIVE WORKS
48
- Should Licensee, or (if applicable) any of its employees or consultants, create a Derivative Work, Licensee shall
49
- inform Hagnell Konsulting thereof in writing (an e-mail shall be sufficient). Licensee may use the Derivative Work to the
50
- same extent as it may use the Software hereunder, but Hagnell Konsulting shall be the sole and exclusive owner of any
51
- and all rights in the Derivative Work, including the copyright. At the request of Hagnell Konsulting, Licensee and
52
- Hagnell Konsulting shall formalize the rights transfer in a written contract, which shall, inter alia, confirm that all rights
53
- in the Derivative Work have been irrevocably transferred to Hagnell Konsulting, that Hagnell Konsulting is be entitled to
54
- exploit the Derivative Work without limitation in time or any other kind of limitation, that Hagnell Konsulting may transfer
55
- its rights to the Derivative Work to third parties and that the rights transfer from Licensee to Hagnell Konsulting shall be
56
- free of charge.
57
-
58
- § 4 – IMPROVEMENTS TO THE PATENT
59
- Any improvement to the Patent, whether patentable or not, which Licensee, or (if applicable) any of its employees or
60
- consultants, may discover, create or develop or otherwise have at its disposal, directly or indirectly, without restraints
61
- as to the use thereof (“Improvements”), shall be disclosed promptly to Hagnell Konsulting and Hagnell Konsulting shall
62
- have the exclusive right of perpetual duration to use the Improvements as well as to grant the use thereof to other licensees
63
- in the whole world without compensation to Licensee, except that Licensee shall during the life of this Agreement have
64
- the non-exclusive right to use such Improvements including corresponding patents, if any, in accordance with the
65
- provisions of this Agreement. If Licensee decides not to apply for a patent relating to an Improvement made by
66
- Licensee or if Licensee no longer wishes to maintain such a patent or patent application then Hagnell Konsulting may in its
67
- sole discretion and at its own expense apply for such a patent or maintain such a patent or patent application (as the
68
- case may be).
69
-
70
- § 5 - COPYRIGHT AND INTELLECTUAL PROPERTY RIGHTS
71
- The Software, the Patent and the Documentation are protected by copyright and patent laws and international
72
- copyright and patent treaties, as well other intellectual property laws and treaties. Any such intellectual property
73
- rights are owned and especially reserved by Hagnell Konsulting, without limitation. For the avoidance of doubt, no
74
- ownership rights are transferred to Licensee hereunder.
75
- “ActorJs” is a registered trademark of Hagnell Konsulting. This Agreement does not include a license to use the
76
- trademark “ActorJs”.
77
-
78
- § 6 - LIMITITATION ON LIABILITY
79
- ActorJs is licensed to Licensee “as is”. Hagnell Konsulting gives no guarantees as regards the use, functionality
80
- or performance of ActorJs and assumes no liability (whatsoever) as regards any defaults in ActorJs or any possible
81
- infringements on third party statutory or contractual rights. Hagnell Konsulting expressly disclaims any and all warranties
82
- not expressly given in this Agreement, including any implied warranties of merchantability, satisfactory quality, fitness
83
- for a particular purpose, title and non-infringement. Thus, the entire risk arising out of any use of ActorJs hereunder
84
- remains with Licensee.
85
- The limitation of liability hereunder shall be to the maximum extent permitted by applicable law. Under no
86
- circumstances shall Hagnell Konsulting be liable for any cost of substitute products or services, for any indirect losses or
87
- for any consequential damages (including any loss of profits, interruptions or loss of business information).
88
-
89
- § 7 - MISCELLANEOUS
90
- Licensee may not, either wholly or partly, assign or pledge its rights or obligations under this Agreement to any third
91
- party without the prior written consent of Hagnell Konsulting.
92
-
93
- § 8 - DISPUTES
94
- This agreement shall be governed by Swedish law. Any dispute, controversy or claim arising out of or in connection
95
- with this contract, or the breach, termination or invalidity thereof, shall be settled by the general courts of Sweden,
96
- with the district court of Stockholm in the first instance.