diff --git a/interfaces/Portalicious/eslint.config.js b/interfaces/Portalicious/eslint.config.js index ffa95949a5..6222282345 100644 --- a/interfaces/Portalicious/eslint.config.js +++ b/interfaces/Portalicious/eslint.config.js @@ -124,12 +124,14 @@ module.exports = tseslint.config( 'p-button[icon]', 'p-button[iconPos]', 'p-columnFilter[display]', - 'p-contextMenu[appendTo]', - 'p-dropdown[appendTo]', 'p-iconField[iconPosition]', 'p-sidebar[position]', + 'p-splitButton[icon]', + 'p-splitButton[menuStyleClass]', 'p-table[stateKey]', 'p-table[stateStorage]', + 'appendTo', + 'inputId', 'styleClass', 'severity', 'th[pSortableColumn]', diff --git a/interfaces/Portalicious/package-lock.json b/interfaces/Portalicious/package-lock.json index e5cd9889be..7c12e5cc76 100644 --- a/interfaces/Portalicious/package-lock.json +++ b/interfaces/Portalicious/package-lock.json @@ -25,6 +25,7 @@ "primeng": "^17.18.9", "rxjs": "~7.8.0", "tslib": "^2.3.0", + "xlsx": "^0.18.5", "zone.js": "~0.14.3" }, "devDependencies": { @@ -6952,6 +6953,14 @@ "node": ">=8.9.0" } }, + "node_modules/adler-32": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz", + "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", + "engines": { + "node": ">=0.8" + } + }, "node_modules/adm-zip": { "version": "0.5.14", "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.14.tgz", @@ -7979,6 +7988,18 @@ ], "license": "CC-BY-4.0" }, + "node_modules/cfb": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz", + "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", + "dependencies": { + "adler-32": "~1.3.0", + "crc-32": "~1.2.0" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -8292,6 +8313,14 @@ "node": ">=0.10.0" } }, + "node_modules/codepage": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/codepage/-/codepage-1.15.0.tgz", + "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==", + "engines": { + "node": ">=0.8" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -8771,6 +8800,17 @@ } } }, + "node_modules/crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/critters": { "version": "0.0.24", "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.24.tgz", @@ -10706,6 +10746,14 @@ "node": ">= 0.6" } }, + "node_modules/frac": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz", + "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==", + "engines": { + "node": ">=0.8" + } + }, "node_modules/fraction.js": { "version": "4.3.7", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", @@ -17151,6 +17199,17 @@ "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", "dev": true }, + "node_modules/ssf": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz", + "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==", + "dependencies": { + "frac": "~1.1.2" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/ssri": { "version": "10.0.6", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", @@ -19429,6 +19488,22 @@ "dev": true, "license": "MIT" }, + "node_modules/wmf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wmf/-/wmf-1.0.2.tgz", + "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/word": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/word/-/word-0.3.0.tgz", + "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==", + "engines": { + "node": ">=0.8" + } + }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -19528,6 +19603,26 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/xlsx": { + "version": "0.18.5", + "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz", + "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==", + "dependencies": { + "adler-32": "~1.3.0", + "cfb": "~1.2.1", + "codepage": "~1.15.0", + "crc-32": "~1.2.1", + "ssf": "~0.11.2", + "wmf": "~1.0.1", + "word": "~0.3.0" + }, + "bin": { + "xlsx": "bin/xlsx.njs" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/xmldoc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/xmldoc/-/xmldoc-1.3.0.tgz", diff --git a/interfaces/Portalicious/package.json b/interfaces/Portalicious/package.json index 92ffc3bc51..b13f2e5623 100644 --- a/interfaces/Portalicious/package.json +++ b/interfaces/Portalicious/package.json @@ -42,6 +42,7 @@ "primeng": "^17.18.9", "rxjs": "~7.8.0", "tslib": "^2.3.0", + "xlsx": "^0.18.5", "zone.js": "~0.14.3" }, "devDependencies": { diff --git a/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.html b/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.html index 98f8b99f12..eac50c23f9 100644 --- a/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.html +++ b/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.html @@ -1,6 +1,7 @@ diff --git a/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.ts b/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.ts index 72ad742a61..0b1bd791c7 100644 --- a/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.ts +++ b/interfaces/Portalicious/src/app/components/confirmation-dialog/confirmation-dialog.component.ts @@ -25,8 +25,8 @@ import { FormErrorComponent } from '~/components/form-error/form-error.component export class ConfirmationDialogComponent { private confirmationService = inject(ConfirmationService); - mutation = - input.required>(); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + mutation = input.required>(); mutationData = input.required(); header = input($localize`:@@confirmation-dialog-header:Are you sure?`); headerIcon = input('pi pi-question'); diff --git a/interfaces/Portalicious/src/app/components/form-field-wrapper/form-field-wrapper.component.html b/interfaces/Portalicious/src/app/components/form-field-wrapper/form-field-wrapper.component.html index afc02cb0fe..390b946b20 100644 --- a/interfaces/Portalicious/src/app/components/form-field-wrapper/form-field-wrapper.component.html +++ b/interfaces/Portalicious/src/app/components/form-field-wrapper/form-field-wrapper.component.html @@ -1,5 +1,7 @@ -