diff --git a/SAS/TMSS/frontend/tmss_webapp/package-lock.json b/SAS/TMSS/frontend/tmss_webapp/package-lock.json index 33e138ca4d62b0ba517e8922bb1afdeb53c6eabe..94f362c0b4f86ed035dfbca3ffeb04e56ea149e0 100644 --- a/SAS/TMSS/frontend/tmss_webapp/package-lock.json +++ b/SAS/TMSS/frontend/tmss_webapp/package-lock.json @@ -1,14 +1,14 @@ { "name": "tmss", - "version": "0.1.2", + "version": "0.9.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tmss", - "version": "0.1.2", + "version": "0.9.9", "hasInstallScript": true, - "license": "ISC", + "license": "GPLv2", "dependencies": { "@kevincobain2000/json-to-html-table": "^1.0.4", "react-redux": "^7.2.4", @@ -18,11 +18,11 @@ "react-bootstrap-datetimepicker": "0.0.22", "match-sorter": "^4.2.1", "react-tooltip": "^4.5.1", - "axios": "^1.6.2", + "axios": "^1.6.5", "@microlink/react-json-view": "^1.23.0", "immer": "^10.0.3", "jspdf": "^2.5.1", - "interactjs": "^1.10.23", + "interactjs": "^1.10.26", "primereact": "9.6.2", "bootstrap": "^4.5.0", "use-axios": "^1.0.0", @@ -32,23 +32,23 @@ "flatpickr": "^4.6.13", "reactstrap": "^9.2.1", "react-websocket": "^2.1.0", - "jspdf-autotable": "^3.7.1", + "jspdf-autotable": "^3.8.1", "react-flatpickr": "^3.10.13", "react-bootstrap": "^1.0.1", "react-leaflet": "^4.2.1", - "chart.js": "^4.4.0", + "chart.js": "^4.4.1", "react-use-websocket": "^4.5.0", "react-leaflet-cluster": "^2.1.0", "react-to-print": "^2.14.15", - "moment": "^2.29.4", + "moment": "^2.30.1", "typescript": "^3.9.5", "react-dom": "^18.2.0", "@apidevtools/json-schema-ref-parser": "^9.0.9", "papaparse": "^5.4.1", "leaflet": "^1.9.4", "ag-grid-community": "^24.1.0", - "sass": "^1.69.5", - "npm-check-updates": "^16.14.11", + "sass": "^1.69.7", + "npm-check-updates": "^16.14.12", "font-awesome": "^4.7.0", "shortcut-buttons-flatpickr": "^0.4.0", "json-schema-ref-parser": "^1.0.0-alpha.21", @@ -71,7 +71,7 @@ "react-json-to-table": "^0.1.7", "pptr-testing-library": "^0.7.0", "@ag-grid-community/all-modules": "^24.1.0", - "replace-in-file": "^7.0.2", + "replace-in-file": "^7.1.0", "chartjs-plugin-annotation": "^3.0.1", "react": "^18.2.0", "jquery": "^3.7.1", @@ -81,32 +81,32 @@ "react-loader-spinner": "^5.4.5", "react-table-plugins": "^1.3.4", "@fortawesome/fontawesome-free": "^5.13.1", - "react-live-clock": "^6.1.18", + "react-live-clock": "^6.1.19", "prop-types": "^15.8.1", - "puppeteer": "^21.5.2" + "puppeteer": "^21.7.0" }, "devDependencies": { - "eslint": "^8.55.0", + "eslint": "^8.56.0", "react-scripts": "^5.0.1", "js-beautify": "^1.14.11", "jest-mock-console": "^2.0.0", "jest-coverage-badge": "^1.0.0", - "@testing-library/user-event": "^14.5.1", + "@testing-library/user-event": "^14.5.2", "cheerio": "^1.0.0-rc.12", "babel-jest": "^29.7.0", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.15", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.23.3", "jest-junit": "^16.0.0", - "@babel/plugin-transform-private-property-in-object": "7.22.11", + "@babel/plugin-transform-private-property-in-object": "7.23.4", "@testing-library/react": "^14.1.2", "eslint-plugin-react": "^7.33.2", - "@babel/preset-env": "^7.23.5", + "@babel/preset-env": "^7.23.8", "axios-mock-adapter": "^1.22.0", - "@types/jest": "^29.5.10", + "@types/jest": "^29.5.11", "babel-polyfill": "^6.26.0", "ajv": "^8.12.0", "jest-expect-message": "^1.1.3", "jest-websocket-mock": "^2.5.0", - "@testing-library/jest-dom": "^6.1.5", + "@testing-library/jest-dom": "^6.2.0", "@types/react-router-dom": "^5.3.3", "jest-canvas-mock": "^2.5.2", "react-app-rewired": "^2.2.1", @@ -514,9 +514,10 @@ "license": "MIT" }, "node_modules/@testing-library/user-event": { - "version": "14.5.1", + "version": "14.5.2", + "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz", + "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=12", "npm": ">=6" @@ -879,7 +880,8 @@ }, "node_modules/pac-proxy-agent/node_modules/http-proxy-agent": { "version": "7.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", + "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" @@ -1694,8 +1696,9 @@ }, "node_modules/@jest/core/node_modules/supports-color": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "has-flag": "^4.0.0" @@ -2564,7 +2567,8 @@ }, "node_modules/@types/yauzl": { "version": "2.10.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", "optional": true, "dependencies": { "@types/node": "*" @@ -2681,9 +2685,10 @@ "license": "CC-BY-4.0" }, "node_modules/eslint": { - "version": "8.55.0", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dev": true, - "license": "MIT", "dependencies": { "ignore": "^5.2.0", "eslint-scope": "^7.2.2", @@ -2722,7 +2727,7 @@ "find-up": "^5.0.0", "optionator": "^0.9.3", "escape-string-regexp": "^4.0.0", - "@eslint/js": "8.55.0" + "@eslint/js": "8.56.0" }, "bin": { "eslint": "bin/eslint.js" @@ -2746,11 +2751,12 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.6", + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.7.tgz", + "integrity": "sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA==", "dev": true, - "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.3", + "@babel/helper-define-polyfill-provider": "^0.4.4", "core-js-compat": "^3.33.1" }, "peerDependencies": { @@ -2928,7 +2934,8 @@ }, "node_modules/pac-proxy-agent/node_modules/socks-proxy-agent": { "version": "8.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", + "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", "dependencies": { "agent-base": "^7.0.2", "debug": "^4.3.4", @@ -3334,7 +3341,8 @@ }, "node_modules/mkdirp-classic": { "version": "0.5.3", - "license": "MIT" + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" }, "node_modules/on-finished": { "version": "2.4.1", @@ -4058,7 +4066,8 @@ }, "node_modules/pump": { "version": "3.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -4254,8 +4263,9 @@ }, "node_modules/jest-editor-support/node_modules/@types/yargs": { "version": "16.0.9", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.9.tgz", + "integrity": "sha512-tHhzvkFXZQeTECenFoRljLBYPZJ7jAVxqqtEI0qTLOmuultnFp4I9yKE17vTuhf7BkhCu7I4XuemPgikDVuYqA==", "dev": true, - "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } @@ -4451,8 +4461,9 @@ } }, "node_modules/chromium-bidi": { - "version": "0.4.33", - "license": "Apache-2.0", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.2.tgz", + "integrity": "sha512-PbVOSddxgKyj+JByqavWMNqWPCoCaT6XK5Z1EFe168sxnB/BM51LnZEPXSbFcFAJv/+u2B4XNTs9uXxy4GW3cQ==", "dependencies": { "mitt": "3.0.1", "urlpattern-polyfill": "9.0.0" @@ -4831,11 +4842,12 @@ } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.3", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.4.tgz", + "integrity": "sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg==", "dev": true, - "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.3" + "@babel/helper-define-polyfill-provider": "^0.4.4" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -4921,8 +4933,9 @@ }, "node_modules/jest-editor-support/node_modules/convert-source-map": { "version": "1.9.0", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true }, "node_modules/delegates": { "version": "1.0.0", @@ -5104,8 +5117,9 @@ }, "node_modules/lodash.debounce": { "version": "4.0.8", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true }, "node_modules/fork-ts-checker-webpack-plugin": { "version": "6.5.3", @@ -5291,10 +5305,11 @@ } }, "node_modules/axios": { - "version": "1.6.2", - "license": "MIT", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -5332,7 +5347,8 @@ }, "node_modules/jsonfile": { "version": "4.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "optionalDependencies": { "graceful-fs": "^4.1.6" } @@ -5437,7 +5453,8 @@ }, "node_modules/json-schema-ref-parser/node_modules/argparse": { "version": "1.0.10", - "license": "MIT", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dependencies": { "sprintf-js": "~1.0.2" } @@ -6341,12 +6358,13 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.6", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.7.tgz", + "integrity": "sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ==", "dev": true, - "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.3", + "@babel/helper-define-polyfill-provider": "^0.4.4", "semver": "^6.3.1" }, "peerDependencies": { @@ -6490,8 +6508,9 @@ } }, "node_modules/streamx": { - "version": "2.15.5", - "license": "MIT", + "version": "2.15.6", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.6.tgz", + "integrity": "sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==", "dependencies": { "fast-fifo": "^1.1.0", "queue-tick": "^1.0.1" @@ -6673,7 +6692,8 @@ }, "node_modules/ip": { "version": "1.1.8", - "license": "MIT" + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", + "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==" }, "node_modules/sass-loader": { "version": "12.6.0", @@ -6776,7 +6796,8 @@ }, "node_modules/proxy-agent/node_modules/https-proxy-agent": { "version": "7.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", + "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -6922,23 +6943,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/preset-env/node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.23.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.15", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/create-ecdh": { "version": "4.0.4", "license": "MIT", @@ -6966,8 +6970,9 @@ }, "node_modules/jest-environment-jsdom/node_modules/color-convert": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, - "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -6977,11 +6982,18 @@ }, "node_modules/fd-slicer": { "version": "1.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", "dependencies": { "pend": "~1.2.0" } }, + "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz", + "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==", + "dev": true + }, "node_modules/@typescript-eslint/utils/node_modules/estraverse": { "version": "4.3.0", "dev": true, @@ -7683,7 +7695,8 @@ }, "node_modules/urlpattern-polyfill": { "version": "9.0.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-9.0.0.tgz", + "integrity": "sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g==" }, "node_modules/pkg-up/node_modules/find-up": { "version": "3.0.0", @@ -7859,8 +7872,9 @@ } }, "node_modules/npm-check-updates": { - "version": "16.14.11", - "license": "Apache-2.0", + "version": "16.14.12", + "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.12.tgz", + "integrity": "sha512-5FvqaDX8AqWWTDQFbBllgLwoRXTvzlqVIRSKl9Kg8bYZTfNwMnrp1Zlmb5e/ocf11UjPTc+ShBFjYQ7kg6FL0w==", "dependencies": { "pacote": "15.2.0", "remote-git-tags": "^3.0.0", @@ -7952,9 +7966,10 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.4.3", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.4.tgz", + "integrity": "sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.22.6", "@babel/helper-plugin-utils": "^7.22.5", @@ -8095,8 +8110,9 @@ }, "node_modules/jest-jasmine2/node_modules/@jest/transform": { "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.5.1.tgz", + "integrity": "sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==", "dev": true, - "license": "MIT", "dependencies": { "@babel/core": "^7.1.0", "@jest/types": "^27.5.1", @@ -8822,7 +8838,8 @@ }, "node_modules/unbzip2-stream": { "version": "1.4.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", + "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", "dependencies": { "buffer": "^5.2.1", "through": "^2.3.8" @@ -8921,7 +8938,8 @@ }, "node_modules/tar-stream": { "version": "3.1.6", - "license": "MIT", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz", + "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==", "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", @@ -9291,8 +9309,9 @@ }, "node_modules/jest-environment-jsdom/node_modules/@sinonjs/commons": { "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", "dev": true, - "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } @@ -9744,8 +9763,9 @@ }, "node_modules/data-urls/node_modules/webidl-conversions": { "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", "dev": true, - "license": "BSD-2-Clause", "engines": { "node": ">=10.4" } @@ -9769,8 +9789,9 @@ }, "node_modules/@jest/reporters/node_modules/semver": { "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "lru-cache": "^6.0.0" @@ -9929,8 +9950,9 @@ }, "node_modules/jest-jasmine2/node_modules/write-file-atomic": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", "dev": true, - "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -10130,7 +10152,8 @@ }, "node_modules/pend": { "version": "1.2.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" }, "node_modules/typescript": { "version": "3.9.10", @@ -10347,7 +10370,8 @@ }, "node_modules/react-json-to-table/node_modules/scheduler": { "version": "0.19.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -10450,8 +10474,9 @@ }, "node_modules/react-dev-utils/node_modules/p-locate": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, - "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -10531,12 +10556,13 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.15", - "license": "MIT", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -10899,7 +10925,8 @@ }, "node_modules/proxy-agent/node_modules/socks-proxy-agent": { "version": "8.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", + "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", "dependencies": { "agent-base": "^7.0.2", "debug": "^4.3.4", @@ -10984,8 +11011,9 @@ } }, "node_modules/sass": { - "version": "1.69.5", - "license": "MIT", + "version": "1.69.7", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.7.tgz", + "integrity": "sha512-rzj2soDeZ8wtE2egyLXgOOHQvaC2iosZrkF6v3EUG+tBwEvhqUCzm0VP3k9gHF9LXbSrRhT5SksoI56Iw8NPnQ==", "dependencies": { "chokidar": ">=3.0.0 <4.0.0", "immutable": "^4.0.0", @@ -11224,7 +11252,8 @@ }, "node_modules/queue-tick": { "version": "1.0.1", - "license": "MIT" + "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", + "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" }, "node_modules/crypto-browserify": { "version": "3.12.0", @@ -11336,15 +11365,16 @@ } }, "node_modules/puppeteer-core": { - "version": "21.5.2", - "license": "Apache-2.0", + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.7.0.tgz", + "integrity": "sha512-elPYPozrgiM3phSy7VDUJCVWQ07SPnOm78fpSaaSNFoQx5sur/MqhTSro9Wz8lOEjqCykGC6WRkwxDgmqcy1dQ==", "dependencies": { - "@puppeteer/browsers": "1.8.0", - "chromium-bidi": "0.4.33", + "@puppeteer/browsers": "1.9.1", + "chromium-bidi": "0.5.2", "cross-fetch": "4.0.0", "debug": "4.3.4", "devtools-protocol": "0.0.1203626", - "ws": "8.14.2" + "ws": "8.16.0" }, "engines": { "node": ">=16.13.2" @@ -11454,8 +11484,9 @@ }, "node_modules/@jest/reporters/node_modules/lru-cache": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "yallist": "^4.0.0" @@ -11660,8 +11691,9 @@ }, "node_modules/@jest/reporters/node_modules/has-flag": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">=8" @@ -12088,7 +12120,8 @@ }, "node_modules/netmask": { "version": "2.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", "engines": { "node": ">= 0.4.0" } @@ -12165,6 +12198,8 @@ }, "node_modules/unbzip2-stream/node_modules/buffer": { "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "funding": [ { "type": "github", @@ -12179,7 +12214,6 @@ "url": "https://feross.org/support" } ], - "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" @@ -12416,7 +12450,8 @@ }, "node_modules/fs-extra": { "version": "8.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", @@ -12841,7 +12876,8 @@ }, "node_modules/proxy-agent/node_modules/http-proxy-agent": { "version": "7.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", + "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" @@ -13033,7 +13069,8 @@ }, "node_modules/proxy-agent/node_modules/agent-base": { "version": "7.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", "dependencies": { "debug": "^4.3.4" }, @@ -13278,8 +13315,9 @@ }, "node_modules/@jest/core/node_modules/has-flag": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">=8" @@ -13317,7 +13355,8 @@ }, "node_modules/b4a": { "version": "1.6.4", - "license": "ISC" + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz", + "integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==" }, "node_modules/npm-check-updates/node_modules/yallist": { "version": "4.0.0", @@ -13394,7 +13433,8 @@ }, "node_modules/end-of-stream": { "version": "1.4.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "dependencies": { "once": "^1.4.0" } @@ -13408,8 +13448,9 @@ }, "node_modules/jest-environment-jsdom/node_modules/color-name": { "version": "1.1.4", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, "node_modules/update-notifier/node_modules/chalk": { "version": "5.3.0", @@ -13699,7 +13740,8 @@ }, "node_modules/through": { "version": "2.3.8", - "license": "MIT" + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "node_modules/express/node_modules/ms": { "version": "2.0.0", @@ -14180,8 +14222,9 @@ } }, "node_modules/replace-in-file": { - "version": "7.0.2", - "license": "MIT", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/replace-in-file/-/replace-in-file-7.1.0.tgz", + "integrity": "sha512-1uZmJ78WtqNYCSuPC9IWbweXkGxPOtk2rKuar8diTw7naVIQZiE3Tm8ACx2PCMXDtVH6N+XxwaRY2qZ2xHPqXw==", "dependencies": { "chalk": "^4.1.2", "glob": "^8.1.0", @@ -14424,7 +14467,8 @@ }, "node_modules/pac-proxy-agent": { "version": "7.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz", + "integrity": "sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==", "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", "agent-base": "^7.0.2", @@ -14722,10 +14766,11 @@ "license": "MIT" }, "node_modules/interactjs": { - "version": "1.10.23", - "license": "MIT", + "version": "1.10.26", + "resolved": "https://registry.npmjs.org/interactjs/-/interactjs-1.10.26.tgz", + "integrity": "sha512-5gNTNDTfEHp2EifqtWGi5VkD3CMZVJSTGmtK/IsVRd+rkOk3E63iVs5Z+IeD5K1Lr0qZpU2754VHAwf5i+Z9xg==", "dependencies": { - "@interactjs/types": "1.10.23" + "@interactjs/types": "1.10.26" } }, "node_modules/@babel/plugin-syntax-numeric-separator": { @@ -15501,7 +15546,8 @@ }, "node_modules/puppeteer-core/node_modules/cross-fetch": { "version": "4.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", + "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", "dependencies": { "node-fetch": "^2.6.12" } @@ -15594,8 +15640,9 @@ } }, "node_modules/basic-ftp": { - "version": "5.0.3", - "license": "MIT", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.4.tgz", + "integrity": "sha512-8PzkB0arJFV4jJWSGOYR+OEic6aeKMu/osRhBULN6RY0ykby6LKhbmuQ5ublvaas5BOwboah5D87nrHyuh8PPA==", "engines": { "node": ">=10.0.0" } @@ -15880,7 +15927,8 @@ }, "node_modules/get-uri": { "version": "6.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.2.tgz", + "integrity": "sha512-5KLucCJobh8vBY1K07EFV4+cPZH3mrV9YeAruUseCQKHB58SGjjT2l9/eA9LD082IiuMjSlFJEcdJ27TXvbZNw==", "dependencies": { "basic-ftp": "^5.0.2", "data-uri-to-buffer": "^6.0.0", @@ -16010,7 +16058,8 @@ }, "node_modules/ast-types": { "version": "0.13.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", "dependencies": { "tslib": "^2.0.1" }, @@ -16050,7 +16099,8 @@ }, "node_modules/pac-resolver": { "version": "7.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.0.tgz", + "integrity": "sha512-Fd9lT9vJbHYRACT8OhCbZBbxr6KRSawSovFpy8nDGshaK99S/EBhVIHp9+crhxrsZOuvLpgL1n23iyPg6Rl2hg==", "dependencies": { "degenerator": "^5.0.0", "ip": "^1.1.8", @@ -16066,8 +16116,9 @@ "license": "MIT" }, "node_modules/@interactjs/types": { - "version": "1.10.23", - "license": "MIT" + "version": "1.10.26", + "resolved": "https://registry.npmjs.org/@interactjs/types/-/types-1.10.26.tgz", + "integrity": "sha512-DekYpdkMV3XJVd/0k3f4pJluZAsCiG86yEtVXvGLK0lS/Fj0+OzYEv7HoMpcBZSkQ8s7//yaeEBgnxy2tV81lA==" }, "node_modules/handle-thing": { "version": "2.0.1", @@ -16084,7 +16135,8 @@ }, "node_modules/extract-zip": { "version": "2.0.1", - "license": "BSD-2-Clause", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", @@ -16544,9 +16596,10 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.23.4", + "version": "7.23.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.7.tgz", + "integrity": "sha512-PdxEpL71bJp1byMG0va5gwQcXHxuEYC/BgI/e88mGTtohbZN28O5Yit0Plkkm/dBzCF/BxmbNcses1RH1T+urA==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-plugin-utils": "^7.22.5", @@ -16941,7 +16994,8 @@ }, "node_modules/tar-fs": { "version": "3.0.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", + "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==", "dependencies": { "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", @@ -17620,7 +17674,8 @@ }, "node_modules/yauzl": { "version": "2.10.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" @@ -18148,7 +18203,8 @@ }, "node_modules/data-uri-to-buffer": { "version": "6.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz", + "integrity": "sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg==", "engines": { "node": ">= 14" } @@ -18266,16 +18322,17 @@ "license": "MIT" }, "node_modules/@testing-library/jest-dom": { - "version": "6.1.5", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.2.0.tgz", + "integrity": "sha512-+BVQlJ9cmEn5RDMUS8c2+TU6giLvzaHZ8sU/x0Jj7fk+6/46wPdwlgOPcpxS17CjcanBi/3VmGMqVr2rmbUmNw==", "dev": true, - "license": "MIT", "dependencies": { - "@adobe/css-tools": "^4.3.1", + "@adobe/css-tools": "^4.3.2", "@babel/runtime": "^7.9.2", "aria-query": "^5.0.0", "chalk": "^3.0.0", "css.escape": "^1.5.1", - "dom-accessibility-api": "^0.5.6", + "dom-accessibility-api": "^0.6.3", "lodash": "^4.17.15", "redent": "^3.0.0" }, @@ -18320,7 +18377,8 @@ }, "node_modules/proxy-agent": { "version": "6.3.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.1.tgz", + "integrity": "sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==", "dependencies": { "agent-base": "^7.0.2", "debug": "^4.3.4", @@ -18336,7 +18394,9 @@ } }, "node_modules/browserslist": { - "version": "4.22.1", + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", + "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", "funding": [ { "type": "opencollective", @@ -18351,11 +18411,10 @@ "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001541", - "electron-to-chromium": "^1.4.535", - "node-releases": "^2.0.13", + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" }, "bin": { @@ -18504,7 +18563,8 @@ }, "node_modules/buffer-crc32": { "version": "0.2.13", - "license": "MIT", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", "engines": { "node": "*" } @@ -18553,7 +18613,8 @@ }, "node_modules/proxy-agent/node_modules/lru-cache": { "version": "7.18.3", - "license": "ISC", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "engines": { "node": ">=12" } @@ -18647,8 +18708,9 @@ }, "node_modules/@jest/reporters/node_modules/yallist": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true, - "license": "ISC", "peer": true }, "node_modules/@babel/helper-hoist-variables": { @@ -18748,7 +18810,8 @@ }, "node_modules/extract-zip/node_modules/get-stream": { "version": "5.2.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dependencies": { "pump": "^3.0.0" }, @@ -19625,7 +19688,8 @@ }, "node_modules/@tootallnate/quickjs-emscripten": { "version": "0.23.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" }, "node_modules/cacache/node_modules/lru-cache": { "version": "7.18.3", @@ -19685,8 +19749,9 @@ "license": "MIT" }, "node_modules/@puppeteer/browsers": { - "version": "1.8.0", - "license": "Apache-2.0", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.9.1.tgz", + "integrity": "sha512-PuvK6xZzGhKPvlx3fpfdM2kYY3P/hB1URtK8wA7XUJ6prn6pp22zvJHu48th0SGcHL9SutbPHrFuQgfXTFobWA==", "dependencies": { "debug": "4.3.4", "extract-zip": "2.0.1", @@ -19756,7 +19821,8 @@ }, "node_modules/normalize-package-data/node_modules/yallist": { "version": "4.0.0", - "license": "ISC" + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/strip-json-comments": { "version": "3.1.1", @@ -19790,11 +19856,13 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.23.3", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz", + "integrity": "sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==", "dev": true, - "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -19840,8 +19908,9 @@ } }, "node_modules/moment": { - "version": "2.29.4", - "license": "MIT", + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", "engines": { "node": "*" } @@ -20569,20 +20638,21 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.23.5", + "version": "7.23.8", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.8.tgz", + "integrity": "sha512-lFlpmkApLkEP6woIKprO6DO60RImpatTQKtz4sUcDjVcK8M8mQ4sZsuxaTMNOZf0sqAq/ReYW1ZBHnOQwKpLWA==", "dev": true, - "license": "MIT", "dependencies": { "@babel/plugin-syntax-import-attributes": "^7.23.3", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-async-generator-functions": "^7.23.4", + "@babel/plugin-transform-async-generator-functions": "^7.23.7", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.23.3", "@babel/plugin-transform-spread": "^7.23.3", "semver": "^6.3.1", "@babel/plugin-transform-parameters": "^7.23.3", "@babel/plugin-transform-object-super": "^7.23.3", "@babel/plugin-transform-unicode-regex": "^7.23.3", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/plugin-transform-modules-commonjs": "^7.23.3", "@babel/plugin-transform-dotall-regex": "^7.23.3", "@babel/plugin-transform-destructuring": "^7.23.3", @@ -20602,12 +20672,12 @@ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.23.3", "@babel/plugin-transform-private-methods": "^7.23.3", "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "babel-plugin-polyfill-corejs2": "^0.4.6", + "babel-plugin-polyfill-corejs2": "^0.4.7", "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-transform-property-literals": "^7.23.3", "@babel/plugin-syntax-import-assertions": "^7.23.3", "@babel/plugin-transform-class-static-block": "^7.23.4", - "babel-plugin-polyfill-corejs3": "^0.8.5", + "babel-plugin-polyfill-corejs3": "^0.8.7", "@babel/plugin-transform-private-property-in-object": "^7.23.4", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-transform-template-literals": "^7.23.3", @@ -20622,12 +20692,12 @@ "@babel/plugin-transform-shorthand-properties": "^7.23.3", "@babel/plugin-transform-exponentiation-operator": "^7.23.3", "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.23.3", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.23.7", "@babel/plugin-syntax-json-strings": "^7.8.3", "core-js-compat": "^3.31.0", "@babel/compat-data": "^7.23.5", "@babel/plugin-transform-json-strings": "^7.23.4", - "@babel/plugin-transform-classes": "^7.23.5", + "@babel/plugin-transform-classes": "^7.23.8", "@babel/preset-modules": "0.1.6-no-external-plugins", "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-transform-member-expression-literals": "^7.23.3", @@ -20647,10 +20717,10 @@ "@babel/plugin-transform-unicode-sets-regex": "^7.23.3", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-transform-async-to-generator": "^7.23.3", - "babel-plugin-polyfill-regenerator": "^0.5.3", + "babel-plugin-polyfill-regenerator": "^0.5.4", "@babel/helper-validator-option": "^7.23.5", "@babel/plugin-transform-unicode-property-regex": "^7.23.3", - "@babel/plugin-transform-for-of": "^7.23.3", + "@babel/plugin-transform-for-of": "^7.23.6", "@babel/plugin-transform-modules-amd": "^7.23.3", "@babel/plugin-transform-reserved-words": "^7.23.3" }, @@ -20873,9 +20943,10 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.23.3", + "version": "7.23.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.23.7.tgz", + "integrity": "sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-plugin-utils": "^7.22.5" @@ -21084,7 +21155,8 @@ }, "node_modules/universalify": { "version": "0.1.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "engines": { "node": ">= 4.0.0" } @@ -21167,7 +21239,8 @@ }, "node_modules/pac-proxy-agent/node_modules/https-proxy-agent": { "version": "7.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", + "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -21196,16 +21269,18 @@ } }, "node_modules/jspdf-autotable": { - "version": "3.7.1", - "license": "MIT", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/jspdf-autotable/-/jspdf-autotable-3.8.1.tgz", + "integrity": "sha512-UjJqo80Z3/WUzDi4JipTGp0pAvNvR3Gsm38inJ5ZnwsJH0Lw4pEbssRSH6zMWAhR1ZkTrsDpQo5p6rZk987/AQ==", "peerDependencies": { "jspdf": "^2.5.1" } }, "node_modules/@jest/reporters/node_modules/supports-color": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "has-flag": "^4.0.0" @@ -21336,7 +21411,8 @@ }, "node_modules/degenerator": { "version": "5.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", "dependencies": { "ast-types": "^0.13.4", "escodegen": "^2.1.0", @@ -21369,15 +21445,15 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.23.5", + "version": "7.23.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.8.tgz", + "integrity": "sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", - "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-replace-supers": "^7.22.20", "@babel/helper-split-export-declaration": "^7.22.6", @@ -21668,7 +21744,8 @@ }, "node_modules/mitt": { "version": "3.0.1", - "license": "MIT" + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==" }, "node_modules/node-gyp/node_modules/cacache": { "version": "16.1.3", @@ -21889,9 +21966,10 @@ } }, "node_modules/@types/jest": { - "version": "29.5.10", + "version": "29.5.11", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz", + "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==", "dev": true, - "license": "MIT", "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" @@ -22027,12 +22105,13 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.22.11", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz", + "integrity": "sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" }, @@ -22600,14 +22679,15 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.3", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], - "license": "MIT", "engines": { "node": ">=4.0" }, @@ -22999,8 +23079,9 @@ } }, "node_modules/chart.js": { - "version": "4.4.0", - "license": "MIT", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz", + "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==", "dependencies": { "@kurkle/color": "^0.3.0" }, @@ -23817,9 +23898,10 @@ } }, "node_modules/@eslint/js": { - "version": "8.55.0", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", "dev": true, - "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -23908,7 +23990,8 @@ }, "node_modules/pac-proxy-agent/node_modules/agent-base": { "version": "7.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", "dependencies": { "debug": "^4.3.4" }, @@ -24991,8 +25074,9 @@ } }, "node_modules/react-live-clock": { - "version": "6.1.18", - "license": "MIT", + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/react-live-clock/-/react-live-clock-6.1.19.tgz", + "integrity": "sha512-XgCCq3iDB4brMrZ61W7qIVlCiVu8zJxNoXSWyi7Z2zCP8SBeM0qrLX+BcvIzip0jOGHlkvuis62vKzNqfM7AAA==", "dependencies": { "moment": "^2.29.1", "moment-timezone": "^0.5.33" @@ -25560,13 +25644,17 @@ } }, "node_modules/puppeteer": { - "version": "21.5.2", + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.7.0.tgz", + "integrity": "sha512-Yy+UUy0b9siJezbhHO/heYUoZQUwyqDK1yOQgblTt0l97tspvDVFkcW9toBlnSvSfkDmMI3Dx9cZL6R8bDArHA==", "hasInstallScript": true, - "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "1.8.0", + "@puppeteer/browsers": "1.9.1", "cosmiconfig": "8.3.6", - "puppeteer-core": "21.5.2" + "puppeteer-core": "21.7.0" + }, + "bin": { + "puppeteer": "lib/esm/puppeteer/node/cli.js" }, "engines": { "node": ">=16.13.2" @@ -25588,8 +25676,9 @@ }, "node_modules/jest-jasmine2/node_modules/convert-source-map": { "version": "1.9.0", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true }, "node_modules/which": { "version": "2.0.2", @@ -25636,7 +25725,8 @@ }, "node_modules/devtools-protocol": { "version": "0.0.1203626", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1203626.tgz", + "integrity": "sha512-nEzHZteIUZfGCZtTiS1fRpC8UZmsfD1SiyPvaUNvS13dvKf666OAm8YTi0+Ca3n1nLEyu49Cy4+dPWpaHFJk9g==" }, "node_modules/ag-grid-community": { "version": "24.1.0", @@ -25661,7 +25751,8 @@ }, "node_modules/fast-fifo": { "version": "1.3.2", - "license": "MIT" + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==" }, "node_modules/object-inspect": { "version": "1.13.1", @@ -27041,8 +27132,9 @@ } }, "node_modules/ws": { - "version": "8.14.2", - "license": "MIT", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", + "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", "engines": { "node": ">=10.0.0" }, diff --git a/SAS/TMSS/frontend/tmss_webapp/package.json b/SAS/TMSS/frontend/tmss_webapp/package.json index dec64c33c6a2a914e2219bfe72e8fae7dbf10960..2a85980b7908d7487339fcf2a77564d61821413f 100644 --- a/SAS/TMSS/frontend/tmss_webapp/package.json +++ b/SAS/TMSS/frontend/tmss_webapp/package.json @@ -1,6 +1,6 @@ { "name": "tmss", - "version": "0.1.2", + "version": "0.9.9", "private": true, "dependencies": { "@ag-grid-community/all-modules": "^24.1.0", @@ -11,9 +11,9 @@ "@microlink/react-json-view": "^1.23.0", "ag-grid-community": "^24.1.0", "ag-grid-react": "^24.1.1", - "axios": "^1.6.2", + "axios": "^1.6.5", "bootstrap": "^4.5.0", - "chart.js": "^4.4.0", + "chart.js": "^4.4.1", "chartjs-plugin-annotation": "^3.0.1", "cleave.js": "^1.6.0", "flatpickr": "^4.6.13", @@ -21,25 +21,25 @@ "history": "^5.3.0", "html2canvas": "^1.4.1", "immer": "^10.0.3", - "interactjs": "^1.10.23", + "interactjs": "^1.10.26", "jquery": "^3.7.1", "json-schema-ref-parser": "^1.0.0-alpha.21", "jspdf": "^2.5.1", - "jspdf-autotable": "^3.7.1", + "jspdf-autotable": "^3.8.1", "katex": "^0.16.9", "leaflet": "^1.9.4", "lodash": "^4.17.21", "match-sorter": "^4.2.1", - "moment": "^2.29.4", + "moment": "^2.30.1", "node-polyfill-webpack-plugin": "^2.0.1", - "npm-check-updates": "^16.14.11", + "npm-check-updates": "^16.14.12", "papaparse": "^5.4.1", "pptr-testing-library": "^0.7.0", "primeflex": "^3.3.1", "primeicons": "6.0.1", "primereact": "9.6.2", "prop-types": "^15.8.1", - "puppeteer": "^21.5.2", + "puppeteer": "^21.7.0", "react": "^18.2.0", "react-app-polyfill": "^1.0.6", "react-beautiful-dnd": "^13.1.1", @@ -54,7 +54,7 @@ "react-json-to-table": "^0.1.7", "react-leaflet": "^4.2.1", "react-leaflet-cluster": "^2.1.0", - "react-live-clock": "^6.1.18", + "react-live-clock": "^6.1.19", "react-loader-spinner": "^5.4.5", "react-moment": "^1.1.3", "react-redux": "^7.2.4", @@ -68,8 +68,8 @@ "react-websocket": "^2.1.0", "reactstrap": "^9.2.1", "redux": "^4.2.1", - "replace-in-file": "^7.0.2", - "sass": "^1.69.5", + "replace-in-file": "^7.1.0", + "sass": "^1.69.7", "shortcut-buttons-flatpickr": "^0.4.0", "styled-components": "^5.1.1", "suneditor": "^2.45.1", @@ -136,13 +136,13 @@ ] }, "devDependencies": { - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.15", - "@babel/plugin-transform-private-property-in-object": "7.22.11", - "@babel/preset-env": "^7.23.5", - "@testing-library/jest-dom": "^6.1.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.23.3", + "@babel/plugin-transform-private-property-in-object": "7.23.4", + "@babel/preset-env": "^7.23.8", + "@testing-library/jest-dom": "^6.2.0", "@testing-library/react": "^14.1.2", - "@testing-library/user-event": "^14.5.1", - "@types/jest": "^29.5.10", + "@testing-library/user-event": "^14.5.2", + "@types/jest": "^29.5.11", "@types/react-router-dom": "^5.3.3", "ajv": "^8.12.0", "axios-mock-adapter": "^1.22.0", @@ -150,7 +150,7 @@ "babel-polyfill": "^6.26.0", "cheerio": "^1.0.0-rc.12", "customize-cra": "^1.0.0", - "eslint": "^8.55.0", + "eslint": "^8.56.0", "eslint-formatter-gitlab": "^5.1.0", "eslint-plugin-react": "^7.33.2", "jest-canvas-mock": "^2.5.2", @@ -198,8 +198,8 @@ "@babel/preset-env" ] }, - "description": "This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).", + "description": "This is TMSS", "main": "index.js", - "author": "", - "license": "ISC" + "author": "ASTRON", + "license": "GPLv2" } diff --git a/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_blueprint.json b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_blueprint.json new file mode 100644 index 0000000000000000000000000000000000000000..378dd490d33d755f3f101fb2b0a8eae449e9ae97 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_blueprint.json @@ -0,0 +1,18 @@ +{ + "count": 1, + "next": null, + "previous": null, + "results": [ + { + "id": 1, + "draft": { + "scheduling_set": { + "project_id": "high" + } + }, + "name": "IM HBA - 1 Beam", + "status": "finished", + "unschedulable_reason": "" + } + ] +} \ No newline at end of file diff --git a/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_process.json b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_process.json new file mode 100644 index 0000000000000000000000000000000000000000..63c9c7a39552607a660e30865b02bdbd84be7ef0 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_process.json @@ -0,0 +1,23 @@ +{ + "count": 1, + "next": null, + "previous": null, + "results": [ + { + "id": 1, + "flow_class": "<class 'lofar.sas.tmss.tmss.workflowapp.flows.schedulingunitflow.SchedulingUnitFlow'>", + "status": "NEW", + "created": "2024-01-09T12:41:04.451020", + "finished": null, + "artifact_object_id": null, + "data": null, + "artifact_content_type": null, + "su": 1, + "qa_reporting_to": null, + "qa_reporting_sos": null, + "pi_verification": null, + "decide_acceptance": null, + "unpin_data": null + } + ] +} \ No newline at end of file diff --git a/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_task.json b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_task.json new file mode 100644 index 0000000000000000000000000000000000000000..e37f1936e8f4d304b7bc1d16748577171337d3eb --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/qa_scheduling_unit_task.json @@ -0,0 +1,31 @@ +{ + "count": 1, + "next": null, + "previous": null, + "results": [ + { + "id": 4, + "owner_email": null, + "owner_username": null, + "flow_task": "Qa Reporting To", + "flow_task_type": "HUMAN", + "status": "NEW", + "created": "2024-01-09T12:46:58.413520", + "assigned": null, + "started": null, + "finished": null, + "token": "start", + "artifact_object_id": null, + "external_task_id": null, + "owner_permission": "workflowapp.can_qa_reporting_to_schedulingunitprocess", + "comments": null, + "data": null, + "process": 1, + "artifact_content_type": null, + "owner": null, + "previous": [ + 3 + ] + } + ] +} \ No newline at end of file diff --git a/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js b/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js index 9cc108ba42441feef69755efaa88a5b866acbdc4..6853217f07d546f920cc028b764ff7c9282469d4 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js @@ -2485,8 +2485,8 @@ function Table(props) { ) } -function makekey(row,i) { - return "" + i; +function makekey(row) { + return row; } // Define a custom filter filter function! function filterGreaterThan(rows, id, filterValue) { diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Project/create.test.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Project/create.test.js index bee5e40b6ef73f87ebb35658d79211c29b42b307..fb27132db02e6eee29ae44db14dffe51fc5eedb2 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Project/create.test.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Project/create.test.js @@ -94,6 +94,7 @@ it("renders without crashing with all back-end data loaded", async () => { expect(content.queryByText('LOFAR Observing Time Commissioning')).toBeInTheDocument(); // Resources other than Default Resources listed in dropdown expect(_.filter(spinButtons, { "id": "LOFAR Observing Time Commissioning" }).length).toBe(0); // No resources other than Default Resources listed to get input expect(_.filter(spinButtons, { "id": "LOFAR Observing Time" })[0].value).toBe("1"); // Default Resource Listed with default value + content.unmount(); }); it("Save button disabled initially when no data entered", async () => { @@ -103,6 +104,7 @@ it("Save button disabled initially when no data entered", async () => { content = render(<Router><ProjectCreate location={{ pathname: "/project/create" }} /></Router>); }); expect(content.queryByTestId('save-btn')).toHaveAttribute("disabled"); + content.unmount(); }); it("Save button enabled when mandatory data entered", async () => { @@ -127,6 +129,7 @@ it("Save button enabled when mandatory data entered", async () => { await new Promise((r) => setTimeout(r, 1000)); expect(content.queryByTestId('save-btn').hasAttribute("disabled")).toBeFalsy(); + content.unmount(); }); @@ -193,6 +196,7 @@ it("renders Save button enabled when all data entered", async () => { expect(content.queryAllByText('Cycle-0').length).toBe(2); await new Promise((r) => setTimeout(r, 1000)); expect(content.queryByTestId('save-btn').hasAttribute("disabled")).toBeFalsy(); + content.unmount(); }); it("save project with mandatory fields", async () => { @@ -231,6 +235,7 @@ it("save project with mandatory fields", async () => { nameInput = content.queryByTestId('name'); expect(nameInput.value).toBe(""); expect(content.queryByTestId('save-btn')).toHaveAttribute("disabled"); + content.unmount(); }); it("save project with default resources", async () => { @@ -299,6 +304,7 @@ it("save project with default resources", async () => { nameInput = content.queryByTestId('name'); expect(nameInput.value).toBe(""); expect(content.queryByTestId('save-btn')).toHaveAttribute("disabled"); + content.unmount(); }); @@ -387,6 +393,7 @@ it("save project with added resources", async () => { nameInput = content.queryByTestId('name'); expect(nameInput.value).toBe(""); expect(content.queryByTestId('save-btn')).toHaveAttribute("disabled"); + content.unmount(); }); @@ -436,6 +443,6 @@ it("remove default resource and added resource", async () => { fireEvent.click(removeResourceBtn); }); expect(content.queryAllByText('Add Resources').length).toBe(2); - - expect(content.queryAllByText('LOFAR Observing Time Commissioning').length).toBe(0); + + content.unmount(); }); diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/index.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/index.js index 98d79808d0ca1d88c4dcf7719f4f89e5629ecb23..ffbd198817a121488dcf8fe70d481667b40884e0 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/index.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/index.js @@ -113,7 +113,7 @@ const WorkflowView = (props) => { useEffect(() => { setLoader(true); - setOriginPath(props.location.state ? props.location.state.origin : "/su/workflow"); + setOriginPath(props.location?.state ? props.location.state.origin : "/su/workflow"); const promises = [ ScheduleService.getSchedulingUnitExtended('blueprint', props.match.params.id), UtilService.getProjectRoles() diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/workflow.list.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/workflow.list.js index 8e1758966c2c4f5e406b0bd8c3a06d91abea5e95..7535d34897d326c2dbe5970c235b608c05732ec9 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/workflow.list.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/workflow.list.js @@ -183,8 +183,8 @@ class WorkflowList extends Component{ filterQry+= '&status=NEW&status=ASSIGNED&' } let response = await WorkflowService.getActiveWorkflowTasksWithFilter(filterQry, orderBy, limit, offset); - this.totalPage = response.data.count; - this.workflowTasksList = response.data.results; + this.totalPage = response.data?.count; + this.workflowTasksList = response.data?.results; let workflowList = []; let processList =_.map(this.workflowTasksList, 'process'); let workFlowProcessList = await WorkflowService.getWorkflowProcess(processList.join(',')); diff --git a/SAS/TMSS/frontend/tmss_webapp/src/services/schedule.service.js b/SAS/TMSS/frontend/tmss_webapp/src/services/schedule.service.js index 12e97ac2fcdcf117190664bf4bb924117ef5f5df..0c4bdda7ac9c221db04fcbbee1101d9cb5d85d54 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/services/schedule.service.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/services/schedule.service.js @@ -1102,7 +1102,7 @@ const ScheduleService = { } catch (error) { console.error('[schedule.services.getWorkflowSU]', error); } - return response.data.results; + return response.data?.results; }, getStrategyPurpose: async () => { let response = []; diff --git a/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/report.project.test.js.snap b/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/report.project.test.js.snap index 7e001222ebe283ced6b1fc29c9f5c795eb879307..0f9961098207bc19e53e76d818e0b87504d12ec9 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/report.project.test.js.snap +++ b/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/report.project.test.js.snap @@ -1308,7 +1308,8 @@ exports[`Project Report Render With Contents Project Report renders correctly w > <input aria-autocomplete="list" - aria-expanded="false" + aria-controls="pr_id_3_list" + aria-expanded="true" aria-haspopup="listbox" autocomplete="off" class="" @@ -1318,34 +1319,6 @@ exports[`Project Report Render With Contents Project Report renders correctly w /> </li> </ul> - <svg - aria-hidden="true" - class="p-icon p-autocomplete-loader p-icon-spin" - data-pc-section="loadingicon" - fill="none" - height="14" - viewBox="0 0 14 14" - width="14" - xmlns="http://www.w3.org/2000/svg" - > - <g - clip-path="url(#undefined)" - > - <path - d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z" - fill="currentColor" - /> - </g> - <defs> - <clippath> - <rect - fill="white" - height="14" - width="14" - /> - </clippath> - </defs> - </svg> </span> <label class="col-lg-2 col-md-2 col-sm-12" diff --git a/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/task.list.test.js.snap b/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/task.list.test.js.snap index ba6cc9ed96244192019386414f2616a45d3bfe68..762f130fe247effc73981032bb47be947ab788a8 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/task.list.test.js.snap +++ b/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/task.list.test.js.snap @@ -731,7 +731,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"fixed-column\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Select\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\"> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Select\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\"> <div><input type=\\"checkbox\\" title=\\"Toggle All Rows Selected\\" style=\\"width: 15px; height: 15px;\\"></div> </div> </div> @@ -743,7 +743,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"fixed-column\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Action\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\">Action</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Action\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\">Action</div> </div> <div></div> </div> @@ -753,7 +753,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"fixed-column\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Status Logs\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\">Status Logs</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Status Logs\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\">Status Logs</div> </div> <div></div> </div> @@ -763,7 +763,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Status\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Status\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Status</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Status\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Status\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Status</div> </div> <div> <div> @@ -789,7 +789,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Project\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Project\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Project</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Project\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Project\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Project</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter few characters and press ‘Enter’ key to search\\" value=\\"\\"></div> @@ -802,7 +802,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Scheduling Unit ID\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Scheduling Unit ID\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Scheduling Unit ID<i class=\\"pi pi-sort-up\\" aria-hidden=\\"true\\"></i></div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Scheduling Unit ID\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Scheduling Unit ID\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Scheduling Unit ID<i class=\\"pi pi-sort-up\\" aria-hidden=\\"true\\"></i></div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter Id and press ‘Enter’ key to search. For multiple values enter comma separated values. For range, provide input like 1..6\\" value=\\"\\"></div> @@ -815,7 +815,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Scheduling Unit Name\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Scheduling Unit Name\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Scheduling Unit Name</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Scheduling Unit Name\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Scheduling Unit Name\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Scheduling Unit Name</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter few characters and press ‘Enter’ key to search\\" value=\\"\\"></div> @@ -828,7 +828,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"ID\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"ID\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">ID</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"ID\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"ID\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">ID</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter Id and press ‘Enter’ key to search. For multiple values enter comma separated values. For range, provide input like 1..6\\" value=\\"\\"></div> @@ -841,7 +841,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Control ID\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Control ID\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Control ID</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Control ID\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Control ID\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Control ID</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter Id and press ‘Enter’ key to search. For multiple values enter comma separated values. For range, provide input like 1..6\\" value=\\"\\"></div> @@ -854,7 +854,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Name\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Name\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Name</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Name\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Name\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Name</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter few characters and press ‘Enter’ key to search\\" value=\\"\\"></div> @@ -867,7 +867,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Description\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Description\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Description</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Description\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Description\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Description</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter few characters and press ‘Enter’ key to search\\" value=\\"\\"></div> @@ -880,7 +880,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Short Description\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Short Description\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Short Description</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Short Description\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Short Description\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Short Description</div> </div> <div> <div class=\\"table-filter\\" style=\\"margin-right: 5px;\\"><input title=\\"Enter few characters and press ‘Enter’ key to search\\" value=\\"\\"></div> @@ -893,7 +893,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Observation Start Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Observation Start Time\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Observation Start Time</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Observation Start Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Observation Start Time\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Observation Start Time</div> </div> <div> <div class=\\"table-filter\\"> @@ -908,7 +908,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Observation End Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Observation End Time\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Observation End Time</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Observation End Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Observation End Time\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Observation End Time</div> </div> <div> <div class=\\"table-filter\\"> @@ -923,7 +923,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Process Start Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Process Start Time\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Process Start Time</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Process Start Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Process Start Time\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Process Start Time</div> </div> <div> <div class=\\"table-filter\\"> @@ -938,7 +938,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Process End Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Process End Time\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Process End Time</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Process End Time\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Process End Time\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Process End Time</div> </div> <div> <div class=\\"table-filter\\"> @@ -952,8 +952,8 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <th role=\\"tablehead\\" class=\\"notfixed-column-td-Duration(HH:mm:ss)\\" style=\\"display: flex;\\"> <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> - <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" title=\\"Toggle SortBy\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Duration (HH:mm:ss)\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Duration (HH:mm:ss)\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Duration (HH:mm:ss)</div> + <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;\\" class=\\"\\" title=\\"Toggle SortBy\\"> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Duration (HH:mm:ss)\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Duration (HH:mm:ss)\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Duration (HH:mm:ss)</div> </div> <div> <div style=\\"align-items: center;\\"><input class=\\"p-inputtext p-component p-inputmask\\" type=\\"text\\" style=\\"min-width: 48px; max-width: 85px; width: 100%; height: 25px;\\" placeholder=\\"HH:mm:ss\\" data-pc-name=\\"inputtext\\" data-pc-section=\\"root\\"><input class=\\"p-inputtext p-component p-inputmask\\" type=\\"text\\" style=\\"min-width: 48px; max-width: 85px; width: 100%; height: 25px;\\" placeholder=\\"HH:mm:ss\\" data-pc-name=\\"inputtext\\" data-pc-section=\\"root\\"></div> @@ -966,7 +966,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Relative Start Time (HH:mm:ss)\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Relative Start Time (HH:mm:ss)\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Relative Start Time (HH:mm:ss)</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Relative Start Time (HH:mm:ss)\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Relative Start Time (HH:mm:ss)\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Relative Start Time (HH:mm:ss)</div> </div> <div> <div style=\\"align-items: center;\\"><input class=\\"p-inputtext p-component p-inputmask\\" type=\\"text\\" style=\\"min-width: 48px; max-width: 85px; width: 100%; height: 25px;\\" placeholder=\\"HH:mm:ss\\" data-pc-name=\\"inputtext\\" data-pc-section=\\"root\\"><input class=\\"p-inputtext p-component p-inputmask\\" type=\\"text\\" style=\\"min-width: 48px; max-width: 85px; width: 100%; height: 25px;\\" placeholder=\\"HH:mm:ss\\" data-pc-name=\\"inputtext\\" data-pc-section=\\"root\\"></div> @@ -979,7 +979,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Relative End Time (HH:mm:ss)\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Relative End Time (HH:mm:ss)\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Relative End Time (HH:mm:ss)</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Relative End Time (HH:mm:ss)\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Relative End Time (HH:mm:ss)\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Relative End Time (HH:mm:ss)</div> </div> <div> <div style=\\"align-items: center;\\"><input class=\\"p-inputtext p-component p-inputmask\\" type=\\"text\\" style=\\"min-width: 48px; max-width: 85px; width: 100%; height: 25px;\\" placeholder=\\"HH:mm:ss\\" data-pc-name=\\"inputtext\\" data-pc-section=\\"root\\"><input class=\\"p-inputtext p-component p-inputmask\\" type=\\"text\\" style=\\"min-width: 48px; max-width: 85px; width: 100%; height: 25px;\\" placeholder=\\"HH:mm:ss\\" data-pc-name=\\"inputtext\\" data-pc-section=\\"root\\"></div> @@ -992,7 +992,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"#Dataproducts\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"#Dataproducts\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">#Dataproducts</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"#Dataproducts\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"#Dataproducts\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">#Dataproducts</div> </div> <div></div> </div> @@ -1003,7 +1003,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Cancelled\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Cancelled\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Cancelled</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Cancelled\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Cancelled\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Cancelled</div> </div> <div></div> </div> @@ -1014,7 +1014,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Obsolete\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Obsolete\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Obsolete</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Obsolete\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Obsolete\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Obsolete</div> </div> <div> <div> @@ -1031,7 +1031,7 @@ exports[`Task List Task List correctly with blueprint data 1`] = ` <div style=\\"display: flex;\\"> <div style=\\"display: grid; vertical-align: bottom;\\"> <div colspan=\\"1\\" role=\\"columnheader\\" style=\\"box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;\\" class=\\"\\"> - <div data-rbd-draggable-context-id=\\"1\\" data-rbd-draggable-id=\\"Unschedulable Reason\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-1-hidden-text-30\\" data-rbd-drag-handle-draggable-id=\\"Unschedulable Reason\\" data-rbd-drag-handle-context-id=\\"1\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Unschedulable Reason</div> + <div data-rbd-draggable-context-id=\\"2\\" data-rbd-draggable-id=\\"Unschedulable Reason\\" style=\\"transform: translate(0,0); user-select: none; cursor: default;\\" tabindex=\\"0\\" role=\\"button\\" aria-describedby=\\"rbd-hidden-text-2-hidden-text-60\\" data-rbd-drag-handle-draggable-id=\\"Unschedulable Reason\\" data-rbd-drag-handle-context-id=\\"2\\" draggable=\\"false\\" rbd-drag-handle-context-id=\\"X\\">Unschedulable Reason</div> </div> <div></div> </div> diff --git a/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/workflow.test.js.snap b/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/workflow.test.js.snap new file mode 100644 index 0000000000000000000000000000000000000000..5d9c8fdf223f4c4502a1993b16a037c63ff2dc6c --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/tests/__snapshots__/workflow.test.js.snap @@ -0,0 +1,1296 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Workflow Workflow renders correctly without security 1`] = ` +<DocumentFragment> + + <h1> + Access Denied + </h1> + <p> + Sorry, you don't have permission to view this page or do this operation. Please contact the system administrator or support user for any assistance. + </p> + +</DocumentFragment> +`; + +exports[`Workflow Workflow correctly with data but no security 1`] = ` +<DocumentFragment> + + <h1> + Access Denied + </h1> + <p> + Sorry, you don't have permission to view this page or do this operation. Please contact the system administrator or support user for any assistance. + </p> + +</DocumentFragment> +`; + +exports[`Workflow Workflow correctly with data and security 1`] = ` +<DocumentFragment> + + <div + class="page-header undefined" + > + <div + class="title" + > + <h2 + class="page-title" + > + Workflow - List + </h2> + </div> + <div + class="page-action-menu page-actionsundefined" + /> + </div> + <div + style="margin-top: 15px;" + > + <div + class="p-select " + style="position: relative; margin-left: 27em; margin-top: -2em;" + > + <div + class="p-field p-grid workflow-wrap" + > + <div + class="col-lg-4 col-md-3 col-sm-12 ms-height" + > + <span + class="p-float-label" + > + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + id="workflowoverview" + style="width: 10em; margin-left: 0.5em;" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + id="workflowoverview" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="All" + > + All + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + All + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + <label + for="workflowoverview" + > + Show Workflow + </label> + </span> + </div> + <div> + <label + class="p-checkbox-label" + for="cb1" + > + Active + </label> + <div + class="p-tristatecheckbox p-checkbox p-component p-checkbox-disabled" + data-pc-name="tristatecheckbox" + data-pc-section="root" + style="margin-left: 5px; margin-top: 5px;" + > + <div + aria-checked="true" + class="p-checkbox-box p-highlight p-disabled" + data-pc-section="checkbox" + role="checkbox" + tabindex="0" + > + <svg + aria-hidden="true" + class="p-icon p-checkbox-icon p-c" + data-pc-section="checkicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + </div> + <div> + <div + style="display: flex; justify-content: space-between; height: 35px;" + > + <div + id="block_container" + > + <div + style="text-align: left; margin-right: 30px;" + title="Toggle Columns" + > + <i + class="fa fa-columns col-filter-btn" + label="Toggle Columns" + /> + <div + style="position: relative; top: -25px; margin-left: 50px; color: rgb(0, 91, 159);" + > + <i + class="fas fa-sync-alt" + title="Clear All Filters" + /> + </div> + </div> + <div + style="text-align: right;" + /> + <div + class="total_records_top_label" + > + + <label> + Total records (1) + </label> + </div> + </div> + </div> + <div + class="pagination p-grid top-pagination" + > + <div + class="total_records_bottom_label" + > + <label> + Filtered 1 from 1 + </label> + </div> + <div> + <div + class="p-paginator p-component" + data-pc-name="paginator" + data-pc-section="root" + > + <button + aria-label="First Page" + class="p-paginator-first p-paginator-element p-link p-disabled" + data-pc-section="firstpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="firstpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + clip-rule="evenodd" + d="M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z" + fill="currentColor" + fill-rule="evenodd" + /> + </svg> + </button> + <button + aria-label="Previous Page" + class="p-paginator-prev p-paginator-element p-link p-disabled" + data-pc-section="prevpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="prevpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z" + fill="currentColor" + /> + </svg> + </button> + <span + class="p-paginator-pages" + data-pc-section="pages" + > + <button + aria-label="Page" + class="p-paginator-page p-paginator-element p-link p-paginator-page-start p-paginator-page-end p-highlight" + data-pc-section="pagebutton" + type="button" + > + 1 + </button> + </span> + <button + aria-label="Next Page" + class="p-paginator-next p-paginator-element p-link p-disabled" + data-pc-section="nextpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="nextpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z" + fill="currentColor" + /> + </svg> + </button> + <button + aria-label="Last Page" + class="p-paginator-last p-paginator-element p-link p-disabled" + data-pc-section="lastpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="lastpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + clip-rule="evenodd" + d="M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z" + fill="currentColor" + fill-rule="evenodd" + /> + </svg> + </button> + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + aria-label="Choose" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="10" + > + 10 + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + 10 + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + aria-label="Choose" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="custom-page" + > + <span + class="p-inputnumber p-component p-inputwrapper" + data-pc-name="inputnumber" + data-pc-section="root" + id="customPageTop" + style="width: 100px;" + > + <input + aria-valuemin="0" + class="p-inputtext p-component p-inputnumber-input p-inputnumber-input" + data-pc-name="inputtext" + data-pc-section="root" + inputmode="numeric" + min="0" + role="spinbutton" + type="text" + value="" + /> + </span> + <label> + Records/Page + </label> + <button + class="p-button p-component" + data-pc-name="button" + data-pc-section="root" + style="width: 100px;" + > + Show + </button> + <button + class="p-button p-component" + data-pc-name="button" + data-pc-section="root" + style="margin-left: 1em; width: 100px;" + > + Show All + </button> + </div> + </div> + <div + class="tmss-table " + > + <table + class="viewtable" + data-testid="viewtable" + role="table" + style="min-width: 540px;" + > + <thead> + <tr + data-testid="tablerows" + role="row" + style="display: flex; flex: 1 0 auto; min-width: 540px;" + > + <th + class="fixed-column-td" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="fixed-column" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Action" + style="transform: translate(0,0); user-select: none; cursor: default;" + > + Action + </div> + </div> + <div /> + </div> + </div> + </th> + <th + class="notfixed-column-td-SchedulingUnitName" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Scheduling Unit Name" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Scheduling Unit Name" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Scheduling Unit Name + </div> + </div> + <div /> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-SchedulingUnitID" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Scheduling Unit ID" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Scheduling Unit ID" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Scheduling Unit ID + </div> + </div> + <div /> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-SchedulingUnitStatus" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Scheduling Unit Status" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Scheduling Unit Status" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Scheduling Unit Status + </div> + </div> + <div /> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-Project" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Project" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Project" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Project + </div> + </div> + <div /> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-AssignedTo" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Assigned To" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Assigned To" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Assigned To + </div> + </div> + <div> + <div + class="table-filter" + style="margin-right: 5px;" + > + <input + title="Enter few characters and press ‘Enter’ key to search" + value="" + /> + </div> + </div> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-CurrentWorkflowStage" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;" + title="Toggle SortBy" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Current Workflow Stage" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Current Workflow Stage" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Current Workflow Stage + </div> + </div> + <div> + <div> + <div + style="position: relative; display: flex;" + > + <div + class="p-multiselect p-component p-inputwrapper multi-select" + data-pc-name="multiselect" + data-pc-section="root" + data-testid="multi-select" + id="multi-select" + style="width: 85%;" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-multiselect-label-empty" + data-pc-section="label" + > + empty + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + <div> + <button + class="p-link" + > + <i + class="pi pi-search search-btn" + /> + </button> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-UpdatedAt" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative; cursor: pointer;" + title="Toggle SortBy" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Updated At" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Updated At" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Updated At + <i + aria-hidden="true" + class="pi pi-sort-up" + /> + </div> + </div> + <div> + <div + class="table-filter" + > + <div + class="flatpickr-range-filter" + data-enable-time="true" + data-input="true" + title="Enter the date & time range to search and press ‘Ok’ button" + > + <input + class="p-inputtext p-component calendar-input flatpickr-input" + data-input="true" + type="text" + /> + <button + class="p-button p-component p-button-icon-only calendar-button" + data-toggle="true" + title="Click to select the date range" + > + <i + class="fas fa-calendar" + /> + </button> + <button + class="p-button p-component p-button-icon-only calendar-reset" + title="Clear date range" + > + <i + class="pi pi-times" + style="color: white;" + /> + </button> + </div> + </div> + </div> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + <th + class="notfixed-column-td-Accepted" + role="tablehead" + style="display: flex;" + > + <div + style="display: flex;" + > + <div + style="display: grid; vertical-align: bottom;" + > + <div + class="" + colspan="1" + role="columnheader" + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px; position: relative;" + > + <div + aria-describedby="rbd-hidden-text-0-hidden-text-0" + data-rbd-drag-handle-context-id="0" + data-rbd-drag-handle-draggable-id="Accepted" + data-rbd-draggable-context-id="0" + data-rbd-draggable-id="Accepted" + draggable="false" + role="button" + style="transform: translate(0,0); user-select: none; cursor: default;" + tabindex="0" + > + Accepted + </div> + </div> + <div /> + </div> + </div> + <div + class="resizer " + draggable="false" + role="separator" + style="cursor: col-resize;" + /> + </th> + </tr> + </thead> + <tbody + role="rowgroup" + > + <tr + class="" + data-testid="tablerow" + role="row" + style="display: flex; flex: 1 0 auto; min-width: 540px;" + > + <td + class="fixed-column-td" + > + <a + class="p-link" + href="/schedulingunit/1/workflow" + target="" + > + <i + class="fa fa-eye" + style="cursor: pointer;" + /> + </a> + </td> + <td + class="notfixed-column-td-SchedulingUnitName" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + IM HBA - 1 Beam + </div> + </td> + <td + class="notfixed-column-td-SchedulingUnitID" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + 1 + </div> + </td> + <td + class="notfixed-column-td-SchedulingUnitStatus" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + + <div + class="tag-cell" + > + <span + class="tag-content p-chips-token-label su-finished" + > + finished + </span> + </div> + + </div> + </td> + <td + class="notfixed-column-td-Project" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + high + </div> + </td> + <td + class="notfixed-column-td-AssignedTo" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + + </div> + </td> + <td + class="notfixed-column-td-CurrentWorkflowStage" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + QA Reporting (TO) + </div> + </td> + <td + class="notfixed-column-td-UpdatedAt" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + 2024-01-09 12:46:58 + </div> + </td> + <td + class="notfixed-column-td-Accepted" + > + <div + style="box-sizing: border-box; flex: 150 0 auto; min-width: 60px; width: 150px;" + > + + </div> + </td> + </tr> + </tbody> + </table> + </div> + <div /> + <div + class="pagination p-grid" + > + <div + class="total_records_bottom_label" + > + <label> + Filtered 1 from 1 + </label> + </div> + <div> + <div + class="p-paginator p-component" + data-pc-name="paginator" + data-pc-section="root" + > + <button + aria-label="First Page" + class="p-paginator-first p-paginator-element p-link p-disabled" + data-pc-section="firstpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="firstpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + clip-rule="evenodd" + d="M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z" + fill="currentColor" + fill-rule="evenodd" + /> + </svg> + </button> + <button + aria-label="Previous Page" + class="p-paginator-prev p-paginator-element p-link p-disabled" + data-pc-section="prevpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="prevpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z" + fill="currentColor" + /> + </svg> + </button> + <span + class="p-paginator-pages" + data-pc-section="pages" + > + <button + aria-label="Page" + class="p-paginator-page p-paginator-element p-link p-paginator-page-start p-paginator-page-end p-highlight" + data-pc-section="pagebutton" + type="button" + > + 1 + </button> + </span> + <button + aria-label="Next Page" + class="p-paginator-next p-paginator-element p-link p-disabled" + data-pc-section="nextpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="nextpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z" + fill="currentColor" + /> + </svg> + </button> + <button + aria-label="Last Page" + class="p-paginator-last p-paginator-element p-link p-disabled" + data-pc-section="lastpagebutton" + disabled="" + type="button" + > + <svg + aria-hidden="true" + class="p-icon p-paginator-icon" + data-pc-section="lastpageicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + clip-rule="evenodd" + d="M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z" + fill="currentColor" + fill-rule="evenodd" + /> + </svg> + </button> + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + aria-label="Choose" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="10" + > + 10 + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + 10 + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + aria-label="Choose" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="custom-page" + > + <span + class="p-inputnumber p-component p-inputwrapper" + data-pc-name="inputnumber" + data-pc-section="root" + id="customPageBottom" + style="width: 100px;" + > + <input + aria-valuemin="0" + class="p-inputtext p-component p-inputnumber-input p-inputnumber-input" + data-pc-name="inputtext" + data-pc-section="root" + inputmode="numeric" + min="0" + role="spinbutton" + type="text" + value="" + /> + </span> + <label> + Records/Page + </label> + <button + class="p-button p-component" + data-pc-name="button" + data-pc-section="root" + style="width: 100px;" + > + Show + </button> + <button + class="p-button p-component" + data-pc-name="button" + data-pc-section="root" + style="margin-left: 1em; width: 100px;" + > + Show All + </button> + </div> + </div> + </div> + <div /> + </div> + +</DocumentFragment> +`; diff --git a/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js b/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js index f60b66ab098c8dc591a9fe6be24c0fbc23192e8d..03273c68e100272a912c8103ec90677e92b0300b 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js @@ -98,7 +98,9 @@ describe('Project Report Render With Contents', () => { const componentSnapshotAfterCsv = component.asFragment(); expect(componentSnapshotAfterCsv).toMatchSnapshot("After CSV Generation"); - + await waitFor(() => { + expect(cinstance).toBeDefined(); + }, {timeout:500} ); cinstance.clearAll(); diff --git a/SAS/TMSS/frontend/tmss_webapp/src/tests/workflow.test.js b/SAS/TMSS/frontend/tmss_webapp/src/tests/workflow.test.js new file mode 100644 index 0000000000000000000000000000000000000000..c013ad2c1b54a5c3b401628737804734ebcf9e81 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/tests/workflow.test.js @@ -0,0 +1,102 @@ + + +import axios from "axios"; +import MockAdapter from 'axios-mock-adapter'; +import { render, act, fireEvent ,screen} from '@testing-library/react'; + + + + + +import { MockAxiosSecurity } from './axiosmocks.' +import PermissionStackUtil from "../authenticate/permission.stack.handler"; +import { MemoryRouter } from "react-router-dom/cjs/react-router-dom.min"; +import WorkflowList from "../routes/Workflow/workflow.list"; +import qaschedulingunittask from "../__mocks__/qa_scheduling_unit_task.json"; +import qaschedulingunitblueprint from "../__mocks__/qa_scheduling_unit_blueprint.json"; +import qaschedulingunitprocess from "../__mocks__/qa_scheduling_unit_process.json"; + +function MakePrimaryMock() { + jest.useFakeTimers() + jest.setSystemTime(new Date('2023-08-06T00:00:00Z')); + let mock = new MockAdapter(axios); + mock.onGet("/api/util/utc").reply(200, "2023-12-24T22:58:22.413683"); + mock.onGet("/workflow_api/scheduling_unit_flow/qa_scheduling_unit_task/?&status=NEW&status=ASSIGNED&&ordering=created&limit=10&offset=0").reply(200, qaschedulingunittask); + mock.onGet("/api/scheduling_unit_blueprint/?id=1&expand=draft,draft.scheduling_set&fields=id,name,status,unschedulable_reason,draft.scheduling_set.project_id").reply(200, qaschedulingunitblueprint); + mock.onGet("/workflow_api/scheduling_unit_flow/qa_scheduling_unit_task/?&status=NEW&status=ASSIGNED&&limit=10&offset=0").reply(200, qaschedulingunittask); + mock.onGet("/workflow_api/scheduling_unit_flow/qa_scheduling_unit_process/?id=1").reply(200, qaschedulingunitprocess); + + + + return mock + +} + +function SecondaryMock(mock) { + + + + + + + return mock; +} + + +describe('Workflow ', () => { + + + + + + it('Workflow renders correctly without security', async () => { + let mock= new MockAdapter(axios); + mock.onGet("/").reply(404); + let { component } = await RenderWorkflow(false); + const componentSnapshot = component.asFragment(); + expect(componentSnapshot).toMatchSnapshot(); + component.unmount(); + + }); + + it('Workflow correctly with data but no security ', async () => { + let { component } = await RenderWorkflow(true); + expect(component.asFragment()).toMatchSnapshot(); + component.unmount(); + }); + + it('Workflow correctly with data and security', async () => { + let { component,mock } = await RenderWorkflow(true,true); + expect(component.asFragment()).toMatchSnapshot(); + SecondaryMock(mock) + component.unmount(); + }); + + + + + + + +}); + +async function RenderWorkflow(isWisecurity=false,iswithMock=false) { + + let mock + if (!isWisecurity && iswithMock) { + mock = MakePrimaryMock(); + } + if (isWisecurity && iswithMock) { + mock= MockAxiosSecurity(MakePrimaryMock()); + await PermissionStackUtil.getPermissions(true); + } + + let component; + let instance; + await act(async () => { + component = render(<MemoryRouter> <WorkflowList match={{ }} history={{}} location="/su/workflow" /> </MemoryRouter>); + }); + return { instance, component ,mock}; +} + + diff --git a/SAS/TMSS/frontend/tmss_webapp/src/utils/test.helper.js b/SAS/TMSS/frontend/tmss_webapp/src/utils/test.helper.js index b59cf01e0828610250fccb484ed76883bf5adbe9..8bc08f72546d73d54defc287d28862a9609f64de 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/utils/test.helper.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/utils/test.helper.js @@ -34,7 +34,7 @@ export async function renderPage(pageComponent) { let content; await act(async () => { content = render(<Router>{pageComponent}</Router>); - await new Promise((r) => setTimeout(r, 200)); + await new Promise((r) => setTimeout(r, 100)); }); return content; } @@ -57,6 +57,8 @@ export function removeReact18ConsoleErrors() { export function giveConsistentNodes(html) { const htmlwithcheerio =load(html, { xmlMode: false }); htmlwithcheerio('[data-rbd-drag-handle-context-id]').attr('rbd-drag-handle-context-id', 'X'); + htmlwithcheerio('[data-rbd-drag-handle-context-id]').attr('rbd-drag-handle-context-id', 'X'); + htmlwithcheerio('[datetime]').attr('datetime', 'X'); htmlwithcheerio('.notfixed-column-td-StartTime div').text('XXXX-XX-XX XXXX:XX:XX'); htmlwithcheerio('.notfixed-column-td-EndTime div').text('XXXX-XX-XX XXXX:XX:XX'); @@ -66,6 +68,9 @@ export function giveConsistentNodes(html) { htmlwithcheerio('.rct-vertical-lines div').attr('style', 'X'); htmlwithcheerio('.form-check-label').attr('for', 'X'); htmlwithcheerio('.form-check-input').attr('id', 'X'); + htmlwithcheerio('.form-check-input').attr('id', 'X'); + +