@aj-shadow/z-abs-complayer-markup-client 0.0.0-aj-beta.221

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 (208) hide show
  1. package/.gitattributes +26 -0
  2. package/LICENSE.txt +96 -0
  3. package/README.md +5 -0
  4. package/npm-shrinkwrap.json +13 -0
  5. package/package.json +10 -0
  6. package/project/client/_build/Bundle-CompLayer-Markup-client.bld +40 -0
  7. package/project/client/_build/Client-CompLayer-Markup-client-jsx.bld +10 -0
  8. package/project/client/_build/Client-CompLayer-Markup-client.bld +10 -0
  9. package/project/client/_build/Client-css-CompLayer-Markup-bundle.bld +9 -0
  10. package/project/client/_build/z-abs-complayer-markup-client.prj +36 -0
  11. package/project/client/actions/action-style.js +17 -0
  12. package/project/client/actions/data-action-style.js +13 -0
  13. package/project/client/css/markup_addressing.css +30 -0
  14. package/project/client/css/markup_flowchart.css +53 -0
  15. package/project/client/css/markup_general.css +4 -0
  16. package/project/client/css/markup_image.css +10 -0
  17. package/project/client/css/markup_license.css +107 -0
  18. package/project/client/css/markup_login.css +201 -0
  19. package/project/client/css/markup_node_diagram.css +51 -0
  20. package/project/client/css/markup_sequence_diagram.css +6 -0
  21. package/project/client/css/markup_state.css +5 -0
  22. package/project/client/css/markup_table.css +57 -0
  23. package/project/client/css/markup_tc.css +32 -0
  24. package/project/client/css/markup_ts.css +36 -0
  25. package/project/client/data/addresses/data-addresses-client-address-global.js +20 -0
  26. package/project/client/data/addresses/data-addresses-client-address-local.js +20 -0
  27. package/project/client/data/addresses/data-addresses-client-interface-global.js +17 -0
  28. package/project/client/data/addresses/data-addresses-client-interface-local.js +17 -0
  29. package/project/client/data/addresses/data-addresses-dns-global.js +18 -0
  30. package/project/client/data/addresses/data-addresses-dns-local.js +19 -0
  31. package/project/client/data/addresses/data-addresses-dst-global.js +20 -0
  32. package/project/client/data/addresses/data-addresses-dst-local.js +20 -0
  33. package/project/client/data/addresses/data-addresses-network-interface-global.js +17 -0
  34. package/project/client/data/addresses/data-addresses-network-interface-local.js +17 -0
  35. package/project/client/data/addresses/data-addresses-ports-global.js +18 -0
  36. package/project/client/data/addresses/data-addresses-ports-local.js +18 -0
  37. package/project/client/data/addresses/data-addresses-server-address-global.js +20 -0
  38. package/project/client/data/addresses/data-addresses-server-address-local.js +20 -0
  39. package/project/client/data/addresses/data-addresses-server-interface-global.js +17 -0
  40. package/project/client/data/addresses/data-addresses-server-interface-local.js +17 -0
  41. package/project/client/data/addresses/data-addresses-src-global.js +21 -0
  42. package/project/client/data/addresses/data-addresses-src-local.js +21 -0
  43. package/project/client/data/addresses/data-addresses-srv-global.js +20 -0
  44. package/project/client/data/addresses/data-addresses-srv-local.js +20 -0
  45. package/project/client/data/addresses/data-addresses-sut-address-global.js +20 -0
  46. package/project/client/data/addresses/data-addresses-sut-address-local.js +20 -0
  47. package/project/client/data/addresses/data-addresses-sut-interface-global.js +19 -0
  48. package/project/client/data/addresses/data-addresses-sut-interface-local.js +19 -0
  49. package/project/client/data/data-chart/data-chart-axis.js +13 -0
  50. package/project/client/data/data-chart/data-chart-grid.js +14 -0
  51. package/project/client/data/data-chart/data-chart-line/data-chart-line-config.js +17 -0
  52. package/project/client/data/data-chart/data-chart-line/data-chart-line.js +41 -0
  53. package/project/client/data/data-config.js +14 -0
  54. package/project/client/data/data-constructor.js +18 -0
  55. package/project/client/data/data-content/data-content-audio-global.js +18 -0
  56. package/project/client/data/data-content/data-content-audio-local.js +18 -0
  57. package/project/client/data/data-content/data-content-documents-global.js +18 -0
  58. package/project/client/data/data-content/data-content-documents-local.js +18 -0
  59. package/project/client/data/data-content/data-content-image-global.js +21 -0
  60. package/project/client/data/data-content/data-content-image-local.js +21 -0
  61. package/project/client/data/data-content/data-content-other-global.js +20 -0
  62. package/project/client/data/data-content/data-content-other-local.js +20 -0
  63. package/project/client/data/data-content/data-content-text-global.js +20 -0
  64. package/project/client/data/data-content/data-content-text-local.js +20 -0
  65. package/project/client/data/data-content/data-content-video-global.js +20 -0
  66. package/project/client/data/data-content/data-content-video-local.js +20 -0
  67. package/project/client/data/data-data.js +28 -0
  68. package/project/client/data/data-dependencies/data-dependencies.js +17 -0
  69. package/project/client/data/data-documentation/data-documentation-navigation.js +15 -0
  70. package/project/client/data/data-documentation/data-documentation.js +20 -0
  71. package/project/client/data/data-flowchart/data-flowchart-block.js +33 -0
  72. package/project/client/data/data-flowchart/data-flowchart-connection.js +17 -0
  73. package/project/client/data/data-flowchart/data-flowchart.js +30 -0
  74. package/project/client/data/data-html/data-html-anchor.js +12 -0
  75. package/project/client/data/data-html/data-html-br.js +11 -0
  76. package/project/client/data/data-html/data-html-button.js +15 -0
  77. package/project/client/data/data-html/data-html-log-start.js +12 -0
  78. package/project/client/data/data-html/data-html-log-stop.js +13 -0
  79. package/project/client/data/data-html/data-html-log.js +16 -0
  80. package/project/client/data/data-html/data-html-toolbar.js +19 -0
  81. package/project/client/data/data-image/data-image.js +20 -0
  82. package/project/client/data/data-lab/data-lab-interface-client.js +19 -0
  83. package/project/client/data/data-lab/data-lab-interface-server.js +19 -0
  84. package/project/client/data/data-lab/data-lab-interface-sut.js +20 -0
  85. package/project/client/data/data-lab/data-lab-network.js +31 -0
  86. package/project/client/data/data-lab/data-lab.js +21 -0
  87. package/project/client/data/data-licenses/data-licenses.js +16 -0
  88. package/project/client/data/data-node-diagram/data-node-diagram-config.js +21 -0
  89. package/project/client/data/data-node-diagram/data-node-diagram-connection.js +18 -0
  90. package/project/client/data/data-node-diagram/data-node-diagram-group.js +16 -0
  91. package/project/client/data/data-node-diagram/data-node-diagram-node.js +22 -0
  92. package/project/client/data/data-node-diagram/data-node-diagram.js +47 -0
  93. package/project/client/data/data-repos/data-repos-content-local.js +15 -0
  94. package/project/client/data/data-repos/data-repos-data-local.js +15 -0
  95. package/project/client/data/data-sequence-diagram/data-sequence-diagram-config.js +22 -0
  96. package/project/client/data/data-sequence-diagram/data-sequence-diagram-message.js +17 -0
  97. package/project/client/data/data-sequence-diagram/data-sequence-diagram-node.js +11 -0
  98. package/project/client/data/data-sequence-diagram/data-sequence-diagram.js +32 -0
  99. package/project/client/data/data-state-machine/data-state-machine-config.js +17 -0
  100. package/project/client/data/data-state-machine/data-state-machine-state.js +29 -0
  101. package/project/client/data/data-state-machine/data-state-machine-transition.js +18 -0
  102. package/project/client/data/data-state-machine/data-state-machine.js +37 -0
  103. package/project/client/data/data-system-under-test/data-system-under-test-instances.js +15 -0
  104. package/project/client/data/data-system-under-test/data-system-under-test-nodes.js +18 -0
  105. package/project/client/data/data-table/data-table-config.js +21 -0
  106. package/project/client/data/data-table-key-value.js +56 -0
  107. package/project/client/data/data-test-case/data-actor.js +282 -0
  108. package/project/client/data/data-test-case/data-test-case-settings.js +49 -0
  109. package/project/client/data/data-test-case/data-test-case.js +19 -0
  110. package/project/client/data/data-test-case/data-test-data-iteration.js +54 -0
  111. package/project/client/data/data-test-case/data-test-data-test-case.js +16 -0
  112. package/project/client/data/data-test-case/data-verification-test-case.js +24 -0
  113. package/project/client/data/data-test-data/data-test-data-environment-global.js +18 -0
  114. package/project/client/data/data-test-data/data-test-data-environment-local.js +18 -0
  115. package/project/client/data/data-test-data/data-test-data-environment-static.js +16 -0
  116. package/project/client/data/data-test-data/data-test-data-general-global.js +18 -0
  117. package/project/client/data/data-test-data/data-test-data-general-local.js +18 -0
  118. package/project/client/data/data-test-data/data-test-data-output-global.js +18 -0
  119. package/project/client/data/data-test-data/data-test-data-output-local.js +18 -0
  120. package/project/client/data/data-test-data/data-test-data-system-global.js +18 -0
  121. package/project/client/data/data-test-data/data-test-data-system-local.js +18 -0
  122. package/project/client/data/data-test-suite/data-test-suite-abstraction.js +72 -0
  123. package/project/client/data/data-test-suite/data-test-suite.js +15 -0
  124. package/project/client/data/data-tree/data-tree-node.js +17 -0
  125. package/project/client/data/data-tree/data-tree.js +13 -0
  126. package/project/client/markup/markup-addresses/markup-addresses-client-address.js +31 -0
  127. package/project/client/markup/markup-addresses/markup-addresses-client-interface.js +31 -0
  128. package/project/client/markup/markup-addresses/markup-addresses-dns.js +32 -0
  129. package/project/client/markup/markup-addresses/markup-addresses-dst.js +31 -0
  130. package/project/client/markup/markup-addresses/markup-addresses-network-interface.js +31 -0
  131. package/project/client/markup/markup-addresses/markup-addresses-ports.js +31 -0
  132. package/project/client/markup/markup-addresses/markup-addresses-server-address.js +31 -0
  133. package/project/client/markup/markup-addresses/markup-addresses-server-interface.js +31 -0
  134. package/project/client/markup/markup-addresses/markup-addresses-src.js +31 -0
  135. package/project/client/markup/markup-addresses/markup-addresses-srv.js +31 -0
  136. package/project/client/markup/markup-addresses/markup-addresses-sut-address.js +31 -0
  137. package/project/client/markup/markup-addresses/markup-addresses-sut-interface.js +31 -0
  138. package/project/client/markup/markup-chart/markup-chart-line.js +92 -0
  139. package/project/client/markup/markup-content/markup-content-audio.js +31 -0
  140. package/project/client/markup/markup-content/markup-content-documents.js +31 -0
  141. package/project/client/markup/markup-content/markup-content-image.js +31 -0
  142. package/project/client/markup/markup-content/markup-content-other.js +31 -0
  143. package/project/client/markup/markup-content/markup-content-text.js +31 -0
  144. package/project/client/markup/markup-content/markup-content-video.js +31 -0
  145. package/project/client/markup/markup-dependencies/markup-dependencies.js +30 -0
  146. package/project/client/markup/markup-documentation/markup-documentation-anchor.js +37 -0
  147. package/project/client/markup/markup-documentation/markup-documentation-api-status.js +67 -0
  148. package/project/client/markup/markup-documentation/markup-documentation-code.js +20 -0
  149. package/project/client/markup/markup-documentation/markup-documentation-div.js +34 -0
  150. package/project/client/markup/markup-documentation/markup-documentation-documentation-status.js +67 -0
  151. package/project/client/markup/markup-documentation/markup-documentation-embed.js +23 -0
  152. package/project/client/markup/markup-documentation/markup-documentation-html.js +139 -0
  153. package/project/client/markup/markup-documentation/markup-documentation-ie.js +21 -0
  154. package/project/client/markup/markup-documentation/markup-documentation-image.js +46 -0
  155. package/project/client/markup/markup-documentation/markup-documentation-lab.js +19 -0
  156. package/project/client/markup/markup-documentation/markup-documentation-local-note.js +33 -0
  157. package/project/client/markup/markup-documentation/markup-documentation-navigation.js +109 -0
  158. package/project/client/markup/markup-documentation/markup-documentation-page.js +262 -0
  159. package/project/client/markup/markup-documentation/markup-documentation-ref.js +28 -0
  160. package/project/client/markup/markup-documentation/markup-documentation-result.js +21 -0
  161. package/project/client/markup/markup-documentation/markup-documentation-state-machine.js +194 -0
  162. package/project/client/markup/markup-documentation/markup-documentation.js +74 -0
  163. package/project/client/markup/markup-flowchart.js +264 -0
  164. package/project/client/markup/markup-lab.js +116 -0
  165. package/project/client/markup/markup-licenses/markup-licenses.js +29 -0
  166. package/project/client/markup/markup-node-diagram.js +435 -0
  167. package/project/client/markup/markup-parse-helper.js +26 -0
  168. package/project/client/markup/markup-pattern-config.js +53 -0
  169. package/project/client/markup/markup-pattern-data.js +50 -0
  170. package/project/client/markup/markup-pattern-function.js +47 -0
  171. package/project/client/markup/markup-repos/markup-repos.js +31 -0
  172. package/project/client/markup/markup-sequence-diagram.js +466 -0
  173. package/project/client/markup/markup-system-under-test/markup-system-under-test-instances.js +29 -0
  174. package/project/client/markup/markup-system-under-test/markup-system-under-test-nodes.js +30 -0
  175. package/project/client/markup/markup-table-key-value-parse.js +25 -0
  176. package/project/client/markup/markup-table-key-value-stringify.js +91 -0
  177. package/project/client/markup/markup-table-key-value.js +18 -0
  178. package/project/client/markup/markup-table-name-value.js +101 -0
  179. package/project/client/markup/markup-table.js +85 -0
  180. package/project/client/markup/markup-tables-parser.js +122 -0
  181. package/project/client/markup/markup-test-case/markup-test-case.js +67 -0
  182. package/project/client/markup/markup-test-data/markup-test-data-environment.js +31 -0
  183. package/project/client/markup/markup-test-data/markup-test-data-general.js +31 -0
  184. package/project/client/markup/markup-test-data/markup-test-data-output.js +31 -0
  185. package/project/client/markup/markup-test-data/markup-test-data-system.js +31 -0
  186. package/project/client/markup/markup-test-suite/markup-test-suite.js +40 -0
  187. package/project/client/react-components/helper/line-data.js +16 -0
  188. package/project/client/react-components/helper/line-object.js +22 -0
  189. package/project/client/react-components/helper/scroll-data.js +74 -0
  190. package/project/client/react-components/markup/component-chart/component-image-chart-line.jsx +203 -0
  191. package/project/client/react-components/markup/component-code.jsx +50 -0
  192. package/project/client/react-components/markup/component-document.jsx +105 -0
  193. package/project/client/react-components/markup/component-documentation-anchor.jsx +47 -0
  194. package/project/client/react-components/markup/component-embed.jsx +48 -0
  195. package/project/client/react-components/markup/component-image-flowchart.jsx +389 -0
  196. package/project/client/react-components/markup/component-image-image.jsx +32 -0
  197. package/project/client/react-components/markup/component-image-lab.jsx +696 -0
  198. package/project/client/react-components/markup/component-image-node-diagram.jsx +506 -0
  199. package/project/client/react-components/markup/component-image-result.jsx +22 -0
  200. package/project/client/react-components/markup/component-image-sequence-diagram.jsx +645 -0
  201. package/project/client/react-components/markup/component-image-state-machine.jsx +633 -0
  202. package/project/client/react-components/markup/component-image-table.jsx +96 -0
  203. package/project/client/react-components/markup/component-local-note.jsx +99 -0
  204. package/project/client/react-components/markup/component-markup-remarkable.jsx +79 -0
  205. package/project/client/react-components/markup/component-markup.jsx +1036 -0
  206. package/project/client/react-components/markup/component-table-data-table.jsx +146 -0
  207. package/project/client/stores/style-store.js +96 -0
  208. package/project/z-abs-complayer-markup-client.tree +239 -0
@@ -0,0 +1,17 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesServerInterfaceLocal extends DataTableKeyValue {
8
+ constructor(interfaceName, sut, type, networkName) {
9
+ super();
10
+ this.interfaceName = interfaceName;
11
+ this.sut = sut;
12
+ this.type = type;
13
+ this.networkName = networkName;
14
+ }
15
+ }
16
+
17
+ module.exports = DataAddressesServerInterfaceLocal;
@@ -0,0 +1,21 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSrcGlobal extends DataTableKeyValue {
8
+ constructor(addressName, interfaceName, sut, labId, userId, port, page, incognitoBrowser) {
9
+ super();
10
+ this.addressName = addressName;
11
+ this.interfaceName = interfaceName;
12
+ this.sut = sut;
13
+ this.labId = labId;
14
+ this.userId = userId;
15
+ this.port = port;
16
+ this.page = page;
17
+ this.incognitoBrowser = incognitoBrowser;
18
+ }
19
+ }
20
+
21
+ module.exports = DataAddressesSrcGlobal;
@@ -0,0 +1,21 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSrcLocal extends DataTableKeyValue {
8
+ constructor(addressName, interfaceName, sut, labId, userId, port, page, incognitoBrowser) {
9
+ super();
10
+ this.addressName = addressName;
11
+ this.interfaceName = interfaceName;
12
+ this.sut = sut;
13
+ this.labId = labId;
14
+ this.userId = userId;
15
+ this.port = port;
16
+ this.page = page;
17
+ this.incognitoBrowser = incognitoBrowser;
18
+ }
19
+ }
20
+
21
+ module.exports = DataAddressesSrcLocal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSrvGlobal extends DataTableKeyValue {
8
+ constructor(addressName, interfaceName, sut, labId, userId, port, uri) {
9
+ super();
10
+ this.addressName = addressName;
11
+ this.interfaceName = interfaceName;
12
+ this.sut = sut;
13
+ this.labId = labId;
14
+ this.userId = userId;
15
+ this.port = port;
16
+ this.uri = uri;
17
+ }
18
+ }
19
+
20
+ module.exports = DataAddressesSrvGlobal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSrvLocal extends DataTableKeyValue {
8
+ constructor(addressName, interfaceName, sut, labId, userId, port, uri) {
9
+ super();
10
+ this.addressName = addressName;
11
+ this.interfaceName = interfaceName;
12
+ this.sut = sut;
13
+ this.labId = labId;
14
+ this.userId = userId;
15
+ this.port = port;
16
+ this.uri = uri;
17
+ }
18
+ }
19
+
20
+ module.exports = DataAddressesSrvLocal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSutAddressGlobal extends DataTableKeyValue {
8
+ constructor(interfaceName, sut, labId, userId, address, netmask, external) {
9
+ super();
10
+ this.interfaceName = interfaceName;
11
+ this.sut = sut;
12
+ this.labId = labId;
13
+ this.userId = userId;
14
+ this.address = address;
15
+ this.netmask = netmask;
16
+ this.external = external;
17
+ }
18
+ }
19
+
20
+ module.exports = DataAddressesSutAddressGlobal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSutAddressLocal extends DataTableKeyValue {
8
+ constructor(interfaceName, sut, labId, userId, address, netmask, external) {
9
+ super();
10
+ this.interfaceName = interfaceName;
11
+ this.sut = sut;
12
+ this.labId = labId;
13
+ this.userId = userId;
14
+ this.address = address;
15
+ this.netmask = netmask;
16
+ this.external = external;
17
+ }
18
+ }
19
+
20
+ module.exports = DataAddressesSutAddressLocal;
@@ -0,0 +1,19 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSutInterfaceGlobal extends DataTableKeyValue {
8
+ constructor(interfaceName, sut, type, networkName, direction, description) {
9
+ super();
10
+ this.interfaceName = interfaceName;
11
+ this.sut = sut;
12
+ this.type = type;
13
+ this.networkName = networkName;
14
+ this.direction = direction;
15
+ this.description = description;
16
+ }
17
+ }
18
+
19
+ module.exports = DataAddressesSutInterfaceGlobal;
@@ -0,0 +1,19 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataAddressesSutInterfaceLocal extends DataTableKeyValue {
8
+ constructor(interfaceName, sut, type, networkName, direction, description) {
9
+ super();
10
+ this.interfaceName = interfaceName;
11
+ this.sut = sut;
12
+ this.type = type;
13
+ this.networkName = networkName;
14
+ this.direction = direction;
15
+ this.description = description;
16
+ }
17
+ }
18
+
19
+ module.exports = DataAddressesSutInterfaceLocal;
@@ -0,0 +1,13 @@
1
+
2
+ 'use strict'
3
+
4
+
5
+ class DataChartAxis {
6
+ constructor(direction, topValue) {
7
+ this.direction = direction;
8
+ const numberTopValue = Number.parseInt(topValue);
9
+ this.topValue = !Number.isNaN(numberTopValue) ? numberTopValue : 0;
10
+ }
11
+ }
12
+
13
+ module.exports = DataChartAxis;
@@ -0,0 +1,14 @@
1
+
2
+ 'use strict'
3
+
4
+
5
+ class DataChartGrid {
6
+ constructor(dx, dy) {
7
+ const deltaX = Number.parseInt(dx);
8
+ this.dx = !Number.isNaN(deltaX) ? deltaX : 0;
9
+ const deltaY = Number.parseInt(dy);
10
+ this.dy = !Number.isNaN(deltaY) ? deltaY : 0;
11
+ }
12
+ }
13
+
14
+ module.exports = DataChartGrid;
@@ -0,0 +1,17 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataConfig = require('../../data-config');
5
+
6
+
7
+ class DataChartLineConfig extends DataConfig {
8
+ constructor() {
9
+ super();
10
+ this.width = 400;
11
+ this.height = 200;
12
+ this.widthBias = 25;
13
+ this.heightBias = 25;
14
+ }
15
+ }
16
+
17
+ module.exports = DataChartLineConfig;
@@ -0,0 +1,41 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataChartLineConfig = require('./data-chart-line-config');
5
+
6
+
7
+ class DataChartLine {
8
+ constructor() {
9
+ this.title = '';
10
+ this.dataChartLineConfig = new DataChartLineConfig();
11
+ this.axes = [];
12
+ this.data = new Map();
13
+ this.grid = null;
14
+ }
15
+
16
+ addTitle(title) {
17
+ this.title = title;
18
+ }
19
+
20
+ addAxis(axis) {
21
+ this.axes.push(axis);
22
+ }
23
+
24
+ setGrid(grid) {
25
+ this.grid = grid;
26
+ }
27
+
28
+ addConfig(name, value) {
29
+ this.dataChartLineConfig.addConfig(name, value);
30
+ }
31
+
32
+ getData(name) {
33
+ return this.data.get(name);
34
+ }
35
+
36
+ addData(name, data) {
37
+ this.data.set(name, data);
38
+ }
39
+ }
40
+
41
+ module.exports = DataChartLine;
@@ -0,0 +1,14 @@
1
+
2
+ 'use strict';
3
+
4
+
5
+ class DataConfig {
6
+ addConfig(name, value) {
7
+ const member = this[name];
8
+ if(undefined !== member) {
9
+ this[name] = value;
10
+ }
11
+ }
12
+ }
13
+
14
+ module.exports = DataConfig;
@@ -0,0 +1,18 @@
1
+
2
+ 'use strict';
3
+
4
+
5
+ class DataConstructor {
6
+ static create(object) {
7
+ const dataObject = JSON.parse(JSON.stringify(object, (key, value) => {
8
+ if(key.startsWith('_') && '_commentOut_' !== key) {
9
+ return undefined;
10
+ }
11
+ return value;
12
+ }));
13
+ return dataObject;
14
+ }
15
+ }
16
+
17
+
18
+ module.exports = DataConstructor;
@@ -0,0 +1,18 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentAudioGlobal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.description = description;
15
+ }
16
+ }
17
+
18
+ module.exports = DataContentAudioGlobal;
@@ -0,0 +1,18 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentAudioLocal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.description = description;
15
+ }
16
+ }
17
+
18
+ module.exports = DataContentAudioLocal;
@@ -0,0 +1,18 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentDocumentsGlobal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.description = description;
15
+ }
16
+ }
17
+
18
+ module.exports = DataContentDocumentsGlobal;
@@ -0,0 +1,18 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentDocumentsLocal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.description = description;
15
+ }
16
+ }
17
+
18
+ module.exports = DataContentDocumentsLocal;
@@ -0,0 +1,21 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentImageGlobal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, width, height, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.width = width;
15
+ this.height= height;
16
+ this.description = description;
17
+ }
18
+ }
19
+
20
+
21
+ module.exports = DataContentImageGlobal;
@@ -0,0 +1,21 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentImageLocal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, width, height, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.width = width;
15
+ this.height= height;
16
+ this.description = description;
17
+ }
18
+ }
19
+
20
+
21
+ module.exports = DataContentImageLocal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentOtherGlobal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, properties, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.properties = properties;
15
+ this.description = description;
16
+ }
17
+ }
18
+
19
+
20
+ module.exports = DataContentOtherGlobal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentOtherLocal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, properties, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.properties = properties;
15
+ this.description = description;
16
+ }
17
+ }
18
+
19
+
20
+ module.exports = DataContentOtherLocal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentTextGlobal extends DataTableKeyValue {
8
+ constructor(name, path, mime, encoding, size, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.encoding = encoding;
14
+ this.size = size;
15
+ this.description = description;
16
+ }
17
+ }
18
+
19
+
20
+ module.exports = DataContentTextGlobal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentTextLocal extends DataTableKeyValue {
8
+ constructor(name, path, mime, encoding, size, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.encoding = encoding;
14
+ this.size = size;
15
+ this.description = description;
16
+ }
17
+ }
18
+
19
+
20
+ module.exports = DataContentTextLocal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentVideoGlobal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, width, height, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.width = width;
15
+ this.height= height;
16
+ this.description = description;
17
+ }
18
+ }
19
+
20
+ module.exports = DataContentVideoGlobal;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataContentVideoLocal extends DataTableKeyValue {
8
+ constructor(name, path, mime, size, width, height, description) {
9
+ super();
10
+ this.name = name;
11
+ this.path = path;
12
+ this.mime = mime;
13
+ this.size = size;
14
+ this.width = width;
15
+ this.height= height;
16
+ this.description = description;
17
+ }
18
+ }
19
+
20
+ module.exports = DataContentVideoLocal;
@@ -0,0 +1,28 @@
1
+
2
+ 'use strict';
3
+
4
+
5
+ class DataData {
6
+ constructor(name, numberType) {
7
+ this.name = name;
8
+ this.numberType = numberType;
9
+ this.datas = [];
10
+ }
11
+
12
+ addData(...datas) {
13
+ const parsedData = [];
14
+ if('int' === this.numberType) {
15
+ datas.forEach((data) => {
16
+ parsedData.push(Number.parseInt(data));
17
+ });
18
+ }
19
+ else if('float' === this.numberType) {
20
+ datas.forEach((data) => {
21
+ parsedData.push(Number.parseFloat(data));
22
+ });
23
+ }
24
+ this.datas.push(parsedData);
25
+ }
26
+ }
27
+
28
+ module.exports = DataData;
@@ -0,0 +1,17 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataDependencies extends DataTableKeyValue {
8
+ constructor(name, version, dev, licenses) {
9
+ super();
10
+ this.name = name;
11
+ this.version = version;
12
+ this.dev = dev;
13
+ this.licenses = licenses;
14
+ }
15
+ }
16
+
17
+ module.exports = DataDependencies;
@@ -0,0 +1,15 @@
1
+
2
+ 'use strict';
3
+
4
+ const DataTableKeyValue = require('../data-table-key-value');
5
+
6
+
7
+ class DataDocumentationNavigation extends DataTableKeyValue {
8
+ constructor(navigation, link) {
9
+ super([], []);
10
+ this.navigation = navigation;
11
+ this.link = link;
12
+ }
13
+ }
14
+
15
+ module.exports = DataDocumentationNavigation;
@@ -0,0 +1,20 @@
1
+
2
+ 'use strict';
3
+
4
+
5
+ class DataDocumentation {
6
+ constructor(navigations = [], page) {
7
+ this.navigations = [];
8
+ this.page = page;
9
+ }
10
+
11
+ addNavigation(navigation) {
12
+ this.navigations.push(navigation);
13
+ }
14
+
15
+ setPage(page) {
16
+ this.page = page;
17
+ }
18
+ }
19
+
20
+ module.exports = DataDocumentation;
@@ -0,0 +1,33 @@
1
+
2
+ 'use strict';
3
+
4
+
5
+ class DataFlowchartBlock {
6
+ constructor(name, type, data, css, link) {
7
+ this.name = name;
8
+ this.type = undefined !== type ? type : 'action';
9
+ this.data = data;
10
+ this.css = css;
11
+ this.link = link;
12
+ this.xIndex = -1;
13
+ this.yIndex = -1;
14
+ this.in = 0;
15
+ this.out = 0;
16
+ }
17
+
18
+ addIndex(xIndex, yIndex) {
19
+ this.xIndex = xIndex;
20
+ this.yIndex = yIndex;
21
+ }
22
+
23
+ addIn() {
24
+ ++this.in;
25
+ }
26
+
27
+ addOut() {
28
+ ++this.out;
29
+ }
30
+ }
31
+
32
+
33
+ module.exports = DataFlowchartBlock;