systemview 1.1.1 → 1.2.2

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 (256) hide show
  1. package/api/connections.txt +1 -1
  2. package/cli/index.js +8 -3
  3. package/cli/utils/log.js +2 -2
  4. package/package.json +3 -3
  5. package/server.js +19 -0
  6. package/babel.config.js +0 -12
  7. package/src/App.css +0 -38
  8. package/src/App.js +0 -30
  9. package/src/ServiceContext.js +0 -9
  10. package/src/assets/arrow.png +0 -0
  11. package/src/assets/check.svg +0 -1
  12. package/src/assets/clear.png +0 -0
  13. package/src/assets/edit.png +0 -0
  14. package/src/assets/error.svg +0 -1
  15. package/src/assets/eval-icon.svg +0 -10
  16. package/src/assets/expand-arrow.svg +0 -41
  17. package/src/assets/expand-button.svg +0 -41
  18. package/src/assets/fonts/FontsFree-Net-SFMono-Regular.ttf +0 -0
  19. package/src/assets/fonts/Malkor-Regular.ttf +0 -0
  20. package/src/assets/iconfinder-icon (1).svg +0 -14
  21. package/src/assets/iconfinder-icon.svg +0 -14
  22. package/src/assets/icons-save-60.png +0 -0
  23. package/src/assets/loading.gif +0 -0
  24. package/src/assets/missing-doc.png +0 -0
  25. package/src/assets/saved-doc.png +0 -0
  26. package/src/assets/sysly.png +0 -0
  27. package/src/assets/test-icon.svg +0 -10
  28. package/src/assets/test-missing.png +0 -0
  29. package/src/assets/test-saved.png +0 -0
  30. package/src/assets/x.svg +0 -1
  31. package/src/atoms/Button/Button.js +0 -20
  32. package/src/atoms/Button/Button.test.js +0 -27
  33. package/src/atoms/Button/__snapshots__/Button.test.js.snap +0 -9
  34. package/src/atoms/Button/styles.scss +0 -35
  35. package/src/atoms/Count/index.js +0 -10
  36. package/src/atoms/Count/styles.scss +0 -25
  37. package/src/atoms/DataTable/DataTable.js +0 -27
  38. package/src/atoms/DataTable/DataTable.test.js +0 -55
  39. package/src/atoms/DataTable/__snapshots__/DataTable.test.js.snap +0 -36
  40. package/src/atoms/DataTable/styles.scss +0 -28
  41. package/src/atoms/DescriptionBox/DescriptionBox.js +0 -24
  42. package/src/atoms/DescriptionBox/DescriptionBox.test.js +0 -36
  43. package/src/atoms/DescriptionBox/__snapshots__/DescriptionBox.test.js.snap +0 -14
  44. package/src/atoms/DescriptionBox/styles.scss +0 -24
  45. package/src/atoms/DescriptionText/DescriptionText.js +0 -12
  46. package/src/atoms/DescriptionText/DescriptionText.test.js +0 -22
  47. package/src/atoms/DescriptionText/styles.scss +0 -10
  48. package/src/atoms/DocsIcon/DocsIcon.js +0 -20
  49. package/src/atoms/DocsIcon/DocsIcon.test.js +0 -23
  50. package/src/atoms/DocsIcon/styles.scss +0 -7
  51. package/src/atoms/ExpandableIcon/ExpandableIcon.js +0 -30
  52. package/src/atoms/ExpandableIcon/ExpandableIcon.test.js +0 -18
  53. package/src/atoms/ExpandableIcon/styles.scss +0 -5
  54. package/src/atoms/JsonTextBox/JsonTextBox.js +0 -61
  55. package/src/atoms/JsonTextBox/JsonTextBox.test.js +0 -0
  56. package/src/atoms/JsonTextBox/styles.scss +0 -41
  57. package/src/atoms/Link/Link.js +0 -17
  58. package/src/atoms/Link/Link.test.js +0 -33
  59. package/src/atoms/Link/styles.scss +0 -8
  60. package/src/atoms/List/List.js +0 -8
  61. package/src/atoms/List/List.test.js +0 -26
  62. package/src/atoms/List/styles.scss +0 -9
  63. package/src/atoms/Markdown/Markdown.js +0 -48
  64. package/src/atoms/Markdown/styles.scss +0 -414
  65. package/src/atoms/RunTestIcon/index.js +0 -41
  66. package/src/atoms/RunTestIcon/styles.scss +0 -16
  67. package/src/atoms/SaveIcon/SaveIcon.js +0 -6
  68. package/src/atoms/SaveIcon/styles.scss +0 -3
  69. package/src/atoms/Selector/Selector.js +0 -28
  70. package/src/atoms/Selector/Selector.test.js +0 -0
  71. package/src/atoms/Selector/styles.scss +0 -1
  72. package/src/atoms/StatusIndicator/StatusIndicator.js +0 -16
  73. package/src/atoms/StatusIndicator/styles.scss +0 -33
  74. package/src/atoms/TestsIcon/TestsIcon.js +0 -17
  75. package/src/atoms/TestsIcon/TestsIcon.test.js +0 -18
  76. package/src/atoms/TestsIcon/styles.scss +0 -0
  77. package/src/atoms/Text/Text.js +0 -8
  78. package/src/atoms/Text/Text.test.js +0 -21
  79. package/src/atoms/Text/styles.scss +0 -0
  80. package/src/atoms/Textbox/Textbox.js +0 -33
  81. package/src/atoms/Textbox/Textbox.test.js +0 -23
  82. package/src/atoms/Textbox/styles.scss +0 -14
  83. package/src/atoms/Title/Title.js +0 -12
  84. package/src/atoms/Title/Title.test.js +0 -0
  85. package/src/atoms/Title/styles.scss +0 -6
  86. package/src/atoms/Toggle/Toggle.js +0 -13
  87. package/src/atoms/Toggle/Toggle.test.js +0 -0
  88. package/src/atoms/Toggle/styles.scss +0 -62
  89. package/src/atoms/TypeSelector/TypeSelector.js +0 -28
  90. package/src/atoms/TypeSelector/TypeSelector.test.js +0 -0
  91. package/src/atoms/TypeSelector/styles.scss +0 -9
  92. package/src/index.css +0 -20
  93. package/src/index.js +0 -24
  94. package/src/logo.svg +0 -7
  95. package/src/molecules/Args/Args.js +0 -302
  96. package/src/molecules/Args/Args.test.js +0 -0
  97. package/src/molecules/Args/styles.scss +0 -166
  98. package/src/molecules/AutoCompleteBox/AutoCompleteBox.js +0 -101
  99. package/src/molecules/AutoCompleteBox/AutoCompleteBox.test.js +0 -0
  100. package/src/molecules/AutoCompleteBox/styles.scss +0 -35
  101. package/src/molecules/DataTableForm/DataTableForm.js +0 -167
  102. package/src/molecules/DataTableForm/DataTableForm.test.js +0 -0
  103. package/src/molecules/DataTableForm/styles.scss +0 -51
  104. package/src/molecules/EditBox/EditBox.js +0 -49
  105. package/src/molecules/EditBox/EditBox.test.js +0 -0
  106. package/src/molecules/EditBox/styles.scss +0 -38
  107. package/src/molecules/ExpandableList/ExpandableList.js +0 -26
  108. package/src/molecules/ExpandableList/ExpandableList.test.js +0 -33
  109. package/src/molecules/ExpandableList/styles.scss +0 -18
  110. package/src/molecules/ExpandableSection/ExpandableSection.js +0 -36
  111. package/src/molecules/ExpandableSection/ExpandableSection.test.js +0 -0
  112. package/src/molecules/ExpandableSection/styles.scss +0 -22
  113. package/src/molecules/ServerModulesList/ServerModulesList.js +0 -75
  114. package/src/molecules/ServerModulesList/styles.scss +0 -28
  115. package/src/molecules/TargetSelector/TargetSelector.js +0 -34
  116. package/src/molecules/TargetSelector/TargetSelector.test.js +0 -0
  117. package/src/molecules/TargetSelector/styles.scss +0 -0
  118. package/src/molecules/TestCaption/TestCaption.js +0 -26
  119. package/src/molecules/TestCaption/TestCaption.test.js +0 -0
  120. package/src/molecules/TestCaption/styles.scss +0 -40
  121. package/src/molecules/TestSummary/index.js +0 -212
  122. package/src/molecules/TestSummary/styles.scss +0 -83
  123. package/src/molecules/TextWith2Links/TextWith2Links.js +0 -10
  124. package/src/molecules/TextWith2Links/styles.scss +0 -0
  125. package/src/molecules/ValidationInput/ValidationInput.js +0 -64
  126. package/src/molecules/ValidationInput/ValidationInput.test.js +0 -0
  127. package/src/molecules/ValidationInput/ValidationMessages.js +0 -178
  128. package/src/molecules/ValidationInput/ValidationOptions.js +0 -113
  129. package/src/molecules/ValidationInput/styles.scss +0 -74
  130. package/src/molecules/ValidationInput/validator.js +0 -244
  131. package/src/organisms/Documentation/Documentation.js +0 -128
  132. package/src/organisms/Documentation/Documentation.test.js +0 -0
  133. package/src/organisms/Documentation/styles.scss +0 -22
  134. package/src/organisms/MultiTestSection/MultiTestSection.js +0 -85
  135. package/src/organisms/MultiTestSection/MultiTestSection.test.js +0 -0
  136. package/src/organisms/MultiTestSection/styles.scss +0 -22
  137. package/src/organisms/SavedTests/SavedTests.js +0 -209
  138. package/src/organisms/SavedTests/SavedTests.test.js +0 -0
  139. package/src/organisms/SavedTests/styles.scss +0 -76
  140. package/src/organisms/SavedTests/transformTests.js +0 -51
  141. package/src/organisms/ScratchPad/ScratchPad.js +0 -128
  142. package/src/organisms/ScratchPad/ScratchPad.test.js +0 -0
  143. package/src/organisms/ScratchPad/styles.scss +0 -100
  144. package/src/organisms/SystemNavigator/SystemNavigator.js +0 -148
  145. package/src/organisms/SystemNavigator/SystemNavigator.test.js +0 -24
  146. package/src/organisms/SystemNavigator/styles.scss +0 -38
  147. package/src/organisms/TestContainer/TestContainer.js +0 -72
  148. package/src/organisms/TestContainer/TestContainer.test.js +0 -0
  149. package/src/organisms/TestContainer/styles.scss +0 -20
  150. package/src/organisms/TestPanel/AfterTest/AfterTest.js +0 -16
  151. package/src/organisms/TestPanel/AfterTest/AfterTest.test.js +0 -0
  152. package/src/organisms/TestPanel/AfterTest/styles.scss +0 -0
  153. package/src/organisms/TestPanel/BeforeTest/BeforeTest.js +0 -16
  154. package/src/organisms/TestPanel/BeforeTest/BeforeTest.test.js +0 -0
  155. package/src/organisms/TestPanel/BeforeTest/styles.scss +0 -0
  156. package/src/organisms/TestPanel/Evaluations.js +0 -369
  157. package/src/organisms/TestPanel/EventsTest/EventsTest.js +0 -19
  158. package/src/organisms/TestPanel/EventsTest/styles.scss +0 -0
  159. package/src/organisms/TestPanel/MainTest/MainTest.js +0 -20
  160. package/src/organisms/TestPanel/MainTest/MainTest.test.js +0 -0
  161. package/src/organisms/TestPanel/MainTest/styles.scss +0 -143
  162. package/src/organisms/TestPanel/TestPanel.js +0 -170
  163. package/src/organisms/TestPanel/TestPanel.test.js +0 -0
  164. package/src/organisms/TestPanel/components/Argument.class.js +0 -94
  165. package/src/organisms/TestPanel/components/FullTestController.js +0 -78
  166. package/src/organisms/TestPanel/components/Test.class.js +0 -162
  167. package/src/organisms/TestPanel/components/TestController.class.js +0 -135
  168. package/src/organisms/TestPanel/components/test-helpers.js +0 -109
  169. package/src/organisms/TestPanel/styles.scss +0 -45
  170. package/src/pages/SystemView/SystemView.js +0 -68
  171. package/src/pages/SystemView/styles.scss +0 -81
  172. package/src/reportWebVitals.js +0 -13
  173. package/src/sass/bootstrap/_alert.scss +0 -51
  174. package/src/sass/bootstrap/_badge.scss +0 -47
  175. package/src/sass/bootstrap/_breadcrumb.scss +0 -38
  176. package/src/sass/bootstrap/_button-group.scss +0 -166
  177. package/src/sass/bootstrap/_buttons.scss +0 -143
  178. package/src/sass/bootstrap/_card.scss +0 -270
  179. package/src/sass/bootstrap/_carousel.scss +0 -191
  180. package/src/sass/bootstrap/_close.scss +0 -34
  181. package/src/sass/bootstrap/_code.scss +0 -56
  182. package/src/sass/bootstrap/_custom-forms.scss +0 -297
  183. package/src/sass/bootstrap/_dropdown.scss +0 -131
  184. package/src/sass/bootstrap/_forms.scss +0 -333
  185. package/src/sass/bootstrap/_functions.scss +0 -86
  186. package/src/sass/bootstrap/_grid.scss +0 -52
  187. package/src/sass/bootstrap/_images.scss +0 -42
  188. package/src/sass/bootstrap/_input-group.scss +0 -159
  189. package/src/sass/bootstrap/_jumbotron.scss +0 -16
  190. package/src/sass/bootstrap/_list-group.scss +0 -115
  191. package/src/sass/bootstrap/_media.scss +0 -8
  192. package/src/sass/bootstrap/_mixins.scss +0 -42
  193. package/src/sass/bootstrap/_modal.scss +0 -168
  194. package/src/sass/bootstrap/_nav.scss +0 -118
  195. package/src/sass/bootstrap/_navbar.scss +0 -311
  196. package/src/sass/bootstrap/_pagination.scss +0 -77
  197. package/src/sass/bootstrap/_popover.scss +0 -183
  198. package/src/sass/bootstrap/_print.scss +0 -124
  199. package/src/sass/bootstrap/_progress.scss +0 -33
  200. package/src/sass/bootstrap/_reboot.scss +0 -482
  201. package/src/sass/bootstrap/_root.scss +0 -19
  202. package/src/sass/bootstrap/_tables.scss +0 -180
  203. package/src/sass/bootstrap/_tooltip.scss +0 -115
  204. package/src/sass/bootstrap/_transitions.scss +0 -36
  205. package/src/sass/bootstrap/_type.scss +0 -125
  206. package/src/sass/bootstrap/_utilities.scss +0 -14
  207. package/src/sass/bootstrap/_variables.scss +0 -894
  208. package/src/sass/bootstrap/bootstrap-grid.scss +0 -32
  209. package/src/sass/bootstrap/bootstrap-reboot.scss +0 -12
  210. package/src/sass/bootstrap/bootstrap.scss +0 -42
  211. package/src/sass/bootstrap/mixins/_alert.scss +0 -13
  212. package/src/sass/bootstrap/mixins/_background-variant.scss +0 -21
  213. package/src/sass/bootstrap/mixins/_badge.scss +0 -12
  214. package/src/sass/bootstrap/mixins/_border-radius.scss +0 -35
  215. package/src/sass/bootstrap/mixins/_box-shadow.scss +0 -5
  216. package/src/sass/bootstrap/mixins/_breakpoints.scss +0 -123
  217. package/src/sass/bootstrap/mixins/_buttons.scss +0 -109
  218. package/src/sass/bootstrap/mixins/_caret.scss +0 -65
  219. package/src/sass/bootstrap/mixins/_clearfix.scss +0 -7
  220. package/src/sass/bootstrap/mixins/_float.scss +0 -11
  221. package/src/sass/bootstrap/mixins/_forms.scss +0 -137
  222. package/src/sass/bootstrap/mixins/_gradients.scss +0 -45
  223. package/src/sass/bootstrap/mixins/_grid-framework.scss +0 -67
  224. package/src/sass/bootstrap/mixins/_grid.scss +0 -52
  225. package/src/sass/bootstrap/mixins/_hover.scss +0 -39
  226. package/src/sass/bootstrap/mixins/_image.scss +0 -36
  227. package/src/sass/bootstrap/mixins/_list-group.scss +0 -21
  228. package/src/sass/bootstrap/mixins/_lists.scss +0 -7
  229. package/src/sass/bootstrap/mixins/_nav-divider.scss +0 -10
  230. package/src/sass/bootstrap/mixins/_navbar-align.scss +0 -10
  231. package/src/sass/bootstrap/mixins/_pagination.scss +0 -22
  232. package/src/sass/bootstrap/mixins/_reset-text.scss +0 -17
  233. package/src/sass/bootstrap/mixins/_resize.scss +0 -6
  234. package/src/sass/bootstrap/mixins/_screen-reader.scss +0 -35
  235. package/src/sass/bootstrap/mixins/_size.scss +0 -6
  236. package/src/sass/bootstrap/mixins/_table-row.scss +0 -30
  237. package/src/sass/bootstrap/mixins/_text-emphasis.scss +0 -14
  238. package/src/sass/bootstrap/mixins/_text-hide.scss +0 -9
  239. package/src/sass/bootstrap/mixins/_text-truncate.scss +0 -8
  240. package/src/sass/bootstrap/mixins/_transition.scss +0 -9
  241. package/src/sass/bootstrap/mixins/_visibility.scss +0 -7
  242. package/src/sass/bootstrap/utilities/_align.scss +0 -8
  243. package/src/sass/bootstrap/utilities/_background.scss +0 -19
  244. package/src/sass/bootstrap/utilities/_borders.scss +0 -59
  245. package/src/sass/bootstrap/utilities/_clearfix.scss +0 -3
  246. package/src/sass/bootstrap/utilities/_display.scss +0 -38
  247. package/src/sass/bootstrap/utilities/_embed.scss +0 -52
  248. package/src/sass/bootstrap/utilities/_flex.scss +0 -46
  249. package/src/sass/bootstrap/utilities/_float.scss +0 -9
  250. package/src/sass/bootstrap/utilities/_position.scss +0 -36
  251. package/src/sass/bootstrap/utilities/_screenreaders.scss +0 -11
  252. package/src/sass/bootstrap/utilities/_sizing.scss +0 -12
  253. package/src/sass/bootstrap/utilities/_spacing.scss +0 -51
  254. package/src/sass/bootstrap/utilities/_text.scss +0 -52
  255. package/src/sass/bootstrap/utilities/_visibility.scss +0 -11
  256. package/src/setupTests.js +0 -5
@@ -1,109 +0,0 @@
1
- import moment from "moment";
2
- import { getType } from "../../../molecules/ValidationInput/validator";
3
- export const rnb = (min, max) => Math.floor(Math.random() * (max - min + 1) + min);
4
- export const isObjectLike = (value) =>
5
- ["object", "array", "string"].indexOf(getType(value)) > -1;
6
-
7
- export const isTargetNamespace = (str) =>
8
- /^(?:before|main|after)Test\.Action\d+\.(?:error|results)(?:\.(?![0-9])[a-zA-Z0-9$_]+(?:\[\d\])*)*$/.test(
9
- str
10
- );
11
- export const targetValueFnRegex =
12
- /tv\((?:before|main|after)Test\.Action\d+\.(?:error|results)(?:\.(?![0-9])[a-zA-Z0-9$_]+(?:\[\d\])*)*\)/g;
13
- export const isTargetValueFn = (str) =>
14
- /^tv\((?:before|main|after)Test\.Action\d+\.(?:error|results)(?:\.(?![0-9])[a-zA-Z0-9$_]+(?:\[\d\])*)*\)$/.test(
15
- str
16
- );
17
- export const isEqualArrays = (a, b) => a.join(".") === b.join("."); //specifically for arrays of strings
18
- export const isValidNamespace = (str) => /^(?![0-9])[a-zA-Z0-9$_]+$/.test(str); //_id
19
- export const startsWithNameAndArray = (str) => /^\w+(\[\d+\])+/.test(str); //users[0]
20
- export const isNameAndArray = (str) => /^\w+(\[\d+\])+$/.test(str); //users[0]
21
- export const endsWithArrayIndex = (str) => /\w+(\[\d+\])+$/.test(str); //users[0].docs[3]...
22
- export const getLastArrayNamespace = (str) => (str.match(/(\w+(\[\d+\])+)$/) || [str])[0];
23
-
24
- export const parseIndex = (nsp) => parseInt((nsp.match(/\[(\d+)\]$/) || [null, "0"])[1]);
25
- export const replaceFirstIndex = (nsp, insert = "0") =>
26
- nsp.replace(/(\[\d+\])/, `[${insert}]`);
27
- export const replaceLastIndex = (nsp, insert = "0") =>
28
- nsp.replace(/(\[\d+\])$/, `[${insert}]`);
29
-
30
- export const replaceAllIndices = (nsp, insert = "0") =>
31
- nsp.replace(/(\[\d+\])/g, `[${insert}]`);
32
-
33
- export const getArrayNamespaces = (str) =>
34
- str
35
- .split(/(\w+(\[\d+\])+)/)
36
- .filter(isNameAndArray)
37
- .reduce((sum, nsp) => {
38
- //split by indexes in case of nested arrays
39
- const indices = nsp.split(/(\[\d+\])/).filter((n) => n);
40
- const [name] = indices.splice(0, 1);
41
- return sum.concat(
42
- indices.map((index, i) => {
43
- return name + indices.slice(0, i + 1).join("");
44
- }, [])
45
- );
46
- }, []);
47
- export const switchArrayIndices = (nsp, replace) => {
48
- // normalize nsp and replace nsp
49
- const n = replaceAllIndices(nsp);
50
- const r = replaceAllIndices(replace);
51
- // match the normalized namespaces
52
- if (n.substr(0, r.length) === r) {
53
- // create new namespace by concatenating
54
- const n = nsp.split(".");
55
- const r = replace.split(".");
56
- n.splice(...[0, r.length, ...r]);
57
- return n.join(".");
58
- } else return nsp;
59
- };
60
-
61
- //separate prop names from other prop names and indices (ie. 'test.results[0][0]'...);
62
- export const mapNamespace = (nsp) =>
63
- nsp
64
- .replace(/(?:\.|\[|\])/g, " ")
65
- .split(" ")
66
- .reduce((sum, str) => sum.concat(str.trim() || []), []);
67
-
68
- export const obj = function ObjectParser(obj) {
69
- const parser = this || {};
70
- parser.parse = (map) =>
71
- map.reduce(([placeholder], key) => [placeholder?.[key], placeholder, key], [obj]);
72
-
73
- parser.valueAt = (map) => parser.parse(map)[0];
74
-
75
- parser.valueAtNsp = (nsp) => parser.valueAt(mapNamespace(nsp));
76
-
77
- parser.parseNsp = (nsp) => parser.parse(mapNamespace(nsp));
78
- //using JSON to create a deep copy in order to lose refs to original
79
- parser.clone = () => JSON.parse(JSON.stringify(obj));
80
-
81
- parser.isEmpty = () => Object.getOwnPropertyNames(obj).length === 0;
82
-
83
- return parser;
84
- };
85
-
86
- export const arr = function ArrayParser(arr) {
87
- const parser = this || {};
88
-
89
- parser.randomIndex = () => rnb(0, arr.length - 1);
90
-
91
- parser.randomItem = () => arr[parser.randomIndex()];
92
- return parser;
93
- };
94
-
95
- const isFn = /^\w+\(([^,)]*(,[^,)]*)*)\)$/;
96
- const parseArgs = (str) => str.split(",").map((value) => value.trim());
97
- export const isFunction = (str) => isFn.test(str);
98
- export const isDateFunction = (str) => /^[dD]ate\(([^,)]*(,[^,)]*)*)\)$/.test(str);
99
-
100
- export const strFn = (str) => {
101
- if (isDateFunction(str)) {
102
- const [fullStr, args] = str.match(isFn);
103
- return moment(args).toJSON();
104
- }
105
-
106
- return str;
107
- };
108
- window.moment = moment;
109
- window.strFn = strFn;
@@ -1,45 +0,0 @@
1
- .test {
2
- &__buttons {
3
- justify-content: space-between;
4
- margin-bottom: 3px;
5
- & > span > span {
6
- margin: 0 5px;
7
- }
8
-
9
- & > span {
10
- font-family: Helvetica, arial, sans-serif;
11
- background: #e9e9e9;
12
- border-radius: 41px;
13
- padding: 2px 11px;
14
- margin-right: 3px;
15
- }
16
- }
17
- }
18
- .test-panel {
19
- padding: 2rem 1rem;
20
- overflow: auto;
21
- font-size: 14px;
22
- max-height: 100vh;
23
- &__section {
24
- margin-bottom: 6px;
25
- }
26
-
27
- &__section > section {
28
- width: 100%;
29
- }
30
- &__error-message {
31
- display: flex;
32
- align-items: center;
33
- color: #c02a2a;
34
- font-weight: 700;
35
- background: #e4d554;
36
- background: #d4d4d4;
37
- padding: 2px 8px !important;
38
- &--hide-true {
39
- opacity: 0;
40
- }
41
- &--error-false {
42
- color: green;
43
- }
44
- }
45
- }
@@ -1,68 +0,0 @@
1
- import React from "react";
2
- import { useParams } from "react-router-dom";
3
- import SystemNavigator from "../../organisms/SystemNavigator/SystemNavigator";
4
- import Documentation from "../../organisms/Documentation/Documentation";
5
- import TestPanel from "../../organisms/TestPanel/TestPanel";
6
- import LOGO from "../../assets/sysly.png";
7
- import "./styles.scss";
8
-
9
- const SystemViewPage = () => {
10
- const { projectCode, serviceId, moduleName, methodName } = useParams();
11
- return (
12
- <section className="system-viewer">
13
- <div className="page-header">
14
- <span
15
- style={{
16
- fontSize: "28px",
17
- fontFamily: "Malkor",
18
- color: "#6886ba",
19
- marginRight: "10px",
20
- textShadow: "1px 1px 2px #d6cbca",
21
- }}
22
- >
23
- SystemView
24
- </span>
25
- <img src={LOGO} alt="logo" />
26
- {/* <span
27
- style={{
28
- fontSize: "28px",
29
- fontFamily: "Malkor",
30
- color: "#6886ba",
31
- marginLeft: "10px",
32
- textShadow: "1px 1px 2px #d6cbca",
33
- }}
34
- >
35
- SystemLynx
36
- </span> */}
37
- </div>
38
- <div className="row">
39
- <div className="col-3">
40
- <SystemNavigator
41
- projectCode={projectCode}
42
- serviceId={serviceId}
43
- moduleName={moduleName}
44
- methodName={methodName}
45
- />
46
- </div>
47
- <div className="col-6">
48
- <Documentation
49
- projectCode={projectCode}
50
- serviceId={serviceId}
51
- moduleName={moduleName}
52
- methodName={methodName}
53
- />
54
- </div>
55
- <div className="col-3">
56
- <TestPanel
57
- projectCode={projectCode}
58
- serviceId={serviceId}
59
- moduleName={moduleName}
60
- methodName={methodName}
61
- />
62
- </div>
63
- </div>
64
- </section>
65
- );
66
- };
67
-
68
- export default SystemViewPage;
@@ -1,81 +0,0 @@
1
- @import "../../sass/bootstrap/bootstrap-grid.scss";
2
-
3
- .system-viewer {
4
- background: whitesmoke;
5
- height: 100vh;
6
- overflow: hidden;
7
- padding-top: 61px;
8
- & > div {
9
- max-width: 100vw;
10
- }
11
- }
12
- .btn {
13
- cursor: pointer;
14
- display: inline-block;
15
-
16
- &:active {
17
- transform: translate(0px, -2px);
18
- }
19
- }
20
-
21
- .delete-btn {
22
- position: absolute;
23
- top: 1px;
24
- right: -4px;
25
- font-family: system-ui;
26
- color: #c50000;
27
- background: white;
28
- padding: 0px 6px 2px 6px;
29
- border-radius: 0 40px 40px 0;
30
- font-weight: 300;
31
- opacity: 0;
32
- &:hover {
33
- opacity: 1;
34
- }
35
- }
36
-
37
- .page-header {
38
- height: 62px;
39
- background: #ffffff;
40
- // box-shadow: 0px 2px 8px black;
41
- border-bottom: 1px solid #9494b7;
42
- display: flex;
43
- align-items: center;
44
- position: absolute;
45
- justify-content: center;
46
- width: 100vw;
47
- top: 0;
48
- padding: 0px 35px;
49
- }
50
-
51
- .scroll-buffer {
52
- height: 20vh;
53
- }
54
- ::-webkit-input-placeholder {
55
- font-style: italic;
56
- }
57
- :-moz-placeholder {
58
- font-style: italic;
59
- }
60
- ::-moz-placeholder {
61
- font-style: italic;
62
- }
63
- :-ms-input-placeholder {
64
- font-style: italic;
65
- }
66
-
67
- @-webkit-keyframes bounce {
68
- to {
69
- -webkit-transform: scale(1.2);
70
- }
71
- }
72
- @-moz-keyframes bounce {
73
- to {
74
- -moz-transform: scale(1.2);
75
- }
76
- }
77
- @keyframes bounce {
78
- to {
79
- transform: scale(1.2);
80
- }
81
- }
@@ -1,13 +0,0 @@
1
- const reportWebVitals = onPerfEntry => {
2
- if (onPerfEntry && onPerfEntry instanceof Function) {
3
- import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4
- getCLS(onPerfEntry);
5
- getFID(onPerfEntry);
6
- getFCP(onPerfEntry);
7
- getLCP(onPerfEntry);
8
- getTTFB(onPerfEntry);
9
- });
10
- }
11
- };
12
-
13
- export default reportWebVitals;
@@ -1,51 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .alert {
6
- position: relative;
7
- padding: $alert-padding-y $alert-padding-x;
8
- margin-bottom: $alert-margin-bottom;
9
- border: $alert-border-width solid transparent;
10
- @include border-radius($alert-border-radius);
11
- }
12
-
13
- // Headings for larger alerts
14
- .alert-heading {
15
- // Specified to prevent conflicts of changing $headings-color
16
- color: inherit;
17
- }
18
-
19
- // Provide class for links that match alerts
20
- .alert-link {
21
- font-weight: $alert-link-font-weight;
22
- }
23
-
24
-
25
- // Dismissible alerts
26
- //
27
- // Expand the right padding and account for the close button's positioning.
28
-
29
- .alert-dismissible {
30
- padding-right: ($close-font-size + $alert-padding-x * 2);
31
-
32
- // Adjust close link position
33
- .close {
34
- position: absolute;
35
- top: 0;
36
- right: 0;
37
- padding: $alert-padding-y $alert-padding-x;
38
- color: inherit;
39
- }
40
- }
41
-
42
-
43
- // Alternate styles
44
- //
45
- // Generate contextual modifier classes for colorizing the alert.
46
-
47
- @each $color, $value in $theme-colors {
48
- .alert-#{$color} {
49
- @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
50
- }
51
- }
@@ -1,47 +0,0 @@
1
- // Base class
2
- //
3
- // Requires one of the contextual, color modifier classes for `color` and
4
- // `background-color`.
5
-
6
- .badge {
7
- display: inline-block;
8
- padding: $badge-padding-y $badge-padding-x;
9
- font-size: $badge-font-size;
10
- font-weight: $badge-font-weight;
11
- line-height: 1;
12
- text-align: center;
13
- white-space: nowrap;
14
- vertical-align: baseline;
15
- @include border-radius($badge-border-radius);
16
-
17
- // Empty badges collapse automatically
18
- &:empty {
19
- display: none;
20
- }
21
- }
22
-
23
- // Quick fix for badges in buttons
24
- .btn .badge {
25
- position: relative;
26
- top: -1px;
27
- }
28
-
29
- // Pill badges
30
- //
31
- // Make them extra rounded with a modifier to replace v3's badges.
32
-
33
- .badge-pill {
34
- padding-right: $badge-pill-padding-x;
35
- padding-left: $badge-pill-padding-x;
36
- @include border-radius($badge-pill-border-radius);
37
- }
38
-
39
- // Colors
40
- //
41
- // Contextual variations (linked badges get darker on :hover).
42
-
43
- @each $color, $value in $theme-colors {
44
- .badge-#{$color} {
45
- @include badge-variant($value);
46
- }
47
- }
@@ -1,38 +0,0 @@
1
- .breadcrumb {
2
- display: flex;
3
- flex-wrap: wrap;
4
- padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5
- margin-bottom: $breadcrumb-margin-bottom;
6
- list-style: none;
7
- background-color: $breadcrumb-bg;
8
- @include border-radius($border-radius);
9
- }
10
-
11
- .breadcrumb-item {
12
- // The separator between breadcrumbs (by default, a forward-slash: "/")
13
- + .breadcrumb-item::before {
14
- display: inline-block; // Suppress underlining of the separator in modern browsers
15
- padding-right: $breadcrumb-item-padding;
16
- padding-left: $breadcrumb-item-padding;
17
- color: $breadcrumb-divider-color;
18
- content: "#{$breadcrumb-divider}";
19
- }
20
-
21
- // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
22
- // without `<ul>`s. The `::before` pseudo-element generates an element
23
- // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
24
- //
25
- // To trick IE into suppressing the underline, we give the pseudo-element an
26
- // underline and then immediately remove it.
27
- + .breadcrumb-item:hover::before {
28
- text-decoration: underline;
29
- }
30
- // stylelint-disable-next-line no-duplicate-selectors
31
- + .breadcrumb-item:hover::before {
32
- text-decoration: none;
33
- }
34
-
35
- &.active {
36
- color: $breadcrumb-active-color;
37
- }
38
- }
@@ -1,166 +0,0 @@
1
- // stylelint-disable selector-no-qualifying-type
2
-
3
- // Make the div behave like a button
4
- .btn-group,
5
- .btn-group-vertical {
6
- position: relative;
7
- display: inline-flex;
8
- vertical-align: middle; // match .btn alignment given font-size hack above
9
-
10
- > .btn {
11
- position: relative;
12
- flex: 0 1 auto;
13
-
14
- // Bring the hover, focused, and "active" buttons to the front to overlay
15
- // the borders properly
16
- @include hover {
17
- z-index: 1;
18
- }
19
- &:focus,
20
- &:active,
21
- &.active {
22
- z-index: 1;
23
- }
24
- }
25
-
26
- // Prevent double borders when buttons are next to each other
27
- .btn + .btn,
28
- .btn + .btn-group,
29
- .btn-group + .btn,
30
- .btn-group + .btn-group {
31
- margin-left: -$btn-border-width;
32
- }
33
- }
34
-
35
- // Optional: Group multiple button groups together for a toolbar
36
- .btn-toolbar {
37
- display: flex;
38
- flex-wrap: wrap;
39
- justify-content: flex-start;
40
-
41
- .input-group {
42
- width: auto;
43
- }
44
- }
45
-
46
- .btn-group {
47
- > .btn:first-child {
48
- margin-left: 0;
49
- }
50
-
51
- // Reset rounded corners
52
- > .btn:not(:last-child):not(.dropdown-toggle),
53
- > .btn-group:not(:last-child) > .btn {
54
- @include border-right-radius(0);
55
- }
56
-
57
- > .btn:not(:first-child),
58
- > .btn-group:not(:first-child) > .btn {
59
- @include border-left-radius(0);
60
- }
61
- }
62
-
63
- // Sizing
64
- //
65
- // Remix the default button sizing classes into new ones for easier manipulation.
66
-
67
- .btn-group-sm > .btn { @extend .btn-sm; }
68
- .btn-group-lg > .btn { @extend .btn-lg; }
69
-
70
-
71
- //
72
- // Split button dropdowns
73
- //
74
-
75
- .dropdown-toggle-split {
76
- padding-right: $btn-padding-x * .75;
77
- padding-left: $btn-padding-x * .75;
78
-
79
- &::after {
80
- margin-left: 0;
81
- }
82
- }
83
-
84
- .btn-sm + .dropdown-toggle-split {
85
- padding-right: $btn-padding-x-sm * .75;
86
- padding-left: $btn-padding-x-sm * .75;
87
- }
88
-
89
- .btn-lg + .dropdown-toggle-split {
90
- padding-right: $btn-padding-x-lg * .75;
91
- padding-left: $btn-padding-x-lg * .75;
92
- }
93
-
94
-
95
- // The clickable button for toggling the menu
96
- // Set the same inset shadow as the :active state
97
- .btn-group.show .dropdown-toggle {
98
- @include box-shadow($btn-active-box-shadow);
99
-
100
- // Show no shadow for `.btn-link` since it has no other button styles.
101
- &.btn-link {
102
- @include box-shadow(none);
103
- }
104
- }
105
-
106
-
107
- //
108
- // Vertical button groups
109
- //
110
-
111
- .btn-group-vertical {
112
- flex-direction: column;
113
- align-items: flex-start;
114
- justify-content: center;
115
-
116
- .btn,
117
- .btn-group {
118
- width: 100%;
119
- }
120
-
121
- > .btn + .btn,
122
- > .btn + .btn-group,
123
- > .btn-group + .btn,
124
- > .btn-group + .btn-group {
125
- margin-top: -$btn-border-width;
126
- margin-left: 0;
127
- }
128
-
129
- // Reset rounded corners
130
- > .btn:not(:last-child):not(.dropdown-toggle),
131
- > .btn-group:not(:last-child) > .btn {
132
- @include border-bottom-radius(0);
133
- }
134
-
135
- > .btn:not(:first-child),
136
- > .btn-group:not(:first-child) > .btn {
137
- @include border-top-radius(0);
138
- }
139
- }
140
-
141
-
142
- // Checkbox and radio options
143
- //
144
- // In order to support the browser's form validation feedback, powered by the
145
- // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
146
- // `display: none;` or `visibility: hidden;` as that also hides the popover.
147
- // Simply visually hiding the inputs via `opacity` would leave them clickable in
148
- // certain cases which is prevented by using `clip` and `pointer-events`.
149
- // This way, we ensure a DOM element is visible to position the popover from.
150
- //
151
- // See https://github.com/twbs/bootstrap/pull/12794 and
152
- // https://github.com/twbs/bootstrap/pull/14559 for more information.
153
-
154
- .btn-group-toggle {
155
- > .btn,
156
- > .btn-group > .btn {
157
- margin-bottom: 0; // Override default `<label>` value
158
-
159
- input[type="radio"],
160
- input[type="checkbox"] {
161
- position: absolute;
162
- clip: rect(0, 0, 0, 0);
163
- pointer-events: none;
164
- }
165
- }
166
- }