systemview 1.1.2 → 1.3.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.
- package/api/connections.txt +1 -1
- package/build/asset-manifest.json +29 -0
- package/build/favicon.ico +0 -0
- package/build/index.html +1 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/build/static/css/main.fb15c45d.chunk.css +16 -0
- package/build/static/css/main.fb15c45d.chunk.css.map +1 -0
- package/build/static/js/2.b89d4ccd.chunk.js +3 -0
- package/build/static/js/2.b89d4ccd.chunk.js.LICENSE.txt +435 -0
- package/build/static/js/2.b89d4ccd.chunk.js.map +1 -0
- package/build/static/js/3.0571e5a9.chunk.js +2 -0
- package/build/static/js/3.0571e5a9.chunk.js.map +1 -0
- package/build/static/js/main.a47760bc.chunk.js +2 -0
- package/build/static/js/main.a47760bc.chunk.js.map +1 -0
- package/build/static/js/runtime-main.17d324d3.js +2 -0
- package/build/static/js/runtime-main.17d324d3.js.map +1 -0
- package/package.json +4 -3
- package/server.js +19 -0
- package/babel.config.js +0 -12
- package/src/App.css +0 -38
- package/src/App.js +0 -30
- package/src/ServiceContext.js +0 -9
- package/src/assets/arrow.png +0 -0
- package/src/assets/clear.png +0 -0
- package/src/assets/edit.png +0 -0
- package/src/assets/expand-arrow.svg +0 -41
- package/src/assets/expand-button.svg +0 -41
- package/src/assets/iconfinder-icon (1).svg +0 -14
- package/src/assets/iconfinder-icon.svg +0 -14
- package/src/assets/icons-save-60.png +0 -0
- package/src/assets/missing-doc.png +0 -0
- package/src/assets/saved-doc.png +0 -0
- package/src/assets/sysly.png +0 -0
- package/src/assets/test-missing.png +0 -0
- package/src/assets/test-saved.png +0 -0
- package/src/atoms/Button/Button.js +0 -20
- package/src/atoms/Button/Button.test.js +0 -27
- package/src/atoms/Button/__snapshots__/Button.test.js.snap +0 -9
- package/src/atoms/Button/styles.scss +0 -35
- package/src/atoms/Count/index.js +0 -10
- package/src/atoms/Count/styles.scss +0 -25
- package/src/atoms/DataTable/DataTable.js +0 -27
- package/src/atoms/DataTable/DataTable.test.js +0 -55
- package/src/atoms/DataTable/__snapshots__/DataTable.test.js.snap +0 -36
- package/src/atoms/DataTable/styles.scss +0 -28
- package/src/atoms/DescriptionBox/DescriptionBox.js +0 -24
- package/src/atoms/DescriptionBox/DescriptionBox.test.js +0 -36
- package/src/atoms/DescriptionBox/__snapshots__/DescriptionBox.test.js.snap +0 -14
- package/src/atoms/DescriptionBox/styles.scss +0 -24
- package/src/atoms/DescriptionText/DescriptionText.js +0 -12
- package/src/atoms/DescriptionText/DescriptionText.test.js +0 -22
- package/src/atoms/DescriptionText/styles.scss +0 -10
- package/src/atoms/DocsIcon/DocsIcon.js +0 -20
- package/src/atoms/DocsIcon/DocsIcon.test.js +0 -23
- package/src/atoms/DocsIcon/styles.scss +0 -7
- package/src/atoms/ExpandableIcon/ExpandableIcon.js +0 -30
- package/src/atoms/ExpandableIcon/ExpandableIcon.test.js +0 -18
- package/src/atoms/ExpandableIcon/styles.scss +0 -5
- package/src/atoms/JsonTextBox/JsonTextBox.js +0 -61
- package/src/atoms/JsonTextBox/JsonTextBox.test.js +0 -0
- package/src/atoms/JsonTextBox/styles.scss +0 -41
- package/src/atoms/Link/Link.js +0 -17
- package/src/atoms/Link/Link.test.js +0 -33
- package/src/atoms/Link/styles.scss +0 -8
- package/src/atoms/List/List.js +0 -8
- package/src/atoms/List/List.test.js +0 -26
- package/src/atoms/List/styles.scss +0 -9
- package/src/atoms/Markdown/Markdown.js +0 -48
- package/src/atoms/Markdown/styles.scss +0 -414
- package/src/atoms/RunTestIcon/index.js +0 -41
- package/src/atoms/RunTestIcon/styles.scss +0 -16
- package/src/atoms/SaveIcon/SaveIcon.js +0 -6
- package/src/atoms/SaveIcon/styles.scss +0 -3
- package/src/atoms/Selector/Selector.js +0 -28
- package/src/atoms/Selector/Selector.test.js +0 -0
- package/src/atoms/Selector/styles.scss +0 -1
- package/src/atoms/StatusIndicator/StatusIndicator.js +0 -16
- package/src/atoms/StatusIndicator/styles.scss +0 -33
- package/src/atoms/TestsIcon/TestsIcon.js +0 -17
- package/src/atoms/TestsIcon/TestsIcon.test.js +0 -18
- package/src/atoms/TestsIcon/styles.scss +0 -0
- package/src/atoms/Text/Text.js +0 -8
- package/src/atoms/Text/Text.test.js +0 -21
- package/src/atoms/Text/styles.scss +0 -0
- package/src/atoms/Textbox/Textbox.js +0 -33
- package/src/atoms/Textbox/Textbox.test.js +0 -23
- package/src/atoms/Textbox/styles.scss +0 -14
- package/src/atoms/Title/Title.js +0 -12
- package/src/atoms/Title/Title.test.js +0 -0
- package/src/atoms/Title/styles.scss +0 -6
- package/src/atoms/Toggle/Toggle.js +0 -13
- package/src/atoms/Toggle/Toggle.test.js +0 -0
- package/src/atoms/Toggle/styles.scss +0 -62
- package/src/atoms/TypeSelector/TypeSelector.js +0 -28
- package/src/atoms/TypeSelector/TypeSelector.test.js +0 -0
- package/src/atoms/TypeSelector/styles.scss +0 -9
- package/src/index.css +0 -20
- package/src/index.js +0 -24
- package/src/logo.svg +0 -7
- package/src/molecules/Args/Args.js +0 -302
- package/src/molecules/Args/Args.test.js +0 -0
- package/src/molecules/Args/styles.scss +0 -166
- package/src/molecules/AutoCompleteBox/AutoCompleteBox.js +0 -101
- package/src/molecules/AutoCompleteBox/AutoCompleteBox.test.js +0 -0
- package/src/molecules/AutoCompleteBox/styles.scss +0 -35
- package/src/molecules/DataTableForm/DataTableForm.js +0 -167
- package/src/molecules/DataTableForm/DataTableForm.test.js +0 -0
- package/src/molecules/DataTableForm/styles.scss +0 -51
- package/src/molecules/EditBox/EditBox.js +0 -49
- package/src/molecules/EditBox/EditBox.test.js +0 -0
- package/src/molecules/EditBox/styles.scss +0 -38
- package/src/molecules/ExpandableList/ExpandableList.js +0 -26
- package/src/molecules/ExpandableList/ExpandableList.test.js +0 -33
- package/src/molecules/ExpandableList/styles.scss +0 -18
- package/src/molecules/ExpandableSection/ExpandableSection.js +0 -36
- package/src/molecules/ExpandableSection/ExpandableSection.test.js +0 -0
- package/src/molecules/ExpandableSection/styles.scss +0 -22
- package/src/molecules/ServerModulesList/ServerModulesList.js +0 -75
- package/src/molecules/ServerModulesList/styles.scss +0 -28
- package/src/molecules/TargetSelector/TargetSelector.js +0 -34
- package/src/molecules/TargetSelector/TargetSelector.test.js +0 -0
- package/src/molecules/TargetSelector/styles.scss +0 -0
- package/src/molecules/TestCaption/TestCaption.js +0 -26
- package/src/molecules/TestCaption/TestCaption.test.js +0 -0
- package/src/molecules/TestCaption/styles.scss +0 -40
- package/src/molecules/TestSummary/index.js +0 -212
- package/src/molecules/TestSummary/styles.scss +0 -83
- package/src/molecules/TextWith2Links/TextWith2Links.js +0 -10
- package/src/molecules/TextWith2Links/styles.scss +0 -0
- package/src/molecules/ValidationInput/ValidationInput.js +0 -64
- package/src/molecules/ValidationInput/ValidationInput.test.js +0 -0
- package/src/molecules/ValidationInput/ValidationMessages.js +0 -178
- package/src/molecules/ValidationInput/ValidationOptions.js +0 -113
- package/src/molecules/ValidationInput/styles.scss +0 -74
- package/src/molecules/ValidationInput/validator.js +0 -244
- package/src/organisms/Documentation/Documentation.js +0 -128
- package/src/organisms/Documentation/Documentation.test.js +0 -0
- package/src/organisms/Documentation/styles.scss +0 -22
- package/src/organisms/MultiTestSection/MultiTestSection.js +0 -85
- package/src/organisms/MultiTestSection/MultiTestSection.test.js +0 -0
- package/src/organisms/MultiTestSection/styles.scss +0 -22
- package/src/organisms/SavedTests/SavedTests.js +0 -209
- package/src/organisms/SavedTests/SavedTests.test.js +0 -0
- package/src/organisms/SavedTests/styles.scss +0 -76
- package/src/organisms/SavedTests/transformTests.js +0 -51
- package/src/organisms/ScratchPad/ScratchPad.js +0 -128
- package/src/organisms/ScratchPad/ScratchPad.test.js +0 -0
- package/src/organisms/ScratchPad/styles.scss +0 -100
- package/src/organisms/SystemNavigator/SystemNavigator.js +0 -148
- package/src/organisms/SystemNavigator/SystemNavigator.test.js +0 -24
- package/src/organisms/SystemNavigator/styles.scss +0 -38
- package/src/organisms/TestContainer/TestContainer.js +0 -72
- package/src/organisms/TestContainer/TestContainer.test.js +0 -0
- package/src/organisms/TestContainer/styles.scss +0 -20
- package/src/organisms/TestPanel/AfterTest/AfterTest.js +0 -16
- package/src/organisms/TestPanel/AfterTest/AfterTest.test.js +0 -0
- package/src/organisms/TestPanel/AfterTest/styles.scss +0 -0
- package/src/organisms/TestPanel/BeforeTest/BeforeTest.js +0 -16
- package/src/organisms/TestPanel/BeforeTest/BeforeTest.test.js +0 -0
- package/src/organisms/TestPanel/BeforeTest/styles.scss +0 -0
- package/src/organisms/TestPanel/Evaluations.js +0 -369
- package/src/organisms/TestPanel/EventsTest/EventsTest.js +0 -19
- package/src/organisms/TestPanel/EventsTest/styles.scss +0 -0
- package/src/organisms/TestPanel/MainTest/MainTest.js +0 -20
- package/src/organisms/TestPanel/MainTest/MainTest.test.js +0 -0
- package/src/organisms/TestPanel/MainTest/styles.scss +0 -143
- package/src/organisms/TestPanel/TestPanel.js +0 -170
- package/src/organisms/TestPanel/TestPanel.test.js +0 -0
- package/src/organisms/TestPanel/components/Argument.class.js +0 -94
- package/src/organisms/TestPanel/components/FullTestController.js +0 -78
- package/src/organisms/TestPanel/components/Test.class.js +0 -162
- package/src/organisms/TestPanel/components/TestController.class.js +0 -135
- package/src/organisms/TestPanel/components/test-helpers.js +0 -109
- package/src/organisms/TestPanel/styles.scss +0 -45
- package/src/pages/SystemView/SystemView.js +0 -68
- package/src/pages/SystemView/styles.scss +0 -81
- package/src/reportWebVitals.js +0 -13
- package/src/sass/bootstrap/_alert.scss +0 -51
- package/src/sass/bootstrap/_badge.scss +0 -47
- package/src/sass/bootstrap/_breadcrumb.scss +0 -38
- package/src/sass/bootstrap/_button-group.scss +0 -166
- package/src/sass/bootstrap/_buttons.scss +0 -143
- package/src/sass/bootstrap/_card.scss +0 -270
- package/src/sass/bootstrap/_carousel.scss +0 -191
- package/src/sass/bootstrap/_close.scss +0 -34
- package/src/sass/bootstrap/_code.scss +0 -56
- package/src/sass/bootstrap/_custom-forms.scss +0 -297
- package/src/sass/bootstrap/_dropdown.scss +0 -131
- package/src/sass/bootstrap/_forms.scss +0 -333
- package/src/sass/bootstrap/_functions.scss +0 -86
- package/src/sass/bootstrap/_grid.scss +0 -52
- package/src/sass/bootstrap/_images.scss +0 -42
- package/src/sass/bootstrap/_input-group.scss +0 -159
- package/src/sass/bootstrap/_jumbotron.scss +0 -16
- package/src/sass/bootstrap/_list-group.scss +0 -115
- package/src/sass/bootstrap/_media.scss +0 -8
- package/src/sass/bootstrap/_mixins.scss +0 -42
- package/src/sass/bootstrap/_modal.scss +0 -168
- package/src/sass/bootstrap/_nav.scss +0 -118
- package/src/sass/bootstrap/_navbar.scss +0 -311
- package/src/sass/bootstrap/_pagination.scss +0 -77
- package/src/sass/bootstrap/_popover.scss +0 -183
- package/src/sass/bootstrap/_print.scss +0 -124
- package/src/sass/bootstrap/_progress.scss +0 -33
- package/src/sass/bootstrap/_reboot.scss +0 -482
- package/src/sass/bootstrap/_root.scss +0 -19
- package/src/sass/bootstrap/_tables.scss +0 -180
- package/src/sass/bootstrap/_tooltip.scss +0 -115
- package/src/sass/bootstrap/_transitions.scss +0 -36
- package/src/sass/bootstrap/_type.scss +0 -125
- package/src/sass/bootstrap/_utilities.scss +0 -14
- package/src/sass/bootstrap/_variables.scss +0 -894
- package/src/sass/bootstrap/bootstrap-grid.scss +0 -32
- package/src/sass/bootstrap/bootstrap-reboot.scss +0 -12
- package/src/sass/bootstrap/bootstrap.scss +0 -42
- package/src/sass/bootstrap/mixins/_alert.scss +0 -13
- package/src/sass/bootstrap/mixins/_background-variant.scss +0 -21
- package/src/sass/bootstrap/mixins/_badge.scss +0 -12
- package/src/sass/bootstrap/mixins/_border-radius.scss +0 -35
- package/src/sass/bootstrap/mixins/_box-shadow.scss +0 -5
- package/src/sass/bootstrap/mixins/_breakpoints.scss +0 -123
- package/src/sass/bootstrap/mixins/_buttons.scss +0 -109
- package/src/sass/bootstrap/mixins/_caret.scss +0 -65
- package/src/sass/bootstrap/mixins/_clearfix.scss +0 -7
- package/src/sass/bootstrap/mixins/_float.scss +0 -11
- package/src/sass/bootstrap/mixins/_forms.scss +0 -137
- package/src/sass/bootstrap/mixins/_gradients.scss +0 -45
- package/src/sass/bootstrap/mixins/_grid-framework.scss +0 -67
- package/src/sass/bootstrap/mixins/_grid.scss +0 -52
- package/src/sass/bootstrap/mixins/_hover.scss +0 -39
- package/src/sass/bootstrap/mixins/_image.scss +0 -36
- package/src/sass/bootstrap/mixins/_list-group.scss +0 -21
- package/src/sass/bootstrap/mixins/_lists.scss +0 -7
- package/src/sass/bootstrap/mixins/_nav-divider.scss +0 -10
- package/src/sass/bootstrap/mixins/_navbar-align.scss +0 -10
- package/src/sass/bootstrap/mixins/_pagination.scss +0 -22
- package/src/sass/bootstrap/mixins/_reset-text.scss +0 -17
- package/src/sass/bootstrap/mixins/_resize.scss +0 -6
- package/src/sass/bootstrap/mixins/_screen-reader.scss +0 -35
- package/src/sass/bootstrap/mixins/_size.scss +0 -6
- package/src/sass/bootstrap/mixins/_table-row.scss +0 -30
- package/src/sass/bootstrap/mixins/_text-emphasis.scss +0 -14
- package/src/sass/bootstrap/mixins/_text-hide.scss +0 -9
- package/src/sass/bootstrap/mixins/_text-truncate.scss +0 -8
- package/src/sass/bootstrap/mixins/_transition.scss +0 -9
- package/src/sass/bootstrap/mixins/_visibility.scss +0 -7
- package/src/sass/bootstrap/utilities/_align.scss +0 -8
- package/src/sass/bootstrap/utilities/_background.scss +0 -19
- package/src/sass/bootstrap/utilities/_borders.scss +0 -59
- package/src/sass/bootstrap/utilities/_clearfix.scss +0 -3
- package/src/sass/bootstrap/utilities/_display.scss +0 -38
- package/src/sass/bootstrap/utilities/_embed.scss +0 -52
- package/src/sass/bootstrap/utilities/_flex.scss +0 -46
- package/src/sass/bootstrap/utilities/_float.scss +0 -9
- package/src/sass/bootstrap/utilities/_position.scss +0 -36
- package/src/sass/bootstrap/utilities/_screenreaders.scss +0 -11
- package/src/sass/bootstrap/utilities/_sizing.scss +0 -12
- package/src/sass/bootstrap/utilities/_spacing.scss +0 -51
- package/src/sass/bootstrap/utilities/_text.scss +0 -52
- package/src/sass/bootstrap/utilities/_visibility.scss +0 -11
- package/src/setupTests.js +0 -5
- /package/{src/assets/fonts/FontsFree-Net-SFMono-Regular.ttf → build/static/media/FontsFree-Net-SFMono-Regular.9647425e.ttf} +0 -0
- /package/{src/assets/fonts/Malkor-Regular.ttf → build/static/media/Malkor-Regular.f55d6a82.ttf} +0 -0
- /package/{src/assets/check.svg → build/static/media/check.c17549c7.svg} +0 -0
- /package/{src/assets/error.svg → build/static/media/error.1d9e99c1.svg} +0 -0
- /package/{src/assets/eval-icon.svg → build/static/media/eval-icon.c95744a8.svg} +0 -0
- /package/{src/assets/loading.gif → build/static/media/loading.10ca842f.gif} +0 -0
- /package/{src/assets/test-icon.svg → build/static/media/test-icon.2b1ada73.svg} +0 -0
- /package/{src/assets/x.svg → build/static/media/x.f680188c.svg} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],f=0,p=[];f<a.length;f++)i=a[f],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(s&&s(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"0571e5a9"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){a.onerror=a.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpsystemview=this.webpackJsonpsystemview||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var s=c;r()}([]);
|
|
2
|
+
//# sourceMappingURL=runtime-main.17d324d3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"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","file":"static/js/runtime-main.17d324d3.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"3\":\"0571e5a9\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = this[\"webpackJsonpsystemview\"] = this[\"webpackJsonpsystemview\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systemview",
|
|
3
3
|
"description": "A documentation and testing suite for SystemLynx",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.2",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
7
7
|
"systemview": "cli/index.js"
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"cli-handle-unhandled": "^1.1.1",
|
|
17
17
|
"cli-meow-help": "^3.1.0",
|
|
18
18
|
"cli-welcome": "^2.2.2",
|
|
19
|
+
"express": "^4.18.2",
|
|
19
20
|
"meow": "^9.0.0",
|
|
20
21
|
"moment": "^2.29.1",
|
|
21
22
|
"node-sass": "^4.14.1",
|
|
@@ -80,8 +81,8 @@
|
|
|
80
81
|
"files": [
|
|
81
82
|
"cli/",
|
|
82
83
|
"api/",
|
|
83
|
-
"src/",
|
|
84
84
|
"plugin/",
|
|
85
|
-
"
|
|
85
|
+
"build/",
|
|
86
|
+
"server.js"
|
|
86
87
|
]
|
|
87
88
|
}
|
package/server.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const express = require("express");
|
|
2
|
+
const path = require("path");
|
|
3
|
+
|
|
4
|
+
const app = express();
|
|
5
|
+
const buildPath = path.join(__dirname, "build");
|
|
6
|
+
const indexPath = path.join(buildPath, "index.html");
|
|
7
|
+
|
|
8
|
+
app.use(express.static(buildPath));
|
|
9
|
+
|
|
10
|
+
// Route handler for all requests
|
|
11
|
+
app.get("*", (req, res) => {
|
|
12
|
+
res.sendFile(indexPath);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
// Start the server
|
|
16
|
+
const port = process.env.PORT || 3000;
|
|
17
|
+
app.listen(port, () => {
|
|
18
|
+
console.log(`App is running on port ${port}`);
|
|
19
|
+
});
|
package/babel.config.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: ["@babel/preset-env", "@babel/preset-react"],
|
|
3
|
-
plugins: [
|
|
4
|
-
"@babel/plugin-transform-runtime",
|
|
5
|
-
["@babel/plugin-proposal-class-properties", { loose: true }],
|
|
6
|
-
],
|
|
7
|
-
env: {
|
|
8
|
-
testing: {
|
|
9
|
-
presets: [["@babel/preset-env", { targets: { node: "current" } }]],
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
};
|
package/src/App.css
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
.App {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.App-logo {
|
|
6
|
-
height: 40vmin;
|
|
7
|
-
pointer-events: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
11
|
-
.App-logo {
|
|
12
|
-
animation: App-logo-spin infinite 20s linear;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.App-header {
|
|
17
|
-
background-color: #282c34;
|
|
18
|
-
min-height: 100vh;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
font-size: calc(10px + 2vmin);
|
|
24
|
-
color: white;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.App-link {
|
|
28
|
-
color: #61dafb;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@keyframes App-logo-spin {
|
|
32
|
-
from {
|
|
33
|
-
transform: rotate(0deg);
|
|
34
|
-
}
|
|
35
|
-
to {
|
|
36
|
-
transform: rotate(360deg);
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/App.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import SystemView from "./pages/SystemView/SystemView";
|
|
3
|
-
import ServiceContext from "./ServiceContext";
|
|
4
|
-
import { BrowserRouter as Router, Route } from "react-router-dom";
|
|
5
|
-
|
|
6
|
-
function App({ SystemViewService }) {
|
|
7
|
-
const [connectedServices, setConnectedServices] = useState([]);
|
|
8
|
-
|
|
9
|
-
return (
|
|
10
|
-
<ServiceContext.Provider
|
|
11
|
-
value={{ SystemViewService, connectedServices, setConnectedServices }}
|
|
12
|
-
>
|
|
13
|
-
<Router>
|
|
14
|
-
<Route
|
|
15
|
-
path={[
|
|
16
|
-
"/:projectCode/:serviceId/:moduleName/:methodName",
|
|
17
|
-
"/:projectCode/:serviceId/:moduleName",
|
|
18
|
-
"/:projectCode/:serviceId",
|
|
19
|
-
"/:projectCode/",
|
|
20
|
-
"/",
|
|
21
|
-
]}
|
|
22
|
-
>
|
|
23
|
-
<SystemView />
|
|
24
|
-
</Route>
|
|
25
|
-
</Router>
|
|
26
|
-
</ServiceContext.Provider>
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export default App;
|
package/src/ServiceContext.js
DELETED
package/src/assets/arrow.png
DELETED
|
Binary file
|
package/src/assets/clear.png
DELETED
|
Binary file
|
package/src/assets/edit.png
DELETED
|
Binary file
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="306px" height="306px" viewBox="0 0 306 306" style="enable-background:new 0 0 306 306;" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<g id="expand-less">
|
|
8
|
-
<polygon points="153,58.65 0,211.65 35.7,247.35 153,130.05 270.3,247.35 306,211.65 "/>
|
|
9
|
-
</g>
|
|
10
|
-
</g>
|
|
11
|
-
<g>
|
|
12
|
-
</g>
|
|
13
|
-
<g>
|
|
14
|
-
</g>
|
|
15
|
-
<g>
|
|
16
|
-
</g>
|
|
17
|
-
<g>
|
|
18
|
-
</g>
|
|
19
|
-
<g>
|
|
20
|
-
</g>
|
|
21
|
-
<g>
|
|
22
|
-
</g>
|
|
23
|
-
<g>
|
|
24
|
-
</g>
|
|
25
|
-
<g>
|
|
26
|
-
</g>
|
|
27
|
-
<g>
|
|
28
|
-
</g>
|
|
29
|
-
<g>
|
|
30
|
-
</g>
|
|
31
|
-
<g>
|
|
32
|
-
</g>
|
|
33
|
-
<g>
|
|
34
|
-
</g>
|
|
35
|
-
<g>
|
|
36
|
-
</g>
|
|
37
|
-
<g>
|
|
38
|
-
</g>
|
|
39
|
-
<g>
|
|
40
|
-
</g>
|
|
41
|
-
</svg>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="306px" height="306px" viewBox="0 0 306 306" style="enable-background:new 0 0 306 306;" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<g id="expand-more">
|
|
8
|
-
<polygon points="270.3,58.65 153,175.95 35.7,58.65 0,94.35 153,247.35 306,94.35 "/>
|
|
9
|
-
</g>
|
|
10
|
-
</g>
|
|
11
|
-
<g>
|
|
12
|
-
</g>
|
|
13
|
-
<g>
|
|
14
|
-
</g>
|
|
15
|
-
<g>
|
|
16
|
-
</g>
|
|
17
|
-
<g>
|
|
18
|
-
</g>
|
|
19
|
-
<g>
|
|
20
|
-
</g>
|
|
21
|
-
<g>
|
|
22
|
-
</g>
|
|
23
|
-
<g>
|
|
24
|
-
</g>
|
|
25
|
-
<g>
|
|
26
|
-
</g>
|
|
27
|
-
<g>
|
|
28
|
-
</g>
|
|
29
|
-
<g>
|
|
30
|
-
</g>
|
|
31
|
-
<g>
|
|
32
|
-
</g>
|
|
33
|
-
<g>
|
|
34
|
-
</g>
|
|
35
|
-
<g>
|
|
36
|
-
</g>
|
|
37
|
-
<g>
|
|
38
|
-
</g>
|
|
39
|
-
<g>
|
|
40
|
-
</g>
|
|
41
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
|
|
3
|
-
<g>
|
|
4
|
-
<title>background</title>
|
|
5
|
-
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
|
6
|
-
</g>
|
|
7
|
-
<g>
|
|
8
|
-
<title>Layer 1</title>
|
|
9
|
-
<path id="svg_2" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" fill="#e57070" d="m50,52c0,2.2 -1.8,4 -4,4l-28,0c-2.2,0 -4,-1.8 -4,-4l0,-35l9,-9l23,0c2.2,0 4,1.8 4,4l0,40z"/>
|
|
10
|
-
<line id="svg_5" y2="13" y1="11" x2="24" x1="24" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" fill="none"/>
|
|
11
|
-
<path id="svg_6" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-dasharray="2.7511,2.7511" stroke="#2C3E50" fill="none" d="m23.6,15.7c-0.6,1.2 -1.8,2.1 -3.2,2.3"/>
|
|
12
|
-
<line id="svg_7" y2="18" y1="18" x2="17" x1="19" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" fill="none"/>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
|
|
3
|
-
<g>
|
|
4
|
-
<title>background</title>
|
|
5
|
-
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
|
6
|
-
</g>
|
|
7
|
-
<g>
|
|
8
|
-
<title>Layer 1</title>
|
|
9
|
-
<path id="svg_1" stroke-width="2" stroke-miterlimit="10" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" fill="#ffffff" d="m32,56l-14,0c-2.2,0 -4,-1.8 -4,-4l0,-35l9,-9l23,0c2.2,0 4,1.8 4,4l0,26"/>
|
|
10
|
-
<path id="svg_2" stroke-width="2" stroke-miterlimit="10" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" fill="none" d="m24,11l0,3c0,2.2 -1.9,4 -4.1,4l-2.9,0"/>
|
|
11
|
-
<circle id="svg_3" stroke-width="2" stroke-miterlimit="10" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" r="10" fill="#00bf00" cy="46" cx="40"/>
|
|
12
|
-
<polyline id="svg_4" stroke-width="2" stroke-miterlimit="10" stroke-linejoin="round" stroke-linecap="round" stroke="#2C3E50" points=" 35.7,45.9 39,49.2 44.2,43.8 " fill="none"/>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
package/src/assets/saved-doc.png
DELETED
|
Binary file
|
package/src/assets/sysly.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./styles.scss";
|
|
3
|
-
import CLEAR_ICON from "../../assets/clear.png";
|
|
4
|
-
|
|
5
|
-
const Button = ({ children, submit }) => {
|
|
6
|
-
return (
|
|
7
|
-
<button className="button" onClick={submit}>
|
|
8
|
-
{children}
|
|
9
|
-
</button>
|
|
10
|
-
);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export function ClearButton({ onClick }) {
|
|
14
|
-
return (
|
|
15
|
-
<span className={`clear-button btn`} onClick={onClick}>
|
|
16
|
-
<img src={CLEAR_ICON} alt="clear" />
|
|
17
|
-
</span>
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
export default Button;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/* eslint-disable jest/valid-expect */
|
|
2
|
-
import React from "react";
|
|
3
|
-
import ReactDom from "react-dom";
|
|
4
|
-
import { render, cleanup } from "@testing-library/react";
|
|
5
|
-
import "@testing-library/jest-dom/extend-expect";
|
|
6
|
-
import renderer from "react-test-renderer";
|
|
7
|
-
import Button from "./Button";
|
|
8
|
-
|
|
9
|
-
afterEach(cleanup);
|
|
10
|
-
|
|
11
|
-
describe("<Button/>", () => {
|
|
12
|
-
it("renders without crashing", () => {
|
|
13
|
-
const div = document.createElement("div");
|
|
14
|
-
ReactDom.render(<Button />, div);
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
it("renders an <button></button> element with text and class button", () => {
|
|
18
|
-
const { getByRole } = render(<Button>test</Button>);
|
|
19
|
-
expect(getByRole("button")).toHaveTextContent("test");
|
|
20
|
-
expect(getByRole("button")).toHaveClass("button");
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it("should match snapshot", () => {
|
|
24
|
-
const tree = renderer.create(<Button>test</Button>).toJSON();
|
|
25
|
-
expect(tree).toMatchSnapshot();
|
|
26
|
-
});
|
|
27
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.button {
|
|
2
|
-
border: 1px solid;
|
|
3
|
-
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
|
|
4
|
-
border-radius: 3px;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
color: #666666;
|
|
8
|
-
font-family: Arial;
|
|
9
|
-
font-size: 15px;
|
|
10
|
-
font-weight: bold;
|
|
11
|
-
padding: 6px 24px;
|
|
12
|
-
text-decoration: none;
|
|
13
|
-
text-shadow: 0px 1px 0px #ffffff;
|
|
14
|
-
margin: 4px 10px;
|
|
15
|
-
&:hover {
|
|
16
|
-
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
|
|
17
|
-
background-color: #e9e9e9;
|
|
18
|
-
}
|
|
19
|
-
&:active {
|
|
20
|
-
position: relative;
|
|
21
|
-
top: 1px;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.clear-button {
|
|
25
|
-
background: #607d8b;
|
|
26
|
-
padding: 0px 8px;
|
|
27
|
-
color: white;
|
|
28
|
-
border-radius: 17px;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
align-self: flex-end;
|
|
31
|
-
& > img {
|
|
32
|
-
width: 13px;
|
|
33
|
-
padding-top: 2px;
|
|
34
|
-
}
|
|
35
|
-
}
|
package/src/atoms/Count/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "./styles.scss";
|
|
2
|
-
const CLASS_NAME = "count";
|
|
3
|
-
|
|
4
|
-
export default function Count({ count, stat, type }) {
|
|
5
|
-
return (
|
|
6
|
-
<span className={`${CLASS_NAME} ${CLASS_NAME}__${type}`}>
|
|
7
|
-
{count} {stat && <span className={`${CLASS_NAME}__stat`}>{stat}</span>}
|
|
8
|
-
</span>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.count {
|
|
2
|
-
background: gainsboro;
|
|
3
|
-
padding: 0px 9px;
|
|
4
|
-
border-radius: 12px;
|
|
5
|
-
font-size: 14px;
|
|
6
|
-
font-weight: bold;
|
|
7
|
-
color: #777777 !important;
|
|
8
|
-
margin-left: 5px;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
&__stat {
|
|
11
|
-
padding: 3px 0;
|
|
12
|
-
display: inline-block;
|
|
13
|
-
}
|
|
14
|
-
&__error {
|
|
15
|
-
background: #ffc4b1;
|
|
16
|
-
color: #f44336 !important;
|
|
17
|
-
}
|
|
18
|
-
&__caution {
|
|
19
|
-
color: #bcb047 !important;
|
|
20
|
-
}
|
|
21
|
-
&__passed {
|
|
22
|
-
background: #6fc878;
|
|
23
|
-
color: #ffffff !important;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./styles.scss";
|
|
3
|
-
|
|
4
|
-
const DataTable = ({ headers = [], table = [], tableClassName }) => {
|
|
5
|
-
return (
|
|
6
|
-
<table className={`data-table ${tableClassName}`}>
|
|
7
|
-
<thead>
|
|
8
|
-
<tr>
|
|
9
|
-
{headers.map(({ name }, i) => (
|
|
10
|
-
<th key={i}>{name}</th>
|
|
11
|
-
))}
|
|
12
|
-
</tr>
|
|
13
|
-
</thead>
|
|
14
|
-
<tbody>
|
|
15
|
-
{table.map((row, i) => (
|
|
16
|
-
<tr key={i}>
|
|
17
|
-
{row.map((value, i) => (
|
|
18
|
-
<td key={i}>{value}</td>
|
|
19
|
-
))}
|
|
20
|
-
</tr>
|
|
21
|
-
))}
|
|
22
|
-
</tbody>
|
|
23
|
-
</table>
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export default DataTable;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/* eslint-disable jest/valid-expect */
|
|
2
|
-
import React from "react";
|
|
3
|
-
import ReactDom from "react-dom";
|
|
4
|
-
import { render, cleanup } from "@testing-library/react";
|
|
5
|
-
import "@testing-library/jest-dom/extend-expect";
|
|
6
|
-
import renderer from "react-test-renderer";
|
|
7
|
-
import DataTable from "./DataTable";
|
|
8
|
-
|
|
9
|
-
afterEach(cleanup);
|
|
10
|
-
|
|
11
|
-
describe("<DataTable/>", () => {
|
|
12
|
-
it("renders without crashing", () => {
|
|
13
|
-
const div = document.createElement("div");
|
|
14
|
-
ReactDom.render(<DataTable />, div);
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
it("renders an table element with text and class button", () => {
|
|
18
|
-
const { getByRole } = render(<DataTable />);
|
|
19
|
-
expect(getByRole("table")).toHaveClass("data-table");
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it("renders content correctly", () => {
|
|
23
|
-
const headers = [{ name: "column 1" }, { name: "column 2" }];
|
|
24
|
-
const data = [
|
|
25
|
-
["r1c1", "r1c2"],
|
|
26
|
-
["r2c1", "r2c2"],
|
|
27
|
-
];
|
|
28
|
-
const { getByRole, getAllByRole } = render(
|
|
29
|
-
<DataTable tableClassName={"test"} headers={headers} table={data} />
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
expect(getByRole("table")).toHaveClass("data-table");
|
|
33
|
-
expect(getByRole("table")).toHaveClass("test");
|
|
34
|
-
expect(getAllByRole("columnheader")).toHaveLength(headers.length);
|
|
35
|
-
expect(getAllByRole("columnheader")[0]).toHaveTextContent(headers[0].name);
|
|
36
|
-
expect(getAllByRole("columnheader")[1]).toHaveTextContent(headers[1].name);
|
|
37
|
-
expect(getAllByRole("cell")).toHaveLength(data.length * headers.length);
|
|
38
|
-
expect(getAllByRole("cell")[0]).toHaveTextContent(data[0][0]);
|
|
39
|
-
expect(getAllByRole("cell")[1]).toHaveTextContent(data[0][1]);
|
|
40
|
-
expect(getAllByRole("cell")[2]).toHaveTextContent(data[1][0]);
|
|
41
|
-
expect(getAllByRole("cell")[3]).toHaveTextContent(data[1][1]);
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it("should match snapshot", () => {
|
|
45
|
-
const headers = [{ name: "column 1" }, { name: "column 2" }];
|
|
46
|
-
const data = [
|
|
47
|
-
["r1c1", "r1c2"],
|
|
48
|
-
["r2c1", "r2c2"],
|
|
49
|
-
];
|
|
50
|
-
const tree = renderer
|
|
51
|
-
.create(<DataTable tableClassName={"test"} headers={headers} table={data} />)
|
|
52
|
-
.toJSON();
|
|
53
|
-
expect(tree).toMatchSnapshot();
|
|
54
|
-
});
|
|
55
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`<DataTable/> should match snapshot 1`] = `
|
|
4
|
-
<table
|
|
5
|
-
className="data-table test"
|
|
6
|
-
>
|
|
7
|
-
<thead>
|
|
8
|
-
<tr>
|
|
9
|
-
<th>
|
|
10
|
-
column 1
|
|
11
|
-
</th>
|
|
12
|
-
<th>
|
|
13
|
-
column 2
|
|
14
|
-
</th>
|
|
15
|
-
</tr>
|
|
16
|
-
</thead>
|
|
17
|
-
<tbody>
|
|
18
|
-
<tr>
|
|
19
|
-
<td>
|
|
20
|
-
r1c1
|
|
21
|
-
</td>
|
|
22
|
-
<td>
|
|
23
|
-
r1c2
|
|
24
|
-
</td>
|
|
25
|
-
</tr>
|
|
26
|
-
<tr>
|
|
27
|
-
<td>
|
|
28
|
-
r2c1
|
|
29
|
-
</td>
|
|
30
|
-
<td>
|
|
31
|
-
r2c2
|
|
32
|
-
</td>
|
|
33
|
-
</tr>
|
|
34
|
-
</tbody>
|
|
35
|
-
</table>
|
|
36
|
-
`;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
.data-table {
|
|
2
|
-
width: 100%;
|
|
3
|
-
margin: 5px 0;
|
|
4
|
-
background-color: #ffffff;
|
|
5
|
-
border-collapse: collapse;
|
|
6
|
-
color: #000000;
|
|
7
|
-
& td,
|
|
8
|
-
& th {
|
|
9
|
-
border-width: 1px;
|
|
10
|
-
border-color: #bfbfbe;
|
|
11
|
-
border-style: solid;
|
|
12
|
-
padding: 5px;
|
|
13
|
-
font-weight: 300;
|
|
14
|
-
}
|
|
15
|
-
& th {
|
|
16
|
-
font-weight: bold;
|
|
17
|
-
font-size: 15px;
|
|
18
|
-
color: #41937a;
|
|
19
|
-
padding: 6px;
|
|
20
|
-
}
|
|
21
|
-
& td {
|
|
22
|
-
font-family: monospace;
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
}
|
|
25
|
-
& thead {
|
|
26
|
-
background-color: #dadada;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./styles.scss";
|
|
3
|
-
|
|
4
|
-
const DescriptionBox = ({ text, setValue }) => {
|
|
5
|
-
return (
|
|
6
|
-
<div className="description-box">
|
|
7
|
-
<textarea
|
|
8
|
-
className="description-box__textbox"
|
|
9
|
-
name="description-box"
|
|
10
|
-
id="description-box"
|
|
11
|
-
value={text}
|
|
12
|
-
onChange={
|
|
13
|
-
setValue
|
|
14
|
-
? (e) => {
|
|
15
|
-
setValue(e.target.value);
|
|
16
|
-
}
|
|
17
|
-
: null
|
|
18
|
-
}
|
|
19
|
-
></textarea>
|
|
20
|
-
</div>
|
|
21
|
-
);
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export default DescriptionBox;
|