diff --git a/angular.json b/angular.json index d579b23f2..4b90ba975 100644 --- a/angular.json +++ b/angular.json @@ -18,7 +18,7 @@ }, "architect": { "build": { - "builder": "@angular-devkit/build-angular:application", + "builder": "@angular/build:application", "options": { "aot": true, "outputPath": { @@ -97,7 +97,7 @@ "defaultConfiguration": "production" }, "serve": { - "builder": "@angular-devkit/build-angular:dev-server", + "builder": "@angular/build:dev-server", "options": { "buildTarget": "mifosx-web-app:build" }, @@ -112,7 +112,7 @@ "defaultConfiguration": "development" }, "extract-i18n": { - "builder": "@angular-devkit/build-angular:extract-i18n", + "builder": "@angular/build:extract-i18n", "options": { "buildTarget": "mifosx-web-app:build" } diff --git a/package-lock.json b/package-lock.json index 191db7b5c..dc1eb1c53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,28 +10,28 @@ "hasInstallScript": true, "license": "MPL-2.0", "dependencies": { - "@angular-devkit/schematics": "18.2.19", - "@angular/animations": "18.2.13", - "@angular/cdk": "^18.2.14", - "@angular/common": "18.2.13", - "@angular/compiler": "18.2.13", - "@angular/core": "18.2.13", - "@angular/forms": "18.2.13", - "@angular/localize": "18.2.13", - "@angular/material": "^18.2.14", - "@angular/platform-browser": "18.2.13", - "@angular/platform-browser-dynamic": "18.2.13", - "@angular/router": "18.2.13", + "@angular-devkit/schematics": "19.2.15", + "@angular/animations": "19.2.14", + "@angular/cdk": "^19.2.18", + "@angular/common": "19.2.14", + "@angular/compiler": "19.2.14", + "@angular/core": "19.2.14", + "@angular/forms": "19.2.14", + "@angular/localize": "19.2.14", + "@angular/material": "^19.2.18", + "@angular/platform-browser": "19.2.14", + "@angular/platform-browser-dynamic": "19.2.14", + "@angular/router": "19.2.14", "@ckeditor/ckeditor5-angular": "6.0.1", "@ckeditor/ckeditor5-build-classic": "40.2.0", - "@fortawesome/angular-fontawesome": "^0.15.0", + "@fortawesome/angular-fontawesome": "^1.0.0", "@fortawesome/fontawesome-free": "^6.7.2", "@fortawesome/fontawesome-svg-core": "6.2.1", "@fortawesome/free-brands-svg-icons": "6.7.2", "@fortawesome/free-solid-svg-icons": "6.2.1", "@ngx-translate/core": "^16.0.4", "@ngx-translate/http-loader": "^16.0.1", - "@swimlane/ngx-graph": "^9.0.1", + "@swimlane/ngx-graph": "^10.0.0", "@tailwindcss/forms": "^0.5.4", "chart.js": "3.0.0-alpha", "d3": "^7.9.0", @@ -45,19 +45,19 @@ "rxjs": "7.8.1", "tslib": "^2.0.0", "vkbeautify": "^0.99.3", - "zone.js": "0.14.10" + "zone.js": "0.15.1" }, "devDependencies": { - "@angular-builders/jest": "^18.0.0", - "@angular-devkit/build-angular": "^18.2.19", + "@angular-builders/jest": "^19.0.1", "@angular-eslint/builder": "^19.7.0", "@angular-eslint/eslint-plugin": "^19.7.0", "@angular-eslint/eslint-plugin-template": "^19.7.0", "@angular-eslint/schematics": "^19.7.0", "@angular-eslint/template-parser": "^19.7.0", - "@angular/cli": "18.2.19", - "@angular/compiler-cli": "18.2.13", - "@angular/language-service": "18.2.13", + "@angular/build": "^19.2.15", + "@angular/cli": "19.2.15", + "@angular/compiler-cli": "19.2.14", + "@angular/language-service": "19.2.14", "@cypress/schematic": "^2.5.2", "@types/d3-dispatch": "^3.0.1", "@types/d3-drag": "^3.0.1", @@ -126,18 +126,18 @@ } }, "node_modules/@angular-builders/common": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@angular-builders/common/-/common-2.0.0.tgz", - "integrity": "sha512-O5YJc++DtJVJhqA/OomRKN2jGYzvU/YXtfrPAqcA9Is3Ob5jvV0L0JHSAjSw/KaLvk/FjBIqoRVcYdLp5LKddA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@angular-builders/common/-/common-3.0.1.tgz", + "integrity": "sha512-AIIqWtlr3sc2+CTEOqbDsrpVvkT6ijfYzvzPk1HLFrcP9Y2tYLXVFc+gGThlE+e1Om0pKminXcINEqm3J/yY5g==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "^18.0.0", + "@angular-devkit/core": "^19.0.0", "ts-node": "^10.0.0", "tsconfig-paths": "^4.1.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" } }, "node_modules/@angular-builders/common/node_modules/arg": { @@ -192,42 +192,42 @@ } }, "node_modules/@angular-builders/jest": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/@angular-builders/jest/-/jest-18.0.0.tgz", - "integrity": "sha512-nPNWMlV1ryjir6CC8dY8f6yaNe0lM1VJwbvYM99HmJSeRo+1IwouQQGUjRM/2Dx4OMAmL4EAPh7Ud2nr3Gj/FA==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/@angular-builders/jest/-/jest-19.0.1.tgz", + "integrity": "sha512-mi4HMQkyb1Z+pPRIKt70Uk/EBoDUirPqhv3xlz1/WpPqpxXz8y+Y3ffutot4JJDmzJw2p4h3x2hh6D3Kbocraw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-builders/common": "2.0.0", - "@angular-devkit/architect": ">=0.1800.0 < 0.1900.0", - "@angular-devkit/core": "^18.0.0", - "jest-preset-angular": "14.1.0", + "@angular-builders/common": "3.0.1", + "@angular-devkit/architect": ">=0.1900.0 < 0.2000.0", + "@angular-devkit/core": "^19.0.0", + "jest-preset-angular": "14.5.4", "lodash": "^4.17.15" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular-devkit/build-angular": "^18.0.0", - "@angular/compiler-cli": "^18.0.0", - "@angular/core": "^18.0.0", - "@angular/platform-browser-dynamic": "^18.0.0", + "@angular-devkit/build-angular": "^19.0.0", + "@angular/compiler-cli": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/platform-browser-dynamic": "^19.0.0", "jest": ">=29" } }, "node_modules/@angular-builders/jest/node_modules/jest-preset-angular": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/jest-preset-angular/-/jest-preset-angular-14.1.0.tgz", - "integrity": "sha512-UJwPtpsAMl30UtBjHW0Ai0hhoKsNURC1dXH5tSYjumUsWR7iDke+oBEykz7uXv4rN+PWgeNIqkxo4KHQjOITlw==", + "version": "14.5.4", + "resolved": "https://registry.npmjs.org/jest-preset-angular/-/jest-preset-angular-14.5.4.tgz", + "integrity": "sha512-vbil9qTrZljzVJNsDIxEhWVb4r6BQumXEgIHCAVkHJjpF1fYkIB4bczPAe58lBZH2gKeRHBSj8/IoGpGBI1qiQ==", "dev": true, "license": "MIT", "dependencies": { "bs-logger": "^0.2.6", "esbuild-wasm": ">=0.15.13", - "jest-environment-jsdom": "^29.0.0", - "jest-util": "^29.0.0", - "pretty-format": "^29.0.0", - "ts-jest": "^29.0.0" + "jest-environment-jsdom": "^29.7.0", + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0", + "ts-jest": "^29.3.0" }, "engines": { "node": "^14.15.0 || >=16.10.0" @@ -236,22 +236,27 @@ "esbuild": ">=0.15.13" }, "peerDependencies": { - "@angular-devkit/build-angular": ">=15.0.0 <19.0.0", - "@angular/compiler-cli": ">=15.0.0 <19.0.0", - "@angular/core": ">=15.0.0 <19.0.0", - "@angular/platform-browser-dynamic": ">=15.0.0 <19.0.0", + "@angular/compiler-cli": ">=15.0.0 <20.0.0", + "@angular/core": ">=15.0.0 <20.0.0", + "@angular/platform-browser-dynamic": ">=15.0.0 <20.0.0", "jest": "^29.0.0", + "jsdom": ">=20.0.0", "typescript": ">=4.8" + }, + "peerDependenciesMeta": { + "jsdom": { + "optional": true + } } }, "node_modules/@angular-devkit/architect": { - "version": "0.1802.20", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.20.tgz", - "integrity": "sha512-nNUv2541/X4V0vtT2F6wCT+/GAY8v+J8MRMh8kGBVdyV9EdtSTWxHAvE1WhX5uE7VUCNegDfElxvAR9Vq8qSig==", + "version": "0.1902.15", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1902.15.tgz", + "integrity": "sha512-RbqhStc6ZoRv57ZqLB36VOkBkAdU3nNezCvIs0AJV5V4+vLPMrb0hpIB0sF+9yMlMjWsolnRsj0/Fil+zQG3bw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.20", + "@angular-devkit/core": "19.2.15", "rxjs": "7.8.1" }, "engines": { @@ -261,17 +266,18 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "18.2.20", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.20.tgz", - "integrity": "sha512-wjWFSpu4PJgASB6ZkYMFspK1oLuzdyZhyjB14y+/5+qqoCRroFyaEhhOHfzqHF2dwH8+rOg6E2r4vkre94duPQ==", + "version": "19.2.15", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-19.2.15.tgz", + "integrity": "sha512-mqudAcyrSp/E7ZQdQoHfys0/nvQuwyJDaAzj3qL3HUStuUzb5ULNOj2f6sFBo+xYo+/WT8IzmzDN9DCqDgvFaA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.20", - "@angular-devkit/build-webpack": "0.1802.20", - "@angular-devkit/core": "18.2.20", - "@angular/build": "18.2.20", + "@angular-devkit/architect": "0.1902.15", + "@angular-devkit/build-webpack": "0.1902.15", + "@angular-devkit/core": "19.2.15", + "@angular/build": "19.2.15", "@babel/core": "7.26.10", "@babel/generator": "7.26.10", "@babel/helper-annotate-as-pure": "7.25.9", @@ -281,48 +287,43 @@ "@babel/plugin-transform-runtime": "7.26.10", "@babel/preset-env": "7.26.9", "@babel/runtime": "7.26.10", - "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.20", + "@discoveryjs/json-ext": "0.6.3", + "@ngtools/webpack": "19.2.15", + "@vitejs/plugin-basic-ssl": "1.2.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", - "babel-loader": "9.1.3", + "babel-loader": "9.2.1", "browserslist": "^4.21.5", "copy-webpack-plugin": "12.0.2", - "critters": "0.0.24", "css-loader": "7.1.2", - "esbuild-wasm": "0.23.0", - "fast-glob": "3.3.2", + "esbuild-wasm": "0.25.4", + "fast-glob": "3.3.3", "http-proxy-middleware": "3.0.5", - "https-proxy-agent": "7.0.5", "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", "karma-source-map-support": "1.4.0", - "less": "4.2.0", + "less": "4.2.2", "less-loader": "12.2.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.3.1", - "magic-string": "0.30.11", - "mini-css-extract-plugin": "2.9.0", - "mrmime": "2.0.0", + "mini-css-extract-plugin": "2.9.2", "open": "10.1.0", "ora": "5.4.1", - "parse5-html-rewriting-stream": "7.0.0", "picomatch": "4.0.2", - "piscina": "4.6.1", - "postcss": "8.4.41", + "piscina": "4.8.0", + "postcss": "8.5.2", "postcss-loader": "8.1.1", "resolve-url-loader": "5.0.0", "rxjs": "7.8.1", - "sass": "1.77.6", - "sass-loader": "16.0.0", - "semver": "7.6.3", + "sass": "1.85.0", + "sass-loader": "16.0.5", + "semver": "7.7.1", "source-map-loader": "5.0.0", "source-map-support": "0.5.21", - "terser": "5.31.6", + "terser": "5.39.0", "tree-kill": "1.2.2", - "tslib": "2.6.3", - "watchpack": "2.4.1", - "webpack": "5.94.0", + "tslib": "2.8.1", + "webpack": "5.98.0", "webpack-dev-middleware": "7.4.2", "webpack-dev-server": "5.2.2", "webpack-merge": "6.0.1", @@ -334,22 +335,23 @@ "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.23.0" + "esbuild": "0.25.4" }, "peerDependencies": { - "@angular/compiler-cli": "^18.0.0", - "@angular/localize": "^18.0.0", - "@angular/platform-server": "^18.0.0", - "@angular/service-worker": "^18.0.0", - "@web/test-runner": "^0.18.0", + "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0", + "@angular/localize": "^19.0.0 || ^19.2.0-next.0", + "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0", + "@angular/service-worker": "^19.0.0 || ^19.2.0-next.0", + "@angular/ssr": "^19.2.15", + "@web/test-runner": "^0.20.0", "browser-sync": "^3.0.2", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "karma": "^6.3.0", - "ng-packagr": "^18.0.0", + "ng-packagr": "^19.0.0 || ^19.2.0-next.0", "protractor": "^7.0.0", - "tailwindcss": "^2.0.0 || ^3.0.0", - "typescript": ">=5.4 <5.6" + "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", + "typescript": ">=5.5 <5.9" }, "peerDependenciesMeta": { "@angular/localize": { @@ -361,6 +363,9 @@ "@angular/service-worker": { "optional": true }, + "@angular/ssr": { + "optional": true + }, "@web/test-runner": { "optional": true }, @@ -387,35 +392,15 @@ } } }, - "node_modules/@angular-devkit/build-angular/node_modules/https-proxy-agent": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", - "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@angular-devkit/build-angular/node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", - "dev": true, - "license": "0BSD" - }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1802.20", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.20.tgz", - "integrity": "sha512-710EUKGXJ0HlETDOlkiFWA6Ddku0vdNumbPzi2gb5UnjFo297BIOHgHt77auDhpKj1qffHTvvoiA2UseOX85QA==", + "version": "0.1902.15", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1902.15.tgz", + "integrity": "sha512-pIfZeizWsViXx8bsMoBLZw7Tl7uFf7bM7hAfmNwk0bb0QGzx5k1BiW6IKWyaG+Dg6U4UCrlNpIiut2b78HwQZw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { - "@angular-devkit/architect": "0.1802.20", + "@angular-devkit/architect": "0.1902.15", "rxjs": "7.8.1" }, "engines": { @@ -429,114 +414,9 @@ } }, "node_modules/@angular-devkit/core": { - "version": "18.2.20", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.20.tgz", - "integrity": "sha512-VNxI2e9EZQNqKYtUJ4u43QRJ9kObeyG9f69caxnj28cg4qim3H1vX/sglnodP8EsTIRbzwBKc884ebHWFdQJkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^3.5.2" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-devkit/schematics": { - "version": "18.2.19", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.19.tgz", - "integrity": "sha512-P/0KjkzOf2ZShuShx3cBbjLI7XlcS6B/yCRBo1MQfCC4cZfmzPQoUEOSQeYZgy5pnC24f+dKh/+TWc5uYL/Lvg==", - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "18.2.19", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.11", - "ora": "5.4.1", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-devkit/schematics/node_modules/@angular-devkit/core": { - "version": "18.2.19", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.19.tgz", - "integrity": "sha512-Ptf92Zomc6FCr7GWmHKdgOUbA1GpctZwH/hRcpYpU3tM56MG2t5FOFpufnE595GgolOCktabkFEoODMG8PBVDQ==", - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^3.5.2" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-eslint/builder": { - "version": "19.8.0", - "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-19.8.0.tgz", - "integrity": "sha512-+sDe92BpzlxNZWFuBbKD1L8xsW/dyOU+acPn4V84Vn55XMdhrBWOwDX7oxmBCOwuVTrS3mgHz7d22J1sdNwySw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/architect": ">= 0.1900.0 < 0.2000.0", - "@angular-devkit/core": ">= 19.0.0 < 20.0.0" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": "*" - } - }, - "node_modules/@angular-eslint/builder/node_modules/@angular-devkit/architect": { - "version": "0.1902.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1902.15.tgz", - "integrity": "sha512-RbqhStc6ZoRv57ZqLB36VOkBkAdU3nNezCvIs0AJV5V4+vLPMrb0hpIB0sF+9yMlMjWsolnRsj0/Fil+zQG3bw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "19.2.15", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-eslint/builder/node_modules/@angular-devkit/core": { "version": "19.2.15", "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.15.tgz", "integrity": "sha512-pU2RZYX6vhd7uLSdLwPnuBcr0mXJSjp3EgOXKsrlQFQZevc+Qs+2JdXgIElnOT/aDqtRtriDmLlSbtdE8n3ZbA==", - "dev": true, "license": "MIT", "dependencies": { "ajv": "8.17.1", @@ -560,38 +440,37 @@ } } }, - "node_modules/@angular-eslint/builder/node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "dev": true, + "node_modules/@angular-devkit/schematics": { + "version": "19.2.15", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.15.tgz", + "integrity": "sha512-kNOJ+3vekJJCQKWihNmxBkarJzNW09kP5a9E1SRNiQVNOUEeSwcRR0qYotM65nx821gNzjjhJXnAZ8OazWldrg==", "license": "MIT", - "optional": true, - "peer": true, "dependencies": { - "readdirp": "^4.0.1" + "@angular-devkit/core": "19.2.15", + "jsonc-parser": "3.3.1", + "magic-string": "0.30.17", + "ora": "5.4.1", + "rxjs": "7.8.1" }, "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" } }, - "node_modules/@angular-eslint/builder/node_modules/readdirp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", - "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "node_modules/@angular-eslint/builder": { + "version": "19.8.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-19.8.0.tgz", + "integrity": "sha512-+sDe92BpzlxNZWFuBbKD1L8xsW/dyOU+acPn4V84Vn55XMdhrBWOwDX7oxmBCOwuVTrS3mgHz7d22J1sdNwySw==", "dev": true, "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">= 14.18.0" + "dependencies": { + "@angular-devkit/architect": ">= 0.1900.0 < 0.2000.0", + "@angular-devkit/core": ">= 19.0.0 < 20.0.0" }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*" } }, "node_modules/@angular-eslint/bundled-angular-compiler": { @@ -653,97 +532,6 @@ "strip-json-comments": "3.1.1" } }, - "node_modules/@angular-eslint/schematics/node_modules/@angular-devkit/core": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.15.tgz", - "integrity": "sha512-pU2RZYX6vhd7uLSdLwPnuBcr0mXJSjp3EgOXKsrlQFQZevc+Qs+2JdXgIElnOT/aDqtRtriDmLlSbtdE8n3ZbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^4.0.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-eslint/schematics/node_modules/@angular-devkit/schematics": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.15.tgz", - "integrity": "sha512-kNOJ+3vekJJCQKWihNmxBkarJzNW09kP5a9E1SRNiQVNOUEeSwcRR0qYotM65nx821gNzjjhJXnAZ8OazWldrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "19.2.15", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/magic-string": { - "version": "0.30.17", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/readdirp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", - "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">= 14.18.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@angular-eslint/schematics/node_modules/semver": { "version": "7.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", @@ -788,9 +576,9 @@ } }, "node_modules/@angular/animations": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.13.tgz", - "integrity": "sha512-rG5J5Ek5Hg+Tz2NjkNOaG6PupiNK/lPfophXpsR1t/nWujqnMWX2krahD/i6kgD+jNWNKCJCYSOVvCx/BHOtKA==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-19.2.14.tgz", + "integrity": "sha512-xhl8fLto5HHJdVj8Nb6EoBEiTAcXuWDYn1q5uHcGxyVH3kiwENWy/2OQXgCr2CuWo2e6hNUGzSLf/cjbsMNqEA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -799,56 +587,65 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.13" + "@angular/common": "19.2.14", + "@angular/core": "19.2.14" } }, "node_modules/@angular/build": { - "version": "18.2.20", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.20.tgz", - "integrity": "sha512-9VW/zSQoSwc9e5OBjtnroj9feacD2HgkSYx7TsfmDyefIlOCeNxbhkm83Px/4B8VG6kzZUBzLBJ4QULl2E1Y/Q==", + "version": "19.2.15", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-19.2.15.tgz", + "integrity": "sha512-iE4fp4d5ALu702uoL6/YkjM2JlGEXZ5G+RVzq3W2jg/Ft6ISAQnRKB6mymtetDD6oD7i87e8uSu9kFVNBauX2w==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.20", - "@babel/core": "7.25.2", - "@babel/helper-annotate-as-pure": "7.24.7", + "@angular-devkit/architect": "0.1902.15", + "@babel/core": "7.26.10", + "@babel/helper-annotate-as-pure": "7.25.9", "@babel/helper-split-export-declaration": "7.24.7", - "@babel/plugin-syntax-import-attributes": "7.24.7", - "@inquirer/confirm": "3.1.22", - "@vitejs/plugin-basic-ssl": "1.1.0", + "@babel/plugin-syntax-import-attributes": "7.26.0", + "@inquirer/confirm": "5.1.6", + "@vitejs/plugin-basic-ssl": "1.2.0", + "beasties": "0.3.2", "browserslist": "^4.23.0", - "critters": "0.0.24", - "esbuild": "0.23.0", - "fast-glob": "3.3.2", - "https-proxy-agent": "7.0.5", - "listr2": "8.2.4", - "lmdb": "3.0.13", - "magic-string": "0.30.11", - "mrmime": "2.0.0", + "esbuild": "0.25.4", + "fast-glob": "3.3.3", + "https-proxy-agent": "7.0.6", + "istanbul-lib-instrument": "6.0.3", + "listr2": "8.2.5", + "magic-string": "0.30.17", + "mrmime": "2.0.1", "parse5-html-rewriting-stream": "7.0.0", "picomatch": "4.0.2", - "piscina": "4.6.1", - "rollup": "4.22.4", - "sass": "1.77.6", - "semver": "7.6.3", - "vite": "~5.4.17", - "watchpack": "2.4.1" + "piscina": "4.8.0", + "rollup": "4.34.8", + "sass": "1.85.0", + "semver": "7.7.1", + "source-map-support": "0.5.21", + "vite": "6.2.7", + "watchpack": "2.4.2" }, "engines": { "node": "^18.19.1 || ^20.11.1 || >=22.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, + "optionalDependencies": { + "lmdb": "3.2.6" + }, "peerDependencies": { - "@angular/compiler-cli": "^18.0.0", - "@angular/localize": "^18.0.0", - "@angular/platform-server": "^18.0.0", - "@angular/service-worker": "^18.0.0", + "@angular/compiler": "^19.0.0 || ^19.2.0-next.0", + "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0", + "@angular/localize": "^19.0.0 || ^19.2.0-next.0", + "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0", + "@angular/service-worker": "^19.0.0 || ^19.2.0-next.0", + "@angular/ssr": "^19.2.15", + "karma": "^6.4.0", "less": "^4.2.0", + "ng-packagr": "^19.0.0 || ^19.2.0-next.0", "postcss": "^8.4.0", - "tailwindcss": "^2.0.0 || ^3.0.0", - "typescript": ">=5.4 <5.6" + "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", + "typescript": ">=5.5 <5.9" }, "peerDependenciesMeta": { "@angular/localize": { @@ -860,9 +657,18 @@ "@angular/service-worker": { "optional": true }, + "@angular/ssr": { + "optional": true + }, + "karma": { + "optional": true + }, "less": { "optional": true }, + "ng-packagr": { + "optional": true + }, "postcss": { "optional": true }, @@ -871,120 +677,158 @@ } } }, - "node_modules/@angular/build/node_modules/@babel/core": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", - "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/helper-compilation-targets": "^7.25.2", - "@babel/helper-module-transforms": "^7.25.2", - "@babel/helpers": "^7.25.0", - "@babel/parser": "^7.25.0", - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.2", - "@babel/types": "^7.25.2", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@angular/build/node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@angular/build/node_modules/@babel/helper-annotate-as-pure": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz", - "integrity": "sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@angular/build/node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true, - "license": "MIT" - }, "node_modules/@angular/build/node_modules/https-proxy-agent": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", - "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "dev": true, "license": "MIT", "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "4" }, "engines": { "node": ">= 14" } }, - "node_modules/@angular/cdk": { - "version": "18.2.14", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-18.2.14.tgz", - "integrity": "sha512-vDyOh1lwjfVk9OqoroZAP8pf3xxKUvyl+TVR8nJxL4c5fOfUFkD7l94HaanqKSRwJcI2xiztuu92IVoHn8T33Q==", + "node_modules/@angular/build/node_modules/vite": { + "version": "6.2.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.7.tgz", + "integrity": "sha512-qg3LkeuinTrZoJHHF94coSaTfIPyBYoywp+ys4qu20oSJFbKMYoIJo0FWJT9q6Vp49l6z9IsJRbHdcGtiKbGoQ==", + "dev": true, "license": "MIT", "dependencies": { - "tslib": "^2.3.0" + "esbuild": "^0.25.0", + "postcss": "^8.5.3", + "rollup": "^4.30.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" }, "optionalDependencies": { - "parse5": "^7.1.2" + "fsevents": "~2.3.3" }, "peerDependencies": { - "@angular/common": "^18.0.0 || ^19.0.0", - "@angular/core": "^18.0.0 || ^19.0.0", + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/@angular/build/node_modules/vite/node_modules/postcss": { + "version": "8.5.5", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.5.tgz", + "integrity": "sha512-d/jtm+rdNT8tpXuHY5MMtcbJFBkhXE6593XVR9UoGCH8jSFGci7jGvMGH5RYd5PBJW+00NZQt6gf7CbagJCrhg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/@angular/cdk": { + "version": "19.2.18", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-19.2.18.tgz", + "integrity": "sha512-aGMHOYK/VV9PhxGTUDwiu/4ozoR/RKz8cimI+QjRxEBhzn4EPqjUDSganvlhmgS7cTN3+aqozdvF/GopMRJjLg==", + "license": "MIT", + "dependencies": { + "parse5": "^7.1.2", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": "^19.0.0 || ^20.0.0", + "@angular/core": "^19.0.0 || ^20.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/cli": { - "version": "18.2.19", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.19.tgz", - "integrity": "sha512-LGVMTc36JQuw8QX8Sclxyei306EQW3KslopXbf7cfqt6D5/fHS+FqqA0O7V8ob/vOGMca+l6hQD27nW5Y3W6pA==", + "version": "19.2.15", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-19.2.15.tgz", + "integrity": "sha512-YRIpARHWSOnWkHusUWTQgeUrPWMjWvtQrOkjWc6stF36z2KUzKMEng6EzUvH6sZolNSwVwOFpODEP0ut4aBkvQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.19", - "@angular-devkit/core": "18.2.19", - "@angular-devkit/schematics": "18.2.19", - "@inquirer/prompts": "5.3.8", - "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.19", + "@angular-devkit/architect": "0.1902.15", + "@angular-devkit/core": "19.2.15", + "@angular-devkit/schematics": "19.2.15", + "@inquirer/prompts": "7.3.2", + "@listr2/prompt-adapter-inquirer": "2.0.18", + "@schematics/angular": "19.2.15", "@yarnpkg/lockfile": "1.1.0", - "ini": "4.1.3", + "ini": "5.0.0", "jsonc-parser": "3.3.1", - "listr2": "8.2.4", - "npm-package-arg": "11.0.3", - "npm-pick-manifest": "9.1.0", - "pacote": "18.0.6", - "resolve": "1.22.8", - "semver": "7.6.3", + "listr2": "8.2.5", + "npm-package-arg": "12.0.2", + "npm-pick-manifest": "10.0.0", + "pacote": "20.0.0", + "resolve": "1.22.10", + "semver": "7.7.1", "symbol-observable": "4.0.0", "yargs": "17.7.2" }, @@ -997,54 +841,10 @@ "yarn": ">= 1.13.0" } }, - "node_modules/@angular/cli/node_modules/@angular-devkit/architect": { - "version": "0.1802.19", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.19.tgz", - "integrity": "sha512-M4B1tzxGX1nWCZr9GMM8OO0yBJO2HFSdK8M8P74vEFQfKIeq3y16IQ5zlEveJrkCOFVtmlIy2C9foMCdNyBRMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "18.2.19", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular/cli/node_modules/@angular-devkit/core": { - "version": "18.2.19", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.19.tgz", - "integrity": "sha512-Ptf92Zomc6FCr7GWmHKdgOUbA1GpctZwH/hRcpYpU3tM56MG2t5FOFpufnE595GgolOCktabkFEoODMG8PBVDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^3.5.2" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, "node_modules/@angular/common": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.13.tgz", - "integrity": "sha512-4ZqrNp1PoZo7VNvW+sbSc2CB2axP1sCH2wXl8B0wdjsj8JY1hF1OhuugwhpAHtGxqewed2kCXayE+ZJqSTV4jw==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-19.2.14.tgz", + "integrity": "sha512-NcNklcuyqaTjOVGf7aru8APX9mjsnZ01gFZrn47BxHozhaR0EMRrotYQTdi8YdVjPkeYFYanVntSLfhyobq/jg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1053,37 +853,29 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.13", + "@angular/core": "19.2.14", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.13.tgz", - "integrity": "sha512-TzWcrkopyjFF+WeDr2cRe8CcHjU72KfYV3Sm2TkBkcXrkYX5sDjGWrBGrG3hRB4e4okqchrOCvm1MiTdy2vKMA==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-19.2.14.tgz", + "integrity": "sha512-ZqJDYOdhgKpVGNq3+n/Gbxma8DVYElDsoRe0tvNtjkWBVdaOxdZZUqmJ3kdCBsqD/aqTRvRBu0KGo9s2fCChkA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { "node": "^18.19.1 || ^20.11.1 || >=22.0.0" - }, - "peerDependencies": { - "@angular/core": "18.2.13" - }, - "peerDependenciesMeta": { - "@angular/core": { - "optional": true - } } }, "node_modules/@angular/compiler-cli": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.13.tgz", - "integrity": "sha512-DBSh4AQwkiJDSiVvJATRmjxf6wyUs9pwQLgaFdSlfuTRO+sdb0J2z1r3BYm8t0IqdoyXzdZq2YCH43EmyvD71g==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-19.2.14.tgz", + "integrity": "sha512-e9/h86ETjoIK2yTLE9aUeMCKujdg/du2pq7run/aINjop4RtnNOw+ZlSTUa6R65lP5CVwDup1kPytpAoifw8cA==", "license": "MIT", "dependencies": { - "@babel/core": "7.25.2", + "@babel/core": "7.26.9", "@jridgewell/sourcemap-codec": "^1.4.14", "chokidar": "^4.0.0", "convert-source-map": "^1.5.1", @@ -1101,26 +893,26 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/compiler": "18.2.13", - "typescript": ">=5.4 <5.6" + "@angular/compiler": "19.2.14", + "typescript": ">=5.5 <5.9" } }, "node_modules/@angular/compiler-cli/node_modules/@babel/core": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", - "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", + "version": "7.26.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.9.tgz", + "integrity": "sha512-lWBYIrF7qK5+GjY5Uy+/hEgp8OJWOD/rpy74GplYRhEauvbHDeFB8t5hPOZxCZ0Oxf4Cc36tK51/l3ymJysrKw==", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/helper-compilation-targets": "^7.25.2", - "@babel/helper-module-transforms": "^7.25.2", - "@babel/helpers": "^7.25.0", - "@babel/parser": "^7.25.0", - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.2", - "@babel/types": "^7.25.2", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.9", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.9", + "@babel/parser": "^7.26.9", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.9", + "@babel/types": "^7.26.9", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -1150,38 +942,10 @@ "semver": "bin/semver.js" } }, - "node_modules/@angular/compiler-cli/node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "license": "MIT", - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@angular/compiler-cli/node_modules/readdirp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", - "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", - "license": "MIT", - "engines": { - "node": ">= 14.18.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@angular/core": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.13.tgz", - "integrity": "sha512-8mbWHMgO95OuFV1Ejy4oKmbe9NOJ3WazQf/f7wks8Bck7pcihd0IKhlPBNjFllbF5o+04EYSwFhEtvEgjMDClA==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-19.2.14.tgz", + "integrity": "sha512-EVErpW9tGqJ/wNcAN3G/ErH8pHCJ8mM1E6bsJ8UJIpDTZkpqqYjBMtZS9YWH5n3KwUd1tAkAB2w8FK125AjDUQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1191,13 +955,13 @@ }, "peerDependencies": { "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.14.10" + "zone.js": "~0.15.0" } }, "node_modules/@angular/forms": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.13.tgz", - "integrity": "sha512-A67D867fu3DSBhdLWWZl/F5pr7v2+dRM2u3U7ZJ0ewh4a+sv+0yqWdJW+a8xIoiHxS+btGEJL2qAKJiH+MCFfg==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.14.tgz", + "integrity": "sha512-hWtDOj2B0AuRTf+nkMJeodnFpDpmEK9OIhIv1YxcRe73ooaxrIdjgugkElO8I9Tj0E4/7m117ezhWDUkbqm1zA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1206,16 +970,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.13", - "@angular/core": "18.2.13", - "@angular/platform-browser": "18.2.13", + "@angular/common": "19.2.14", + "@angular/core": "19.2.14", + "@angular/platform-browser": "19.2.14", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/language-service": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-18.2.13.tgz", - "integrity": "sha512-4E4VJDrbOAxS69F9C1twQPbR9AjY47Qlz8+lwg5lJOyUJ4GoEThLbXKfadt/vIeYBwMJ7fIsYWXD0Dlmxh4k+w==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-19.2.14.tgz", + "integrity": "sha512-XgzZdBCe/obCrck5I6GIG4qSI9UGaOtbrvNuw0QAK0DySKaW5inRm6/QwCMPRmPkJBY0wLeYUVz//rtHpEjeTQ==", "dev": true, "license": "MIT", "engines": { @@ -1223,14 +987,14 @@ } }, "node_modules/@angular/localize": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/localize/-/localize-18.2.13.tgz", - "integrity": "sha512-qQaIYdDS/l1w6tr/wpOoimjpmoJU0WmB8AGbNeKLoM36K+ix6hkvn67+UgkpZtaDHZylm8GsGW1NjzpM2tr3pA==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/localize/-/localize-19.2.14.tgz", + "integrity": "sha512-T2qPVE5N4qe1rQnx9tkxqUzXV+gUgAwSpVG+vHHRJe//jxCIVfk5zyPd2Z9nFzwGarHP61hvnEzbdbZHtCmbcQ==", "license": "MIT", "dependencies": { - "@babel/core": "7.25.2", + "@babel/core": "7.26.9", "@types/babel__core": "7.20.5", - "fast-glob": "3.3.2", + "fast-glob": "3.3.3", "yargs": "^17.2.1" }, "bin": { @@ -1242,26 +1006,26 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/compiler": "18.2.13", - "@angular/compiler-cli": "18.2.13" + "@angular/compiler": "19.2.14", + "@angular/compiler-cli": "19.2.14" } }, "node_modules/@angular/localize/node_modules/@babel/core": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", - "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", + "version": "7.26.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.9.tgz", + "integrity": "sha512-lWBYIrF7qK5+GjY5Uy+/hEgp8OJWOD/rpy74GplYRhEauvbHDeFB8t5hPOZxCZ0Oxf4Cc36tK51/l3ymJysrKw==", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/helper-compilation-targets": "^7.25.2", - "@babel/helper-module-transforms": "^7.25.2", - "@babel/helpers": "^7.25.0", - "@babel/parser": "^7.25.0", - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.2", - "@babel/types": "^7.25.2", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.9", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.9", + "@babel/parser": "^7.26.9", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.9", + "@babel/types": "^7.26.9", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -1292,27 +1056,26 @@ } }, "node_modules/@angular/material": { - "version": "18.2.14", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-18.2.14.tgz", - "integrity": "sha512-28pxzJP49Mymt664WnCtPkKeg7kXUsQKTKGf/Kl95rNTEdTJLbnlcc8wV0rT0yQNR7kXgpfBnG7h0ETLv/iu5Q==", + "version": "19.2.18", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-19.2.18.tgz", + "integrity": "sha512-xxedRQ9u7aiUYVrHAxASLUxnofN29xaqEGhBcHLAfOsFXdDMwDe/2ly79iKufwEs5BFBm3nfhJoarXZ3+8pucQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/animations": "^18.0.0 || ^19.0.0", - "@angular/cdk": "18.2.14", - "@angular/common": "^18.0.0 || ^19.0.0", - "@angular/core": "^18.0.0 || ^19.0.0", - "@angular/forms": "^18.0.0 || ^19.0.0", - "@angular/platform-browser": "^18.0.0 || ^19.0.0", + "@angular/cdk": "19.2.18", + "@angular/common": "^19.0.0 || ^20.0.0", + "@angular/core": "^19.0.0 || ^20.0.0", + "@angular/forms": "^19.0.0 || ^20.0.0", + "@angular/platform-browser": "^19.0.0 || ^20.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.13.tgz", - "integrity": "sha512-tu7ZzY6qD3ATdWFzcTcsAKe7M6cJeWbT/4/bF9unyGO3XBPcNYDKoiz10+7ap2PUd0fmPwvuvTvSNJiFEBnB8Q==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-19.2.14.tgz", + "integrity": "sha512-hzkT5nmA64oVBQl6PRjdL4dIFT1n7lfM9rm5cAoS+6LUUKRgiE2d421Kpn/Hz3jaCJfo+calMIdtSMIfUJBmww==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1321,9 +1084,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/animations": "18.2.13", - "@angular/common": "18.2.13", - "@angular/core": "18.2.13" + "@angular/animations": "19.2.14", + "@angular/common": "19.2.14", + "@angular/core": "19.2.14" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1332,9 +1095,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.13.tgz", - "integrity": "sha512-kbQCf9+8EpuJC7buBxhSiwBtXvjAwAKh6MznD6zd2pyCYqfY6gfRCZQRtK59IfgVtKmEONWI9grEyNIRoTmqJg==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-19.2.14.tgz", + "integrity": "sha512-Hfz0z1KDQmIdnFXVFCwCPykuIsHPkr1uW2aY396eARwZ6PK8i0Aadcm1ZOnpd3MR1bMyDrJo30VRS5kx89QWvA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1343,16 +1106,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.13", - "@angular/compiler": "18.2.13", - "@angular/core": "18.2.13", - "@angular/platform-browser": "18.2.13" + "@angular/common": "19.2.14", + "@angular/compiler": "19.2.14", + "@angular/core": "19.2.14", + "@angular/platform-browser": "19.2.14" } }, "node_modules/@angular/router": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.13.tgz", - "integrity": "sha512-VKmfgi/r/CkyBq9nChQ/ptmfu0JT/8ONnLVJ5H+SkFLRYJcIRyHLKjRihMCyVm6xM5yktOdCaW73NTQrFz7+bg==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-19.2.14.tgz", + "integrity": "sha512-cBTWY9Jx7YhbmDYDb7Hqz4Q7UNIMlKTkdKToJd2pbhIXyoS+kHVQrySmyca+jgvYMjWnIjsAEa3dpje12D4mFw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1361,9 +1124,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.13", - "@angular/core": "18.2.13", - "@angular/platform-browser": "18.2.13", + "@angular/common": "19.2.14", + "@angular/core": "19.2.14", + "@angular/platform-browser": "19.2.14", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -1520,6 +1283,7 @@ "integrity": "sha512-QwGAmuvM17btKU5VqXfb+Giw4JcN0hjuufz3DYnpeVDvZLAObloM77bhMXiqry3Iio+Ai4phVRDwl6WU10+r5A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", "@babel/helper-member-expression-to-functions": "^7.27.1", @@ -1542,6 +1306,7 @@ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.27.3" }, @@ -1555,6 +1320,7 @@ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -1565,6 +1331,7 @@ "integrity": "sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", "regexpu-core": "^6.2.0", @@ -1583,6 +1350,7 @@ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.27.3" }, @@ -1596,6 +1364,7 @@ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -1606,6 +1375,7 @@ "integrity": "sha512-jljfR1rGnXXNWnmQg2K3+bvhkxB51Rl32QRaOTuwwjviGrHzIbSc8+x9CpraDtbT7mfyjXObULP4w/adunNwAw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-compilation-targets": "^7.22.6", "@babel/helper-plugin-utils": "^7.22.5", @@ -1623,6 +1393,7 @@ "integrity": "sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" @@ -1667,6 +1438,7 @@ "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.27.1" }, @@ -1690,6 +1462,7 @@ "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", "@babel/helper-wrap-function": "^7.27.1", @@ -1708,6 +1481,7 @@ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.27.3" }, @@ -1721,6 +1495,7 @@ "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-member-expression-to-functions": "^7.27.1", "@babel/helper-optimise-call-expression": "^7.27.1", @@ -1739,6 +1514,7 @@ "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" @@ -1793,6 +1569,7 @@ "integrity": "sha512-NFJK2sHUvrjo8wAU/nQTWU890/zB2jj0qBcCbZbbf+005cAsv6tMjXz31fBign6M5ov1o0Bllu+9nbqkfsjjJQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/template": "^7.27.1", "@babel/traverse": "^7.27.1", @@ -1836,6 +1613,7 @@ "integrity": "sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/traverse": "^7.27.1" @@ -1853,6 +1631,7 @@ "integrity": "sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1869,6 +1648,7 @@ "integrity": "sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1885,6 +1665,7 @@ "integrity": "sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", @@ -1903,6 +1684,7 @@ "integrity": "sha512-6BpaYGDavZqkI6yT+KSPdpZFfpnd68UKXbcjI9pJ13pvHhPrCKWOOLp+ysvMeA+DxnhuPpgIaRpxRxo5A9t5jw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/traverse": "^7.27.1" @@ -1920,6 +1702,7 @@ "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" }, @@ -1988,6 +1771,7 @@ "integrity": "sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1999,13 +1783,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz", - "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", + "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -2188,6 +1972,7 @@ "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.18.6", "@babel/helper-plugin-utils": "^7.18.6" @@ -2205,6 +1990,7 @@ "integrity": "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2221,6 +2007,7 @@ "integrity": "sha512-He9Ej2X7tNf2zdKMAGOsmg2MrFc+hfoAhd3po4cWfo/NWjzEAKa0oQruj1ROVUdl0e6fb6/kE/G3SSxE0lRJOg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.26.5", "@babel/helper-remap-async-to-generator": "^7.25.9", @@ -2239,6 +2026,7 @@ "integrity": "sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-imports": "^7.25.9", "@babel/helper-plugin-utils": "^7.25.9", @@ -2257,6 +2045,7 @@ "integrity": "sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2273,6 +2062,7 @@ "integrity": "sha512-JF6uE2s67f0y2RZcm2kpAUEbD50vH62TyWVebxwHAlbSdM49VqPz8t4a1uIjp4NIOIZ4xzLfjY5emt/RCyC7TQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2289,6 +2079,7 @@ "integrity": "sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-class-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2306,6 +2097,7 @@ "integrity": "sha512-s734HmYU78MVzZ++joYM+NkJusItbdRcbm+AGRgJCt3iA+yux0QpD9cBVdz3tKyrjVYWRl7j0mHSmv4lhV0aoA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-class-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2323,6 +2115,7 @@ "integrity": "sha512-7iLhfFAubmpeJe/Wo2TVuDrykh/zlWXLzPNdL0Jqn/Xu8R3QQ8h9ff8FQoISZOsw74/HFqFI7NX63HN7QFIHKA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", "@babel/helper-compilation-targets": "^7.27.1", @@ -2344,6 +2137,7 @@ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.27.3" }, @@ -2357,6 +2151,7 @@ "integrity": "sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/template": "^7.27.1" @@ -2374,6 +2169,7 @@ "integrity": "sha512-s4Jrok82JpiaIprtY2nHsYmrThKvvwgHwjgd7UMiYhZaN0asdXNLr0y+NjTfkA7SyQE5i2Fb7eawUOZmLvyqOA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2390,6 +2186,7 @@ "integrity": "sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2407,6 +2204,7 @@ "integrity": "sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2423,6 +2221,7 @@ "integrity": "sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2440,6 +2239,7 @@ "integrity": "sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2456,6 +2256,7 @@ "integrity": "sha512-uspvXnhHvGKf2r4VVtBpeFnuDWsJLQ6MF6lGJLC89jBR1uoVeqM416AZtTuhTezOfgHicpJQmoD5YUakO/YmXQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2472,6 +2273,7 @@ "integrity": "sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2488,6 +2290,7 @@ "integrity": "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" @@ -2505,6 +2308,7 @@ "integrity": "sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-compilation-targets": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1", @@ -2523,6 +2327,7 @@ "integrity": "sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2539,6 +2344,7 @@ "integrity": "sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2555,6 +2361,7 @@ "integrity": "sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2571,6 +2378,7 @@ "integrity": "sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2587,6 +2395,7 @@ "integrity": "sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-transforms": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2604,6 +2413,7 @@ "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-transforms": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2621,6 +2431,7 @@ "integrity": "sha512-w5N1XzsRbc0PQStASMksmUeqECuzKuTJer7kFagK8AXgpCMkeDMO5S+aaFb7A51ZYDF7XI34qsTX+fkHiIm5yA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-transforms": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1", @@ -2640,6 +2451,7 @@ "integrity": "sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-transforms": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2657,6 +2469,7 @@ "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2674,6 +2487,7 @@ "integrity": "sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2690,6 +2504,7 @@ "integrity": "sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2706,6 +2521,7 @@ "integrity": "sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2722,6 +2538,7 @@ "integrity": "sha512-7ZZtznF9g4l2JCImCo5LNKFHB5eXnN39lLtLY5Tg+VkR0jwOt7TBciMckuiQIOIW7L5tkQOCh3bVGYeXgMx52Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-compilation-targets": "^7.27.2", "@babel/helper-plugin-utils": "^7.27.1", @@ -2741,6 +2558,7 @@ "integrity": "sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-replace-supers": "^7.27.1" @@ -2758,6 +2576,7 @@ "integrity": "sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2774,6 +2593,7 @@ "integrity": "sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" @@ -2791,6 +2611,7 @@ "integrity": "sha512-018KRk76HWKeZ5l4oTj2zPpSh+NbGdt0st5S6x0pga6HgrjBOJb24mMDHorFopOOd6YHkLgOZ+zaCjZGPO4aKg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2807,6 +2628,7 @@ "integrity": "sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-class-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2824,6 +2646,7 @@ "integrity": "sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", "@babel/helper-create-class-features-plugin": "^7.27.1", @@ -2842,6 +2665,7 @@ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.27.3" }, @@ -2855,6 +2679,7 @@ "integrity": "sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2871,6 +2696,7 @@ "integrity": "sha512-uhB8yHerfe3MWnuLAhEbeQ4afVoqv8BQsPqrTv7e/jZ9y00kJL6l9a/f4OWaKxotmjzewfEyXE1vgDJenkQ2/Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2887,6 +2713,7 @@ "integrity": "sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -2904,6 +2731,7 @@ "integrity": "sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2920,6 +2748,7 @@ "integrity": "sha512-NWaL2qG6HRpONTnj4JvDU6th4jYeZOJgu3QhmFTCihib0ermtOJqktA5BduGm3suhhVe9EMP9c9+mfJ/I9slqw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-imports": "^7.25.9", "@babel/helper-plugin-utils": "^7.26.5", @@ -2941,6 +2770,7 @@ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -2951,6 +2781,7 @@ "integrity": "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -2967,6 +2798,7 @@ "integrity": "sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" @@ -2984,6 +2816,7 @@ "integrity": "sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -3000,6 +2833,7 @@ "integrity": "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -3016,6 +2850,7 @@ "integrity": "sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -3032,6 +2867,7 @@ "integrity": "sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -3048,6 +2884,7 @@ "integrity": "sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -3065,6 +2902,7 @@ "integrity": "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -3082,6 +2920,7 @@ "integrity": "sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" @@ -3099,6 +2938,7 @@ "integrity": "sha512-vX3qPGE8sEKEAZCWk05k3cpTAE3/nOYca++JA+Rd0z2NCNzabmYvEiSShKzm10zdquOIAVXsy2Ei/DTW34KlKQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/compat-data": "^7.26.8", "@babel/helper-compilation-targets": "^7.26.5", @@ -3177,28 +3017,13 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/preset-env/node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz", - "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/preset-env/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -3209,6 +3034,7 @@ "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@babel/types": "^7.4.4", @@ -3681,7 +3507,7 @@ "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.9" @@ -3694,7 +3520,7 @@ "version": "0.3.9", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", @@ -3878,11 +3704,12 @@ } }, "node_modules/@discoveryjs/json-ext": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.6.1.tgz", - "integrity": "sha512-boghen8F0Q8D+0/Q1/1r6DUEieUJ8w2a1gIknExMSHBsJFOr2+0KUfHiVYBvucPwl3+RU5PFBK833FjFCh3BhA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.6.3.tgz", + "integrity": "sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=14.17.0" } @@ -3899,9 +3726,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.0.tgz", - "integrity": "sha512-3sG8Zwa5fMcA9bgqB8AfWPQ+HFke6uD3h1s3RIwUNK8EG7a4buxvuFTs3j1IMs2NXAk9F30C/FF4vxRgQCcmoQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz", + "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==", "cpu": [ "ppc64" ], @@ -3916,9 +3743,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.0.tgz", - "integrity": "sha512-+KuOHTKKyIKgEEqKbGTK8W7mPp+hKinbMBeEnNzjJGyFcWsfrXjSTNluJHCY1RqhxFurdD8uNXQDei7qDlR6+g==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz", + "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==", "cpu": [ "arm" ], @@ -3933,9 +3760,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.0.tgz", - "integrity": "sha512-EuHFUYkAVfU4qBdyivULuu03FhJO4IJN9PGuABGrFy4vUuzk91P2d+npxHcFdpUnfYKy0PuV+n6bKIpHOB3prQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz", + "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==", "cpu": [ "arm64" ], @@ -3950,9 +3777,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.0.tgz", - "integrity": "sha512-WRrmKidLoKDl56LsbBMhzTTBxrsVwTKdNbKDalbEZr0tcsBgCLbEtoNthOW6PX942YiYq8HzEnb4yWQMLQuipQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz", + "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==", "cpu": [ "x64" ], @@ -3967,9 +3794,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.0.tgz", - "integrity": "sha512-YLntie/IdS31H54Ogdn+v50NuoWF5BDkEUFpiOChVa9UnKpftgwzZRrI4J132ETIi+D8n6xh9IviFV3eXdxfow==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz", + "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==", "cpu": [ "arm64" ], @@ -3984,9 +3811,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.0.tgz", - "integrity": "sha512-IMQ6eme4AfznElesHUPDZ+teuGwoRmVuuixu7sv92ZkdQcPbsNHzutd+rAfaBKo8YK3IrBEi9SLLKWJdEvJniQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz", + "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==", "cpu": [ "x64" ], @@ -4001,9 +3828,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.0.tgz", - "integrity": "sha512-0muYWCng5vqaxobq6LB3YNtevDFSAZGlgtLoAc81PjUfiFz36n4KMpwhtAd4he8ToSI3TGyuhyx5xmiWNYZFyw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz", + "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==", "cpu": [ "arm64" ], @@ -4018,9 +3845,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.0.tgz", - "integrity": "sha512-XKDVu8IsD0/q3foBzsXGt/KjD/yTKBCIwOHE1XwiXmrRwrX6Hbnd5Eqn/WvDekddK21tfszBSrE/WMaZh+1buQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz", + "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==", "cpu": [ "x64" ], @@ -4035,9 +3862,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.0.tgz", - "integrity": "sha512-SEELSTEtOFu5LPykzA395Mc+54RMg1EUgXP+iw2SJ72+ooMwVsgfuwXo5Fn0wXNgWZsTVHwY2cg4Vi/bOD88qw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz", + "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==", "cpu": [ "arm" ], @@ -4052,9 +3879,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.0.tgz", - "integrity": "sha512-j1t5iG8jE7BhonbsEg5d9qOYcVZv/Rv6tghaXM/Ug9xahM0nX/H2gfu6X6z11QRTMT6+aywOMA8TDkhPo8aCGw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz", + "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==", "cpu": [ "arm64" ], @@ -4069,9 +3896,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.0.tgz", - "integrity": "sha512-P7O5Tkh2NbgIm2R6x1zGJJsnacDzTFcRWZyTTMgFdVit6E98LTxO+v8LCCLWRvPrjdzXHx9FEOA8oAZPyApWUA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz", + "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==", "cpu": [ "ia32" ], @@ -4086,9 +3913,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.0.tgz", - "integrity": "sha512-InQwepswq6urikQiIC/kkx412fqUZudBO4SYKu0N+tGhXRWUqAx+Q+341tFV6QdBifpjYgUndV1hhMq3WeJi7A==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz", + "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==", "cpu": [ "loong64" ], @@ -4103,9 +3930,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.0.tgz", - "integrity": "sha512-J9rflLtqdYrxHv2FqXE2i1ELgNjT+JFURt/uDMoPQLcjWQA5wDKgQA4t/dTqGa88ZVECKaD0TctwsUfHbVoi4w==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz", + "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==", "cpu": [ "mips64el" ], @@ -4120,9 +3947,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.0.tgz", - "integrity": "sha512-cShCXtEOVc5GxU0fM+dsFD10qZ5UpcQ8AM22bYj0u/yaAykWnqXJDpd77ublcX6vdDsWLuweeuSNZk4yUxZwtw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz", + "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==", "cpu": [ "ppc64" ], @@ -4137,9 +3964,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.0.tgz", - "integrity": "sha512-HEtaN7Y5UB4tZPeQmgz/UhzoEyYftbMXrBCUjINGjh3uil+rB/QzzpMshz3cNUxqXN7Vr93zzVtpIDL99t9aRw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz", + "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==", "cpu": [ "riscv64" ], @@ -4154,9 +3981,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.0.tgz", - "integrity": "sha512-WDi3+NVAuyjg/Wxi+o5KPqRbZY0QhI9TjrEEm+8dmpY9Xir8+HE/HNx2JoLckhKbFopW0RdO2D72w8trZOV+Wg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz", + "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==", "cpu": [ "s390x" ], @@ -4171,9 +3998,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.0.tgz", - "integrity": "sha512-a3pMQhUEJkITgAw6e0bWA+F+vFtCciMjW/LPtoj99MhVt+Mfb6bbL9hu2wmTZgNd994qTAEw+U/r6k3qHWWaOQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz", + "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==", "cpu": [ "x64" ], @@ -4187,10 +4014,27 @@ "node": ">=18" } }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.4.tgz", + "integrity": "sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.0.tgz", - "integrity": "sha512-cRK+YDem7lFTs2Q5nEv/HHc4LnrfBCbH5+JHu6wm2eP+d8OZNoSMYgPZJq78vqQ9g+9+nMuIsAO7skzphRXHyw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz", + "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==", "cpu": [ "x64" ], @@ -4205,9 +4049,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.0.tgz", - "integrity": "sha512-suXjq53gERueVWu0OKxzWqk7NxiUWSUlrxoZK7usiF50C6ipColGR5qie2496iKGYNLhDZkPxBI3erbnYkU0rQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz", + "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==", "cpu": [ "arm64" ], @@ -4222,9 +4066,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.0.tgz", - "integrity": "sha512-6p3nHpby0DM/v15IFKMjAaayFhqnXV52aEmv1whZHX56pdkK+MEaLoQWj+H42ssFarP1PcomVhbsR4pkz09qBg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz", + "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==", "cpu": [ "x64" ], @@ -4239,9 +4083,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.0.tgz", - "integrity": "sha512-BFelBGfrBwk6LVrmFzCq1u1dZbG4zy/Kp93w2+y83Q5UGYF1d8sCzeLI9NXjKyujjBBniQa8R8PzLFAUrSM9OA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz", + "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==", "cpu": [ "x64" ], @@ -4256,9 +4100,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.0.tgz", - "integrity": "sha512-lY6AC8p4Cnb7xYHuIxQ6iYPe6MfO2CC43XXKo9nBXDb35krYt7KGhQnOkRGar5psxYkircpCqfbNDB4uJbS2jQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz", + "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==", "cpu": [ "arm64" ], @@ -4273,9 +4117,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.0.tgz", - "integrity": "sha512-7L1bHlOTcO4ByvI7OXVI5pNN6HSu6pUQq9yodga8izeuB1KcT2UkHaH6118QJwopExPn0rMHIseCTx1CRo/uNA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz", + "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==", "cpu": [ "ia32" ], @@ -4290,9 +4134,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.0.tgz", - "integrity": "sha512-Arm+WgUFLUATuoxCJcahGuk6Yj9Pzxd6l11Zb/2aAuv5kWWvvfhLFo2fni4uSK5vzlUdCGZ/BdV5tH8klj8p8g==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz", + "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==", "cpu": [ "x64" ], @@ -4498,16 +4342,16 @@ "license": "MIT" }, "node_modules/@fortawesome/angular-fontawesome": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@fortawesome/angular-fontawesome/-/angular-fontawesome-0.15.0.tgz", - "integrity": "sha512-oxmJDYGNSym5ycFR0LX4ZOPAU+wWmMAznYpkm5DNAtWWkhMLcrZl15eZQmVIEE+qruQ7JiVrg3tpo8bEkFlDgw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@fortawesome/angular-fontawesome/-/angular-fontawesome-1.0.0.tgz", + "integrity": "sha512-EC2fYuXIuw2ld1kzJi+zysWus6OeGGfLQtbh0hW9zyyq5aBo8ZJkcJKBsVQ8E6Mg7nHyTWaXn+sdcXTPDWz+UQ==", "license": "MIT", "dependencies": { - "@fortawesome/fontawesome-svg-core": "^6.5.2", - "tslib": "^2.6.2" + "@fortawesome/fontawesome-svg-core": "^6.7.1", + "tslib": "^2.8.1" }, "peerDependencies": { - "@angular/core": "^18.0.0" + "@angular/core": "^19.0.0" } }, "node_modules/@fortawesome/angular-fontawesome/node_modules/@fortawesome/fontawesome-common-types": { @@ -4660,101 +4504,124 @@ "license": "BSD-3-Clause" }, "node_modules/@inquirer/checkbox": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-2.5.0.tgz", - "integrity": "sha512-sMgdETOfi2dUHT8r7TT1BTKOwNvdDGFDXYWtQ2J69SvlYNntk9I/gJe7r5yvMwwsuKnYbuRs3pNhx4tgNck5aA==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.1.8.tgz", + "integrity": "sha512-d/QAsnwuHX2OPolxvYcgSj7A9DO9H6gVOy2DvBTx+P2LH2iRTo/RSGV3iwCzW024nP9hw98KIuDmdyhZQj1UQg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/confirm": { - "version": "3.1.22", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-3.1.22.tgz", - "integrity": "sha512-gsAKIOWBm2Q87CDfs9fEo7wJT3fwWIJfnDGMn9Qy74gBnNFOACDNfhUzovubbJjWnKLGBln7/NcSmZwj5DuEXg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.6.tgz", + "integrity": "sha512-6ZXYK3M1XmaVBZX6FCfChgtponnL0R6I7k8Nu+kaoNkT828FVZTcca1MqmWQipaW2oNREQl5AaPCUOOCVNdRMw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2" + "@inquirer/core": "^10.1.7", + "@inquirer/type": "^3.0.4" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/core": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.2.1.tgz", - "integrity": "sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==", + "version": "10.1.13", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.13.tgz", + "integrity": "sha512-1viSxebkYN2nJULlzCxES6G9/stgHSepZ9LqqfdIGPHj5OHhiBUXVS0a6R0bEC2A+VL4D9w6QB66ebCr6HGllA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/figures": "^1.0.6", - "@inquirer/type": "^2.0.0", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.5.5", - "@types/wrap-ansi": "^3.0.0", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2", "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", + "mute-stream": "^2.0.0", "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" - } - }, - "node_modules/@inquirer/core/node_modules/@inquirer/type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-2.0.0.tgz", - "integrity": "sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==", - "dev": true, - "license": "MIT", - "dependencies": { - "mute-stream": "^1.0.0" }, - "engines": { - "node": ">=18" + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/editor": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-2.2.0.tgz", - "integrity": "sha512-9KHOpJ+dIL5SZli8lJ6xdaYLPPzB8xB9GZItg39MBybzhxA16vxmszmQFrRwbOA918WA2rvu8xhDEg/p6LXKbw==", + "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.13.tgz", + "integrity": "sha512-WbicD9SUQt/K8O5Vyk9iC2ojq5RHoCLK6itpp2fHsWe44VxxcA9z3GTWlvjSTGmMQpZr+lbVmrxdHcumJoLbMA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", "external-editor": "^3.1.0" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/expand": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-2.3.0.tgz", - "integrity": "sha512-qnJsUcOGCSG1e5DTOErmv2BPQqrtT6uzqn1vI/aYGiPKq+FgslGZmtdnXbhuI7IlT7OByDoEEqdnhUnVR2hhLw==", + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.15.tgz", + "integrity": "sha512-4Y+pbr/U9Qcvf+N/goHzPEXiHH8680lM3Dr3Y9h9FFw4gHS+zVpbj8LfbKWIb/jayIB4aSO4pWiBTrBYWkvi5A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/figures": { @@ -4768,129 +4635,190 @@ } }, "node_modules/@inquirer/input": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-2.3.0.tgz", - "integrity": "sha512-XfnpCStx2xgh1LIRqPXrTNEEByqQWoxsWYzNRSEUxJ5c6EQlhMogJ3vHKu8aXuTacebtaZzMAHwEL0kAflKOBw==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.12.tgz", + "integrity": "sha512-xJ6PFZpDjC+tC1P8ImGprgcsrzQRsUh9aH3IZixm1lAZFK49UGHxM3ltFfuInN2kPYNfyoPRh+tU4ftsjPLKqQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/type": "^1.5.3" + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/number": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-1.1.0.tgz", - "integrity": "sha512-ilUnia/GZUtfSZy3YEErXLJ2Sljo/mf9fiKc08n18DdwdmDbOzRcTv65H1jjDvlsAuvdFXf4Sa/aL7iw/NanVA==", + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.15.tgz", + "integrity": "sha512-xWg+iYfqdhRiM55MvqiTCleHzszpoigUpN5+t1OMcRkJrUrw7va3AzXaxvS+Ak7Gny0j2mFSTv2JJj8sMtbV2g==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/type": "^1.5.3" + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/password": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-2.2.0.tgz", - "integrity": "sha512-5otqIpgsPYIshqhgtEwSspBQE40etouR8VIxzpJkv9i0dVHIpyhiivbkH9/dGiMLdyamT54YRdGJLfl8TFnLHg==", + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.15.tgz", + "integrity": "sha512-75CT2p43DGEnfGTaqFpbDC2p2EEMrq0S+IRrf9iJvYreMy5mAWj087+mdKyLHapUEPLjN10mNvABpGbk8Wdraw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/prompts": { - "version": "5.3.8", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-5.3.8.tgz", - "integrity": "sha512-b2BudQY/Si4Y2a0PdZZL6BeJtl8llgeZa7U2j47aaJSCeAl1e4UI7y8a9bSkO3o/ZbZrgT5muy/34JbsjfIWxA==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.3.2.tgz", + "integrity": "sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^2.4.7", - "@inquirer/confirm": "^3.1.22", - "@inquirer/editor": "^2.1.22", - "@inquirer/expand": "^2.1.22", - "@inquirer/input": "^2.2.9", - "@inquirer/number": "^1.0.10", - "@inquirer/password": "^2.1.22", - "@inquirer/rawlist": "^2.2.4", - "@inquirer/search": "^1.0.7", - "@inquirer/select": "^2.4.7" + "@inquirer/checkbox": "^4.1.2", + "@inquirer/confirm": "^5.1.6", + "@inquirer/editor": "^4.2.7", + "@inquirer/expand": "^4.0.9", + "@inquirer/input": "^4.1.6", + "@inquirer/number": "^3.0.9", + "@inquirer/password": "^4.0.9", + "@inquirer/rawlist": "^4.0.9", + "@inquirer/search": "^3.0.9", + "@inquirer/select": "^4.0.9" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/rawlist": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-2.3.0.tgz", - "integrity": "sha512-zzfNuINhFF7OLAtGHfhwOW2TlYJyli7lOUoJUXw/uyklcwalV6WRXBXtFIicN8rTRK1XTiPWB4UY+YuW8dsnLQ==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.3.tgz", + "integrity": "sha512-7XrV//6kwYumNDSsvJIPeAqa8+p7GJh7H5kRuxirct2cgOcSWwwNGoXDRgpNFbY/MG2vQ4ccIWCi8+IXXyFMZA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/search": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-1.1.0.tgz", - "integrity": "sha512-h+/5LSj51dx7hp5xOn4QFnUaKeARwUCLs6mIhtkJ0JYPBLmEYjdHSYh7I6GrLg9LwpJ3xeX0FZgAG1q0QdCpVQ==", + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.15.tgz", + "integrity": "sha512-YBMwPxYBrADqyvP4nNItpwkBnGGglAvCLVW8u4pRmmvOsHUtCAUIMbUrLX5B3tFL1/WsLGdQ2HNzkqswMs5Uaw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/select": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-2.5.0.tgz", - "integrity": "sha512-YmDobTItPP3WcEI86GvPo+T2sRHkxxOq/kXmsBjHS5BVXUgvgZ5AfJjkvQvZr03T81NnI3KrrRuMzeuYUQRFOA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.2.3.tgz", + "integrity": "sha512-OAGhXU0Cvh0PhLz9xTF/kx6g6x+sP+PcyTiLvCrewI99P3BBeexD+VbuwkNDvqGkk3y2h5ZiWLeRP7BFlhkUDg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.1.0", - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.3", + "@inquirer/core": "^10.1.13", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@inquirer/type": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.5.tgz", - "integrity": "sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.7.tgz", + "integrity": "sha512-PfunHQcjwnju84L+ycmcMKB/pTPIngjUJvfnRhKY6FKPuYXlM4aQCb/nIdTFR6BEhMjFvngzvng/vBAJMZpLSA==", "dev": true, "license": "MIT", - "dependencies": { - "mute-stream": "^1.0.0" - }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@isaacs/cliui": { @@ -4989,6 +4917,19 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -5189,6 +5130,26 @@ } } }, + "node_modules/@jest/core/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/@jest/core/node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/@jest/core/node_modules/ci-info": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", @@ -5205,6 +5166,87 @@ "node": ">=8" } }, + "node_modules/@jest/core/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/core/node_modules/jest-config": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", + "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-jest": "^29.7.0", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/@jest/core/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/@jest/core/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -5215,6 +5257,52 @@ "node": ">=8" } }, + "node_modules/@jest/core/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, "node_modules/@jest/environment": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", @@ -5562,6 +5650,7 @@ "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" @@ -5589,6 +5678,7 @@ "integrity": "sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==", "dev": true, "license": "Apache-2.0", + "peer": true, "engines": { "node": ">=10.0" }, @@ -5606,6 +5696,7 @@ "integrity": "sha512-io1zEbbYcElht3tdlqEOFxZ0dMTYrHz9iMf0gqn1pPjZFTCgM5R4R5IMA20Chb2UPYYsxjzs8CgZ7Nb5n2K2rA==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "@jsonjoy.com/base64": "^1.1.1", "@jsonjoy.com/util": "^1.1.2", @@ -5629,6 +5720,7 @@ "integrity": "sha512-sw/RMbehRhN68WRtcKCpQOPfnH6lLP4GJfqzi3iYej8tnzpZUDr6UkZYJjcjjC0FWEJOJbyM3PTIwxucUmDG2A==", "dev": true, "license": "Apache-2.0", + "peer": true, "engines": { "node": ">=10.0" }, @@ -5686,28 +5778,52 @@ "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@listr2/prompt-adapter-inquirer": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-2.0.15.tgz", - "integrity": "sha512-MZrGem/Ujjd4cPTLYDfCZK2iKKeiO/8OX13S6jqxldLs0Prf2aGqVlJ77nMBqMv7fzqgXEgjrNHLXcKR8l9lOg==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-2.0.18.tgz", + "integrity": "sha512-0hz44rAcrphyXcA8IS7EJ2SCoaBZD2u5goE8S/e+q/DL+dOGpqpcLidVOFeLG3VgML62SXmfRLAhWt0zL1oW4Q==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/type": "^1.5.1" + "@inquirer/type": "^1.5.5" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@inquirer/prompts": ">= 3 < 6" + "@inquirer/prompts": ">= 3 < 8" + } + }, + "node_modules/@listr2/prompt-adapter-inquirer/node_modules/@inquirer/type": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.5.tgz", + "integrity": "sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mute-stream": "^1.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@listr2/prompt-adapter-inquirer/node_modules/mute-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@lmdb/lmdb-darwin-arm64": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.0.13.tgz", - "integrity": "sha512-uiKPB0Fv6WEEOZjruu9a6wnW/8jrjzlZbxXscMB8kuCJ1k6kHpcBnuvaAWcqhbI7rqX5GKziwWEdD+wi2gNLfA==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.2.6.tgz", + "integrity": "sha512-yF/ih9EJJZc72psFQbwnn8mExIWfTnzWJg+N02hnpXtDPETYLmQswIMBn7+V88lfCaFrMozJsUvcEQIkEPU0Gg==", "cpu": [ "arm64" ], @@ -5719,9 +5835,9 @@ ] }, "node_modules/@lmdb/lmdb-darwin-x64": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.0.13.tgz", - "integrity": "sha512-bEVIIfK5mSQoG1R19qA+fJOvCB+0wVGGnXHT3smchBVahYBdlPn2OsZZKzlHWfb1E+PhLBmYfqB5zQXFP7hJig==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.2.6.tgz", + "integrity": "sha512-5BbCumsFLbCi586Bb1lTWQFkekdQUw8/t8cy++Uq251cl3hbDIGEwD9HAwh8H6IS2F6QA9KdKmO136LmipRNkg==", "cpu": [ "x64" ], @@ -5733,9 +5849,9 @@ ] }, "node_modules/@lmdb/lmdb-linux-arm": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.0.13.tgz", - "integrity": "sha512-Yml1KlMzOnXj/tnW7yX8U78iAzTk39aILYvCPbqeewAq1kSzl+w59k/fiVkTBfvDi/oW/5YRxL+Fq+Y1Fr1r2Q==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.2.6.tgz", + "integrity": "sha512-+6XgLpMb7HBoWxXj+bLbiiB4s0mRRcDPElnRS3LpWRzdYSe+gFk5MT/4RrVNqd2MESUDmb53NUXw1+BP69bjiQ==", "cpu": [ "arm" ], @@ -5747,9 +5863,9 @@ ] }, "node_modules/@lmdb/lmdb-linux-arm64": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.0.13.tgz", - "integrity": "sha512-afbVrsMgZ9dUTNUchFpj5VkmJRxvht/u335jUJ7o23YTbNbnpmXif3VKQGCtnjSh+CZaqm6N3CPG8KO3zwyZ1Q==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.2.6.tgz", + "integrity": "sha512-l5VmJamJ3nyMmeD1ANBQCQqy7do1ESaJQfKPSm2IG9/ADZryptTyCj8N6QaYgIWewqNUrcbdMkJajRQAt5Qjfg==", "cpu": [ "arm64" ], @@ -5761,9 +5877,9 @@ ] }, "node_modules/@lmdb/lmdb-linux-x64": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.0.13.tgz", - "integrity": "sha512-vOtxu0xC0SLdQ2WRXg8Qgd8T32ak4SPqk5zjItRszrJk2BdeXqfGxBJbP7o4aOvSPSmSSv46Lr1EP4HXU8v7Kg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.2.6.tgz", + "integrity": "sha512-nDYT8qN9si5+onHYYaI4DiauDMx24OAiuZAUsEqrDy+ja/3EbpXPX/VAkMV8AEaQhy3xc4dRC+KcYIvOFefJ4Q==", "cpu": [ "x64" ], @@ -5775,9 +5891,9 @@ ] }, "node_modules/@lmdb/lmdb-win32-x64": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.0.13.tgz", - "integrity": "sha512-UCrMJQY/gJnOl3XgbWRZZUvGGBuKy6i0YNSptgMzHBjs+QYDYR1Mt/RLTOPy4fzzves65O1EDmlL//OzEqoLlA==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.2.6.tgz", + "integrity": "sha512-XlqVtILonQnG+9fH2N3Aytria7P/1fwDgDhl29rde96uH2sLB8CHORIf2PfuLVzFQJ7Uqp8py9AYwr3ZUCFfWg==", "cpu": [ "x64" ], @@ -5872,20 +5988,326 @@ "win32" ] }, - "node_modules/@ngtools/webpack": { - "version": "18.2.20", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.20.tgz", - "integrity": "sha512-6LscOXPMPZlS67aDPj6dkjT/RDySX4GLtk1JErzkUOco6pxsp8qeCzRWqjU63q/8OfZPYLCGIZKfXgXwBP9bgg==", + "node_modules/@napi-rs/nice": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice/-/nice-1.0.1.tgz", + "integrity": "sha512-zM0mVWSXE0a0h9aKACLwKmD6nHcRiKrPpCfvaKqG1CqDEyjEawId0ocXxVzPMCAm6kkWr2P025msfxXEnt8UGQ==", "dev": true, "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "optionalDependencies": { + "@napi-rs/nice-android-arm-eabi": "1.0.1", + "@napi-rs/nice-android-arm64": "1.0.1", + "@napi-rs/nice-darwin-arm64": "1.0.1", + "@napi-rs/nice-darwin-x64": "1.0.1", + "@napi-rs/nice-freebsd-x64": "1.0.1", + "@napi-rs/nice-linux-arm-gnueabihf": "1.0.1", + "@napi-rs/nice-linux-arm64-gnu": "1.0.1", + "@napi-rs/nice-linux-arm64-musl": "1.0.1", + "@napi-rs/nice-linux-ppc64-gnu": "1.0.1", + "@napi-rs/nice-linux-riscv64-gnu": "1.0.1", + "@napi-rs/nice-linux-s390x-gnu": "1.0.1", + "@napi-rs/nice-linux-x64-gnu": "1.0.1", + "@napi-rs/nice-linux-x64-musl": "1.0.1", + "@napi-rs/nice-win32-arm64-msvc": "1.0.1", + "@napi-rs/nice-win32-ia32-msvc": "1.0.1", + "@napi-rs/nice-win32-x64-msvc": "1.0.1" + } + }, + "node_modules/@napi-rs/nice-android-arm-eabi": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm-eabi/-/nice-android-arm-eabi-1.0.1.tgz", + "integrity": "sha512-5qpvOu5IGwDo7MEKVqqyAxF90I6aLj4n07OzpARdgDRfz8UbBztTByBp0RC59r3J1Ij8uzYi6jI7r5Lws7nn6w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-android-arm64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm64/-/nice-android-arm64-1.0.1.tgz", + "integrity": "sha512-GqvXL0P8fZ+mQqG1g0o4AO9hJjQaeYG84FRfZaYjyJtZZZcMjXW5TwkL8Y8UApheJgyE13TQ4YNUssQaTgTyvA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-darwin-arm64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-arm64/-/nice-darwin-arm64-1.0.1.tgz", + "integrity": "sha512-91k3HEqUl2fsrz/sKkuEkscj6EAj3/eZNCLqzD2AA0TtVbkQi8nqxZCZDMkfklULmxLkMxuUdKe7RvG/T6s2AA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-darwin-x64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-x64/-/nice-darwin-x64-1.0.1.tgz", + "integrity": "sha512-jXnMleYSIR/+TAN/p5u+NkCA7yidgswx5ftqzXdD5wgy/hNR92oerTXHc0jrlBisbd7DpzoaGY4cFD7Sm5GlgQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-freebsd-x64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-freebsd-x64/-/nice-freebsd-x64-1.0.1.tgz", + "integrity": "sha512-j+iJ/ezONXRQsVIB/FJfwjeQXX7A2tf3gEXs4WUGFrJjpe/z2KB7sOv6zpkm08PofF36C9S7wTNuzHZ/Iiccfw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-arm-gnueabihf": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm-gnueabihf/-/nice-linux-arm-gnueabihf-1.0.1.tgz", + "integrity": "sha512-G8RgJ8FYXYkkSGQwywAUh84m946UTn6l03/vmEXBYNJxQJcD+I3B3k5jmjFG/OPiU8DfvxutOP8bi+F89MCV7Q==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-arm64-gnu": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-gnu/-/nice-linux-arm64-gnu-1.0.1.tgz", + "integrity": "sha512-IMDak59/W5JSab1oZvmNbrms3mHqcreaCeClUjwlwDr0m3BoR09ZiN8cKFBzuSlXgRdZ4PNqCYNeGQv7YMTjuA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-arm64-musl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-musl/-/nice-linux-arm64-musl-1.0.1.tgz", + "integrity": "sha512-wG8fa2VKuWM4CfjOjjRX9YLIbysSVV1S3Kgm2Fnc67ap/soHBeYZa6AGMeR5BJAylYRjnoVOzV19Cmkco3QEPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-ppc64-gnu": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-ppc64-gnu/-/nice-linux-ppc64-gnu-1.0.1.tgz", + "integrity": "sha512-lxQ9WrBf0IlNTCA9oS2jg/iAjQyTI6JHzABV664LLrLA/SIdD+I1i3Mjf7TsnoUbgopBcCuDztVLfJ0q9ubf6Q==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-riscv64-gnu": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-riscv64-gnu/-/nice-linux-riscv64-gnu-1.0.1.tgz", + "integrity": "sha512-3xs69dO8WSWBb13KBVex+yvxmUeEsdWexxibqskzoKaWx9AIqkMbWmE2npkazJoopPKX2ULKd8Fm9veEn0g4Ig==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-s390x-gnu": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-s390x-gnu/-/nice-linux-s390x-gnu-1.0.1.tgz", + "integrity": "sha512-lMFI3i9rlW7hgToyAzTaEybQYGbQHDrpRkg+1gJWEpH0PLAQoZ8jiY0IzakLfNWnVda1eTYYlxxFYzW8Rqczkg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-x64-gnu": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-gnu/-/nice-linux-x64-gnu-1.0.1.tgz", + "integrity": "sha512-XQAJs7DRN2GpLN6Fb+ZdGFeYZDdGl2Fn3TmFlqEL5JorgWKrQGRUrpGKbgZ25UeZPILuTKJ+OowG2avN8mThBA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-x64-musl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-musl/-/nice-linux-x64-musl-1.0.1.tgz", + "integrity": "sha512-/rodHpRSgiI9o1faq9SZOp/o2QkKQg7T+DK0R5AkbnI/YxvAIEHf2cngjYzLMQSQgUhxym+LFr+UGZx4vK4QdQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-win32-arm64-msvc": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-arm64-msvc/-/nice-win32-arm64-msvc-1.0.1.tgz", + "integrity": "sha512-rEcz9vZymaCB3OqEXoHnp9YViLct8ugF+6uO5McifTedjq4QMQs3DHz35xBEGhH3gJWEsXMUbzazkz5KNM5YUg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-win32-ia32-msvc": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-ia32-msvc/-/nice-win32-ia32-msvc-1.0.1.tgz", + "integrity": "sha512-t7eBAyPUrWL8su3gDxw9xxxqNwZzAqKo0Szv3IjVQd1GpXXVkb6vBBQUuxfIYaXMzZLwlxRQ7uzM2vdUE9ULGw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-win32-x64-msvc": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-x64-msvc/-/nice-win32-x64-msvc-1.0.1.tgz", + "integrity": "sha512-JlF+uDcatt3St2ntBG8H02F1mM45i5SF9W+bIKiReVE6wiy3o16oBP/yxt+RZ+N6LbCImJXJ6bXNO2kn9AXicg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@ngtools/webpack": { + "version": "19.2.15", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-19.2.15.tgz", + "integrity": "sha512-H37nop/wWMkSgoU2VvrMzanHePdLRRrX52nC5tT2ZhH3qP25+PrnMyw11PoLDLv3iWXC68uB1AiKNIT+jiQbuQ==", + "dev": true, + "license": "MIT", + "peer": true, "engines": { "node": "^18.19.1 || ^20.11.1 || >=22.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "peerDependencies": { - "@angular/compiler-cli": "^18.0.0", - "typescript": ">=5.4 <5.6", + "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0", + "typescript": ">=5.5 <5.9", "webpack": "^5.54.0" } }, @@ -5951,9 +6373,9 @@ } }, "node_modules/@npmcli/agent": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.2.tgz", - "integrity": "sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-3.0.0.tgz", + "integrity": "sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q==", "dev": true, "license": "ISC", "dependencies": { @@ -5964,7 +6386,7 @@ "socks-proxy-agent": "^8.0.3" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/agent/node_modules/http-proxy-agent": { @@ -5989,37 +6411,36 @@ "license": "ISC" }, "node_modules/@npmcli/fs": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", - "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-4.0.0.tgz", + "integrity": "sha512-/xGlezI6xfGO9NwuJlnwz/K14qD1kCSAGtacBHnGzeAIuJGazcp45KP5NuyARXoKb7cwulAGWVsbeSxdG/cb0Q==", "dev": true, "license": "ISC", "dependencies": { "semver": "^7.3.5" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/git": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.8.tgz", - "integrity": "sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-6.0.3.tgz", + "integrity": "sha512-GUYESQlxZRAdhs3UhbB6pVRNUELQOHXwK9ruDkwmCv2aZ5y0SApQzUJCg02p3A7Ue2J5hxvlk1YI53c00NmRyQ==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/promise-spawn": "^7.0.0", - "ini": "^4.1.3", + "@npmcli/promise-spawn": "^8.0.0", + "ini": "^5.0.0", "lru-cache": "^10.0.1", - "npm-pick-manifest": "^9.0.0", - "proc-log": "^4.0.0", - "promise-inflight": "^1.0.1", + "npm-pick-manifest": "^10.0.0", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1", "semver": "^7.3.5", - "which": "^4.0.0" + "which": "^5.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/git/node_modules/isexe": { @@ -6040,9 +6461,9 @@ "license": "ISC" }, "node_modules/@npmcli/git/node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", "dev": true, "license": "ISC", "dependencies": { @@ -6052,66 +6473,66 @@ "node-which": "bin/which.js" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/installed-package-contents": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.1.0.tgz", - "integrity": "sha512-c8UuGLeZpm69BryRykLuKRyKFZYJsZSCT4aVY5ds4omyZqJ172ApzgfKJ5eV/r3HgLdUYgFVe54KSFVjKoe27w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-3.0.0.tgz", + "integrity": "sha512-fkxoPuFGvxyrH+OQzyTkX2LUEamrF4jZSmxjAtPPHHGO0dqsQ8tTKjnIS8SAnPHdk2I03BDtSMR5K/4loKg79Q==", "dev": true, "license": "ISC", "dependencies": { - "npm-bundled": "^3.0.0", - "npm-normalize-package-bin": "^3.0.0" + "npm-bundled": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" }, "bin": { "installed-package-contents": "bin/index.js" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/node-gyp": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", - "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-4.0.0.tgz", + "integrity": "sha512-+t5DZ6mO/QFh78PByMq1fGSAub/agLJZDRfJRMeOSNCt8s9YVlTjmGpIPwPhvXTGUIJk+WszlT0rQa1W33yzNA==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/package-json": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.2.1.tgz", - "integrity": "sha512-f7zYC6kQautXHvNbLEWgD/uGu1+xCn9izgqBfgItWSx22U0ZDekxN08A1vM8cTxj/cRVe0Q94Ode+tdoYmIOOQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-6.2.0.tgz", + "integrity": "sha512-rCNLSB/JzNvot0SEyXqWZ7tX2B5dD2a1br2Dp0vSYVo5jh8Z0EZ7lS9TsZ1UtziddB1UfNUaMCc538/HztnJGA==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/git": "^5.0.0", + "@npmcli/git": "^6.0.0", "glob": "^10.2.2", - "hosted-git-info": "^7.0.0", - "json-parse-even-better-errors": "^3.0.0", - "normalize-package-data": "^6.0.0", - "proc-log": "^4.0.0", - "semver": "^7.5.3" + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "proc-log": "^5.0.0", + "semver": "^7.5.3", + "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/promise-spawn": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.2.tgz", - "integrity": "sha512-xhfYPXoV5Dy4UkY0D+v2KkwvnDfiA/8Mt3sWCGI/hM03NsYIH8ZaG6QzS9x7pje5vHZBZJ2v6VRFVTWACnqcmQ==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-8.0.2.tgz", + "integrity": "sha512-/bNJhjc+o6qL+Dwz/bqfTQClkEO5nTQ1ZEcdCkAQjhkZMHIh22LPG7fNh1enJP1NKWDqYiiABnjFCY7E0zHYtQ==", "dev": true, "license": "ISC", "dependencies": { - "which": "^4.0.0" + "which": "^5.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/promise-spawn/node_modules/isexe": { @@ -6125,9 +6546,9 @@ } }, "node_modules/@npmcli/promise-spawn/node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", "dev": true, "license": "ISC", "dependencies": { @@ -6137,35 +6558,35 @@ "node-which": "bin/which.js" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/redact": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-2.0.1.tgz", - "integrity": "sha512-YgsR5jCQZhVmTJvjduTOIHph0L73pK8xwMVaDY0PatySqVM9AZj93jpoXYSJqfHFxFkN9dmqTw6OiqExsS3LPw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-3.2.2.tgz", + "integrity": "sha512-7VmYAmk4csGv08QzrDKScdzn11jHPFGyqJW39FyPgPuAp3zIaUmuCo1yxw9aGs+NEJuTGQ9Gwqpt93vtJubucg==", "dev": true, "license": "ISC", "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/run-script": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-8.1.0.tgz", - "integrity": "sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-9.1.0.tgz", + "integrity": "sha512-aoNSbxtkePXUlbZB+anS1LqsJdctG5n3UVhfU47+CDdwMi6uNTBMF9gPcQRnqghQd2FGzcwwIFBruFMxjhBewg==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/node-gyp": "^3.0.0", - "@npmcli/package-json": "^5.0.0", - "@npmcli/promise-spawn": "^7.0.0", - "node-gyp": "^10.0.0", - "proc-log": "^4.0.0", - "which": "^4.0.0" + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "node-gyp": "^11.0.0", + "proc-log": "^5.0.0", + "which": "^5.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@npmcli/run-script/node_modules/isexe": { @@ -6179,9 +6600,9 @@ } }, "node_modules/@npmcli/run-script/node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", "dev": true, "license": "ISC", "dependencies": { @@ -6191,9 +6612,341 @@ "node-which": "bin/which.js" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/@parcel/watcher": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", + "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.1", + "@parcel/watcher-darwin-arm64": "2.5.1", + "@parcel/watcher-darwin-x64": "2.5.1", + "@parcel/watcher-freebsd-x64": "2.5.1", + "@parcel/watcher-linux-arm-glibc": "2.5.1", + "@parcel/watcher-linux-arm-musl": "2.5.1", + "@parcel/watcher-linux-arm64-glibc": "2.5.1", + "@parcel/watcher-linux-arm64-musl": "2.5.1", + "@parcel/watcher-linux-x64-glibc": "2.5.1", + "@parcel/watcher-linux-x64-musl": "2.5.1", + "@parcel/watcher-win32-arm64": "2.5.1", + "@parcel/watcher-win32-ia32": "2.5.1", + "@parcel/watcher-win32-x64": "2.5.1" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", + "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", + "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", + "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", + "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", + "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", + "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", + "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", + "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", + "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", + "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", + "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", + "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", + "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/@parcel/watcher/node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, + "license": "MIT", + "optional": true + }, "node_modules/@phenomnomnominal/tsquery": { "version": "6.1.3", "resolved": "https://registry.npmjs.org/@phenomnomnominal/tsquery/-/tsquery-6.1.3.tgz", @@ -6254,9 +7007,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.22.4.tgz", - "integrity": "sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.8.tgz", + "integrity": "sha512-q217OSE8DTp8AFHuNHXo0Y86e1wtlfVrXiAlwkIvGRQv9zbc6mE3sjIVfwI8sYUyNxwOg0j/Vm1RKM04JcWLJw==", "cpu": [ "arm" ], @@ -6268,9 +7021,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.22.4.tgz", - "integrity": "sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.8.tgz", + "integrity": "sha512-Gigjz7mNWaOL9wCggvoK3jEIUUbGul656opstjaUSGC3eT0BM7PofdAJaBfPFWWkXNVAXbaQtC99OCg4sJv70Q==", "cpu": [ "arm64" ], @@ -6282,9 +7035,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.22.4.tgz", - "integrity": "sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.8.tgz", + "integrity": "sha512-02rVdZ5tgdUNRxIUrFdcMBZQoaPMrxtwSb+/hOfBdqkatYHR3lZ2A2EGyHq2sGOd0Owk80oV3snlDASC24He3Q==", "cpu": [ "arm64" ], @@ -6296,9 +7049,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.22.4.tgz", - "integrity": "sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.8.tgz", + "integrity": "sha512-qIP/elwR/tq/dYRx3lgwK31jkZvMiD6qUtOycLhTzCvrjbZ3LjQnEM9rNhSGpbLXVJYQ3rq39A6Re0h9tU2ynw==", "cpu": [ "x64" ], @@ -6309,10 +7062,38 @@ "darwin" ] }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.8.tgz", + "integrity": "sha512-IQNVXL9iY6NniYbTaOKdrlVP3XIqazBgJOVkddzJlqnCpRi/yAeSOa8PLcECFSQochzqApIOE1GHNu3pCz+BDA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.8.tgz", + "integrity": "sha512-TYXcHghgnCqYFiE3FT5QwXtOZqDj5GmaFNTNt3jNC+vh22dc/ukG2cG+pi75QO4kACohZzidsq7yKTKwq/Jq7Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.22.4.tgz", - "integrity": "sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.8.tgz", + "integrity": "sha512-A4iphFGNkWRd+5m3VIGuqHnG3MVnqKe7Al57u9mwgbyZ2/xF9Jio72MaY7xxh+Y87VAHmGQr73qoKL9HPbXj1g==", "cpu": [ "arm" ], @@ -6324,9 +7105,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.22.4.tgz", - "integrity": "sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.8.tgz", + "integrity": "sha512-S0lqKLfTm5u+QTxlFiAnb2J/2dgQqRy/XvziPtDd1rKZFXHTyYLoVL58M/XFwDI01AQCDIevGLbQrMAtdyanpA==", "cpu": [ "arm" ], @@ -6338,9 +7119,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.22.4.tgz", - "integrity": "sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.8.tgz", + "integrity": "sha512-jpz9YOuPiSkL4G4pqKrus0pn9aYwpImGkosRKwNi+sJSkz+WU3anZe6hi73StLOQdfXYXC7hUfsQlTnjMd3s1A==", "cpu": [ "arm64" ], @@ -6352,9 +7133,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.22.4.tgz", - "integrity": "sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.8.tgz", + "integrity": "sha512-KdSfaROOUJXgTVxJNAZ3KwkRc5nggDk+06P6lgi1HLv1hskgvxHUKZ4xtwHkVYJ1Rep4GNo+uEfycCRRxht7+Q==", "cpu": [ "arm64" ], @@ -6365,10 +7146,24 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.8.tgz", + "integrity": "sha512-NyF4gcxwkMFRjgXBM6g2lkT58OWztZvw5KkV2K0qqSnUEqCVcqdh2jN4gQrTn/YUpAcNKyFHfoOZEer9nwo6uQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.22.4.tgz", - "integrity": "sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.8.tgz", + "integrity": "sha512-LMJc999GkhGvktHU85zNTDImZVUCJ1z/MbAJTnviiWmmjyckP5aQsHtcujMjpNdMZPT2rQEDBlJfubhs3jsMfw==", "cpu": [ "ppc64" ], @@ -6380,9 +7175,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.22.4.tgz", - "integrity": "sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.8.tgz", + "integrity": "sha512-xAQCAHPj8nJq1PI3z8CIZzXuXCstquz7cIOL73HHdXiRcKk8Ywwqtx2wrIy23EcTn4aZ2fLJNBB8d0tQENPCmw==", "cpu": [ "riscv64" ], @@ -6393,10 +7188,25 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.43.0.tgz", + "integrity": "sha512-ruf3hPWhjw6uDFsOAzmbNIvlXFXlBQ4nk57Sec8E8rUxs/AI4HD6xmiiasOOx/3QxS2f5eQMKTAwk7KHwpzr/Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true + }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.22.4.tgz", - "integrity": "sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.8.tgz", + "integrity": "sha512-DdePVk1NDEuc3fOe3dPPTb+rjMtuFw89gw6gVWxQFAuEqqSdDKnrwzZHrUYdac7A7dXl9Q2Vflxpme15gUWQFA==", "cpu": [ "s390x" ], @@ -6408,9 +7218,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.22.4.tgz", - "integrity": "sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.8.tgz", + "integrity": "sha512-8y7ED8gjxITUltTUEJLQdgpbPh1sUQ0kMTmufRF/Ns5tI9TNMNlhWtmPKKHCU0SilX+3MJkZ0zERYYGIVBYHIA==", "cpu": [ "x64" ], @@ -6422,9 +7232,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.22.4.tgz", - "integrity": "sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.8.tgz", + "integrity": "sha512-SCXcP0ZpGFIe7Ge+McxY5zKxiEI5ra+GT3QRxL0pMMtxPfpyLAKleZODi1zdRHkz5/BhueUrYtYVgubqe9JBNQ==", "cpu": [ "x64" ], @@ -6436,9 +7246,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.22.4.tgz", - "integrity": "sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.8.tgz", + "integrity": "sha512-YHYsgzZgFJzTRbth4h7Or0m5O74Yda+hLin0irAIobkLQFRQd1qWmnoVfwmKm9TXIZVAD0nZ+GEb2ICicLyCnQ==", "cpu": [ "arm64" ], @@ -6450,9 +7260,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.22.4.tgz", - "integrity": "sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.8.tgz", + "integrity": "sha512-r3NRQrXkHr4uWy5TOjTpTYojR9XmF0j/RYgKCef+Ag46FWUTltm5ziticv8LdNsDMehjJ543x/+TJAek/xBA2w==", "cpu": [ "ia32" ], @@ -6464,9 +7274,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.4.tgz", - "integrity": "sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.34.8.tgz", + "integrity": "sha512-U0FaE5O1BCpZSeE6gBl3c5ObhePQSfk9vDRToMmTkbhCOgW4jqvtS5LGyQ76L1fH8sM0keRp4uDTsbjiUyjk0g==", "cpu": [ "x64" ], @@ -6478,14 +7288,14 @@ ] }, "node_modules/@schematics/angular": { - "version": "18.2.19", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.19.tgz", - "integrity": "sha512-s9aynH/fwB/LT94miVfsaL2C4Qd5BLgjMzWFx7iJ8Hyv7FjOBGYO6eGVovjCt2c6/abG+GQAk4EBOCfg3AUtCA==", + "version": "19.2.15", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-19.2.15.tgz", + "integrity": "sha512-dz/eoFQKG09POSygpEDdlCehFIMo35HUM2rVV8lx9PfQEibpbGwl1NNQYEbqwVjTyCyD/ILyIXCWPE+EfTnG4g==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.19", - "@angular-devkit/schematics": "18.2.19", + "@angular-devkit/core": "19.2.15", + "@angular-devkit/schematics": "19.2.15", "jsonc-parser": "3.3.1" }, "engines": { @@ -6494,61 +7304,33 @@ "yarn": ">= 1.13.0" } }, - "node_modules/@schematics/angular/node_modules/@angular-devkit/core": { - "version": "18.2.19", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.19.tgz", - "integrity": "sha512-Ptf92Zomc6FCr7GWmHKdgOUbA1GpctZwH/hRcpYpU3tM56MG2t5FOFpufnE595GgolOCktabkFEoODMG8PBVDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^3.5.2" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, "node_modules/@sigstore/bundle": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.3.2.tgz", - "integrity": "sha512-wueKWDk70QixNLB363yHc2D2ItTgYiMTdPwK8D9dKQMR3ZQ0c35IxP5xnwQ8cNLoCgCRcHf14kE+CLIvNX1zmA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-3.1.0.tgz", + "integrity": "sha512-Mm1E3/CmDDCz3nDhFKTuYdB47EdRFRQMOE/EAbiG1MJW77/w1b3P7Qx7JSrVJs8PfwOLOVcKQCHErIwCTyPbag==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.3.2" + "@sigstore/protobuf-specs": "^0.4.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@sigstore/core": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-1.1.0.tgz", - "integrity": "sha512-JzBqdVIyqm2FRQCulY6nbQzMpJJpSiJ8XXWMhtOX9eKgaXXpfNOF53lzQEjIydlStnd/eFtuC1dW4VYdD93oRg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-2.0.0.tgz", + "integrity": "sha512-nYxaSb/MtlSI+JWcwTHQxyNmWeWrUXJJ/G4liLrGG7+tS4vAz6LF3xRXqLH6wPIVUoZQel2Fs4ddLx4NCpiIYg==", "dev": true, "license": "Apache-2.0", "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@sigstore/protobuf-specs": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.3.tgz", - "integrity": "sha512-RpacQhBlwpBWd7KEJsRKcBQalbV28fvkxwTOJIqhIuDysMMaJW47V4OqW30iJB9uRpqOSxxEAQFdr8tTattReQ==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.4.3.tgz", + "integrity": "sha512-fk2zjD9117RL9BjqEwF7fwv7Q/P9yGsMV4MUJZ/DocaQJ6+3pKr+syBq1owU5Q5qGw5CUbXzm+4yJ2JVRDQeSA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -6556,50 +7338,50 @@ } }, "node_modules/@sigstore/sign": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.3.2.tgz", - "integrity": "sha512-5Vz5dPVuunIIvC5vBb0APwo7qKA4G9yM48kPWJT+OEERs40md5GoUR1yedwpekWZ4m0Hhw44m6zU+ObsON+iDA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-3.1.0.tgz", + "integrity": "sha512-knzjmaOHOov1Ur7N/z4B1oPqZ0QX5geUfhrVaqVlu+hl0EAoL4o+l0MSULINcD5GCWe3Z0+YJO8ues6vFlW0Yw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.3.2", - "@sigstore/core": "^1.0.0", - "@sigstore/protobuf-specs": "^0.3.2", - "make-fetch-happen": "^13.0.1", - "proc-log": "^4.2.0", + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "make-fetch-happen": "^14.0.2", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@sigstore/tuf": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.3.4.tgz", - "integrity": "sha512-44vtsveTPUpqhm9NCrbU8CWLe3Vck2HO1PNLw7RIajbB7xhtn5RBPm1VNSCMwqGYHhDsBJG8gDF0q4lgydsJvw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-3.1.1.tgz", + "integrity": "sha512-eFFvlcBIoGwVkkwmTi/vEQFSva3xs5Ot3WmBcjgjVdiaoelBLQaQ/ZBfhlG0MnG0cmTYScPpk7eDdGDWUcFUmg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.3.2", - "tuf-js": "^2.2.1" + "@sigstore/protobuf-specs": "^0.4.1", + "tuf-js": "^3.0.1" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@sigstore/verify": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-1.2.1.tgz", - "integrity": "sha512-8iKx79/F73DKbGfRf7+t4dqrc0bRr0thdPrxAtCKWRm/F0tG71i6O1rvlnScncJLLBZHn3h8M3c1BSUAb9yu8g==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-2.1.1.tgz", + "integrity": "sha512-hVJD77oT67aowHxwT4+M6PGOp+E2LtLdTK3+FC0lBO9T7sYwItDMXZ7Z07IDCvR1M717a4axbIWckrW67KMP/w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.3.2", - "@sigstore/core": "^1.1.0", - "@sigstore/protobuf-specs": "^0.3.2" + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.1" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@sinclair/typebox": { @@ -6615,6 +7397,7 @@ "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=18" }, @@ -6643,9 +7426,9 @@ } }, "node_modules/@swimlane/ngx-graph": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@swimlane/ngx-graph/-/ngx-graph-9.0.1.tgz", - "integrity": "sha512-kymJLcAicmw30tbcnEIobIz5Cv3f7RZvoe2MJVbBjVhRxEqFVs5SONILwcdQqGIrqJC9E2PUM9VFwm9Qpgq8Rg==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@swimlane/ngx-graph/-/ngx-graph-10.0.0.tgz", + "integrity": "sha512-9/ZvLgTv+Df1DhOn4AYOSkYbHVvTb5sz/A06H/tUvL3w67bBtBxERpv4T2eo8AX+wHV/g4qcGgZ6FTmfQcvkbg==", "license": "MIT", "dependencies": { "d3-dispatch": "^3.0.1", @@ -6662,10 +7445,10 @@ "webcola": "^3.4.0" }, "peerDependencies": { - "@angular/animations": "15.x || 16.x || 17.x || 18.x", - "@angular/cdk": "15.x || 16.x || 17.x || 18.x", - "@angular/common": "15.x || 16.x || 17.x || 18.x", - "@angular/core": "15.x || 16.x || 17.x || 18.x", + "@angular/animations": "15.x || 16.x || 17.x || 18.x || 19.x", + "@angular/cdk": "15.x || 16.x || 17.x || 18.x || 19.x", + "@angular/common": "15.x || 16.x || 17.x || 18.x || 19.x", + "@angular/core": "15.x || 16.x || 17.x || 18.x || 19.x", "rxjs": "7.x" } }, @@ -6702,28 +7485,28 @@ "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@tsconfig/node12": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@tsconfig/node14": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@tsconfig/node16": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@tufjs/canonical-json": { @@ -6737,17 +7520,17 @@ } }, "node_modules/@tufjs/models": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-2.0.1.tgz", - "integrity": "sha512-92F7/SFyufn4DXsha9+QfKnN03JGqtMFMXgSHbZOo8JG59WkTni7UzAouNQDf7AuP9OAMxVOPQcqG3sB7w+kkg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-3.0.1.tgz", + "integrity": "sha512-UUYHISyhCU3ZgN8yaear3cGATHb3SMuKHsQ/nVbHXcmnBf+LzQ/cQfhNG+rfaSHgqGKNEm2cOCLVLELStUQ1JA==", "dev": true, "license": "MIT", "dependencies": { "@tufjs/canonical-json": "2.0.0", - "minimatch": "^9.0.4" + "minimatch": "^9.0.5" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@types/babel__core": { @@ -6797,6 +7580,7 @@ "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/connect": "*", "@types/node": "*" @@ -6808,6 +7592,7 @@ "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*" } @@ -6818,6 +7603,7 @@ "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*" } @@ -6828,6 +7614,7 @@ "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/express-serve-static-core": "*", "@types/node": "*" @@ -6898,6 +7685,30 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, "node_modules/@types/esquery": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/@types/esquery/-/esquery-1.5.4.tgz", @@ -6921,6 +7732,7 @@ "integrity": "sha512-Crp6WY9aTYP3qPi2wGDo9iUe/rceX01UMhnF1jmwDcKCFM6cx7YhGP/Mpr3y9AASpfHixIG0E6azCcL5OcDHsQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", @@ -6934,6 +7746,7 @@ "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -6956,7 +7769,8 @@ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/http-proxy": { "version": "1.17.16", @@ -6964,6 +7778,7 @@ "integrity": "sha512-sdWoUajOB1cd0A8cRRQ1cfyWNbmFKLAqBB89Y8x5iYyG/mkJHc0YUH8pdWBy2omi9qtCpiIgGjuwO0dQST2l5w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*" } @@ -7040,7 +7855,8 @@ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/lodash": { "version": "4.14.132", @@ -7054,23 +7870,14 @@ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", "dev": true, - "license": "MIT" - }, - "node_modules/@types/mute-stream": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz", - "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==", - "dev": true, "license": "MIT", - "dependencies": { - "@types/node": "*" - } + "peer": true }, "node_modules/@types/node": { "version": "22.15.29", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.29.tgz", "integrity": "sha512-LNdjOkUDlU1RZb8e1kOIUpN1qQUlzGkEtbVNo53vbrwDg5om6oduhm4SiUaPW5ASTXhAiP0jInWG8Qx9fVlOeQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "undici-types": "~6.21.0" @@ -7082,6 +7889,7 @@ "integrity": "sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*" } @@ -7098,7 +7906,8 @@ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz", "integrity": "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/raf": { "version": "3.4.3", @@ -7112,14 +7921,16 @@ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/retry": { "version": "0.12.2", "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz", "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/selenium-webdriver": { "version": "3.0.26", @@ -7141,6 +7952,7 @@ "integrity": "sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/mime": "^1", "@types/node": "*" @@ -7152,6 +7964,7 @@ "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/express": "*" } @@ -7162,6 +7975,7 @@ "integrity": "sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/http-errors": "*", "@types/node": "*", @@ -7188,6 +8002,7 @@ "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*" } @@ -7234,19 +8049,13 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/wrap-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz", - "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/ws": { "version": "8.18.1", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*" } @@ -7550,16 +8359,16 @@ } }, "node_modules/@vitejs/plugin-basic-ssl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.1.0.tgz", - "integrity": "sha512-wO4Dk/rm8u7RNhOf95ZzcEmC9rYOncYgvq4z3duaJrCgjN8BxAnDVyndanfcJZ0O6XZzHz6Q0hTimxTg8Y9g/A==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.2.0.tgz", + "integrity": "sha512-mkQnxTkcldAzIsomk1UuLfAu9n+kpQ3JbHcpCp7d2Oo6ITtji8pHS3QToOWjhPFvNQSnhlkAjmGbhv2QvwO/7Q==", "dev": true, "license": "MIT", "engines": { - "node": ">=14.6.0" + "node": ">=14.21.3" }, "peerDependencies": { - "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" } }, "node_modules/@webassemblyjs/ast": { @@ -7568,6 +8377,7 @@ "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" @@ -7578,21 +8388,24 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@webassemblyjs/helper-api-error": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@webassemblyjs/helper-buffer": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@webassemblyjs/helper-numbers": { "version": "1.13.2", @@ -7600,6 +8413,7 @@ "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/floating-point-hex-parser": "1.13.2", "@webassemblyjs/helper-api-error": "1.13.2", @@ -7611,7 +8425,8 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@webassemblyjs/helper-wasm-section": { "version": "1.14.1", @@ -7619,6 +8434,7 @@ "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -7632,6 +8448,7 @@ "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@xtuc/ieee754": "^1.2.0" } @@ -7642,6 +8459,7 @@ "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "@xtuc/long": "4.2.2" } @@ -7651,7 +8469,8 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@webassemblyjs/wasm-edit": { "version": "1.14.1", @@ -7659,6 +8478,7 @@ "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -7676,6 +8496,7 @@ "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", @@ -7690,6 +8511,7 @@ "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -7703,6 +8525,7 @@ "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-api-error": "1.13.2", @@ -7718,6 +8541,7 @@ "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@xtuc/long": "4.2.2" @@ -7728,14 +8552,16 @@ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", "dev": true, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "peer": true }, "node_modules/@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "dev": true, - "license": "Apache-2.0" + "license": "Apache-2.0", + "peer": true }, "node_modules/@yarnpkg/lockfile": { "version": "1.1.0", @@ -7753,13 +8579,13 @@ "license": "BSD-3-Clause" }, "node_modules/abbrev": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", - "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", + "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/abort-controller": { @@ -7780,6 +8606,7 @@ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" @@ -7794,6 +8621,7 @@ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -7802,7 +8630,7 @@ "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", - "dev": true, + "devOptional": true, "license": "MIT", "bin": { "acorn": "bin/acorn" @@ -7822,16 +8650,6 @@ "acorn-walk": "^8.0.2" } }, - "node_modules/acorn-import-attributes": { - "version": "1.9.5", - "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", - "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "acorn": "^8" - } - }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -7846,7 +8664,7 @@ "version": "8.3.4", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "acorn": "^8.11.0" @@ -7861,6 +8679,7 @@ "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "loader-utils": "^2.0.0", "regex-parser": "^2.2.11" @@ -7875,6 +8694,7 @@ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", @@ -7957,6 +8777,7 @@ "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3" }, @@ -7999,6 +8820,7 @@ "node >= 0.8.0" ], "license": "Apache-2.0", + "peer": true, "bin": { "ansi-html": "bin/ansi-html" } @@ -8223,7 +9045,8 @@ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/array-union": { "version": "1.0.2", @@ -8356,6 +9179,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "browserslist": "^4.23.3", "caniuse-lite": "^1.0.30001646", @@ -8440,11 +9264,12 @@ } }, "node_modules/babel-loader": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz", - "integrity": "sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.2.1.tgz", + "integrity": "sha512-fqe8naHt46e0yIdkjUZYqddSXfej3AHajX+CSO5X7oy0EmPc6o5Xh+RClNoHjnieWz9AW4kZxW9yyFMhVB1QLA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "find-cache-dir": "^4.0.0", "schema-utils": "^4.0.0" @@ -8523,6 +9348,7 @@ "integrity": "sha512-3sX/eOms8kd3q2KZ6DAhKPc0dgm525Gqq5NtWKZ7QYYZEv57OQ54KtblzJzH1lQF/eQxO8KjWGIK9IPUJNus5g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/compat-data": "^7.22.6", "@babel/helper-define-polyfill-provider": "^0.6.4", @@ -8538,6 +9364,7 @@ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -8548,6 +9375,7 @@ "integrity": "sha512-yGCqvBT4rwMczo28xkH/noxJ6MZ4nJfkVYdoDaC/utLtWrXxv27HVrzAeSbqR8SxDsp46n0YF47EbHoixy6rXQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.3", "core-js-compat": "^3.40.0" @@ -8562,6 +9390,7 @@ "integrity": "sha512-7gD3pRadPrbjhjLyxebmx/WrFYcuSjZ0XbdUujQMZ/fcE9oeewk2U/7PCvez84UeuK3oSjmPZ0Ch0dlupQvGzw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.4" }, @@ -8739,7 +9568,8 @@ "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/bcrypt-pbkdf": { "version": "1.0.2", @@ -8751,12 +9581,33 @@ "tweetnacl": "^0.14.3" } }, + "node_modules/beasties": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/beasties/-/beasties-0.3.2.tgz", + "integrity": "sha512-p4AF8uYzm9Fwu8m/hSVTCPXrRBPmB34hQpHsec2KOaR9CZmgoU8IOv4Cvwq4hgz2p4hLMNbsdNl5XeA6XbAQwA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "htmlparser2": "^10.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.49", + "postcss-media-query-parser": "^0.2.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "*" } @@ -8825,6 +9676,7 @@ "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.5", @@ -8850,6 +9702,7 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -8860,6 +9713,7 @@ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -8872,7 +9726,8 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/body-parser/node_modules/qs": { "version": "6.13.0", @@ -8880,6 +9735,7 @@ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "side-channel": "^1.0.6" }, @@ -8896,6 +9752,7 @@ "integrity": "sha512-3YuAUiSkWykd+2Azjgyxei8OWf8thdn8AITIog2M4UICzoqfjlqr64WIjEXZllf/W6vK1goqleSR6brGomxQqA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "multicast-dns": "^7.2.5" @@ -9087,7 +9944,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/bundle-name": { @@ -9096,6 +9953,7 @@ "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "run-applescript": "^7.0.0" }, @@ -9112,18 +9970,19 @@ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } }, "node_modules/cacache": { - "version": "18.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz", - "integrity": "sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-19.0.1.tgz", + "integrity": "sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/fs": "^3.1.0", + "@npmcli/fs": "^4.0.0", "fs-minipass": "^3.0.0", "glob": "^10.2.2", "lru-cache": "^10.0.1", @@ -9131,13 +9990,23 @@ "minipass-collect": "^2.0.1", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", - "p-map": "^4.0.0", - "ssri": "^10.0.0", - "tar": "^6.1.11", - "unique-filename": "^3.0.0" + "p-map": "^7.0.2", + "ssri": "^12.0.0", + "tar": "^7.4.3", + "unique-filename": "^4.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/cacache/node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" } }, "node_modules/cacache/node_modules/lru-cache": { @@ -9147,6 +10016,50 @@ "dev": true, "license": "ISC" }, + "node_modules/cacache/node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/tar": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz", + "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/cacache/node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/cacheable": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.0.tgz", @@ -9239,9 +10152,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001722", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001722.tgz", - "integrity": "sha512-DCQHBBZtiK6JVkAGw7drvAMK0Q0POD/xZvEmDp6baiMMP6QXXk9HpD6mNYBZWhOPG6LvIDb82ITqtWjhDckHCA==", + "version": "1.0.30001723", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001723.tgz", + "integrity": "sha512-1R/elMjtehrFejxwmexeXAtae5UO9iSyFn6G/I806CYC/BLyyBk1EPhrKBkWhy6wM6Xnm47dSJQec+tLJ39WHw==", "funding": [ { "type": "opencollective", @@ -9308,6 +10221,18 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/chalk/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==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/char-regex": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", @@ -9345,39 +10270,18 @@ } }, "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" + "readdirp": "^4.0.1" }, "engines": { - "node": ">= 8.10.0" + "node": ">= 14.16.0" }, "funding": { "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" } }, "node_modules/chownr": { @@ -9396,6 +10300,7 @@ "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.0" } @@ -9644,6 +10549,7 @@ "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", @@ -9659,6 +10565,7 @@ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "isobject": "^3.0.1" }, @@ -9763,7 +10670,8 @@ "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/common-tags": { "version": "1.8.2", @@ -9837,6 +10745,7 @@ "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "mime-db": ">= 1.43.0 < 2" }, @@ -9850,6 +10759,7 @@ "integrity": "sha512-k6WLKfunuqCYD3t6AsuPGvQWaKwuLLh2/xHNcX4qE+vIfDNXpSqnrhwA7O53R7WVQUnt8dVAIW+YHr7xTgOgGA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "bytes": "3.1.2", "compressible": "~2.0.18", @@ -9869,6 +10779,7 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -9878,7 +10789,19 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true + }, + "node_modules/compression/node_modules/negotiator": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 0.6" + } }, "node_modules/concat-map": { "version": "0.0.1", @@ -9893,6 +10816,7 @@ "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.8" } @@ -9903,6 +10827,7 @@ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "safe-buffer": "5.2.1" }, @@ -9932,6 +10857,7 @@ "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -9941,7 +10867,8 @@ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/copy-anything": { "version": "2.0.6", @@ -9949,6 +10876,7 @@ "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "is-what": "^3.14.1" }, @@ -9962,6 +10890,7 @@ "integrity": "sha512-SNwdBeHyII+rWvee/bTnAYyO8vfVdcSTud4EIb6jcZ8inLeWucJE0DnxXQBjlQ5zlteuuvooGQy3LIyGxhvlOA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-glob": "^3.3.2", "glob-parent": "^6.0.1", @@ -9999,6 +10928,7 @@ "integrity": "sha512-2GML2ZsCc5LR7hZYz4AXmjQw8zuy2T//2QntwdnpuYI7jteT6GVYJL7F6C2C57R7gSYrcqVW3lAALefdbhBLDA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "browserslist": "^4.25.0" }, @@ -10127,30 +11057,186 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/create-jest/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/create-jest/node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/create-jest/node_modules/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/create-jest/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/create-jest/node_modules/jest-config": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", + "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-jest": "^29.7.0", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/create-jest/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/create-jest/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/create-jest/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true, + "devOptional": true, "license": "MIT" }, - "node_modules/critters": { - "version": "0.0.24", - "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.24.tgz", - "integrity": "sha512-Oyqew0FGM0wYUSNqR0L6AteO5MpMoUU0rhKRieXeiKs+PmRTxiJMyaunYB2KF6fQ3dzChXKCpbFOEJx3OQ1v/Q==", - "deprecated": "Ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. If you'd like to keep using Critters, please switch to the actively-maintained fork at https://github.com/danielroe/beasties", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "chalk": "^4.1.0", - "css-select": "^5.1.0", - "dom-serializer": "^2.0.0", - "domhandler": "^5.0.2", - "htmlparser2": "^8.0.2", - "postcss": "^8.4.23", - "postcss-media-query-parser": "^0.2.3" - } - }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -10190,6 +11276,7 @@ "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "icss-utils": "^5.1.0", "postcss": "^8.4.33", @@ -10472,6 +11559,22 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, + "node_modules/cypress/node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/cypress/node_modules/slice-ansi": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", @@ -10487,22 +11590,6 @@ "node": ">=8" } }, - "node_modules/cypress/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/d3": { "version": "7.9.0", "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz", @@ -11039,6 +12126,7 @@ "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "bundle-name": "^4.1.0", "default-browser-id": "^5.0.0" @@ -11056,6 +12144,7 @@ "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=18" }, @@ -11081,6 +12170,7 @@ "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -11225,6 +12315,7 @@ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -11235,6 +12326,7 @@ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" @@ -11246,6 +12338,7 @@ "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", "dev": true, "license": "Apache-2.0", + "optional": true, "engines": { "node": ">=8" } @@ -11265,7 +12358,8 @@ "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/devtools-protocol": { "version": "0.0.1452169", @@ -11335,6 +12429,7 @@ "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@leichtgewicht/ip-codec": "^2.0.1" }, @@ -11521,7 +12616,8 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/ejs": { "version": "3.1.10", @@ -11540,9 +12636,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.166", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.166.tgz", - "integrity": "sha512-QPWqHL0BglzPYyJJ1zSSmwFFL6MFXhbACOCcsCdUMCkzPdS9/OIBVxg516X/Ado2qwAq8k0nJJ7phQPCqiaFAw==", + "version": "1.5.167", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.167.tgz", + "integrity": "sha512-LxcRvnYO5ez2bMOFpbuuVuAI5QNeY1ncVytE/KXaL6ZNfzX1yPlAO0nSOyIHx2fVAuUprMqPs/TdVhUFZy7SIQ==", "license": "ISC" }, "node_modules/emittery": { @@ -11570,6 +12666,7 @@ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 4" } @@ -11580,6 +12677,7 @@ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -11610,6 +12708,7 @@ "integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -11682,6 +12781,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "prr": "~1.0.1" }, @@ -11724,7 +12824,8 @@ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/es-object-atoms": { "version": "1.1.1", @@ -11773,9 +12874,9 @@ } }, "node_modules/esbuild": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.0.tgz", - "integrity": "sha512-1lvV17H2bMYda/WaFb2jLPeHU3zml2k4/yagNMG8Q/YtfMjCwEUZa2eXXMgZTVSL5q1n4H7sQ0X6CdJDqqeCFA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz", + "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -11786,36 +12887,37 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.23.0", - "@esbuild/android-arm": "0.23.0", - "@esbuild/android-arm64": "0.23.0", - "@esbuild/android-x64": "0.23.0", - "@esbuild/darwin-arm64": "0.23.0", - "@esbuild/darwin-x64": "0.23.0", - "@esbuild/freebsd-arm64": "0.23.0", - "@esbuild/freebsd-x64": "0.23.0", - "@esbuild/linux-arm": "0.23.0", - "@esbuild/linux-arm64": "0.23.0", - "@esbuild/linux-ia32": "0.23.0", - "@esbuild/linux-loong64": "0.23.0", - "@esbuild/linux-mips64el": "0.23.0", - "@esbuild/linux-ppc64": "0.23.0", - "@esbuild/linux-riscv64": "0.23.0", - "@esbuild/linux-s390x": "0.23.0", - "@esbuild/linux-x64": "0.23.0", - "@esbuild/netbsd-x64": "0.23.0", - "@esbuild/openbsd-arm64": "0.23.0", - "@esbuild/openbsd-x64": "0.23.0", - "@esbuild/sunos-x64": "0.23.0", - "@esbuild/win32-arm64": "0.23.0", - "@esbuild/win32-ia32": "0.23.0", - "@esbuild/win32-x64": "0.23.0" + "@esbuild/aix-ppc64": "0.25.4", + "@esbuild/android-arm": "0.25.4", + "@esbuild/android-arm64": "0.25.4", + "@esbuild/android-x64": "0.25.4", + "@esbuild/darwin-arm64": "0.25.4", + "@esbuild/darwin-x64": "0.25.4", + "@esbuild/freebsd-arm64": "0.25.4", + "@esbuild/freebsd-x64": "0.25.4", + "@esbuild/linux-arm": "0.25.4", + "@esbuild/linux-arm64": "0.25.4", + "@esbuild/linux-ia32": "0.25.4", + "@esbuild/linux-loong64": "0.25.4", + "@esbuild/linux-mips64el": "0.25.4", + "@esbuild/linux-ppc64": "0.25.4", + "@esbuild/linux-riscv64": "0.25.4", + "@esbuild/linux-s390x": "0.25.4", + "@esbuild/linux-x64": "0.25.4", + "@esbuild/netbsd-arm64": "0.25.4", + "@esbuild/netbsd-x64": "0.25.4", + "@esbuild/openbsd-arm64": "0.25.4", + "@esbuild/openbsd-x64": "0.25.4", + "@esbuild/sunos-x64": "0.25.4", + "@esbuild/win32-arm64": "0.25.4", + "@esbuild/win32-ia32": "0.25.4", + "@esbuild/win32-x64": "0.25.4" } }, "node_modules/esbuild-wasm": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.23.0.tgz", - "integrity": "sha512-6jP8UmWy6R6TUUV8bMuC3ZyZ6lZKI56x0tkxyCIqWwRRJ/DgeQKneh/Oid5EoGoPFLrGNkz47ZEtWAYuiY/u9g==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.25.4.tgz", + "integrity": "sha512-2HlCS6rNvKWaSKhWaG/YIyRsTsL3gUrMP2ToZMBIjw9LM7vVcIs+rz8kE2vExvTJgvM8OKPqNpcHawY/BQc/qQ==", "dev": true, "license": "MIT", "bin": { @@ -11839,7 +12941,8 @@ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/escape-string-regexp": { "version": "4.0.0", @@ -12162,6 +13265,7 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -12187,7 +13291,8 @@ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/events": { "version": "3.3.0", @@ -12308,6 +13413,7 @@ "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -12355,6 +13461,7 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -12364,7 +13471,8 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/express/node_modules/qs": { "version": "6.13.0", @@ -12372,6 +13480,7 @@ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "side-channel": "^1.0.6" }, @@ -12487,16 +13596,16 @@ "license": "MIT" }, "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" }, "engines": { "node": ">=8.6.0" @@ -12569,6 +13678,7 @@ "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "websocket-driver": ">=0.5.1" }, @@ -12596,6 +13706,21 @@ "pend": "~1.2.0" } }, + "node_modules/fdir": { + "version": "6.4.6", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", + "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, "node_modules/fflate": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", @@ -12682,6 +13807,7 @@ "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "debug": "2.6.9", "encodeurl": "~2.0.0", @@ -12701,6 +13827,7 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -12710,7 +13837,8 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/find-cache-dir": { "version": "4.0.0", @@ -12718,6 +13846,7 @@ "integrity": "sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "common-path-prefix": "^3.0.0", "pkg-dir": "^7.0.0" @@ -12793,6 +13922,7 @@ } ], "license": "MIT", + "peer": true, "engines": { "node": ">=4.0" }, @@ -12851,6 +13981,7 @@ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -12861,6 +13992,7 @@ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "*" }, @@ -12875,6 +14007,7 @@ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -13238,6 +14371,7 @@ "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", "fast-glob": "^3.3.3", @@ -13253,36 +14387,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby/node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/globby/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/globjoin": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", @@ -13330,7 +14434,8 @@ "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/har-schema": { "version": "2.0.0", @@ -13462,16 +14567,16 @@ "license": "MIT" }, "node_modules/hosted-git-info": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", - "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", + "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", "dev": true, "license": "ISC", "dependencies": { "lru-cache": "^10.0.1" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/hosted-git-info/node_modules/lru-cache": { @@ -13487,6 +14592,7 @@ "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "inherits": "^2.0.1", "obuf": "^1.0.0", @@ -13500,6 +14606,7 @@ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -13515,7 +14622,8 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/hpack.js/node_modules/string_decoder": { "version": "1.1.1", @@ -13523,6 +14631,7 @@ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -13667,9 +14776,9 @@ } }, "node_modules/htmlparser2": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", - "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.0.0.tgz", + "integrity": "sha512-TwAZM+zE5Tq3lrEHvOlvwgj1XLWQCtaaibSN11Q+gGBAS7Y1uZSWwXXRe4iF6OXnaq1riyQAPFOBtYc77Mxq0g==", "dev": true, "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", @@ -13682,8 +14791,21 @@ "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "entities": "^4.4.0" + "domutils": "^3.2.1", + "entities": "^6.0.0" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/http-cache-semantics": { @@ -13698,7 +14820,8 @@ "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/http-errors": { "version": "2.0.0", @@ -13706,6 +14829,7 @@ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -13722,7 +14846,8 @@ "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.10.tgz", "integrity": "sha512-Pysuw9XpUq5dVc/2SMHpuTY01RFl8fttgcyunjL7eEMhGM3cI4eOmiCycJDVCo/7O7ClfQD3SaI6ftDzqOXYMA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/http-proxy": { "version": "1.18.1", @@ -13730,6 +14855,7 @@ "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", @@ -13773,6 +14899,7 @@ "integrity": "sha512-GLZZm1X38BPY4lkXA01jhwxvDoOkkXqjgVyUzVxiEK4iuRu03PZoYHhHRwxnfhQMDuaxi3vVri0YgSro/1oWqg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/http-proxy": "^1.17.15", "debug": "^4.3.6", @@ -13846,6 +14973,7 @@ "integrity": "sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10.18" } @@ -13868,6 +14996,7 @@ "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", "dev": true, "license": "ISC", + "peer": true, "engines": { "node": "^10 || ^12 || >= 14" }, @@ -13906,16 +15035,16 @@ } }, "node_modules/ignore-walk": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.5.tgz", - "integrity": "sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-7.0.0.tgz", + "integrity": "sha512-T4gbf83A4NH95zvhVYZc+qWocBBGlpzUXLPGurJggw/WIOwicfXJChLDP/iBZnN5WqROSu5Bm3hhle4z8a8YGQ==", "dev": true, "license": "ISC", "dependencies": { "minimatch": "^9.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/image-size": { @@ -13925,6 +15054,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "bin": { "image-size": "bin/image-size.js" }, @@ -13939,9 +15069,9 @@ "license": "MIT" }, "node_modules/immutable": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.7.tgz", - "integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.3.tgz", + "integrity": "sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==", "dev": true, "license": "MIT" }, @@ -14090,13 +15220,13 @@ "license": "ISC" }, "node_modules/ini": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", - "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-5.0.0.tgz", + "integrity": "sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/internmap": { @@ -14128,6 +15258,7 @@ "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 10" } @@ -14172,6 +15303,7 @@ "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", "dev": true, "license": "MIT", + "peer": true, "bin": { "is-docker": "cli.js" }, @@ -14232,6 +15364,7 @@ "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "is-docker": "^3.0.0" }, @@ -14271,19 +15404,13 @@ "node": ">=8" } }, - "node_modules/is-lambda": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", - "dev": true, - "license": "MIT" - }, "node_modules/is-network-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.1.0.tgz", "integrity": "sha512-tUdRRAnhT+OtCZR/LxZelH/C7QtjtFrTu5tXCA8pl55eTUElUHT+GPYV8MBMBvea/j+NxQqVt3LbWMRir7Gx9g==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=16" }, @@ -14352,6 +15479,7 @@ "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -14412,7 +15540,8 @@ "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/is-wsl": { "version": "3.1.0", @@ -14420,6 +15549,7 @@ "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "is-inside-container": "^1.0.0" }, @@ -14448,6 +15578,7 @@ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -14501,6 +15632,19 @@ "node": ">=10" } }, + "node_modules/istanbul-lib-report/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", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/istanbul-lib-source-maps": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", @@ -14865,7 +16009,65 @@ } } }, - "node_modules/jest-config": { + "node_modules/jest-cli/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/jest-cli/node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/jest-cli/node_modules/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-cli/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-cli/node_modules/jest-config": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", @@ -14911,56 +16113,7 @@ } } }, - "node_modules/jest-config/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/jest-config/node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-config/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/jest-config/node_modules/minimatch": { + "node_modules/jest-cli/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", @@ -14973,7 +16126,7 @@ "node": "*" } }, - "node_modules/jest-config/node_modules/slash": { + "node_modules/jest-cli/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", @@ -14983,6 +16136,52 @@ "node": ">=8" } }, + "node_modules/jest-cli/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, "node_modules/jest-diff": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", @@ -15584,22 +16783,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/jiti": { "version": "1.21.7", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", @@ -15767,13 +16950,13 @@ "license": "MIT" }, "node_modules/json-parse-even-better-errors": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", - "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-4.0.0.tgz", + "integrity": "sha512-lR4MXjGNgkJc7tkQ97kb2nuEMnNCyU//XYVH0MKTGcXEiSudQ5MKGKen3C5QubYy0vmq+JGitUg92uuywGEwIA==", "dev": true, "license": "MIT", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/json-schema": { @@ -15934,6 +17117,7 @@ "integrity": "sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "source-map-support": "^0.5.5" } @@ -15981,6 +17165,7 @@ "integrity": "sha512-D7dBRJo/qcGX9xlvt/6wUYzQxjh5G1RvZPgPv8vi4KRU99DVQL/oW7tnVOCCTm2HGeo3C5HvGE5Yrh6UBoZ0vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "picocolors": "^1.0.0", "shell-quote": "^1.8.1" @@ -16039,11 +17224,12 @@ } }, "node_modules/less": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/less/-/less-4.2.0.tgz", - "integrity": "sha512-P3b3HJDBtSzsXUl0im2L7gTO5Ubg8mEN6G8qoTS77iXxXX4Hvu4Qj540PZDvQ8V6DmX6iXo98k7Md0Cm1PrLaA==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/less/-/less-4.2.2.tgz", + "integrity": "sha512-tkuLHQlvWUTeQ3doAqnHbNn8T6WX1KA8yvbKG9x4VtKtIjHsVKQZCH11zRgAfbDAXC2UNIg/K9BYAAcEzUIrNg==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "copy-anything": "^2.0.1", "parse-node-version": "^1.0.1", @@ -16071,6 +17257,7 @@ "integrity": "sha512-MYUxjSQSBUQmowc0l5nPieOYwMzGPUaTzB6inNW/bdPEG9zOL3eAAD1Qw5ZxSPk7we5dMojHwNODYMV1hq4EVg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 18.12.0" }, @@ -16099,6 +17286,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "pify": "^4.0.1", "semver": "^5.6.0" @@ -16114,6 +17302,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "engines": { "node": ">=6" } @@ -16125,6 +17314,7 @@ "dev": true, "license": "ISC", "optional": true, + "peer": true, "bin": { "semver": "bin/semver" } @@ -16136,6 +17326,7 @@ "dev": true, "license": "BSD-3-Clause", "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -16170,6 +17361,7 @@ "integrity": "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "webpack-sources": "^3.0.0" }, @@ -16237,32 +17429,6 @@ "url": "https://opencollective.com/lint-staged" } }, - "node_modules/lint-staged/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/lint-staged/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/lint-staged/node_modules/chalk": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", @@ -16286,20 +17452,6 @@ "node": ">=18" } }, - "node_modules/lint-staged/node_modules/emoji-regex": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", - "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", - "dev": true, - "license": "MIT" - }, - "node_modules/lint-staged/node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true, - "license": "MIT" - }, "node_modules/lint-staged/node_modules/execa": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", @@ -16360,24 +17512,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lint-staged/node_modules/listr2": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.3.3.tgz", - "integrity": "sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "cli-truncate": "^4.0.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^6.1.0", - "rfdc": "^1.4.1", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/lint-staged/node_modules/mimic-fn": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", @@ -16436,40 +17570,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lint-staged/node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lint-staged/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/lint-staged/node_modules/strip-final-newline": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", @@ -16483,28 +17583,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lint-staged/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/listr2": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.4.tgz", - "integrity": "sha512-opevsywziHd3zHCVQGAj8zu+Z3yHNkkoYhWIGnq54RrCVwLz0MozotJEDnKsIBLvkfLGN6BLOyAeRrYI0pKA4g==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.5.tgz", + "integrity": "sha512-iyAZCeyD+c1gPyE9qpFu8af0Y+MRtmKOncdGoA2S5EY8iFq99dmmvkNnHiWo+pj0s7yH7l3KPIgee77tKpXPWQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16612,29 +17694,30 @@ } }, "node_modules/lmdb": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.0.13.tgz", - "integrity": "sha512-UGe+BbaSUQtAMZobTb4nHvFMrmvuAQKSeaqAX2meTEQjfsbpl5sxdHD8T72OnwD4GU9uwNhYXIVe4QGs8N9Zyw==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.2.6.tgz", + "integrity": "sha512-SuHqzPl7mYStna8WRotY8XX/EUZBjjv3QyKIByeCLFfC9uXT/OIHByEcA07PzbMfQAM0KYJtLgtpMRlIe5dErQ==", "dev": true, "hasInstallScript": true, "license": "MIT", + "optional": true, "dependencies": { - "msgpackr": "^1.10.2", + "msgpackr": "^1.11.2", "node-addon-api": "^6.1.0", "node-gyp-build-optional-packages": "5.2.2", - "ordered-binary": "^1.4.1", + "ordered-binary": "^1.5.3", "weak-lru-cache": "^1.2.2" }, "bin": { "download-lmdb-prebuilds": "bin/download-prebuilds.js" }, "optionalDependencies": { - "@lmdb/lmdb-darwin-arm64": "3.0.13", - "@lmdb/lmdb-darwin-x64": "3.0.13", - "@lmdb/lmdb-linux-arm": "3.0.13", - "@lmdb/lmdb-linux-arm64": "3.0.13", - "@lmdb/lmdb-linux-x64": "3.0.13", - "@lmdb/lmdb-win32-x64": "3.0.13" + "@lmdb/lmdb-darwin-arm64": "3.2.6", + "@lmdb/lmdb-darwin-x64": "3.2.6", + "@lmdb/lmdb-linux-arm": "3.2.6", + "@lmdb/lmdb-linux-arm64": "3.2.6", + "@lmdb/lmdb-linux-x64": "3.2.6", + "@lmdb/lmdb-win32-x64": "3.2.6" } }, "node_modules/loader-runner": { @@ -16643,6 +17726,7 @@ "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.11.5" } @@ -16653,6 +17737,7 @@ "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 12.13.0" } @@ -16690,7 +17775,8 @@ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/lodash.escaperegexp": { "version": "4.1.2", @@ -16998,9 +18084,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.11", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", - "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" @@ -17030,27 +18116,26 @@ "license": "ISC" }, "node_modules/make-fetch-happen": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz", - "integrity": "sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA==", + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-14.0.3.tgz", + "integrity": "sha512-QMjGbFTP0blj97EeidG5hk/QhKQ3T4ICckQGLgz38QF7Vgbk6e6FTARN8KhKxyBbWn8R0HU+bnw8aSoFPD4qtQ==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/agent": "^2.0.0", - "cacache": "^18.0.0", + "@npmcli/agent": "^3.0.0", + "cacache": "^19.0.1", "http-cache-semantics": "^4.1.1", - "is-lambda": "^1.0.1", "minipass": "^7.0.2", - "minipass-fetch": "^3.0.0", + "minipass-fetch": "^4.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "proc-log": "^4.2.0", + "negotiator": "^1.0.0", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1", - "ssri": "^10.0.0" + "ssri": "^12.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/makeerror": { @@ -17097,6 +18182,7 @@ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -17107,6 +18193,7 @@ "integrity": "sha512-NgYhCOWgovOXSzvYgUW0LQ7Qy72rWQMGGFJDoWg4G30RHd3z77VbYdtJ4fembJXBy8pMIUA31XNAupobOQlwdg==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "@jsonjoy.com/json-pack": "^1.0.3", "@jsonjoy.com/util": "^1.3.0", @@ -17140,6 +18227,7 @@ "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", "dev": true, "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/sindresorhus" } @@ -17166,6 +18254,7 @@ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -17201,6 +18290,7 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "mime": "cli.js" }, @@ -17254,11 +18344,12 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.0.tgz", - "integrity": "sha512-Zs1YsZVfemekSZG+44vBsYTLQORkPMwnlv+aehcxK/NLKC+EGhDB39/YePYYqx/sTk6NnYpuqikhSn7+JIevTA==", + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.2.tgz", + "integrity": "sha512-GJuACcS//jtq4kCtd5ii/M0SZf7OZRH+BxdqXZHaJfb8TJiVl+NgQRPwiYt2EuqeSkNydn/7vP+bcE27C5mb9w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "schema-utils": "^4.0.0", "tapable": "^2.2.1" @@ -17288,7 +18379,8 @@ "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/minimatch": { "version": "9.0.5", @@ -17338,18 +18430,18 @@ } }, "node_modules/minipass-fetch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", - "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.1.tgz", + "integrity": "sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==", "dev": true, "license": "MIT", "dependencies": { "minipass": "^7.0.3", "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" + "minizlib": "^3.0.1" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" }, "optionalDependencies": { "encoding": "^0.1.13" @@ -17455,39 +18547,18 @@ "license": "ISC" }, "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.2.tgz", + "integrity": "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA==", "dev": true, "license": "MIT", "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" + "minipass": "^7.1.2" }, "engines": { - "node": ">= 8" + "node": ">= 18" } }, - "node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib/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" - }, "node_modules/mitt": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", @@ -17518,9 +18589,9 @@ } }, "node_modules/mrmime": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", - "integrity": "sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", + "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==", "dev": true, "license": "MIT", "engines": { @@ -17539,6 +18610,7 @@ "integrity": "sha512-uaff7RG9VIC4jacFW9xzL3jc0iM32DNHe4jYVycBcjUePT/Klnfj7pqtWJt9khvDFizmjN2TlYniYmSS2LIaZg==", "dev": true, "license": "MIT", + "optional": true, "optionalDependencies": { "msgpackr-extract": "^3.0.2" } @@ -17572,6 +18644,7 @@ "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "dns-packet": "^5.2.2", "thunky": "^1.0.2" @@ -17581,13 +18654,13 @@ } }, "node_modules/mute-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", - "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/mz": { @@ -17633,6 +18706,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "iconv-lite": "^0.6.3", "sax": "^1.2.4" @@ -17645,9 +18719,9 @@ } }, "node_modules/negotiator": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", - "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", "dev": true, "license": "MIT", "engines": { @@ -17659,7 +18733,8 @@ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/netmask": { "version": "2.0.2", @@ -17683,36 +18758,13 @@ "@angular/material": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/nice-napi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", - "integrity": "sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "!win32" - ], - "dependencies": { - "node-addon-api": "^3.0.0", - "node-gyp-build": "^4.2.2" - } - }, - "node_modules/nice-napi/node_modules/node-addon-api": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", - "dev": true, - "license": "MIT", - "optional": true - }, "node_modules/node-addon-api": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/node-fetch": { "version": "2.7.0", @@ -17766,46 +18818,34 @@ "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", "dev": true, "license": "(BSD-3-Clause OR GPL-2.0)", + "peer": true, "engines": { "node": ">= 6.13.0" } }, "node_modules/node-gyp": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.3.1.tgz", - "integrity": "sha512-Pp3nFHBThHzVtNY7U6JfPjvT/DTE8+o/4xKsLQtBoU+j2HLsGlhcfzflAoUreaJbNmYnX+LlLi0qjV8kpyO6xQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-11.2.0.tgz", + "integrity": "sha512-T0S1zqskVUSxcsSTkAsLc7xCycrRYmtDHadDinzocrThjyQCn5kMlEBSj6H4qDbgsIOSLmmlRIeb0lZXj+UArA==", "dev": true, "license": "MIT", "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", - "glob": "^10.3.10", "graceful-fs": "^4.2.6", - "make-fetch-happen": "^13.0.0", - "nopt": "^7.0.0", - "proc-log": "^4.1.0", + "make-fetch-happen": "^14.0.3", + "nopt": "^8.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.5", - "tar": "^6.2.1", - "which": "^4.0.0" + "tar": "^7.4.3", + "tinyglobby": "^0.2.12", + "which": "^5.0.0" }, "bin": { "node-gyp": "bin/node-gyp.js" }, "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/node-gyp-build": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", - "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", - "dev": true, - "license": "MIT", - "optional": true, - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/node-gyp-build-optional-packages": { @@ -17814,6 +18854,7 @@ "integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { "detect-libc": "^2.0.1" }, @@ -17823,6 +18864,16 @@ "node-gyp-build-optional-packages-test": "build-test.js" } }, + "node_modules/node-gyp/node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/node-gyp/node_modules/isexe": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", @@ -17833,10 +18884,44 @@ "node": ">=16" } }, + "node_modules/node-gyp/node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/tar": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz", + "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/node-gyp/node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", "dev": true, "license": "ISC", "dependencies": { @@ -17846,7 +18931,17 @@ "node-which": "bin/which.js" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/node-gyp/node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" } }, "node_modules/node-int64": { @@ -17862,34 +18957,19 @@ "license": "MIT" }, "node_modules/nopt": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz", - "integrity": "sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", + "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", "dev": true, "license": "ISC", "dependencies": { - "abbrev": "^2.0.0" + "abbrev": "^3.0.0" }, "bin": { "nopt": "bin/nopt.js" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/normalize-package-data": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", - "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^7.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/normalize-path": { @@ -17907,109 +18987,110 @@ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } }, "node_modules/npm-bundled": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.1.tgz", - "integrity": "sha512-+AvaheE/ww1JEwRHOrn4WHNzOxGtVp+adrg2AeZS/7KuxGUYFuBta98wYpfHBbJp6Tg6j1NKSEVHNcfZzJHQwQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-4.0.0.tgz", + "integrity": "sha512-IxaQZDMsqfQ2Lz37VvyyEtKLe8FsRZuysmedy/N06TU1RyVppYKXrO4xIhR0F+7ubIBox6Q7nir6fQI3ej39iA==", "dev": true, "license": "ISC", "dependencies": { - "npm-normalize-package-bin": "^3.0.0" + "npm-normalize-package-bin": "^4.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-install-checks": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", - "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-7.1.1.tgz", + "integrity": "sha512-u6DCwbow5ynAX5BdiHQ9qvexme4U3qHW3MWe5NqH+NeBm0LbiH6zvGjNNew1fY+AZZUtVHbOPF3j7mJxbUzpXg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { "semver": "^7.1.1" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-normalize-package-bin": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", - "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz", + "integrity": "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-package-arg": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz", - "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-12.0.2.tgz", + "integrity": "sha512-f1NpFjNI9O4VbKMOlA5QoBq/vSQPORHcTZ2feJpFkTHJ9eQkdlmZEKSjcAhxTGInC7RlEyScT9ui67NaOsjFWA==", "dev": true, "license": "ISC", "dependencies": { - "hosted-git-info": "^7.0.0", - "proc-log": "^4.0.0", + "hosted-git-info": "^8.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.5", - "validate-npm-package-name": "^5.0.0" + "validate-npm-package-name": "^6.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-packlist": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.2.tgz", - "integrity": "sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-9.0.0.tgz", + "integrity": "sha512-8qSayfmHJQTx3nJWYbbUmflpyarbLMBc6LCAjYsiGtXxDB68HaZpb8re6zeaLGxZzDuMdhsg70jryJe+RrItVQ==", "dev": true, "license": "ISC", "dependencies": { - "ignore-walk": "^6.0.4" + "ignore-walk": "^7.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-pick-manifest": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.1.0.tgz", - "integrity": "sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-10.0.0.tgz", + "integrity": "sha512-r4fFa4FqYY8xaM7fHecQ9Z2nE9hgNfJR+EmoKv0+chvzWkBcORX3r0FpTByP+CbOVJDladMXnPQGVN8PBLGuTQ==", "dev": true, "license": "ISC", "dependencies": { - "npm-install-checks": "^6.0.0", - "npm-normalize-package-bin": "^3.0.0", - "npm-package-arg": "^11.0.0", + "npm-install-checks": "^7.1.0", + "npm-normalize-package-bin": "^4.0.0", + "npm-package-arg": "^12.0.0", "semver": "^7.3.5" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-registry-fetch": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-17.1.0.tgz", - "integrity": "sha512-5+bKQRH0J1xG1uZ1zMNvxW0VEyoNWgJpY9UDuluPFLKDfJ9u2JmmjmTJV1srBGQOROfdBMiVvnH2Zvpbm+xkVA==", + "version": "18.0.2", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-18.0.2.tgz", + "integrity": "sha512-LeVMZBBVy+oQb5R6FDV9OlJCcWDU+al10oKpe+nsvcHnG24Z3uM3SvJYKfGJlfGjVU8v9liejCrUR/M5HO5NEQ==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/redact": "^2.0.0", + "@npmcli/redact": "^3.0.0", "jsonparse": "^1.3.1", - "make-fetch-happen": "^13.0.0", + "make-fetch-happen": "^14.0.0", "minipass": "^7.0.2", - "minipass-fetch": "^3.0.0", - "minizlib": "^2.1.2", - "npm-package-arg": "^11.0.0", - "proc-log": "^4.0.0" + "minipass-fetch": "^4.0.0", + "minizlib": "^3.0.1", + "npm-package-arg": "^12.0.0", + "proc-log": "^5.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-run-path": { @@ -18091,7 +19172,8 @@ "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/on-finished": { "version": "2.4.1", @@ -18099,6 +19181,7 @@ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ee-first": "1.1.1" }, @@ -18112,6 +19195,7 @@ "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -18147,6 +19231,7 @@ "integrity": "sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "default-browser": "^5.2.1", "define-lazy-prop": "^3.0.0", @@ -18206,7 +19291,8 @@ "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.5.3.tgz", "integrity": "sha512-oGFr3T+pYdTGJ+YFEILMpS3es+GiIbs9h/XQrclBXUtd44ey7XwfsMzM31f64I1SQOawDoDr/D823kNCADI8TA==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/os-tmpdir": { "version": "1.0.2", @@ -18258,16 +19344,13 @@ } }, "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.3.tgz", + "integrity": "sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==", "dev": true, "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18279,6 +19362,7 @@ "integrity": "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/retry": "0.12.2", "is-network-error": "^1.0.0", @@ -18297,6 +19381,7 @@ "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 4" } @@ -18380,35 +19465,35 @@ "license": "BlueOak-1.0.0" }, "node_modules/pacote": { - "version": "18.0.6", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-18.0.6.tgz", - "integrity": "sha512-+eK3G27SMwsB8kLIuj4h1FUhHtwiEUo21Tw8wNjmvdlpOEr613edv+8FUsTj/4F/VN5ywGE19X18N7CC2EJk6A==", + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.0.tgz", + "integrity": "sha512-pRjC5UFwZCgx9kUFDVM9YEahv4guZ1nSLqwmWiLUnDbGsjs+U5w7z6Uc8HNR1a6x8qnu5y9xtGE6D1uAuYz+0A==", "dev": true, "license": "ISC", "dependencies": { - "@npmcli/git": "^5.0.0", - "@npmcli/installed-package-contents": "^2.0.1", - "@npmcli/package-json": "^5.1.0", - "@npmcli/promise-spawn": "^7.0.0", - "@npmcli/run-script": "^8.0.0", - "cacache": "^18.0.0", + "@npmcli/git": "^6.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "@npmcli/run-script": "^9.0.0", + "cacache": "^19.0.0", "fs-minipass": "^3.0.0", "minipass": "^7.0.2", - "npm-package-arg": "^11.0.0", - "npm-packlist": "^8.0.0", - "npm-pick-manifest": "^9.0.0", - "npm-registry-fetch": "^17.0.0", - "proc-log": "^4.0.0", + "npm-package-arg": "^12.0.0", + "npm-packlist": "^9.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1", - "sigstore": "^2.2.0", - "ssri": "^10.0.0", + "sigstore": "^3.0.0", + "ssri": "^12.0.0", "tar": "^6.1.11" }, "bin": { "pacote": "bin/index.js" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/pako": { @@ -18462,6 +19547,7 @@ "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.10" } @@ -18470,7 +19556,6 @@ "version": "7.3.0", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", - "devOptional": true, "license": "MIT", "dependencies": { "entities": "^6.0.0" @@ -18511,7 +19596,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "devOptional": true, "license": "BSD-2-Clause", "engines": { "node": ">=0.12" @@ -18526,6 +19610,7 @@ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -18599,7 +19684,8 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/path-type": { "version": "6.0.0", @@ -18607,6 +19693,7 @@ "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=18" }, @@ -18701,13 +19788,13 @@ } }, "node_modules/piscina": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/piscina/-/piscina-4.6.1.tgz", - "integrity": "sha512-z30AwWGtQE+Apr+2WBZensP2lIvwoaMcOPkQlIEmSGMJNUvaYACylPYrQM6wSdUNJlnDVMSpLv7xTMJqlVshOA==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/piscina/-/piscina-4.8.0.tgz", + "integrity": "sha512-EZJb+ZxDrQf3dihsUL7p42pjNyrNIFJCrRHPMgxu/svsj+P3xS3fuEWp7k2+rfsavfl1N0G29b1HGs7J0m8rZA==", "dev": true, "license": "MIT", "optionalDependencies": { - "nice-napi": "^1.0.2" + "@napi-rs/nice": "^1.0.1" } }, "node_modules/pkg-dir": { @@ -18716,6 +19803,7 @@ "integrity": "sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "find-up": "^6.3.0" }, @@ -18732,6 +19820,7 @@ "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "locate-path": "^7.1.0", "path-exists": "^5.0.0" @@ -18749,6 +19838,7 @@ "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "p-locate": "^6.0.0" }, @@ -18765,6 +19855,7 @@ "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "yocto-queue": "^1.0.0" }, @@ -18781,6 +19872,7 @@ "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "p-limit": "^4.0.0" }, @@ -18797,6 +19889,7 @@ "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } @@ -18807,6 +19900,7 @@ "integrity": "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12.20" }, @@ -18815,9 +19909,9 @@ } }, "node_modules/postcss": { - "version": "8.4.41", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", - "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", + "version": "8.5.2", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.2.tgz", + "integrity": "sha512-MjOadfU3Ys9KYoX0AdkBlFEF1Vx37uCCeN4ZHnmwm9FfpbsGWMZeBLMmmpY+6Ocqod7mkdZ0DT31OlbsFrLlkA==", "funding": [ { "type": "opencollective", @@ -18834,9 +19928,9 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.0.1", - "source-map-js": "^1.2.0" + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12 || >=14" @@ -18878,47 +19972,13 @@ "postcss": "^8.4.21" } }, - "node_modules/postcss-load-config": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", - "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "lilconfig": "^3.0.0", - "yaml": "^2.3.4" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "postcss": ">=8.0.9", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, "node_modules/postcss-loader": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.1.1.tgz", "integrity": "sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "cosmiconfig": "^9.0.0", "jiti": "^1.20.0", @@ -18958,6 +20018,7 @@ "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", "dev": true, "license": "ISC", + "peer": true, "engines": { "node": "^10 || ^12 || >= 14" }, @@ -18971,6 +20032,7 @@ "integrity": "sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "icss-utils": "^5.0.0", "postcss-selector-parser": "^7.0.0", @@ -18989,6 +20051,7 @@ "integrity": "sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "postcss-selector-parser": "^7.0.0" }, @@ -19005,6 +20068,7 @@ "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "icss-utils": "^5.0.0" }, @@ -19216,13 +20280,13 @@ } }, "node_modules/proc-log": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-5.0.0.tgz", + "integrity": "sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/process": { @@ -19250,13 +20314,6 @@ "node": ">=0.4.0" } }, - "node_modules/promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", - "dev": true, - "license": "ISC" - }, "node_modules/promise-retry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", @@ -19594,6 +20651,7 @@ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" @@ -19608,6 +20666,7 @@ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.10" } @@ -19732,7 +20791,8 @@ "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", "dev": true, "license": "MIT", - "optional": true + "optional": true, + "peer": true }, "node_modules/psl": { "version": "1.15.0", @@ -19769,9 +20829,9 @@ } }, "node_modules/puppeteer": { - "version": "24.10.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.10.0.tgz", - "integrity": "sha512-Oua9VkGpj0S2psYu5e6mCer6W9AU9POEQh22wRgSXnLXASGH+MwLUVWgLCLeP9QPHHcJ7tySUlg4Sa9OJmaLpw==", + "version": "24.10.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.10.1.tgz", + "integrity": "sha512-7T3rfSaaPt5A31VITV5YKQ4wPCCv4aPn8byDaV+9lhDU9v7BWYY4Ncwerw3ZR5mIolrh/PvzGdIDK7yiBth75g==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -19780,7 +20840,7 @@ "chromium-bidi": "5.1.0", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1452169", - "puppeteer-core": "24.10.0", + "puppeteer-core": "24.10.1", "typed-query-selector": "^2.12.0" }, "bin": { @@ -19791,9 +20851,9 @@ } }, "node_modules/puppeteer-core": { - "version": "24.10.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.10.0.tgz", - "integrity": "sha512-xX0QJRc8t19iAwRDsAOR38Q/Zx/W6WVzJCEhKCAwp2XMsaWqfNtQ+rBfQW9PlF+Op24d7c8Zlgq9YNmbnA7hdQ==", + "version": "24.10.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.10.1.tgz", + "integrity": "sha512-AE6doA9znmEEps/pC5lc9p0zejCdNLR6UBp3EZ49/15Nbvh+uklXxGox7Qh8/lFGqGVwxInl0TXmsOmIuIMwiQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -19896,6 +20956,7 @@ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "safe-buffer": "^5.1.0" } @@ -19906,6 +20967,7 @@ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -19916,6 +20978,7 @@ "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -19932,6 +20995,7 @@ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -19991,27 +21055,16 @@ } }, "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/readdirp/node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">= 14.18.0" }, "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, "node_modules/reflect-metadata": { @@ -20025,7 +21078,8 @@ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/regenerate-unicode-properties": { "version": "10.2.0", @@ -20033,6 +21087,7 @@ "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "regenerate": "^1.4.2" }, @@ -20051,7 +21106,8 @@ "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.3.1.tgz", "integrity": "sha512-yXLRqatcCuKtVHsWrNg0JL3l1zGfdXeEvDa0bdu4tCDQw0RpMDZsqbkyRTUnKMR0tXF627V2oEWjBEaEdqTwtQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/regexpu-core": { "version": "6.2.0", @@ -20059,6 +21115,7 @@ "integrity": "sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "regenerate": "^1.4.2", "regenerate-unicode-properties": "^10.2.0", @@ -20076,7 +21133,8 @@ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/regjsparser": { "version": "0.12.0", @@ -20084,6 +21142,7 @@ "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "dependencies": { "jsesc": "~3.0.2" }, @@ -20097,6 +21156,7 @@ "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, "license": "MIT", + "peer": true, "bin": { "jsesc": "bin/jsesc" }, @@ -20262,18 +21322,21 @@ "license": "MIT" }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "license": "MIT", "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -20317,6 +21380,7 @@ "integrity": "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "adjust-sourcemap-loader": "^4.0.0", "convert-source-map": "^1.7.0", @@ -20334,6 +21398,7 @@ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", @@ -20349,6 +21414,7 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -20489,13 +21555,13 @@ "license": "Unlicense" }, "node_modules/rollup": { - "version": "4.22.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.22.4.tgz", - "integrity": "sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==", + "version": "4.34.8", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.34.8.tgz", + "integrity": "sha512-489gTVMzAYdiZHFVA/ig/iYFllCcWFHMvUHI1rpFmkoUtRlQxqh6/yiNqnYibjMZ2b/+FUQwldG+aLsEt6bglQ==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.5" + "@types/estree": "1.0.6" }, "bin": { "rollup": "dist/bin/rollup" @@ -20505,29 +21571,32 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.22.4", - "@rollup/rollup-android-arm64": "4.22.4", - "@rollup/rollup-darwin-arm64": "4.22.4", - "@rollup/rollup-darwin-x64": "4.22.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.22.4", - "@rollup/rollup-linux-arm-musleabihf": "4.22.4", - "@rollup/rollup-linux-arm64-gnu": "4.22.4", - "@rollup/rollup-linux-arm64-musl": "4.22.4", - "@rollup/rollup-linux-powerpc64le-gnu": "4.22.4", - "@rollup/rollup-linux-riscv64-gnu": "4.22.4", - "@rollup/rollup-linux-s390x-gnu": "4.22.4", - "@rollup/rollup-linux-x64-gnu": "4.22.4", - "@rollup/rollup-linux-x64-musl": "4.22.4", - "@rollup/rollup-win32-arm64-msvc": "4.22.4", - "@rollup/rollup-win32-ia32-msvc": "4.22.4", - "@rollup/rollup-win32-x64-msvc": "4.22.4", + "@rollup/rollup-android-arm-eabi": "4.34.8", + "@rollup/rollup-android-arm64": "4.34.8", + "@rollup/rollup-darwin-arm64": "4.34.8", + "@rollup/rollup-darwin-x64": "4.34.8", + "@rollup/rollup-freebsd-arm64": "4.34.8", + "@rollup/rollup-freebsd-x64": "4.34.8", + "@rollup/rollup-linux-arm-gnueabihf": "4.34.8", + "@rollup/rollup-linux-arm-musleabihf": "4.34.8", + "@rollup/rollup-linux-arm64-gnu": "4.34.8", + "@rollup/rollup-linux-arm64-musl": "4.34.8", + "@rollup/rollup-linux-loongarch64-gnu": "4.34.8", + "@rollup/rollup-linux-powerpc64le-gnu": "4.34.8", + "@rollup/rollup-linux-riscv64-gnu": "4.34.8", + "@rollup/rollup-linux-s390x-gnu": "4.34.8", + "@rollup/rollup-linux-x64-gnu": "4.34.8", + "@rollup/rollup-linux-x64-musl": "4.34.8", + "@rollup/rollup-win32-arm64-msvc": "4.34.8", + "@rollup/rollup-win32-ia32-msvc": "4.34.8", + "@rollup/rollup-win32-x64-msvc": "4.34.8", "fsevents": "~2.3.2" } }, "node_modules/rollup/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "dev": true, "license": "MIT" }, @@ -20537,6 +21606,7 @@ "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=18" }, @@ -20647,14 +21717,14 @@ "license": "MIT" }, "node_modules/sass": { - "version": "1.77.6", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.6.tgz", - "integrity": "sha512-ByXE1oLD79GVq9Ht1PeHWCPMPB8XHpBuz1r85oByKHjZY6qV6rWnQovQzXJXuQ/XyE1Oj3iPk3lo28uzaRA2/Q==", + "version": "1.85.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.85.0.tgz", + "integrity": "sha512-3ToiC1xZ1Y8aU7+CkgCI/tqyuPXEmYGJXO7H4uqp0xkLXUqp88rQQ4j1HmP37xSJLbCJPaIiv+cT1y+grssrww==", "dev": true, "license": "MIT", "dependencies": { - "chokidar": ">=3.0.0 <4.0.0", - "immutable": "^4.0.0", + "chokidar": "^4.0.0", + "immutable": "^5.0.2", "source-map-js": ">=0.6.2 <2.0.0" }, "bin": { @@ -20662,14 +21732,18 @@ }, "engines": { "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" } }, "node_modules/sass-loader": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.0.tgz", - "integrity": "sha512-n13Z+3rU9A177dk4888czcVFiC8CL9dii4qpXWUg3YIIgZEvi9TCFKjOQcbK0kJM7DJu9VucrZFddvNfYCPwtw==", + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.5.tgz", + "integrity": "sha512-oL+CMBXrj6BZ/zOq4os+UECPL+bWqt6OAC6DWS8Ln8GZRcMDjlJ4JC3FBDuHJdYaFWIdKNIBYmtZtK2MaMkNIw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "neo-async": "^2.6.2" }, @@ -20779,6 +21853,7 @@ "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", @@ -20799,6 +21874,7 @@ "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ajv": "^8.0.0" }, @@ -20816,7 +21892,8 @@ "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/selenium-webdriver": { "version": "3.6.0", @@ -20913,6 +21990,7 @@ "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node-forge": "^1.3.0", "node-forge": "^1" @@ -20922,9 +22000,9 @@ } }, "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -20939,6 +22017,7 @@ "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "debug": "2.6.9", "depd": "2.0.0", @@ -20964,6 +22043,7 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -20973,7 +22053,8 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/send/node_modules/encodeurl": { "version": "1.0.2", @@ -20981,6 +22062,7 @@ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -20991,6 +22073,7 @@ "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "randombytes": "^2.1.0" } @@ -21001,6 +22084,7 @@ "integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "accepts": "~1.3.4", "batch": "0.6.1", @@ -21020,6 +22104,7 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -21030,6 +22115,7 @@ "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -21040,6 +22126,7 @@ "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "depd": "~1.1.2", "inherits": "2.0.3", @@ -21055,21 +22142,24 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/serve-index/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/serve-index/node_modules/setprototypeof": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/serve-index/node_modules/statuses": { "version": "1.5.0", @@ -21077,6 +22167,7 @@ "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.6" } @@ -21087,6 +22178,7 @@ "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "encodeurl": "~2.0.0", "escape-html": "~1.0.3", @@ -21115,7 +22207,8 @@ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/shallow-clone": { "version": "3.0.1", @@ -21123,6 +22216,7 @@ "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "kind-of": "^6.0.2" }, @@ -21157,6 +22251,7 @@ "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.4" }, @@ -21253,21 +22348,21 @@ } }, "node_modules/sigstore": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-2.3.1.tgz", - "integrity": "sha512-8G+/XDU8wNsJOQS5ysDVO0Etg9/2uA5gR9l4ZwijjlwxBcrU6RPfwi2+jJmbP+Ap1Hlp/nVAaEO4Fj22/SL2gQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-3.1.0.tgz", + "integrity": "sha512-ZpzWAFHIFqyFE56dXqgX/DkDRZdz+rRcjoIk/RQU4IX0wiCv1l8S7ZrXDHcCc+uaf+6o7w3h2l3g6GYG5TKN9Q==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.3.2", - "@sigstore/core": "^1.0.0", - "@sigstore/protobuf-specs": "^0.3.2", - "@sigstore/sign": "^2.3.2", - "@sigstore/tuf": "^2.3.4", - "@sigstore/verify": "^1.2.1" + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "@sigstore/sign": "^3.1.0", + "@sigstore/tuf": "^3.1.0", + "@sigstore/verify": "^2.1.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/sisteransi": { @@ -21283,6 +22378,7 @@ "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=14.16" }, @@ -21337,6 +22433,7 @@ "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "faye-websocket": "^0.11.3", "uuid": "^8.3.2", @@ -21397,6 +22494,7 @@ "integrity": "sha512-k2Dur7CbSLcAH73sBcIkV5xjPV4SzqO1NJ7+XaQl8if3VODDUj3FNchNGpqgJSKbvUfJuhVdv8K2Eu8/TNl2eA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "iconv-lite": "^0.6.3", "source-map-js": "^1.0.2" @@ -21416,7 +22514,7 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", @@ -21427,7 +22525,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -21475,6 +22573,7 @@ "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "debug": "^4.1.0", "handle-thing": "^2.0.0", @@ -21492,6 +22591,7 @@ "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "debug": "^4.1.0", "detect-node": "^2.0.4", @@ -21542,16 +22642,16 @@ "license": "MIT" }, "node_modules/ssri": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", - "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-12.0.0.tgz", + "integrity": "sha512-S7iGNosepx9RadX82oimUkvr0Ct7IjJbEbs4mJcTxst8um95J3sDYU1RBEOvdu6oL1Wek2ODI5i4MAw+dZ6cAQ==", "dev": true, "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/stack-utils": { @@ -21593,6 +22693,7 @@ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -21931,23 +23032,6 @@ "dev": true, "license": "MIT" }, - "node_modules/stylelint/node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, "node_modules/stylelint/node_modules/file-entry-cache": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.1.tgz", @@ -21970,19 +23054,6 @@ "hookified": "^1.9.1" } }, - "node_modules/stylelint/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/stylelint/node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -22109,15 +23180,19 @@ } }, "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==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, "node_modules/supports-hyperlinks": { @@ -22137,6 +23212,19 @@ "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" } }, + "node_modules/supports-hyperlinks/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", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", @@ -22264,19 +23352,63 @@ "node": ">=14.0.0" } }, - "node_modules/tailwindcss/node_modules/postcss": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.5.tgz", - "integrity": "sha512-d/jtm+rdNT8tpXuHY5MMtcbJFBkhXE6593XVR9UoGCH8jSFGci7jGvMGH5RYd5PBJW+00NZQt6gf7CbagJCrhg==", + "node_modules/tailwindcss/node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/tailwindcss/node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/tailwindcss/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/tailwindcss/node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", "funding": [ { "type": "opencollective", "url": "https://opencollective.com/postcss/" }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, { "type": "github", "url": "https://github.com/sponsors/ai" @@ -22284,12 +23416,23 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.11", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } } }, "node_modules/tailwindcss/node_modules/postcss-selector-parser": { @@ -22305,12 +23448,78 @@ "node": ">=4" } }, + "node_modules/tailwindcss/node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/tailwindcss/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tailwindcss/node_modules/ts-node/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/tapable": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.2.tgz", "integrity": "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -22395,6 +23604,33 @@ "node": ">=8" } }, + "node_modules/tar/node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tar/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/tar/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -22403,11 +23639,12 @@ "license": "ISC" }, "node_modules/terser": { - "version": "5.31.6", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz", - "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", + "version": "5.39.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.0.tgz", + "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -22427,6 +23664,7 @@ "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", @@ -22462,6 +23700,7 @@ "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -22471,28 +23710,13 @@ "node": ">= 10.13.0" } }, - "node_modules/terser-webpack-plugin/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/test-exclude": { "version": "6.0.0", @@ -22607,6 +23831,7 @@ "integrity": "sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g==", "dev": true, "license": "Unlicense", + "peer": true, "engines": { "node": ">=10.18" }, @@ -22636,7 +23861,25 @@ "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true + }, + "node_modules/tinyglobby": { + "version": "0.2.14", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz", + "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } }, "node_modules/tldts": { "version": "6.1.86", @@ -22692,6 +23935,7 @@ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.6" } @@ -22737,6 +23981,7 @@ "integrity": "sha512-il+Cv80yVHFBwokQSfd4bldvr1Md951DpgAGfmhydt04L+YzHgubm2tQ7zueWDcGENKHq0ZvGFR/hjvNXilHEg==", "dev": true, "license": "Apache-2.0", + "peer": true, "engines": { "node": ">=10.0" }, @@ -22778,16 +24023,15 @@ "license": "Apache-2.0" }, "node_modules/ts-jest": { - "version": "29.3.4", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.3.4.tgz", - "integrity": "sha512-Iqbrm8IXOmV+ggWHOTEbjwyCf2xZlUMv5npExksXohL+tk8va4Fjhb+X2+Rt9NBmgO7bJ8WpnMLOwih/DnMlFA==", + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.0.tgz", + "integrity": "sha512-d423TJMnJGu80/eSgfQ5w/R+0zFJvdtTxwtF9KzFFunOpSeD+79lHJQIiAhluJoyGRbvj9NZJsl9WjCUo0ND7Q==", "dev": true, "license": "MIT", "dependencies": { "bs-logger": "^0.2.6", "ejs": "^3.1.10", "fast-json-stable-stringify": "^2.1.0", - "jest-util": "^29.0.0", "json5": "^2.2.3", "lodash.memoize": "^4.1.2", "make-error": "^1.3.6", @@ -22803,10 +24047,11 @@ }, "peerDependencies": { "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/transform": "^29.0.0", - "@jest/types": "^29.0.0", - "babel-jest": "^29.0.0", - "jest": "^29.0.0", + "@jest/transform": "^29.0.0 || ^30.0.0", + "@jest/types": "^29.0.0 || ^30.0.0", + "babel-jest": "^29.0.0 || ^30.0.0", + "jest": "^29.0.0 || ^30.0.0", + "jest-util": "^29.0.0 || ^30.0.0", "typescript": ">=4.3 <6" }, "peerDependenciesMeta": { @@ -22824,6 +24069,9 @@ }, "esbuild": { "optional": true + }, + "jest-util": { + "optional": true } } }, @@ -22857,7 +24105,7 @@ "version": "8.2.0", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.2.0.tgz", "integrity": "sha512-m8XQwUurkbYqXrKqr3WHCW310utRNvV5OnRVeISeea7LoCWVcdfeB/Ntl8JYWFh+WRoUAdBgESrzKochQt7sMw==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "arg": "^4.1.0", @@ -22880,7 +24128,7 @@ "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/tsconfig": { @@ -22948,18 +24196,18 @@ "license": "0BSD" }, "node_modules/tuf-js": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-2.2.1.tgz", - "integrity": "sha512-GwIJau9XaA8nLVbUXsN3IlFi7WmQ48gBUrl3FTkkL/XLu/POhBzfmX9hd33FNMX1qAsfl6ozO1iMmW9NC8YniA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-3.0.1.tgz", + "integrity": "sha512-+68OP1ZzSF84rTckf3FA95vJ1Zlx/uaXyiiKyPd1pA4rZNkpEvDAKmsu1xUSmbF/chCRYgZ6UZkDwC7PmzmAyA==", "dev": true, "license": "MIT", "dependencies": { - "@tufjs/models": "2.0.1", - "debug": "^4.3.4", - "make-fetch-happen": "^13.0.1" + "@tufjs/models": "3.0.1", + "debug": "^4.3.6", + "make-fetch-happen": "^14.0.1" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/tunnel-agent": { @@ -23024,6 +24272,7 @@ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" @@ -23037,7 +24286,8 @@ "resolved": "https://registry.npmjs.org/typed-assert/-/typed-assert-1.0.9.tgz", "integrity": "sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/typed-query-selector": { "version": "2.12.0", @@ -23047,9 +24297,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -23063,7 +24313,7 @@ "version": "6.21.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { @@ -23072,6 +24322,7 @@ "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=4" } @@ -23082,6 +24333,7 @@ "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "unicode-canonical-property-names-ecmascript": "^2.0.0", "unicode-property-aliases-ecmascript": "^2.0.0" @@ -23096,6 +24348,7 @@ "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=4" } @@ -23106,6 +24359,7 @@ "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=4" } @@ -23116,6 +24370,7 @@ "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=18" }, @@ -23124,29 +24379,29 @@ } }, "node_modules/unique-filename": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", - "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-4.0.0.tgz", + "integrity": "sha512-XSnEewXmQ+veP7xX2dS5Q4yZAvO40cBN2MWkJ7D/6sW4Dg6wYBNwM1Vrnz1FhH5AdeLIlUXRI9e28z1YZi71NQ==", "dev": true, "license": "ISC", "dependencies": { - "unique-slug": "^4.0.0" + "unique-slug": "^5.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/unique-slug": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", - "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-5.0.0.tgz", + "integrity": "sha512-9OdaqO5kwqR+1kVgHAhsp5vPNU0hnxRa26rBFNfNgM7M6pNtgzeBn3s/xbyCQL3dcjzOatcef6UUHpB/6MaETg==", "dev": true, "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/universalify": { @@ -23164,6 +24419,7 @@ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -23268,6 +24524,7 @@ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.4.0" } @@ -23294,7 +24551,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/v8-to-istanbul": { @@ -23331,13 +24588,13 @@ } }, "node_modules/validate-npm-package-name": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", - "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-6.0.1.tgz", + "integrity": "sha512-OaI//3H0J7ZkR1OqlhGA8cA+Cbk/2xFOQpJOt5+s27/ta9eZwpeervh4Mxh4w0im/kdgktowaqVNR7QOrUd7Yg==", "dev": true, "license": "ISC", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/vanilla-colorful": { @@ -23352,6 +24609,7 @@ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8" } @@ -23372,21 +24630,25 @@ } }, "node_modules/vite": { - "version": "5.4.19", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.19.tgz", - "integrity": "sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA==", + "version": "6.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz", + "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { - "esbuild": "^0.21.3", - "postcss": "^8.4.43", - "rollup": "^4.20.0" + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" }, "bin": { "vite": "bin/vite.js" }, "engines": { - "node": "^18.0.0 || >=20.0.0" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" }, "funding": { "url": "https://github.com/vitejs/vite?sponsor=1" @@ -23395,19 +24657,25 @@ "fsevents": "~2.3.3" }, "peerDependencies": { - "@types/node": "^18.0.0 || >=20.0.0", + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", - "terser": "^5.4.0" + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" }, "peerDependenciesMeta": { "@types/node": { "optional": true }, + "jiti": { + "optional": true + }, "less": { "optional": true }, @@ -23428,30 +24696,19 @@ }, "terser": { "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true } } }, - "node_modules/vite/node_modules/@esbuild/aix-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", - "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", - "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "node_modules/vite/node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.43.0.tgz", + "integrity": "sha512-Krjy9awJl6rKbruhQDgivNbD1WuLb8xAclM4IR4cN5pHGAs2oIMMQJEiC3IC/9TZJ+QZkmZhlMO/6MBGxPidpw==", "cpu": [ "arm" ], @@ -23461,14 +24718,12 @@ "os": [ "android" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/android-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", - "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "node_modules/vite/node_modules/@rollup/rollup-android-arm64": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.43.0.tgz", + "integrity": "sha512-ss4YJwRt5I63454Rpj+mXCXicakdFmKnUNxr1dLK+5rv5FJgAxnN7s31a5VchRYxCFWdmnDWKd0wbAdTr0J5EA==", "cpu": [ "arm64" ], @@ -23478,31 +24733,12 @@ "os": [ "android" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/android-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", - "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/darwin-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", - "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "node_modules/vite/node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.43.0.tgz", + "integrity": "sha512-eKoL8ykZ7zz8MjgBenEF2OoTNFAPFz1/lyJ5UmmFSz5jW+7XbH1+MAgCVHy72aG59rbuQLcJeiMrP8qP5d/N0A==", "cpu": [ "arm64" ], @@ -23512,14 +24748,12 @@ "os": [ "darwin" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/darwin-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", - "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "node_modules/vite/node_modules/@rollup/rollup-darwin-x64": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.43.0.tgz", + "integrity": "sha512-SYwXJgaBYW33Wi/q4ubN+ldWC4DzQY62S4Ll2dgfr/dbPoF50dlQwEaEHSKrQdSjC6oIe1WgzosoaNoHCdNuMg==", "cpu": [ "x64" ], @@ -23529,14 +24763,12 @@ "os": [ "darwin" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", - "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "node_modules/vite/node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.43.0.tgz", + "integrity": "sha512-SV+U5sSo0yujrjzBF7/YidieK2iF6E7MdF6EbYxNz94lA+R0wKl3SiixGyG/9Klab6uNBIqsN7j4Y/Fya7wAjQ==", "cpu": [ "arm64" ], @@ -23546,14 +24778,12 @@ "os": [ "freebsd" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/freebsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", - "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "node_modules/vite/node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.43.0.tgz", + "integrity": "sha512-J7uCsiV13L/VOeHJBo5SjasKiGxJ0g+nQTrBkAsmQBIdil3KhPnSE9GnRon4ejX1XDdsmK/l30IYLiAaQEO0Cg==", "cpu": [ "x64" ], @@ -23563,14 +24793,12 @@ "os": [ "freebsd" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", - "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "node_modules/vite/node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.43.0.tgz", + "integrity": "sha512-gTJ/JnnjCMc15uwB10TTATBEhK9meBIY+gXP4s0sHD1zHOaIh4Dmy1X9wup18IiY9tTNk5gJc4yx9ctj/fjrIw==", "cpu": [ "arm" ], @@ -23580,14 +24808,27 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", - "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "node_modules/vite/node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.43.0.tgz", + "integrity": "sha512-ZJ3gZynL1LDSIvRfz0qXtTNs56n5DI2Mq+WACWZ7yGHFUEirHBRt7fyIk0NsCKhmRhn7WAcjgSkSVVxKlPNFFw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true + }, + "node_modules/vite/node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.43.0.tgz", + "integrity": "sha512-8FnkipasmOOSSlfucGYEu58U8cxEdhziKjPD2FIa0ONVMxvl/hmONtX/7y4vGjdUhjcTHlKlDhw3H9t98fPvyA==", "cpu": [ "arm64" ], @@ -23597,16 +24838,14 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", - "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "node_modules/vite/node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.43.0.tgz", + "integrity": "sha512-KPPyAdlcIZ6S9C3S2cndXDkV0Bb1OSMsX0Eelr2Bay4EsF9yi9u9uzc9RniK3mcUGCLhWY9oLr6er80P5DE6XA==", "cpu": [ - "ia32" + "arm64" ], "dev": true, "license": "MIT", @@ -23614,14 +24853,12 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-loong64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", - "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "node_modules/vite/node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.43.0.tgz", + "integrity": "sha512-HPGDIH0/ZzAZjvtlXj6g+KDQ9ZMHfSP553za7o2Odegb/BEfwJcR0Sw0RLNpQ9nC6Gy8s+3mSS9xjZ0n3rhcYg==", "cpu": [ "loong64" ], @@ -23631,31 +24868,12 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-mips64el": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", - "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", - "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "node_modules/vite/node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.43.0.tgz", + "integrity": "sha512-gEmwbOws4U4GLAJDhhtSPWPXUzDfMRedT3hFMyRAvM9Mrnj+dJIFIeL7otsv2WF3D7GrV0GIewW0y28dOYWkmw==", "cpu": [ "ppc64" ], @@ -23665,14 +24883,12 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-riscv64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", - "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "node_modules/vite/node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.43.0.tgz", + "integrity": "sha512-XXKvo2e+wFtXZF/9xoWohHg+MuRnvO29TI5Hqe9xwN5uN8NKUYy7tXUG3EZAlfchufNCTHNGjEx7uN78KsBo0g==", "cpu": [ "riscv64" ], @@ -23682,14 +24898,12 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-s390x": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", - "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "node_modules/vite/node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.43.0.tgz", + "integrity": "sha512-QmNIAqDiEMEvFV15rsSnjoSmO0+eJLoKRD9EAa9rrYNwO/XRCtOGM3A5A0X+wmG+XRrw9Fxdsw+LnyYiZWWcVw==", "cpu": [ "s390x" ], @@ -23699,14 +24913,12 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/linux-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", - "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "node_modules/vite/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.43.0.tgz", + "integrity": "sha512-jAHr/S0iiBtFyzjhOkAics/2SrXE092qyqEg96e90L3t9Op8OTzS6+IX0Fy5wCt2+KqeHAkti+eitV0wvblEoQ==", "cpu": [ "x64" ], @@ -23716,14 +24928,12 @@ "os": [ "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/netbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", - "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "node_modules/vite/node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.43.0.tgz", + "integrity": "sha512-3yATWgdeXyuHtBhrLt98w+5fKurdqvs8B53LaoKD7P7H7FKOONLsBVMNl9ghPQZQuYcceV5CDyPfyfGpMWD9mQ==", "cpu": [ "x64" ], @@ -23731,50 +24941,14 @@ "license": "MIT", "optional": true, "os": [ - "netbsd" + "linux" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/openbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", - "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/sunos-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", - "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", - "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "node_modules/vite/node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.43.0.tgz", + "integrity": "sha512-wVzXp2qDSCOpcBCT5WRWLmpJRIzv23valvcTwMHEobkjippNf+C3ys/+wf07poPkeNix0paTNemB2XrHr2TnGw==", "cpu": [ "arm64" ], @@ -23784,14 +24958,12 @@ "os": [ "win32" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/win32-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", - "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "node_modules/vite/node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.43.0.tgz", + "integrity": "sha512-fYCTEyzf8d+7diCw8b+asvWDCLMjsCEA8alvtAutqJOJp/wL5hs1rWSqJ1vkjgW0L2NB4bsYJrpKkiIPRR9dvw==", "cpu": [ "ia32" ], @@ -23801,14 +24973,12 @@ "os": [ "win32" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/@esbuild/win32-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", - "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "node_modules/vite/node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.43.0.tgz", + "integrity": "sha512-SnGhLiE5rlK0ofq8kzuDkM0g7FN1s5VYY+YSMTibP7CqShxCQvqtNxTARS4xX4PFJfHjG0ZQYX9iGzI3FQh5Aw==", "cpu": [ "x64" ], @@ -23818,48 +24988,15 @@ "os": [ "win32" ], - "engines": { - "node": ">=12" - } + "peer": true }, - "node_modules/vite/node_modules/esbuild": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", - "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "node_modules/vite/node_modules/@types/estree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz", + "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==", "dev": true, - "hasInstallScript": true, "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.21.5", - "@esbuild/android-arm": "0.21.5", - "@esbuild/android-arm64": "0.21.5", - "@esbuild/android-x64": "0.21.5", - "@esbuild/darwin-arm64": "0.21.5", - "@esbuild/darwin-x64": "0.21.5", - "@esbuild/freebsd-arm64": "0.21.5", - "@esbuild/freebsd-x64": "0.21.5", - "@esbuild/linux-arm": "0.21.5", - "@esbuild/linux-arm64": "0.21.5", - "@esbuild/linux-ia32": "0.21.5", - "@esbuild/linux-loong64": "0.21.5", - "@esbuild/linux-mips64el": "0.21.5", - "@esbuild/linux-ppc64": "0.21.5", - "@esbuild/linux-riscv64": "0.21.5", - "@esbuild/linux-s390x": "0.21.5", - "@esbuild/linux-x64": "0.21.5", - "@esbuild/netbsd-x64": "0.21.5", - "@esbuild/openbsd-x64": "0.21.5", - "@esbuild/sunos-x64": "0.21.5", - "@esbuild/win32-arm64": "0.21.5", - "@esbuild/win32-ia32": "0.21.5", - "@esbuild/win32-x64": "0.21.5" - } + "peer": true }, "node_modules/vite/node_modules/postcss": { "version": "8.5.5", @@ -23881,6 +25018,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -23890,6 +25028,47 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/vite/node_modules/rollup": { + "version": "4.43.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.43.0.tgz", + "integrity": "sha512-wdN2Kd3Twh8MAEOEJZsuxuLKCsBEo4PVNLK6tQWAn10VhsVewQLzcucMgLolRlhFybGxfclbPeEYBaP6RvUFGg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@types/estree": "1.0.7" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.43.0", + "@rollup/rollup-android-arm64": "4.43.0", + "@rollup/rollup-darwin-arm64": "4.43.0", + "@rollup/rollup-darwin-x64": "4.43.0", + "@rollup/rollup-freebsd-arm64": "4.43.0", + "@rollup/rollup-freebsd-x64": "4.43.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.43.0", + "@rollup/rollup-linux-arm-musleabihf": "4.43.0", + "@rollup/rollup-linux-arm64-gnu": "4.43.0", + "@rollup/rollup-linux-arm64-musl": "4.43.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.43.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.43.0", + "@rollup/rollup-linux-riscv64-gnu": "4.43.0", + "@rollup/rollup-linux-riscv64-musl": "4.43.0", + "@rollup/rollup-linux-s390x-gnu": "4.43.0", + "@rollup/rollup-linux-x64-gnu": "4.43.0", + "@rollup/rollup-linux-x64-musl": "4.43.0", + "@rollup/rollup-win32-arm64-msvc": "4.43.0", + "@rollup/rollup-win32-ia32-msvc": "4.43.0", + "@rollup/rollup-win32-x64-msvc": "4.43.0", + "fsevents": "~2.3.2" + } + }, "node_modules/vkbeautify": { "version": "0.99.3", "resolved": "https://registry.npmjs.org/vkbeautify/-/vkbeautify-0.99.3.tgz", @@ -23920,9 +25099,9 @@ } }, "node_modules/watchpack": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz", - "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", "dev": true, "license": "MIT", "dependencies": { @@ -23939,6 +25118,7 @@ "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "minimalistic-assert": "^1.0.0" } @@ -23957,7 +25137,8 @@ "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz", "integrity": "sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/webcola": { "version": "3.4.0", @@ -24212,19 +25393,20 @@ } }, "node_modules/webpack": { - "version": "5.94.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz", - "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==", + "version": "5.98.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.98.0.tgz", + "integrity": "sha512-UFynvx+gM44Gv9qFgj0acCQK2VE1CtdfwFdimkapco3hlPCJ/zeq73n2yVKimVbtm+TnApIugGhLJnkU6gjYXA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { - "@types/estree": "^1.0.5", - "@webassemblyjs/ast": "^1.12.1", - "@webassemblyjs/wasm-edit": "^1.12.1", - "@webassemblyjs/wasm-parser": "^1.12.1", - "acorn": "^8.7.1", - "acorn-import-attributes": "^1.9.5", - "browserslist": "^4.21.10", + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.6", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.14.0", + "browserslist": "^4.24.0", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.17.1", "es-module-lexer": "^1.2.1", @@ -24236,9 +25418,9 @@ "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.2.0", + "schema-utils": "^4.3.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.10", + "terser-webpack-plugin": "^5.3.11", "watchpack": "^2.4.1", "webpack-sources": "^3.2.3" }, @@ -24264,6 +25446,7 @@ "integrity": "sha512-xOO8n6eggxnwYpy1NlzUKpvrjfJTvae5/D6WOK0S2LSo7vjmo5gCM1DbLUmFqrMTJP+W/0YZNctm7jasWvLuBA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "colorette": "^2.0.10", "memfs": "^4.6.0", @@ -24294,6 +25477,7 @@ "integrity": "sha512-QcQ72gh8a+7JO63TAx/6XZf/CWhgMzu5m0QirvPfGvptOusAxG12w2+aua1Jkjr7hzaWDnJ2n6JFeexMHI+Zjg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/bonjour": "^3.5.13", "@types/connect-history-api-fallback": "^1.5.4", @@ -24346,12 +25530,53 @@ } } }, + "node_modules/webpack-dev-server/node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/webpack-dev-server/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/webpack-dev-server/node_modules/http-proxy-middleware": { "version": "2.0.9", "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.9.tgz", "integrity": "sha512-c1IyJYLYppU574+YI7R4QyX2ystMtVXZwIdzazUIPIJsHuWNd+mho2j+bKoHftndicGj9yh+xjd+l0yj7VeT1Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/http-proxy": "^1.17.8", "http-proxy": "^1.18.1", @@ -24371,12 +25596,41 @@ } } }, + "node_modules/webpack-dev-server/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/webpack-dev-server/node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, "node_modules/webpack-merge": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-6.0.1.tgz", "integrity": "sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "clone-deep": "^4.0.1", "flat": "^5.0.2", @@ -24392,6 +25646,7 @@ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "bin": { "flat": "cli.js" } @@ -24402,6 +25657,7 @@ "integrity": "sha512-ykKKus8lqlgXX/1WjudpIEjqsafjOTcOJqxnAbMLAu/KCsDCJ6GBtvscewvTkrn24HsnvFwrSCbenFrhtcCsAA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10.13.0" } @@ -24412,6 +25668,7 @@ "integrity": "sha512-sacXoX+xd8r4WKsy9MvH/q/vBtEHr86cpImXwyg74pFIpERKt6FmB8cXpeuh0ZLgclOlHI4Wcll7+R5L02xk9Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "typed-assert": "^1.0.8" }, @@ -24428,39 +25685,13 @@ } } }, - "node_modules/webpack/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack/node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, "node_modules/webpack/node_modules/eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -24475,6 +25706,7 @@ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "engines": { "node": ">=4.0" } @@ -24484,33 +25716,8 @@ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true, - "license": "MIT" - }, - "node_modules/webpack/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "license": "MIT" - }, - "node_modules/webpack/node_modules/schema-utils": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", - "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", - "dev": true, "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } + "peer": true }, "node_modules/websocket-driver": { "version": "0.7.4", @@ -24518,6 +25725,7 @@ "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "http-parser-js": ">=0.5.1", "safe-buffer": ">=5.1.0", @@ -24533,6 +25741,7 @@ "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", "dev": true, "license": "Apache-2.0", + "peer": true, "engines": { "node": ">=0.8.0" } @@ -24601,7 +25810,8 @@ "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/word-wrap": { "version": "1.2.5", @@ -24909,9 +26119,9 @@ } }, "node_modules/zod": { - "version": "3.25.62", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.62.tgz", - "integrity": "sha512-YCxsr4DmhPcrKPC9R1oBHQNlQzlJEyPAId//qTau/vBee9uO8K6prmRq4eMkOyxvBfH4wDPIPdLx9HVMWIY3xA==", + "version": "3.25.64", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.64.tgz", + "integrity": "sha512-hbP9FpSZf7pkS7hRVUrOjhwKJNyampPgtXKc3AN6DsWtoHsg2Sb4SQaS4Tcay380zSwd2VPo9G9180emBACp5g==", "dev": true, "license": "MIT", "funding": { @@ -24919,9 +26129,9 @@ } }, "node_modules/zone.js": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.14.10.tgz", - "integrity": "sha512-YGAhaO7J5ywOXW6InXNlLmfU194F8lVgu7bRntUF3TiG8Y3nBK0x1UJJuHUP/e8IyihkjCYqhCScpSwnlaSRkQ==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.15.1.tgz", + "integrity": "sha512-XE96n56IQpJM7NAoXswY3XRLcWFW83xe0BiAOeMD7K5k5xecOeul3Qcpx6GqEeeHNkW5DWL5zOyTbEfB4eti8w==", "license": "MIT" } } diff --git a/package.json b/package.json index d123d6f02..7c9ff0324 100644 --- a/package.json +++ b/package.json @@ -30,28 +30,28 @@ "cypress:run": "cypress run" }, "dependencies": { - "@angular-devkit/schematics": "18.2.19", - "@angular/animations": "18.2.13", - "@angular/cdk": "^18.2.14", - "@angular/common": "18.2.13", - "@angular/compiler": "18.2.13", - "@angular/core": "18.2.13", - "@angular/forms": "18.2.13", - "@angular/localize": "18.2.13", - "@angular/material": "^18.2.14", - "@angular/platform-browser": "18.2.13", - "@angular/platform-browser-dynamic": "18.2.13", - "@angular/router": "18.2.13", + "@angular-devkit/schematics": "19.2.15", + "@angular/animations": "19.2.14", + "@angular/cdk": "^19.2.18", + "@angular/common": "19.2.14", + "@angular/compiler": "19.2.14", + "@angular/core": "19.2.14", + "@angular/forms": "19.2.14", + "@angular/localize": "19.2.14", + "@angular/material": "^19.2.18", + "@angular/platform-browser": "19.2.14", + "@angular/platform-browser-dynamic": "19.2.14", + "@angular/router": "19.2.14", "@ckeditor/ckeditor5-angular": "6.0.1", "@ckeditor/ckeditor5-build-classic": "40.2.0", - "@fortawesome/angular-fontawesome": "^0.15.0", + "@fortawesome/angular-fontawesome": "^1.0.0", "@fortawesome/fontawesome-free": "^6.7.2", "@fortawesome/fontawesome-svg-core": "6.2.1", "@fortawesome/free-brands-svg-icons": "6.7.2", "@fortawesome/free-solid-svg-icons": "6.2.1", "@ngx-translate/core": "^16.0.4", "@ngx-translate/http-loader": "^16.0.1", - "@swimlane/ngx-graph": "^9.0.1", + "@swimlane/ngx-graph": "^10.0.0", "@tailwindcss/forms": "^0.5.4", "chart.js": "3.0.0-alpha", "d3": "^7.9.0", @@ -65,19 +65,19 @@ "rxjs": "7.8.1", "tslib": "^2.0.0", "vkbeautify": "^0.99.3", - "zone.js": "0.14.10" + "zone.js": "0.15.1" }, "devDependencies": { - "@angular-builders/jest": "^18.0.0", - "@angular-devkit/build-angular": "^18.2.19", + "@angular-builders/jest": "^19.0.1", "@angular-eslint/builder": "^19.7.0", "@angular-eslint/eslint-plugin": "^19.7.0", "@angular-eslint/eslint-plugin-template": "^19.7.0", "@angular-eslint/schematics": "^19.7.0", "@angular-eslint/template-parser": "^19.7.0", - "@angular/cli": "18.2.19", - "@angular/compiler-cli": "18.2.13", - "@angular/language-service": "18.2.13", + "@angular/build": "^19.2.15", + "@angular/cli": "19.2.15", + "@angular/compiler-cli": "19.2.14", + "@angular/language-service": "19.2.14", "@cypress/schematic": "^2.5.2", "@types/d3-dispatch": "^3.0.1", "@types/d3-drag": "^3.0.1", diff --git a/src/app/account-transfers/account-transfers.module.ts b/src/app/account-transfers/account-transfers.module.ts index 4ac3b1d3f..f90e537c4 100644 --- a/src/app/account-transfers/account-transfers.module.ts +++ b/src/app/account-transfers/account-transfers.module.ts @@ -26,9 +26,7 @@ import { MakeAccountInterbankTransfersComponent } from './make-account-interbank SharedModule, PipesModule, DirectivesModule, - AccountTransfersRoutingModule - ], - declarations: [ + AccountTransfersRoutingModule, ViewStandingInstructionsComponent, EditStandingInstructionsComponent, CreateStandingInstructionsComponent, diff --git a/src/app/account-transfers/account-transfers.service.ts b/src/app/account-transfers/account-transfers.service.ts index 26b1381a0..01d42fcb3 100644 --- a/src/app/account-transfers/account-transfers.service.ts +++ b/src/app/account-transfers/account-transfers.service.ts @@ -6,7 +6,7 @@ import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; import { Observable } from 'rxjs'; /** Environment Configuration */ -import { environment } from 'environments/environment'; +import { environment } from '../../environments/environment'; import { switchMap } from 'rxjs/operators'; /** diff --git a/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.ts b/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.ts index b1cf703c8..0cc50bb7f 100644 --- a/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.ts +++ b/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { AccountTransfersService } from '../account-transfers.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Standing Instructions @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-standing-instructions', templateUrl: './create-standing-instructions.component.html', - styleUrls: ['./create-standing-instructions.component.scss'] + styleUrls: ['./create-standing-instructions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateStandingInstructionsComponent implements OnInit { /** Standing Instructions Data */ diff --git a/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.ts b/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.ts index c88f0a27d..fd3ef0207 100644 --- a/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.ts +++ b/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { AccountTransfersService } from '../account-transfers.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Standing Instructions @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-standing-instructions', templateUrl: './edit-standing-instructions.component.html', - styleUrls: ['./edit-standing-instructions.component.scss'] + styleUrls: ['./edit-standing-instructions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditStandingInstructionsComponent implements OnInit { /** Standing Instructions Data */ diff --git a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts index 5715b4df4..278207660 100644 --- a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts +++ b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts @@ -2,9 +2,21 @@ import { Component, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { AccountTransfersService } from '../account-transfers.service'; @@ -12,6 +24,10 @@ import { AccountTransfersService } from '../account-transfers.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { SettingsService } from 'app/settings/settings.service'; +import { MatDivider } from '@angular/material/divider'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Lists all the standing intructions of particular ID @@ -19,7 +35,24 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-list-standing-instructions', templateUrl: './list-standing-instructions.component.html', - styleUrls: ['./list-standing-instructions.component.scss'] + styleUrls: ['./list-standing-instructions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe + ] }) export class ListStandingInstructionsComponent { /** Recurring Deposits Data */ diff --git a/src/app/account-transfers/list-transactions/list-transactions.component.ts b/src/app/account-transfers/list-transactions/list-transactions.component.ts index d89c08f5d..54de85c0c 100644 --- a/src/app/account-transfers/list-transactions/list-transactions.component.ts +++ b/src/app/account-transfers/list-transactions/list-transactions.component.ts @@ -2,9 +2,24 @@ import { Component, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposits Standing Instructions Tab @@ -12,7 +27,23 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-list-transactions', templateUrl: './list-transactions.component.html', - styleUrls: ['./list-transactions.component.scss'] + styleUrls: ['./list-transactions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + YesnoPipe + ] }) export class ListTransactionsComponent { /** List Transactions Data */ diff --git a/src/app/account-transfers/make-account-interbank-transfers/make-account-interbank-transfers.component.ts b/src/app/account-transfers/make-account-interbank-transfers/make-account-interbank-transfers.component.ts index 7c00ab85d..316acba22 100644 --- a/src/app/account-transfers/make-account-interbank-transfers/make-account-interbank-transfers.component.ts +++ b/src/app/account-transfers/make-account-interbank-transfers/make-account-interbank-transfers.component.ts @@ -1,10 +1,18 @@ import { Component, Input } from '@angular/core'; -import { FormGroup } from '@angular/forms'; +import { FormGroup, ReactiveFormsModule } from '@angular/forms'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-make-account-interbank-transfers', templateUrl: './make-account-interbank-transfers.component.html', - styleUrls: ['./make-account-interbank-transfers.component.scss'] + styleUrls: ['./make-account-interbank-transfers.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + CdkTextareaAutosize + ] }) export class MakeAccountInterbankTransfersComponent { @Input() makeAccountTransferForm: FormGroup; diff --git a/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts b/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts index 6889ae91c..e4329fc8c 100644 --- a/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts +++ b/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts @@ -1,13 +1,15 @@ /** Angular Imports */ import { Component, OnInit, AfterViewInit, ViewChild, ElementRef } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { AbstractControl, FormGroup, UntypedFormBuilder, UntypedFormGroup, ValidationErrors, - Validators + Validators, + ReactiveFormsModule, + FormsModule } from '@angular/forms'; /** Custom Services */ @@ -17,7 +19,14 @@ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; /** Environment Configuration */ -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; +import { MatDivider } from '@angular/material/divider'; +import { MatFormField, MatLabel, MatHint, MatSuffix, MatError } from '@angular/material/form-field'; +import { MatOption, MatAutocompleteTrigger, MatAutocomplete } from '@angular/material/autocomplete'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MakeAccountInterbankTransfersComponent } from '../make-account-interbank-transfers/make-account-interbank-transfers.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create account transfers @@ -25,7 +34,18 @@ import { environment } from 'environments/environment'; @Component({ selector: 'mifosx-make-account-transfers', templateUrl: './make-account-transfers.component.html', - styleUrls: ['./make-account-transfers.component.scss'] + styleUrls: ['./make-account-transfers.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + FormsModule, + MatHint, + MatAutocompleteTrigger, + MatAutocomplete, + FaIconComponent, + CdkTextareaAutosize, + MakeAccountInterbankTransfersComponent + ] }) export class MakeAccountTransfersComponent implements OnInit, AfterViewInit { /** Standing Instructions Data */ diff --git a/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts b/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts index e4966d9dc..c4a670e40 100644 --- a/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts +++ b/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts @@ -1,12 +1,25 @@ /** Angular Imports */ -import { Location } from '@angular/common'; +import { Location, NgIf, NgClass } from '@angular/common'; import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-account-transfer', templateUrl: './view-account-transfer.component.html', - styleUrls: ['./view-account-transfer.component.scss'] + styleUrls: ['./view-account-transfer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + NgClass, + MatDivider, + DateFormatPipe, + FormatNumberPipe + ] }) export class ViewAccountTransferComponent { viewAccountTransferData: any; diff --git a/src/app/account-transfers/view-standing-instructions/view-standing-instructions.component.ts b/src/app/account-transfers/view-standing-instructions/view-standing-instructions.component.ts index 6d20ebbb6..5fe9c768a 100644 --- a/src/app/account-transfers/view-standing-instructions/view-standing-instructions.component.ts +++ b/src/app/account-transfers/view-standing-instructions/view-standing-instructions.component.ts @@ -1,11 +1,21 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-standing-instructions', templateUrl: './view-standing-instructions.component.html', - styleUrls: ['./view-standing-instructions.component.scss'] + styleUrls: ['./view-standing-instructions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + DateFormatPipe + ] }) export class ViewStandingInstructionsComponent { /** Standing Instructions Data */ diff --git a/src/app/accounting/accounting-rules/accounting-rules.component.ts b/src/app/accounting/accounting-rules/accounting-rules.component.ts index 32ed5b0c7..adcdb6be9 100644 --- a/src/app/accounting/accounting-rules/accounting-rules.component.ts +++ b/src/app/accounting/accounting-rules/accounting-rules.component.ts @@ -1,9 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Accounting rules component. @@ -11,7 +25,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-accounting-rules', templateUrl: './accounting-rules.component.html', - styleUrls: ['./accounting-rules.component.scss'] + styleUrls: ['./accounting-rules.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class AccountingRulesComponent implements OnInit { /** Accounting rule data. */ diff --git a/src/app/accounting/accounting-rules/create-rule/create-rule.component.ts b/src/app/accounting/accounting-rules/create-rule/create-rule.component.ts index dcc360aef..0141d5dbb 100644 --- a/src/app/accounting/accounting-rules/create-rule/create-rule.component.ts +++ b/src/app/accounting/accounting-rules/create-rule/create-rule.component.ts @@ -1,13 +1,17 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; /** Custom Validators */ import { oneOfTheFieldsIsRequiredValidator } from '../one-of-the-fields-is-required.validator'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create accounting rule component. @@ -15,7 +19,14 @@ import { oneOfTheFieldsIsRequiredValidator } from '../one-of-the-fields-is-requi @Component({ selector: 'mifosx-create-rule', templateUrl: './create-rule.component.html', - styleUrls: ['./create-rule.component.scss'] + styleUrls: ['./create-rule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatCheckbox, + CdkTextareaAutosize + ] }) export class CreateRuleComponent implements OnInit { /** Accounting rule form. */ diff --git a/src/app/accounting/accounting-rules/edit-rule/edit-rule.component.ts b/src/app/accounting/accounting-rules/edit-rule/edit-rule.component.ts index 23227f2c7..ee1a51d36 100644 --- a/src/app/accounting/accounting-rules/edit-rule/edit-rule.component.ts +++ b/src/app/accounting/accounting-rules/edit-rule/edit-rule.component.ts @@ -1,13 +1,17 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; /** Custom Validators */ import { oneOfTheFieldsIsRequiredValidator } from '../one-of-the-fields-is-required.validator'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit accounting rule component. @@ -15,7 +19,14 @@ import { oneOfTheFieldsIsRequiredValidator } from '../one-of-the-fields-is-requi @Component({ selector: 'mifosx-edit-rule', templateUrl: './edit-rule.component.html', - styleUrls: ['./edit-rule.component.scss'] + styleUrls: ['./edit-rule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatCheckbox, + CdkTextareaAutosize + ] }) export class EditRuleComponent implements OnInit { /** Accounting rule form. */ diff --git a/src/app/accounting/accounting-rules/view-rule/view-rule.component.ts b/src/app/accounting/accounting-rules/view-rule/view-rule.component.ts index 414e0d2c7..4bcbf669d 100644 --- a/src/app/accounting/accounting-rules/view-rule/view-rule.component.ts +++ b/src/app/accounting/accounting-rules/view-rule/view-rule.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -8,6 +8,8 @@ import { AccountingService } from '../../accounting.service'; /** Custom Components */ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View accounting rule component. @@ -15,7 +17,11 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial @Component({ selector: 'mifosx-view-rule', templateUrl: './view-rule.component.html', - styleUrls: ['./view-rule.component.scss'] + styleUrls: ['./view-rule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewRuleComponent { /** Accounting rule. */ diff --git a/src/app/accounting/accounting.component.ts b/src/app/accounting/accounting.component.ts index ffb60ae9e..cd922d737 100644 --- a/src/app/accounting/accounting.component.ts +++ b/src/app/accounting/accounting.component.ts @@ -1,10 +1,15 @@ /** Angular Imports */ import { AfterViewInit, Component, ElementRef, TemplateRef, ViewChild } from '@angular/core'; -import { Router } from '@angular/router'; +import { Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ConfigurationWizardService } from '../configuration-wizard/configuration-wizard.service'; import { PopoverService } from '../configuration-wizard/popover/popover.service'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Accounting component. @@ -12,7 +17,15 @@ import { PopoverService } from '../configuration-wizard/popover/popover.service' @Component({ selector: 'mifosx-accounting', templateUrl: './accounting.component.html', - styleUrls: ['./accounting.component.scss'] + styleUrls: ['./accounting.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class AccountingComponent implements AfterViewInit { /* Reference of Chart of Accounts */ diff --git a/src/app/accounting/accounting.module.ts b/src/app/accounting/accounting.module.ts index b4ce7a277..ba3e0db51 100644 --- a/src/app/accounting/accounting.module.ts +++ b/src/app/accounting/accounting.module.ts @@ -46,9 +46,7 @@ import { PipesModule } from 'app/pipes/pipes.module'; SharedModule, DirectivesModule, AccountingRoutingModule, - PipesModule - ], - declarations: [ + PipesModule, AccountingComponent, FrequentPostingsComponent, CreateJournalEntryComponent, diff --git a/src/app/accounting/chart-of-accounts/chart-of-accounts.component.ts b/src/app/accounting/chart-of-accounts/chart-of-accounts.component.ts index e80b85d39..54ff0b44f 100644 --- a/src/app/accounting/chart-of-accounts/chart-of-accounts.component.ts +++ b/src/app/accounting/chart-of-accounts/chart-of-accounts.component.ts @@ -1,12 +1,32 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { MatTreeNestedDataSource } from '@angular/material/tree'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { + MatTreeNestedDataSource, + MatTree, + MatTreeNodeDef, + MatTreeNode, + MatTreeNodeToggle, + MatNestedTreeNode, + MatTreeNodeOutlet +} from '@angular/material/tree'; import { NestedTreeControl } from '@angular/cdk/tree'; -import { UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -19,6 +39,11 @@ import { GlAccountTreeService } from './gl-account-tree.service'; import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; import { TreeControlService } from 'app/shared/common-logic/tree-control.service'; +import { MatButtonToggleGroup, MatButtonToggle } from '@angular/material/button-toggle'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Chart of accounts component. @@ -26,7 +51,34 @@ import { TreeControlService } from 'app/shared/common-logic/tree-control.service @Component({ selector: 'mifosx-chart-of-accounts', templateUrl: './chart-of-accounts.component.html', - styleUrls: ['./chart-of-accounts.component.scss'] + styleUrls: ['./chart-of-accounts.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatButtonToggleGroup, + MatButtonToggle, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + MatTree, + MatTreeNodeDef, + MatTreeNode, + MatTreeNodeToggle, + MatIconButton, + MatNestedTreeNode, + MatTreeNodeOutlet + ] }) export class ChartOfAccountsComponent implements AfterViewInit, OnInit { /** Button toggle group form control for type of view. (list/tree) */ diff --git a/src/app/accounting/chart-of-accounts/create-gl-account/create-gl-account.component.ts b/src/app/accounting/chart-of-accounts/create-gl-account/create-gl-account.component.ts index 116e4347f..5f3a0a3c5 100644 --- a/src/app/accounting/chart-of-accounts/create-gl-account/create-gl-account.component.ts +++ b/src/app/accounting/chart-of-accounts/create-gl-account/create-gl-account.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -12,6 +12,10 @@ import { ConfigurationWizardService } from '../../../configuration-wizard/config /** Custom Dialog Component */ import { ContinueSetupDialogComponent } from '../../../configuration-wizard/continue-setup-dialog/continue-setup-dialog.component'; import { GLAccount } from 'app/shared/models/general.model'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create gl account component. @@ -19,7 +23,13 @@ import { GLAccount } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-create-gl-account', templateUrl: './create-gl-account.component.html', - styleUrls: ['./create-gl-account.component.scss'] + styleUrls: ['./create-gl-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountSelectorComponent, + MatCheckbox, + CdkTextareaAutosize + ] }) export class CreateGlAccountComponent implements OnInit, AfterViewInit { /** GL account form. */ diff --git a/src/app/accounting/chart-of-accounts/edit-gl-account/edit-gl-account.component.ts b/src/app/accounting/chart-of-accounts/edit-gl-account/edit-gl-account.component.ts index 5d29b6e29..7ddf8cd71 100644 --- a/src/app/accounting/chart-of-accounts/edit-gl-account/edit-gl-account.component.ts +++ b/src/app/accounting/chart-of-accounts/edit-gl-account/edit-gl-account.component.ts @@ -1,10 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit gl account component. @@ -12,7 +16,13 @@ import { AccountingService } from '../../accounting.service'; @Component({ selector: 'mifosx-edit-gl-account', templateUrl: './edit-gl-account.component.html', - styleUrls: ['./edit-gl-account.component.scss'] + styleUrls: ['./edit-gl-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountSelectorComponent, + MatCheckbox, + CdkTextareaAutosize + ] }) export class EditGlAccountComponent implements OnInit { /** GL account form. */ diff --git a/src/app/accounting/chart-of-accounts/view-gl-account/view-gl-account.component.ts b/src/app/accounting/chart-of-accounts/view-gl-account/view-gl-account.component.ts index 50ab9f63f..eb66055a8 100644 --- a/src/app/accounting/chart-of-accounts/view-gl-account/view-gl-account.component.ts +++ b/src/app/accounting/chart-of-accounts/view-gl-account/view-gl-account.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Components */ @@ -8,7 +8,11 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial /** Custom Services */ import { AccountingService } from '../../accounting.service'; -import { Location } from '@angular/common'; +import { Location, NgIf } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { GlAccountDisplayComponent } from '../../../shared/accounting/gl-account-display/gl-account-display.component'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View gl account component. @@ -16,7 +20,13 @@ import { Location } from '@angular/common'; @Component({ selector: 'mifosx-view-gl-account', templateUrl: './view-gl-account.component.html', - styleUrls: ['./view-gl-account.component.scss'] + styleUrls: ['./view-gl-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + GlAccountDisplayComponent, + YesnoPipe + ] }) export class ViewGlAccountComponent { /** GL Account. */ diff --git a/src/app/accounting/closing-entries/closing-entries.component.ts b/src/app/accounting/closing-entries/closing-entries.component.ts index 4e67e7ec9..9da5f54e9 100644 --- a/src/app/accounting/closing-entries/closing-entries.component.ts +++ b/src/app/accounting/closing-entries/closing-entries.component.ts @@ -1,10 +1,22 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { startWith, map } from 'rxjs/operators'; @@ -12,6 +24,10 @@ import { startWith, map } from 'rxjs/operators'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { NgFor, AsyncPipe } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Closing entries component. @@ -19,7 +35,27 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-closing-entries', templateUrl: './closing-entries.component.html', - styleUrls: ['./closing-entries.component.scss'] + styleUrls: ['./closing-entries.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAutocompleteTrigger, + MatAutocomplete, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + AsyncPipe + ] }) export class ClosingEntriesComponent implements OnInit, AfterViewInit { /** Columns to be displayed in closing entries table. */ diff --git a/src/app/accounting/closing-entries/create-closure/create-closure.component.ts b/src/app/accounting/closing-entries/create-closure/create-closure.component.ts index 3067f350c..89473ad92 100644 --- a/src/app/accounting/closing-entries/create-closure/create-closure.component.ts +++ b/src/app/accounting/closing-entries/create-closure/create-closure.component.ts @@ -1,19 +1,25 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create closure component. */ @Component({ selector: 'mifosx-create-closure', templateUrl: './create-closure.component.html', - styleUrls: ['./create-closure.component.scss'] + styleUrls: ['./create-closure.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class CreateClosureComponent implements OnInit { /** Minimum closing date allowed. */ diff --git a/src/app/accounting/closing-entries/edit-closure/edit-closure.component.ts b/src/app/accounting/closing-entries/edit-closure/edit-closure.component.ts index b79e7b549..ebe3d3460 100644 --- a/src/app/accounting/closing-entries/edit-closure/edit-closure.component.ts +++ b/src/app/accounting/closing-entries/edit-closure/edit-closure.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit closure component. @@ -12,7 +14,11 @@ import { AccountingService } from '../../accounting.service'; @Component({ selector: 'mifosx-edit-closure', templateUrl: './edit-closure.component.html', - styleUrls: ['./edit-closure.component.scss'] + styleUrls: ['./edit-closure.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class EditClosureComponent implements OnInit { /** Accounting closure form. */ diff --git a/src/app/accounting/closing-entries/view-closure/view-closure.component.ts b/src/app/accounting/closing-entries/view-closure/view-closure.component.ts index fe6c7dfb3..292eb8b61 100644 --- a/src/app/accounting/closing-entries/view-closure/view-closure.component.ts +++ b/src/app/accounting/closing-entries/view-closure/view-closure.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -8,6 +8,8 @@ import { AccountingService } from '../../accounting.service'; /** Custom Components */ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View closure component. @@ -15,7 +17,11 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial @Component({ selector: 'mifosx-view-closure', templateUrl: './view-closure.component.html', - styleUrls: ['./view-closure.component.scss'] + styleUrls: ['./view-closure.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewClosureComponent { /** GL Account closure. */ diff --git a/src/app/accounting/create-journal-entry/create-journal-entry.component.ts b/src/app/accounting/create-journal-entry/create-journal-entry.component.ts index 6f48e2037..ea2f31474 100644 --- a/src/app/accounting/create-journal-entry/create-journal-entry.component.ts +++ b/src/app/accounting/create-journal-entry/create-journal-entry.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormArray } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormArray, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -13,13 +19,25 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura /** Custom Dialog Component */ import { NextStepDialogComponent } from '../../configuration-wizard/next-step-dialog/next-step-dialog.component'; +import { GlAccountSelectorComponent } from '../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Journal Entry component. */ @Component({ selector: 'mifosx-create-journal-entry', templateUrl: './create-journal-entry.component.html', - styleUrls: ['./create-journal-entry.component.scss'] + styleUrls: ['./create-journal-entry.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountSelectorComponent, + MatIconButton, + FaIconComponent, + CdkTextareaAutosize + ] }) export class CreateJournalEntryComponent implements OnInit, AfterViewInit { /** Minimum transaction date allowed. */ diff --git a/src/app/accounting/financial-activity-mappings/create-financial-activity-mapping/create-financial-activity-mapping.component.ts b/src/app/accounting/financial-activity-mappings/create-financial-activity-mapping/create-financial-activity-mapping.component.ts index afb78b155..3b04cdc57 100644 --- a/src/app/accounting/financial-activity-mappings/create-financial-activity-mapping/create-financial-activity-mapping.component.ts +++ b/src/app/accounting/financial-activity-mappings/create-financial-activity-mapping/create-financial-activity-mapping.component.ts @@ -1,11 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; import { GLAccount } from 'app/shared/models/general.model'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create financial activity mapping component. @@ -13,7 +15,11 @@ import { GLAccount } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-create-financial-activity-mapping', templateUrl: './create-financial-activity-mapping.component.html', - styleUrls: ['./create-financial-activity-mapping.component.scss'] + styleUrls: ['./create-financial-activity-mapping.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountSelectorComponent + ] }) export class CreateFinancialActivityMappingComponent implements OnInit { /** Financial activity mapping form. */ diff --git a/src/app/accounting/financial-activity-mappings/edit-financial-activity-mapping/edit-financial-activity-mapping.component.ts b/src/app/accounting/financial-activity-mappings/edit-financial-activity-mapping/edit-financial-activity-mapping.component.ts index 4881f40c2..febef2e15 100644 --- a/src/app/accounting/financial-activity-mappings/edit-financial-activity-mapping/edit-financial-activity-mapping.component.ts +++ b/src/app/accounting/financial-activity-mappings/edit-financial-activity-mapping/edit-financial-activity-mapping.component.ts @@ -1,11 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; import { GLAccount } from 'app/shared/models/general.model'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit financial activity mapping component. @@ -13,7 +15,11 @@ import { GLAccount } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-edit-financial-activity-mapping', templateUrl: './edit-financial-activity-mapping.component.html', - styleUrls: ['./edit-financial-activity-mapping.component.scss'] + styleUrls: ['./edit-financial-activity-mapping.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountSelectorComponent + ] }) export class EditFinancialActivityMappingComponent implements OnInit { /** Financial activity mapping form. */ diff --git a/src/app/accounting/financial-activity-mappings/financial-activity-mappings.component.ts b/src/app/accounting/financial-activity-mappings/financial-activity-mappings.component.ts index efe29e382..a45d6aec3 100644 --- a/src/app/accounting/financial-activity-mappings/financial-activity-mappings.component.ts +++ b/src/app/accounting/financial-activity-mappings/financial-activity-mappings.component.ts @@ -1,13 +1,27 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Financial activity mappings component. @@ -15,7 +29,24 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-financial-activity-mappings', templateUrl: './financial-activity-mappings.component.html', - styleUrls: ['./financial-activity-mappings.component.scss'] + styleUrls: ['./financial-activity-mappings.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class FinancialActivityMappingsComponent implements OnInit, AfterViewInit { /** Financial activity account data. */ diff --git a/src/app/accounting/financial-activity-mappings/view-financial-activity-mapping/view-financial-activity-mapping.component.ts b/src/app/accounting/financial-activity-mappings/view-financial-activity-mapping/view-financial-activity-mapping.component.ts index 474326bf9..c49638380 100644 --- a/src/app/accounting/financial-activity-mappings/view-financial-activity-mapping/view-financial-activity-mapping.component.ts +++ b/src/app/accounting/financial-activity-mappings/view-financial-activity-mapping/view-financial-activity-mapping.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -9,6 +9,9 @@ import { AccountingService } from '../../accounting.service'; /** Custom Components */ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; import { Location } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { GlAccountDisplayComponent } from '../../../shared/accounting/gl-account-display/gl-account-display.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View financial activity mapping component. @@ -16,7 +19,12 @@ import { Location } from '@angular/common'; @Component({ selector: 'mifosx-view-financial-activity-mapping', templateUrl: './view-financial-activity-mapping.component.html', - styleUrls: ['./view-financial-activity-mapping.component.scss'] + styleUrls: ['./view-financial-activity-mapping.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + GlAccountDisplayComponent + ] }) export class ViewFinancialActivityMappingComponent { /** Financial activity account ID. */ diff --git a/src/app/accounting/frequent-postings/frequent-postings.component.ts b/src/app/accounting/frequent-postings/frequent-postings.component.ts index 17a6bdab1..9264b04b7 100644 --- a/src/app/accounting/frequent-postings/frequent-postings.component.ts +++ b/src/app/accounting/frequent-postings/frequent-postings.component.ts @@ -1,19 +1,35 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormArray } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormArray, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../accounting.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Frequent Postings component. */ @Component({ selector: 'mifosx-frequent-postings', templateUrl: './frequent-postings.component.html', - styleUrls: ['./frequent-postings.component.scss'] + styleUrls: ['./frequent-postings.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + FaIconComponent, + CdkTextareaAutosize + ] }) export class FrequentPostingsComponent implements OnInit { /** Minimum transaction date allowed. */ diff --git a/src/app/accounting/migrate-opening-balances/migrate-opening-balances.component.ts b/src/app/accounting/migrate-opening-balances/migrate-opening-balances.component.ts index 8afcf4c4e..6f7e20c30 100644 --- a/src/app/accounting/migrate-opening-balances/migrate-opening-balances.component.ts +++ b/src/app/accounting/migrate-opening-balances/migrate-opening-balances.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormArray } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormArray, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../accounting.service'; @@ -13,6 +19,9 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura import { onlyOneOfTheFieldsIsRequiredValidator } from './only-one-of-the-fields-is-required.validator'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { NgFor, NgIf, CurrencyPipe } from '@angular/common'; +import { GlAccountDisplayComponent } from '../../shared/accounting/gl-account-display/gl-account-display.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Migrate opening balances component. @@ -20,7 +29,12 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-migrate-opening-balances', templateUrl: './migrate-opening-balances.component.html', - styleUrls: ['./migrate-opening-balances.component.scss'] + styleUrls: ['./migrate-opening-balances.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountDisplayComponent, + CurrencyPipe + ] }) export class MigrateOpeningBalancesComponent implements OnInit, AfterViewInit { /** Minimum opening balances date allowed. */ diff --git a/src/app/accounting/periodic-accruals/periodic-accruals.component.ts b/src/app/accounting/periodic-accruals/periodic-accruals.component.ts index 6559e6455..c54637123 100644 --- a/src/app/accounting/periodic-accruals/periodic-accruals.component.ts +++ b/src/app/accounting/periodic-accruals/periodic-accruals.component.ts @@ -1,19 +1,25 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../accounting.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Periodic accruals component. */ @Component({ selector: 'mifosx-periodic-accruals', templateUrl: './periodic-accruals.component.html', - styleUrls: ['./periodic-accruals.component.scss'] + styleUrls: ['./periodic-accruals.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class PeriodicAccrualsComponent implements OnInit { /** Minimum accrue date allowed. */ diff --git a/src/app/accounting/provisioning-entries/create-provisioning-entry/create-provisioning-entry.component.ts b/src/app/accounting/provisioning-entries/create-provisioning-entry/create-provisioning-entry.component.ts index 9d2a669b8..b51ff8379 100644 --- a/src/app/accounting/provisioning-entries/create-provisioning-entry/create-provisioning-entry.component.ts +++ b/src/app/accounting/provisioning-entries/create-provisioning-entry/create-provisioning-entry.component.ts @@ -1,19 +1,25 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create provisioning entry component. */ @Component({ selector: 'mifosx-create-provisioning-entry', templateUrl: './create-provisioning-entry.component.html', - styleUrls: ['./create-provisioning-entry.component.scss'] + styleUrls: ['./create-provisioning-entry.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class CreateProvisioningEntryComponent implements OnInit { /** Minimum provisioning date allowed. */ diff --git a/src/app/accounting/provisioning-entries/provisioning-entries.component.ts b/src/app/accounting/provisioning-entries/provisioning-entries.component.ts index 2acfc8ffd..6aee9844b 100644 --- a/src/app/accounting/provisioning-entries/provisioning-entries.component.ts +++ b/src/app/accounting/provisioning-entries/provisioning-entries.component.ts @@ -1,12 +1,27 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { Router, ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { AccountingService } from '../accounting.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Provisioning entries component. @@ -14,7 +29,25 @@ import { AccountingService } from '../accounting.service'; @Component({ selector: 'mifosx-provisioning-entries', templateUrl: './provisioning-entries.component.html', - styleUrls: ['./provisioning-entries.component.scss'] + styleUrls: ['./provisioning-entries.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatCheckbox, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ProvisioningEntriesComponent implements OnInit { /** Provisioning entry data. */ diff --git a/src/app/accounting/provisioning-entries/view-provisioning-entry/view-provisioning-entry.component.ts b/src/app/accounting/provisioning-entries/view-provisioning-entry/view-provisioning-entry.component.ts index 6185a163d..ea6f19261 100644 --- a/src/app/accounting/provisioning-entries/view-provisioning-entry/view-provisioning-entry.component.ts +++ b/src/app/accounting/provisioning-entries/view-provisioning-entry/view-provisioning-entry.component.ts @@ -1,16 +1,32 @@ /** Angular Imports */ import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** rxjs Imports */ import { startWith, map, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators'; /** Custom Services */ import { AccountingService } from '../../accounting.service'; +import { NgIf, NgFor, AsyncPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View provisioning entry component. @@ -18,7 +34,27 @@ import { AccountingService } from '../../accounting.service'; @Component({ selector: 'mifosx-view-provisioning-entry', templateUrl: './view-provisioning-entry.component.html', - styleUrls: ['./view-provisioning-entry.component.scss'] + styleUrls: ['./view-provisioning-entry.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAutocompleteTrigger, + MatAutocomplete, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + AsyncPipe + ] }) export class ViewProvisioningEntryComponent implements OnInit, AfterViewInit { /** Provisioning entry id. */ diff --git a/src/app/accounting/provisioning-entries/view-provisioning-journal-entries/view-provisioning-journal-entries.component.ts b/src/app/accounting/provisioning-entries/view-provisioning-journal-entries/view-provisioning-journal-entries.component.ts index 0af473ec5..e5f616d91 100644 --- a/src/app/accounting/provisioning-entries/view-provisioning-journal-entries/view-provisioning-journal-entries.component.ts +++ b/src/app/accounting/provisioning-entries/view-provisioning-journal-entries/view-provisioning-journal-entries.component.ts @@ -2,8 +2,21 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View provisioning journal entries component. @@ -11,7 +24,23 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-view-provisioning-journal-entries', templateUrl: './view-provisioning-journal-entries.component.html', - styleUrls: ['./view-provisioning-journal-entries.component.scss'] + styleUrls: ['./view-provisioning-journal-entries.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ViewProvisioningJournalEntriesComponent implements OnInit { /** Provisioning journal entry data. */ diff --git a/src/app/accounting/revert-transaction/revert-transaction.component.ts b/src/app/accounting/revert-transaction/revert-transaction.component.ts index e82a5a7e5..40b778e7d 100644 --- a/src/app/accounting/revert-transaction/revert-transaction.component.ts +++ b/src/app/accounting/revert-transaction/revert-transaction.component.ts @@ -1,7 +1,16 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormControl } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Revert transaction dialog component. @@ -9,7 +18,15 @@ import { UntypedFormControl } from '@angular/forms'; @Component({ selector: 'mifosx-revert-transaction', templateUrl: './revert-transaction.component.html', - styleUrls: ['./revert-transaction.component.scss'] + styleUrls: ['./revert-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class RevertTransactionComponent { /** Comments input form control. */ diff --git a/src/app/accounting/search-journal-entry/search-journal-entry.component.ts b/src/app/accounting/search-journal-entry/search-journal-entry.component.ts index b64dead08..dde72a9b9 100644 --- a/src/app/accounting/search-journal-entry/search-journal-entry.component.ts +++ b/src/app/accounting/search-journal-entry/search-journal-entry.component.ts @@ -1,9 +1,9 @@ /** Angular Imports */ import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { merge } from 'rxjs'; @@ -15,6 +15,25 @@ import { SettingsService } from 'app/settings/settings.service'; /** Custom Data Source */ import { JournalEntriesDataSource } from './journal-entry.datasource'; import { Dates } from 'app/core/utils/dates'; +import { MatAutocompleteTrigger, MatOption, MatAutocomplete } from '@angular/material/autocomplete'; +import { GlAccountSelectorComponent } from '../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { NgFor, NgIf, AsyncPipe } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { DatetimeFormatPipe } from '../../pipes/datetime-format.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Search journal entry component. @@ -22,7 +41,30 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-search-journal-entry', templateUrl: './search-journal-entry.component.html', - styleUrls: ['./search-journal-entry.component.scss'] + styleUrls: ['./search-journal-entry.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatAutocompleteTrigger, + GlAccountSelectorComponent, + MatAutocomplete, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + AsyncPipe, + DateFormatPipe, + DatetimeFormatPipe, + FormatNumberPipe + ] }) export class SearchJournalEntryComponent implements OnInit, AfterViewInit { /** Minimum transaction date allowed. */ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 726241cae..76375ac28 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -65,10 +65,7 @@ export function HttpLoaderFactory(http: HttpClient) { } @NgModule({ - declarations: [ - WebAppComponent, - NotFoundComponent - ], + declarations: [WebAppComponent], bootstrap: [WebAppComponent], imports: [ TranslateModule.forRoot({ @@ -109,7 +106,8 @@ export function HttpLoaderFactory(http: HttpClient) { CollectionsModule, TasksModule, ConfigurationWizardModule, - AppRoutingModule + AppRoutingModule, + NotFoundComponent ], providers: [ diff --git a/src/app/centers/centers-view/center-actions/activate-center/activate-center.component.ts b/src/app/centers/centers-view/center-actions/activate-center/activate-center.component.ts index b43dd8e9b..7858952e6 100644 --- a/src/app/centers/centers-view/center-actions/activate-center/activate-center.component.ts +++ b/src/app/centers/centers-view/center-actions/activate-center/activate-center.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Center Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-activate-center', templateUrl: './activate-center.component.html', - styleUrls: ['./activate-center.component.scss'] + styleUrls: ['./activate-center.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateCenterComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/centers/centers-view/center-actions/attach-center-meeting/attach-center-meeting.component.ts b/src/app/centers/centers-view/center-actions/attach-center-meeting/attach-center-meeting.component.ts index dd9ce3bfc..6a3a91ec8 100644 --- a/src/app/centers/centers-view/center-actions/attach-center-meeting/attach-center-meeting.component.ts +++ b/src/app/centers/centers-view/center-actions/attach-center-meeting/attach-center-meeting.component.ts @@ -1,12 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Center Meetings Component @@ -14,7 +22,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-attach-center-meeting', templateUrl: './attach-center-meeting.component.html', - styleUrls: ['./attach-center-meeting.component.scss'] + styleUrls: ['./attach-center-meeting.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class AttachCenterMeetingComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/centers/centers-view/center-actions/center-actions.component.ts b/src/app/centers/centers-view/center-actions/center-actions.component.ts index 9031aaef4..da6f40738 100644 --- a/src/app/centers/centers-view/center-actions/center-actions.component.ts +++ b/src/app/centers/centers-view/center-actions/center-actions.component.ts @@ -1,6 +1,16 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; +import { ActivateCenterComponent } from './activate-center/activate-center.component'; +import { CenterAssignStaffComponent } from './center-assign-staff/center-assign-staff.component'; +import { CloseCenterComponent } from './close-center/close-center.component'; +import { CenterAttendanceComponent } from './center-attendance/center-attendance.component'; +import { AttachCenterMeetingComponent } from './attach-center-meeting/attach-center-meeting.component'; +import { EditCenterMeetingComponent } from './edit-center-meeting/edit-center-meeting.component'; +import { EditCenterMeetingScheduleComponent } from './edit-center-meeting-schedule/edit-center-meeting-schedule.component'; +import { ManageGroupsComponent } from './manage-groups/manage-groups.component'; +import { StaffAssignmentHistoryComponent } from './staff-assignment-history/staff-assignment-history.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Center actions component. @@ -8,7 +18,19 @@ import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'mifosx-center-actions', templateUrl: './center-actions.component.html', - styleUrls: ['./center-actions.component.scss'] + styleUrls: ['./center-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ActivateCenterComponent, + CenterAssignStaffComponent, + CloseCenterComponent, + CenterAttendanceComponent, + AttachCenterMeetingComponent, + EditCenterMeetingComponent, + EditCenterMeetingScheduleComponent, + ManageGroupsComponent, + StaffAssignmentHistoryComponent + ] }) export class CenterActionsComponent { /** Flag object to store possible actions and render appropriate UI to the user */ diff --git a/src/app/centers/centers-view/center-actions/center-assign-staff/center-assign-staff.component.ts b/src/app/centers/centers-view/center-actions/center-assign-staff/center-assign-staff.component.ts index 60853b099..97050f081 100644 --- a/src/app/centers/centers-view/center-actions/center-assign-staff/center-assign-staff.component.ts +++ b/src/app/centers/centers-view/center-actions/center-assign-staff/center-assign-staff.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Centers Assign Staff Component @@ -12,7 +13,10 @@ import { CentersService } from 'app/centers/centers.service'; @Component({ selector: 'mifosx-center-assign-staff', templateUrl: './center-assign-staff.component.html', - styleUrls: ['./center-assign-staff.component.scss'] + styleUrls: ['./center-assign-staff.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CenterAssignStaffComponent implements OnInit { /** Center Assign Staff form. */ diff --git a/src/app/centers/centers-view/center-actions/center-attendance/center-attendance.component.ts b/src/app/centers/centers-view/center-actions/center-attendance/center-attendance.component.ts index 8945edcb1..8c3dbd690 100644 --- a/src/app/centers/centers-view/center-actions/center-attendance/center-attendance.component.ts +++ b/src/app/centers/centers-view/center-actions/center-attendance/center-attendance.component.ts @@ -1,8 +1,8 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; @@ -16,6 +16,25 @@ import { TranslateService } from '@ngx-translate/core'; import { Dates } from 'app/core/utils/dates'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; +import { MatFormField, MatLabel, MatHint } from '@angular/material/form-field'; +import { NgFor, NgSwitch, NgSwitchCase } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Center Attendance component. @@ -23,7 +42,27 @@ import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; @Component({ selector: 'mifosx-center-attendance', templateUrl: './center-attendance.component.html', - styleUrls: ['./center-attendance.component.scss'] + styleUrls: ['./center-attendance.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatHint, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgSwitch, + NgSwitchCase, + MatIconButton, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe, + DateFormatPipe + ] }) export class CenterAttendanceComponent implements OnInit { /** Members data. */ diff --git a/src/app/centers/centers-view/center-actions/close-center/close-center.component.ts b/src/app/centers/centers-view/center-actions/close-center/close-center.component.ts index 646b666d4..d1d060eeb 100644 --- a/src/app/centers/centers-view/center-actions/close-center/close-center.component.ts +++ b/src/app/centers/centers-view/center-actions/close-center/close-center.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close Center Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-close-center', templateUrl: './close-center.component.html', - styleUrls: ['./close-center.component.scss'] + styleUrls: ['./close-center.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CloseCenterComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/centers/centers-view/center-actions/edit-center-meeting-schedule/edit-center-meeting-schedule.component.ts b/src/app/centers/centers-view/center-actions/edit-center-meeting-schedule/edit-center-meeting-schedule.component.ts index 99162b8d6..693f6abfe 100644 --- a/src/app/centers/centers-view/center-actions/edit-center-meeting-schedule/edit-center-meeting-schedule.component.ts +++ b/src/app/centers/centers-view/center-actions/edit-center-meeting-schedule/edit-center-meeting-schedule.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Center Meetings Schedule Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-center-meeting-schedule', templateUrl: './edit-center-meeting-schedule.component.html', - styleUrls: ['./edit-center-meeting-schedule.component.scss'] + styleUrls: ['./edit-center-meeting-schedule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + DateFormatPipe + ] }) export class EditCenterMeetingScheduleComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/centers/centers-view/center-actions/edit-center-meeting/edit-center-meeting.component.ts b/src/app/centers/centers-view/center-actions/edit-center-meeting/edit-center-meeting.component.ts index 91684c089..3fc7fed97 100644 --- a/src/app/centers/centers-view/center-actions/edit-center-meeting/edit-center-meeting.component.ts +++ b/src/app/centers/centers-view/center-actions/edit-center-meeting/edit-center-meeting.component.ts @@ -1,12 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from 'app/centers/centers.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatFormField, MatLabel, MatError, MatSuffix, MatHint } from '@angular/material/form-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Center Meetings Component @@ -14,7 +23,12 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-center-meeting', templateUrl: './edit-center-meeting.component.html', - styleUrls: ['./edit-center-meeting.component.scss'] + styleUrls: ['./edit-center-meeting.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatHint + ] }) export class EditCenterMeetingComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/centers/centers-view/center-actions/manage-groups/manage-groups.component.ts b/src/app/centers/centers-view/center-actions/manage-groups/manage-groups.component.ts index a02eeb639..e4a8b3de9 100644 --- a/src/app/centers/centers-view/center-actions/manage-groups/manage-groups.component.ts +++ b/src/app/centers/centers-view/center-actions/manage-groups/manage-groups.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, AfterViewInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; /** Custom Dialogs */ @@ -10,11 +10,27 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co import { CentersService } from 'app/centers/centers.service'; import { GroupsService } from 'app/groups/groups.service'; import { MatDialog } from '@angular/material/dialog'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatListSubheaderCssMatStyler, MatNavList } from '@angular/material/list'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-manage-groups', templateUrl: './manage-groups.component.html', - styleUrls: ['./manage-groups.component.scss'] + styleUrls: ['./manage-groups.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatAutocompleteTrigger, + MatAutocomplete, + MatIconButton, + FaIconComponent, + MatListSubheaderCssMatStyler, + MatNavList, + MatLine + ] }) export class ManageGroupsComponent implements AfterViewInit { /** Center Data */ diff --git a/src/app/centers/centers-view/center-actions/staff-assignment-history/staff-assignment-history.component.ts b/src/app/centers/centers-view/center-actions/staff-assignment-history/staff-assignment-history.component.ts index ba43d9a5a..b7ae59e12 100644 --- a/src/app/centers/centers-view/center-actions/staff-assignment-history/staff-assignment-history.component.ts +++ b/src/app/centers/centers-view/center-actions/staff-assignment-history/staff-assignment-history.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from '../../../centers.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Staff Assignment History Component @@ -12,7 +14,11 @@ import { CentersService } from '../../../centers.service'; @Component({ selector: 'mifosx-staff-assignment-history', templateUrl: './staff-assignment-history.component.html', - styleUrls: ['./staff-assignment-history.component.scss'] + styleUrls: ['./staff-assignment-history.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class StaffAssignmentHistoryComponent implements OnInit { /** Staff Assignment History Data */ diff --git a/src/app/centers/centers-view/centers-view.component.ts b/src/app/centers/centers-view/centers-view.component.ts index ba7575907..d8f91d68c 100644 --- a/src/app/centers/centers-view/centers-view.component.ts +++ b/src/app/centers/centers-view/centers-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Dialog Imports */ @@ -10,13 +10,58 @@ import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/conf import { CentersService } from '../centers.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { TranslateService } from '@ngx-translate/core'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgClass, NgIf, NgFor, LowerCasePipe } from '@angular/common'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Center View */ @Component({ selector: 'mifosx-centers-view', templateUrl: './centers-view.component.html', - styleUrls: ['./centers-view.component.scss'] + styleUrls: ['./centers-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatTooltip, + NgClass, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatCardSubtitle, + ExternalIdentifierComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + LowerCasePipe, + StatusLookupPipe, + DateFormatPipe + ] }) export class CentersViewComponent implements OnInit { /** Stores Center View Data */ diff --git a/src/app/centers/centers-view/datatable-tab/datatable-tab.component.ts b/src/app/centers/centers-view/datatable-tab/datatable-tab.component.ts index d995eb47b..9984ca7e6 100644 --- a/src/app/centers/centers-view/datatable-tab/datatable-tab.component.ts +++ b/src/app/centers/centers-view/datatable-tab/datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-tab', templateUrl: './datatable-tab.component.html', - styleUrls: ['./datatable-tab.component.scss'] + styleUrls: ['./datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabComponent { entityId: string; diff --git a/src/app/centers/centers-view/general-tab/general-tab.component.ts b/src/app/centers/centers-view/general-tab/general-tab.component.ts index 2135ae253..bd0eb30cb 100644 --- a/src/app/centers/centers-view/general-tab/general-tab.component.ts +++ b/src/app/centers/centers-view/general-tab/general-tab.component.ts @@ -1,6 +1,24 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { NgIf, NgClass } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatSort } from '@angular/material/sort'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Center General Tab Component @@ -8,7 +26,25 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + StatusLookupPipe, + DateFormatPipe + ] }) export class GeneralTabComponent { /** Savings Account Table Columns */ diff --git a/src/app/centers/centers-view/notes-tab/notes-tab.component.ts b/src/app/centers/centers-view/notes-tab/notes-tab.component.ts index 1abec8532..654c03035 100644 --- a/src/app/centers/centers-view/notes-tab/notes-tab.component.ts +++ b/src/app/centers/centers-view/notes-tab/notes-tab.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { ActivatedRoute } from '@angular/router'; @@ -11,11 +11,24 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial import { TranslateService } from '@ngx-translate/core'; import { AuthenticationService } from '../../../core/authentication/authentication.service'; import { CentersService } from '../../centers.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatList, MatListItem } from '@angular/material/list'; +import { MatLine } from '@angular/material/grid-list'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-notes-tab', templateUrl: './notes-tab.component.html', - styleUrls: ['./notes-tab.component.scss'] + styleUrls: ['./notes-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatList, + MatListItem, + MatLine, + DateFormatPipe + ] }) export class NotesTabComponent implements OnInit { centerId: string; diff --git a/src/app/centers/centers.component.ts b/src/app/centers/centers.component.ts index 7d25f9801..34db3d5e4 100644 --- a/src/app/centers/centers.component.ts +++ b/src/app/centers/centers.component.ts @@ -3,9 +3,9 @@ import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core'; import { MatCheckbox } from '@angular/material/checkbox'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { merge } from 'rxjs'; @@ -16,6 +16,22 @@ import { CentersService } from './centers.service'; /** Custom Data Source */ import { CentersDataSource } from './centers.datasource'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgClass, AsyncPipe } from '@angular/common'; +import { StatusLookupPipe } from '../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Centers component. @@ -23,7 +39,28 @@ import { CentersDataSource } from './centers.datasource'; @Component({ selector: 'mifosx-app-centers', templateUrl: './centers.component.html', - styleUrls: ['./centers.component.scss'] + styleUrls: ['./centers.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + AsyncPipe, + StatusLookupPipe + ] }) export class CentersComponent implements OnInit, AfterViewInit { @ViewChild('showClosedCenters', { static: true }) showClosedCenters: MatCheckbox; diff --git a/src/app/centers/centers.module.ts b/src/app/centers/centers.module.ts index 097c3c6e2..65d5b0365 100644 --- a/src/app/centers/centers.module.ts +++ b/src/app/centers/centers.module.ts @@ -43,9 +43,7 @@ import { CenterNotesResolver } from './common-resolvers/center-notes.resolver'; SharedModule, CentersRoutingModule, PipesModule, - DirectivesModule - ], - declarations: [ + DirectivesModule, CentersComponent, CreateCenterComponent, CentersViewComponent, diff --git a/src/app/centers/create-center/create-center.component.ts b/src/app/centers/create-center/create-center.component.ts index bae5fd1f0..7b672455b 100644 --- a/src/app/centers/create-center/create-center.component.ts +++ b/src/app/centers/create-center/create-center.component.ts @@ -1,13 +1,25 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { CentersService } from '../centers.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatNavList, MatListSubheaderCssMatStyler } from '@angular/material/list'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Center component. @@ -15,7 +27,16 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-center', templateUrl: './create-center.component.html', - styleUrls: ['./create-center.component.scss'] + styleUrls: ['./create-center.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatIconButton, + FaIconComponent, + MatNavList, + MatListSubheaderCssMatStyler, + MatLine + ] }) export class CreateCenterComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/centers/edit-center/edit-center.component.ts b/src/app/centers/edit-center/edit-center.component.ts index 64786d417..2d188b791 100644 --- a/src/app/centers/edit-center/edit-center.component.ts +++ b/src/app/centers/edit-center/edit-center.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { CentersService } from '../centers.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Center component. @@ -14,7 +21,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-center', templateUrl: './edit-center.component.html', - styleUrls: ['./edit-center.component.scss'] + styleUrls: ['./edit-center.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditCenterComponent implements OnInit { /** Center Data */ diff --git a/src/app/clients/client-stepper/client-address-step/client-address-step.component.ts b/src/app/clients/client-stepper/client-address-step/client-address-step.component.ts index 8481a45b7..0b0109e2f 100644 --- a/src/app/clients/client-stepper/client-address-step/client-address-step.component.ts +++ b/src/app/clients/client-stepper/client-address-step/client-address-step.component.ts @@ -11,6 +11,18 @@ import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription +} from '@angular/material/expansion'; +import { MatDivider } from '@angular/material/divider'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Address Step Component @@ -18,7 +30,20 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen @Component({ selector: 'mifosx-client-address-step', templateUrl: './client-address-step.component.html', - styleUrls: ['./client-address-step.component.scss'] + styleUrls: ['./client-address-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription, + MatDivider, + MatSlideToggle, + MatStepperPrevious, + MatStepperNext + ] }) export class ClientAddressStepComponent { /** Client Address Field Config */ diff --git a/src/app/clients/client-stepper/client-datatable-step/client-datatable-step.component.ts b/src/app/clients/client-stepper/client-datatable-step/client-datatable-step.component.ts index 6d3acba8f..c1da84cfc 100644 --- a/src/app/clients/client-stepper/client-datatable-step/client-datatable-step.component.ts +++ b/src/app/clients/client-stepper/client-datatable-step/client-datatable-step.component.ts @@ -1,12 +1,29 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { Datatables } from 'app/core/utils/datatables'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-client-datatable-step', templateUrl: './client-datatable-step.component.html', - styleUrls: ['./client-datatable-step.component.scss'] + styleUrls: ['./client-datatable-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ClientDatatableStepComponent implements OnInit { /** Input Fields Data */ diff --git a/src/app/clients/client-stepper/client-family-members-step/client-family-member-dialog/client-family-member-dialog.component.ts b/src/app/clients/client-stepper/client-family-members-step/client-family-member-dialog/client-family-member-dialog.component.ts index 5421c32fe..39af6069d 100644 --- a/src/app/clients/client-stepper/client-family-members-step/client-family-member-dialog/client-family-member-dialog.component.ts +++ b/src/app/clients/client-stepper/client-family-members-step/client-family-member-dialog/client-family-member-dialog.component.ts @@ -1,11 +1,19 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Family Members Dialog @@ -13,7 +21,14 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-client-family-member-dialog', templateUrl: './client-family-member-dialog.component.html', - styleUrls: ['./client-family-member-dialog.component.scss'] + styleUrls: ['./client-family-member-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + MatCheckbox, + MatDialogActions, + MatDialogClose + ] }) export class ClientFamilyMemberDialogComponent implements OnInit { /** Maximum Due Date allowed. */ diff --git a/src/app/clients/client-stepper/client-family-members-step/client-family-members-step.component.ts b/src/app/clients/client-stepper/client-family-members-step/client-family-members-step.component.ts index 7cf5a43c1..e56bb090f 100644 --- a/src/app/clients/client-stepper/client-family-members-step/client-family-members-step.component.ts +++ b/src/app/clients/client-stepper/client-family-members-step/client-family-members-step.component.ts @@ -6,6 +6,19 @@ import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { ClientFamilyMemberDialogComponent } from './client-family-member-dialog/client-family-member-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription +} from '@angular/material/expansion'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Family Members Step @@ -13,7 +26,21 @@ import { ClientFamilyMemberDialogComponent } from './client-family-member-dialog @Component({ selector: 'mifosx-client-family-members-step', templateUrl: './client-family-members-step.component.html', - styleUrls: ['./client-family-members-step.component.scss'] + styleUrls: ['./client-family-members-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription, + MatDivider, + MatStepperPrevious, + MatStepperNext, + FindPipe, + DateFormatPipe + ] }) export class ClientFamilyMembersStepComponent { /** Cient Template */ diff --git a/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts b/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts index 30dcc09f0..d90db066c 100644 --- a/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts +++ b/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormBuilder, + UntypedFormGroup, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; +import { MatDivider } from '@angular/material/divider'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Client Component @@ -13,7 +25,16 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-client-general-step', templateUrl: './client-general-step.component.html', - styleUrls: ['./client-general-step.component.scss'] + styleUrls: ['./client-general-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + CdkTextareaAutosize, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ClientGeneralStepComponent implements OnInit { @Output() legalFormChangeEvent = new EventEmitter<{ legalForm: number }>(); diff --git a/src/app/clients/client-stepper/client-preview-step/client-preview-step.component.ts b/src/app/clients/client-stepper/client-preview-step/client-preview-step.component.ts index a24182689..5786f6209 100644 --- a/src/app/clients/client-stepper/client-preview-step/client-preview-step.component.ts +++ b/src/app/clients/client-stepper/client-preview-step/client-preview-step.component.ts @@ -1,5 +1,20 @@ /** Angular Imports */ import { Component, Output, EventEmitter, Input } from '@angular/core'; +import { MatDivider } from '@angular/material/divider'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription +} from '@angular/material/expansion'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Preview Step Component @@ -7,7 +22,22 @@ import { Component, Output, EventEmitter, Input } from '@angular/core'; @Component({ selector: 'mifosx-client-preview-step', templateUrl: './client-preview-step.component.html', - styleUrls: ['./client-preview-step.component.scss'] + styleUrls: ['./client-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + ExternalIdentifierComponent, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription, + MatStepperPrevious, + FaIconComponent, + FindPipe, + DateFormatPipe, + YesnoPipe + ] }) export class ClientPreviewStepComponent { /** Client Address field configuration */ diff --git a/src/app/clients/clients-view/address-tab/address-tab.component.ts b/src/app/clients/clients-view/address-tab/address-tab.component.ts index a8ed42fa9..e66338a2a 100644 --- a/src/app/clients/clients-view/address-tab/address-tab.component.ts +++ b/src/app/clients/clients-view/address-tab/address-tab.component.ts @@ -12,6 +12,17 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen /** Custom Services */ import { TranslateService } from '@ngx-translate/core'; import { ClientsService } from '../../clients.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription +} from '@angular/material/expansion'; +import { MatDivider } from '@angular/material/divider'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Clients Address Tab Component @@ -19,7 +30,18 @@ import { ClientsService } from '../../clients.service'; @Component({ selector: 'mifosx-address-tab', templateUrl: './address-tab.component.html', - styleUrls: ['./address-tab.component.scss'] + styleUrls: ['./address-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription, + MatDivider, + MatSlideToggle + ] }) export class AddressTabComponent { /** Client Address Data */ diff --git a/src/app/clients/clients-view/charges/charges-overview/charges-overview.component.ts b/src/app/clients/clients-view/charges/charges-overview/charges-overview.component.ts index d349b134d..cbc315f80 100644 --- a/src/app/clients/clients-view/charges/charges-overview/charges-overview.component.ts +++ b/src/app/clients/clients-view/charges/charges-overview/charges-overview.component.ts @@ -2,8 +2,24 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; +import { NgClass } from '@angular/common'; +import { StatusLookupPipe } from '../../../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Charge Overview component. @@ -11,7 +27,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-charges-overview', templateUrl: './charges-overview.component.html', - styleUrls: ['./charges-overview.component.scss'] + styleUrls: ['./charges-overview.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe, + DateFormatPipe + ] }) export class ChargesOverviewComponent implements OnInit { /** Columns to be displayed in charge overview table. */ diff --git a/src/app/clients/clients-view/charges/client-pay-charges/client-pay-charges.component.ts b/src/app/clients/clients-view/charges/client-pay-charges/client-pay-charges.component.ts index d2483ccd1..8589de642 100644 --- a/src/app/clients/clients-view/charges/client-pay-charges/client-pay-charges.component.ts +++ b/src/app/clients/clients-view/charges/client-pay-charges/client-pay-charges.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services. */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Pay Charge component. @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-client-pay-charges', templateUrl: './client-pay-charges.component.html', - styleUrls: ['./client-pay-charges.component.scss'] + styleUrls: ['./client-pay-charges.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ClientPayChargesComponent implements OnInit { /** Transaction Form. */ diff --git a/src/app/clients/clients-view/charges/view-charge/view-charge.component.ts b/src/app/clients/clients-view/charges/view-charge/view-charge.component.ts index 3a60b6f83..67313031b 100644 --- a/src/app/clients/clients-view/charges/view-charge/view-charge.component.ts +++ b/src/app/clients/clients-view/charges/view-charge/view-charge.component.ts @@ -1,7 +1,27 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { ClientsService } from 'app/clients/clients.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCard, MatCardTitle, MatCardContent, MatCardActions } from '@angular/material/card'; +import { NgClass, NgIf } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { StatusLookupPipe } from '../../../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Charge component. @@ -9,7 +29,27 @@ import { ClientsService } from 'app/clients/clients.service'; @Component({ selector: 'mifosx-view-charge', templateUrl: './view-charge.component.html', - styleUrls: ['./view-charge.component.scss'] + styleUrls: ['./view-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatCardTitle, + NgClass, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + StatusLookupPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class ViewChargeComponent { /** Charge Data. */ diff --git a/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts b/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts index fd9d07880..366cf431f 100644 --- a/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts +++ b/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Accept Client Transfer Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-accept-client-transfer', templateUrl: './accept-client-transfer.component.html', - styleUrls: ['./accept-client-transfer.component.scss'] + styleUrls: ['./accept-client-transfer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class AcceptClientTransferComponent implements OnInit { /** Accept Client Transfer form. */ diff --git a/src/app/clients/clients-view/client-actions/activate-client/activate-client.component.ts b/src/app/clients/clients-view/client-actions/activate-client/activate-client.component.ts index e73d930ff..eb7e6e875 100644 --- a/src/app/clients/clients-view/client-actions/activate-client/activate-client.component.ts +++ b/src/app/clients/clients-view/client-actions/activate-client/activate-client.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Client Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-activate-client', templateUrl: './activate-client.component.html', - styleUrls: ['./activate-client.component.scss'] + styleUrls: ['./activate-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/add-client-charge/add-client-charge.component.ts b/src/app/clients/clients-view/client-actions/add-client-charge/add-client-charge.component.ts index 0f66d7ff3..94d8f29d8 100644 --- a/src/app/clients/clients-view/client-actions/add-client-charge/add-client-charge.component.ts +++ b/src/app/clients/clients-view/client-actions/add-client-charge/add-client-charge.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Clients Charge component. @@ -14,7 +21,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-add-client-charge', templateUrl: './add-client-charge.component.html', - styleUrls: ['./add-client-charge.component.scss'] + styleUrls: ['./add-client-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddClientChargeComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/add-client-collateral/add-client-collateral.component.ts b/src/app/clients/clients-view/client-actions/add-client-collateral/add-client-collateral.component.ts index 5ea278c37..c008b5e63 100644 --- a/src/app/clients/clients-view/client-actions/add-client-collateral/add-client-collateral.component.ts +++ b/src/app/clients/clients-view/client-actions/add-client-collateral/add-client-collateral.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** * Custom Services @@ -9,11 +9,15 @@ import { ActivatedRoute, Router } from '@angular/router'; import { ClientsService } from 'app/clients/clients.service'; import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-add-client-collateral', templateUrl: './add-client-collateral.component.html', - styleUrls: ['./add-client-collateral.component.scss'] + styleUrls: ['./add-client-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddClientCollateralComponent implements OnInit { /** Client Collateral Form */ diff --git a/src/app/clients/clients-view/client-actions/client-actions.component.ts b/src/app/clients/clients-view/client-actions/client-actions.component.ts index f9fa7423c..b397bf3ec 100644 --- a/src/app/clients/clients-view/client-actions/client-actions.component.ts +++ b/src/app/clients/clients-view/client-actions/client-actions.component.ts @@ -1,6 +1,24 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; +import { ClientAssignStaffComponent } from './client-assign-staff/client-assign-staff.component'; +import { CloseClientComponent } from './close-client/close-client.component'; +import { ViewSurveyComponent } from './view-survey/view-survey.component'; +import { RejectClientComponent } from './reject-client/reject-client.component'; +import { ActivateClientComponent } from './activate-client/activate-client.component'; +import { WithdrawClientComponent } from './withdraw-client/withdraw-client.component'; +import { UpdateClientSavingsAccountComponent } from './update-client-savings-account/update-client-savings-account.component'; +import { TransferClientComponent } from './transfer-client/transfer-client.component'; +import { UndoClientTransferComponent } from './undo-client-transfer/undo-client-transfer.component'; +import { RejectClientTransferComponent } from './reject-client-transfer/reject-client-transfer.component'; +import { AcceptClientTransferComponent } from './accept-client-transfer/accept-client-transfer.component'; +import { ReactivateClientComponent } from './reactivate-client/reactivate-client.component'; +import { UndoClientRejectionComponent } from './undo-client-rejection/undo-client-rejection.component'; +import { AddClientChargeComponent } from './add-client-charge/add-client-charge.component'; +import { TakeSurveyComponent } from './take-survey/take-survey.component'; +import { ClientScreenReportsComponent } from './client-screen-reports/client-screen-reports.component'; +import { AddClientCollateralComponent } from './add-client-collateral/add-client-collateral.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client actions component. @@ -8,7 +26,27 @@ import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'mifosx-client-actions', templateUrl: './client-actions.component.html', - styleUrls: ['./client-actions.component.scss'] + styleUrls: ['./client-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ClientAssignStaffComponent, + CloseClientComponent, + ViewSurveyComponent, + RejectClientComponent, + ActivateClientComponent, + WithdrawClientComponent, + UpdateClientSavingsAccountComponent, + TransferClientComponent, + UndoClientTransferComponent, + RejectClientTransferComponent, + AcceptClientTransferComponent, + ReactivateClientComponent, + UndoClientRejectionComponent, + AddClientChargeComponent, + TakeSurveyComponent, + ClientScreenReportsComponent, + AddClientCollateralComponent + ] }) export class ClientActionsComponent { /** Flag object to store possible actions and render appropriate UI to the user */ diff --git a/src/app/clients/clients-view/client-actions/client-assign-staff/client-assign-staff.component.ts b/src/app/clients/clients-view/client-actions/client-assign-staff/client-assign-staff.component.ts index 40244cf0e..c2a917972 100644 --- a/src/app/clients/clients-view/client-actions/client-assign-staff/client-assign-staff.component.ts +++ b/src/app/clients/clients-view/client-actions/client-assign-staff/client-assign-staff.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Clients Assign Staff Component @@ -12,7 +13,10 @@ import { ClientsService } from 'app/clients/clients.service'; @Component({ selector: 'mifosx-client-assign-staff', templateUrl: './client-assign-staff.component.html', - styleUrls: ['./client-assign-staff.component.scss'] + styleUrls: ['./client-assign-staff.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ClientAssignStaffComponent implements OnInit { /** Client Assign Staff form. */ diff --git a/src/app/clients/clients-view/client-actions/client-screen-reports/client-screen-reports.component.ts b/src/app/clients/clients-view/client-actions/client-screen-reports/client-screen-reports.component.ts index f6b329a04..2d3dc1fb4 100644 --- a/src/app/clients/clients-view/client-actions/client-screen-reports/client-screen-reports.component.ts +++ b/src/app/clients/clients-view/client-actions/client-screen-reports/client-screen-reports.component.ts @@ -1,11 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Renderer2, ViewChild, ElementRef, SecurityContext } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { DomSanitizer } from '@angular/platform-browser'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Screen Reports Component. @@ -13,7 +15,11 @@ import { DomSanitizer } from '@angular/platform-browser'; @Component({ selector: 'mifosx-client-screen-reports', templateUrl: './client-screen-reports.component.html', - styleUrls: ['./client-screen-reports.component.scss'] + styleUrls: ['./client-screen-reports.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ClientScreenReportsComponent implements OnInit { /** Client Screen Reportform. */ diff --git a/src/app/clients/clients-view/client-actions/close-client/close-client.component.ts b/src/app/clients/clients-view/client-actions/close-client/close-client.component.ts index aa09d3f29..7b6c74437 100644 --- a/src/app/clients/clients-view/client-actions/close-client/close-client.component.ts +++ b/src/app/clients/clients-view/client-actions/close-client/close-client.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close Client Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-close-client', templateUrl: './close-client.component.html', - styleUrls: ['./close-client.component.scss'] + styleUrls: ['./close-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CloseClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts b/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts index 57f013a64..096730339 100644 --- a/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts +++ b/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reactivate Client Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-reactivate-client', templateUrl: './reactivate-client.component.html', - styleUrls: ['./reactivate-client.component.scss'] + styleUrls: ['./reactivate-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ReactivateClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/reject-client-transfer/reject-client-transfer.component.ts b/src/app/clients/clients-view/client-actions/reject-client-transfer/reject-client-transfer.component.ts index 409981ec6..eaa9d0214 100644 --- a/src/app/clients/clients-view/client-actions/reject-client-transfer/reject-client-transfer.component.ts +++ b/src/app/clients/clients-view/client-actions/reject-client-transfer/reject-client-transfer.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Client Transfer Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-reject-client-transfer', templateUrl: './reject-client-transfer.component.html', - styleUrls: ['./reject-client-transfer.component.scss'] + styleUrls: ['./reject-client-transfer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class RejectClientTransferComponent implements OnInit { /** Reject Client Transfer form. */ diff --git a/src/app/clients/clients-view/client-actions/reject-client/reject-client.component.ts b/src/app/clients/clients-view/client-actions/reject-client/reject-client.component.ts index c1a02cf3d..9c8ef234e 100644 --- a/src/app/clients/clients-view/client-actions/reject-client/reject-client.component.ts +++ b/src/app/clients/clients-view/client-actions/reject-client/reject-client.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Client Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-reject-client', templateUrl: './reject-client.component.html', - styleUrls: ['./reject-client.component.scss'] + styleUrls: ['./reject-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class RejectClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/take-survey/take-survey.component.ts b/src/app/clients/clients-view/client-actions/take-survey/take-survey.component.ts index 2b984cdd3..ac4d6d5c3 100644 --- a/src/app/clients/clients-view/client-actions/take-survey/take-survey.component.ts +++ b/src/app/clients/clients-view/client-actions/take-survey/take-survey.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from '../../../clients.service'; import { AuthenticationService } from '../../../../core/authentication/authentication.service'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Take Survey Component @@ -12,7 +15,13 @@ import { AuthenticationService } from '../../../../core/authentication/authentic @Component({ selector: 'mifosx-take-survey', templateUrl: './take-survey.component.html', - styleUrls: ['./take-survey.component.scss'] + styleUrls: ['./take-survey.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + FormsModule, + MatRadioButton + ] }) export class TakeSurveyComponent { /** List of all Survey Data */ diff --git a/src/app/clients/clients-view/client-actions/transfer-client/transfer-client.component.ts b/src/app/clients/clients-view/client-actions/transfer-client/transfer-client.component.ts index 6e0b233ff..023798432 100644 --- a/src/app/clients/clients-view/client-actions/transfer-client/transfer-client.component.ts +++ b/src/app/clients/clients-view/client-actions/transfer-client/transfer-client.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Transfer Client Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-transfer-client', templateUrl: './transfer-client.component.html', - styleUrls: ['./transfer-client.component.scss'] + styleUrls: ['./transfer-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class TransferClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/undo-client-rejection/undo-client-rejection.component.ts b/src/app/clients/clients-view/client-actions/undo-client-rejection/undo-client-rejection.component.ts index a12518a2d..834891160 100644 --- a/src/app/clients/clients-view/client-actions/undo-client-rejection/undo-client-rejection.component.ts +++ b/src/app/clients/clients-view/client-actions/undo-client-rejection/undo-client-rejection.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Client Rejection Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-undo-client-rejection', templateUrl: './undo-client-rejection.component.html', - styleUrls: ['./undo-client-rejection.component.scss'] + styleUrls: ['./undo-client-rejection.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class UndoClientRejectionComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/client-actions/undo-client-transfer/undo-client-transfer.component.ts b/src/app/clients/clients-view/client-actions/undo-client-transfer/undo-client-transfer.component.ts index a09800e7d..b31574611 100644 --- a/src/app/clients/clients-view/client-actions/undo-client-transfer/undo-client-transfer.component.ts +++ b/src/app/clients/clients-view/client-actions/undo-client-transfer/undo-client-transfer.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Client Transfer Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-undo-client-transfer', templateUrl: './undo-client-transfer.component.html', - styleUrls: ['./undo-client-transfer.component.scss'] + styleUrls: ['./undo-client-transfer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class UndoClientTransferComponent implements OnInit { /** Undo Client Transfer form. */ diff --git a/src/app/clients/clients-view/client-actions/update-client-savings-account/update-client-savings-account.component.ts b/src/app/clients/clients-view/client-actions/update-client-savings-account/update-client-savings-account.component.ts index 2434c1add..bd2af18aa 100644 --- a/src/app/clients/clients-view/client-actions/update-client-savings-account/update-client-savings-account.component.ts +++ b/src/app/clients/clients-view/client-actions/update-client-savings-account/update-client-savings-account.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Clients Update Savings Account Component @@ -12,7 +13,10 @@ import { ClientsService } from 'app/clients/clients.service'; @Component({ selector: 'mifosx-update-client-savings-account', templateUrl: './update-client-savings-account.component.html', - styleUrls: ['./update-client-savings-account.component.scss'] + styleUrls: ['./update-client-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class UpdateClientSavingsAccountComponent implements OnInit { /** Client Update Savings Account form. */ diff --git a/src/app/clients/clients-view/client-actions/view-survey/view-survey.component.ts b/src/app/clients/clients-view/client-actions/view-survey/view-survey.component.ts index 4fc73af69..f3bc01501 100644 --- a/src/app/clients/clients-view/client-actions/view-survey/view-survey.component.ts +++ b/src/app/clients/clients-view/client-actions/view-survey/view-survey.component.ts @@ -1,9 +1,25 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DatetimeFormatPipe } from '../../../../pipes/datetime-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Survey component. @@ -11,7 +27,26 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-view-survey', templateUrl: './view-survey.component.html', - styleUrls: ['./view-survey.component.scss'] + styleUrls: ['./view-survey.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DatetimeFormatPipe, + FormatNumberPipe + ] }) export class ViewSurveyComponent implements OnInit { /** Survey Data */ diff --git a/src/app/clients/clients-view/client-actions/withdraw-client/withdraw-client.component.ts b/src/app/clients/clients-view/client-actions/withdraw-client/withdraw-client.component.ts index 62f500748..1e71206f5 100644 --- a/src/app/clients/clients-view/client-actions/withdraw-client/withdraw-client.component.ts +++ b/src/app/clients/clients-view/client-actions/withdraw-client/withdraw-client.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from 'app/clients/clients.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Withdraw Client Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-withdraw-client', templateUrl: './withdraw-client.component.html', - styleUrls: ['./withdraw-client.component.scss'] + styleUrls: ['./withdraw-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class WithdrawClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/clients/clients-view/clients-view.component.ts b/src/app/clients/clients-view/clients-view.component.ts index a639c56c7..0668ac269 100644 --- a/src/app/clients/clients-view/clients-view.component.ts +++ b/src/app/clients/clients-view/clients-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router'; import { DomSanitizer } from '@angular/platform-browser'; import { MatDialog } from '@angular/material/dialog'; @@ -15,11 +15,59 @@ import { CaptureImageDialogComponent } from './custom-dialogs/capture-image-dial /** Custom Services */ import { ClientsService } from '../clients.service'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgClass, NgIf, NgFor } from '@angular/common'; +import { EntityNameComponent } from '../../shared/entity-name/entity-name.component'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-clients-view', templateUrl: './clients-view.component.html', - styleUrls: ['./clients-view.component.scss'] + styleUrls: ['./clients-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatTooltip, + MatCardTitle, + NgClass, + EntityNameComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatCardSubtitle, + AccountNumberComponent, + ExternalIdentifierComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + StatusLookupPipe, + DateFormatPipe + ] }) export class ClientsViewComponent implements OnInit { clientViewData: any; diff --git a/src/app/clients/clients-view/custom-dialogs/capture-image-dialog/capture-image-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/capture-image-dialog/capture-image-dialog.component.ts index e88db0a0d..31840b698 100644 --- a/src/app/clients/clients-view/custom-dialogs/capture-image-dialog/capture-image-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/capture-image-dialog/capture-image-dialog.component.ts @@ -1,6 +1,9 @@ /** Angular Imports */ import { Component, ViewChild, ElementRef, AfterViewInit, Renderer2, OnDestroy } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { MatDialogRef, MatDialogTitle, MatDialogActions, MatDialogClose } from '@angular/material/dialog'; +import { NgStyle, NgIf } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Capture image dialog component @@ -8,7 +11,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-capture-image-dialog', templateUrl: './capture-image-dialog.component.html', - styleUrls: ['./capture-image-dialog.component.scss'] + styleUrls: ['./capture-image-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + NgStyle, + FaIconComponent, + MatDialogActions, + MatDialogClose + ] }) export class CaptureImageDialogComponent implements AfterViewInit, OnDestroy { /** Video element reference */ diff --git a/src/app/clients/clients-view/custom-dialogs/delete-signature-dialog/delete-signature-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/delete-signature-dialog/delete-signature-dialog.component.ts index 6e9834c03..13f2570b8 100644 --- a/src/app/clients/clients-view/custom-dialogs/delete-signature-dialog/delete-signature-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/delete-signature-dialog/delete-signature-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Delete signature dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-delete-signature-dialog', templateUrl: './delete-signature-dialog.component.html', - styleUrls: ['./delete-signature-dialog.component.scss'] + styleUrls: ['./delete-signature-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class DeleteSignatureDialogComponent { /** Id of client signature in documents */ diff --git a/src/app/clients/clients-view/custom-dialogs/edit-notes-dialog/edit-notes-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/edit-notes-dialog/edit-notes-dialog.component.ts index efc672f65..7291ee9b4 100644 --- a/src/app/clients/clients-view/custom-dialogs/edit-notes-dialog/edit-notes-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/edit-notes-dialog/edit-notes-dialog.component.ts @@ -1,12 +1,25 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-notes-dialog', templateUrl: './edit-notes-dialog.component.html', - styleUrls: ['./edit-notes-dialog.component.scss'] + styleUrls: ['./edit-notes-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + MatDialogActions, + MatDialogClose + ] }) export class EditNotesDialogComponent implements OnInit { noteForm: UntypedFormGroup; diff --git a/src/app/clients/clients-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts index a1b0a7854..cb52774ed 100644 --- a/src/app/clients/clients-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Unassign staff dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-unassign-staff-dialog', templateUrl: './unassign-staff-dialog.component.html', - styleUrls: ['./unassign-staff-dialog.component.scss'] + styleUrls: ['./unassign-staff-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class UnassignStaffDialogComponent { /** diff --git a/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts index 008de8c05..3eeba8a93 100644 --- a/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts @@ -1,11 +1,26 @@ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { FileUploadComponent } from '../../../../shared/file-upload/file-upload.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-upload-document-dialog', templateUrl: './upload-document-dialog.component.html', - styleUrls: ['./upload-document-dialog.component.scss'] + styleUrls: ['./upload-document-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + FileUploadComponent, + MatDialogActions, + MatDialogClose + ] }) export class UploadDocumentDialogComponent implements OnInit { /** Upload Document form. */ diff --git a/src/app/clients/clients-view/custom-dialogs/upload-image-dialog/upload-image-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/upload-image-dialog/upload-image-dialog.component.ts index 4da8aa6f7..c31585289 100644 --- a/src/app/clients/clients-view/custom-dialogs/upload-image-dialog/upload-image-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/upload-image-dialog/upload-image-dialog.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { MatDialogRef, MatDialogTitle, MatDialogActions, MatDialogClose } from '@angular/material/dialog'; +import { FileUploadComponent } from '../../../../shared/file-upload/file-upload.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Upload image dialog component. @@ -8,7 +10,14 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-upload-image-dialog', templateUrl: './upload-image-dialog.component.html', - styleUrls: ['./upload-image-dialog.component.scss'] + styleUrls: ['./upload-image-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + FileUploadComponent, + MatDialogActions, + MatDialogClose + ] }) export class UploadImageDialogComponent { /** Client Image */ diff --git a/src/app/clients/clients-view/custom-dialogs/upload-signature-dialog/upload-signature-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/upload-signature-dialog/upload-signature-dialog.component.ts index 5590f2e27..189bbadcb 100644 --- a/src/app/clients/clients-view/custom-dialogs/upload-signature-dialog/upload-signature-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/upload-signature-dialog/upload-signature-dialog.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { MatDialogRef, MatDialogTitle, MatDialogActions, MatDialogClose } from '@angular/material/dialog'; +import { FileUploadComponent } from '../../../../shared/file-upload/file-upload.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Upload signature dialog component. @@ -8,7 +10,14 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-upload-signature-dialog', templateUrl: './upload-signature-dialog.component.html', - styleUrls: ['./upload-signature-dialog.component.scss'] + styleUrls: ['./upload-signature-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + FileUploadComponent, + MatDialogActions, + MatDialogClose + ] }) export class UploadSignatureDialogComponent { /** Client Signature */ diff --git a/src/app/clients/clients-view/custom-dialogs/view-signature-dialog/view-signature-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/view-signature-dialog/view-signature-dialog.component.ts index 74ed5bfca..de887a702 100644 --- a/src/app/clients/clients-view/custom-dialogs/view-signature-dialog/view-signature-dialog.component.ts +++ b/src/app/clients/clients-view/custom-dialogs/view-signature-dialog/view-signature-dialog.component.ts @@ -1,6 +1,13 @@ /** Angular Imports */ import { Component, Inject, OnInit } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; import { DomSanitizer } from '@angular/platform-browser'; /** Custom Services */ @@ -8,6 +15,8 @@ import { ClientsService } from 'app/clients/clients.service'; /** Node Types */ import { Buffer } from 'buffer'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View signature dialog component. @@ -15,7 +24,15 @@ import { Buffer } from 'buffer'; @Component({ selector: 'mifosx-view-signature-dialog', templateUrl: './view-signature-dialog.component.html', - styleUrls: ['./view-signature-dialog.component.scss'] + styleUrls: ['./view-signature-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ViewSignatureDialogComponent implements OnInit { /** Id of client signature in documents */ diff --git a/src/app/clients/clients-view/datatable-tab/datatable-tab.component.ts b/src/app/clients/clients-view/datatable-tab/datatable-tab.component.ts index 42b07bcd0..ff0aaf5e2 100644 --- a/src/app/clients/clients-view/datatable-tab/datatable-tab.component.ts +++ b/src/app/clients/clients-view/datatable-tab/datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-tab', templateUrl: './datatable-tab.component.html', - styleUrls: ['./datatable-tab.component.scss'] + styleUrls: ['./datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabComponent { entityId: string; diff --git a/src/app/clients/clients-view/documents-tab/documents-tab.component.ts b/src/app/clients/clients-view/documents-tab/documents-tab.component.ts index ced14abbd..dd6d954f3 100644 --- a/src/app/clients/clients-view/documents-tab/documents-tab.component.ts +++ b/src/app/clients/clients-view/documents-tab/documents-tab.component.ts @@ -4,11 +4,17 @@ import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ import { ClientsService } from '../../clients.service'; +import { EntityDocumentsTabComponent } from '../../../shared/tabs/entity-documents-tab/entity-documents-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-documents-tab', templateUrl: './documents-tab.component.html', - styleUrls: ['./documents-tab.component.scss'] + styleUrls: ['./documents-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDocumentsTabComponent + ] }) export class DocumentsTabComponent { entityDocuments: any; diff --git a/src/app/clients/clients-view/family-members-tab/add-family-member/add-family-member.component.ts b/src/app/clients/clients-view/family-members-tab/add-family-member/add-family-member.component.ts index 95357585d..fe58e56db 100644 --- a/src/app/clients/clients-view/family-members-tab/add-family-member/add-family-member.component.ts +++ b/src/app/clients/clients-view/family-members-tab/add-family-member/add-family-member.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from '../../../clients.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Family Member Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-add-family-member', templateUrl: './add-family-member.component.html', - styleUrls: ['./add-family-member.component.scss'] + styleUrls: ['./add-family-member.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class AddFamilyMemberComponent implements OnInit { /** Maximum Due Date allowed. */ diff --git a/src/app/clients/clients-view/family-members-tab/edit-family-member/edit-family-member.component.ts b/src/app/clients/clients-view/family-members-tab/edit-family-member/edit-family-member.component.ts index 030b5eece..2f442e3a3 100644 --- a/src/app/clients/clients-view/family-members-tab/edit-family-member/edit-family-member.component.ts +++ b/src/app/clients/clients-view/family-members-tab/edit-family-member/edit-family-member.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ClientsService } from '../../../clients.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Family Member Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-family-member', templateUrl: './edit-family-member.component.html', - styleUrls: ['./edit-family-member.component.scss'] + styleUrls: ['./edit-family-member.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class EditFamilyMemberComponent implements OnInit { /** Maximum Due Date allowed. */ diff --git a/src/app/clients/clients-view/family-members-tab/family-members-tab.component.ts b/src/app/clients/clients-view/family-members-tab/family-members-tab.component.ts index 1b03cb289..64c67a7ee 100644 --- a/src/app/clients/clients-view/family-members-tab/family-members-tab.component.ts +++ b/src/app/clients/clients-view/family-members-tab/family-members-tab.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterOutlet, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Components */ @@ -8,6 +8,18 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial /** Custom Services */ import { ClientsService } from '../../clients.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription +} from '@angular/material/expansion'; +import { MatDivider } from '@angular/material/divider'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Family Members Tab @@ -15,7 +27,20 @@ import { ClientsService } from '../../clients.service'; @Component({ selector: 'mifosx-family-members-tab', templateUrl: './family-members-tab.component.html', - styleUrls: ['./family-members-tab.component.scss'] + styleUrls: ['./family-members-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + RouterOutlet, + FaIconComponent, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + MatExpansionPanelDescription, + MatDivider, + DateFormatPipe, + YesnoPipe + ] }) export class FamilyMembersTabComponent { /** Client Family Members */ diff --git a/src/app/clients/clients-view/general-tab/general-tab.component.ts b/src/app/clients/clients-view/general-tab/general-tab.component.ts index e78253c58..f26c8926d 100644 --- a/src/app/clients/clients-view/general-tab/general-tab.component.ts +++ b/src/app/clients/clients-view/general-tab/general-tab.component.ts @@ -1,9 +1,30 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { Router, ActivatedRoute } from '@angular/router'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services. */ import { ClientsService } from 'app/clients/clients.service'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgClass, NgIf } from '@angular/common'; +import { AccountNumberComponent } from '../../../shared/account-number/account-number.component'; +import { LongTextComponent } from '../../../shared/long-text/long-text.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { AccountsFilterPipe } from '../../../pipes/accounts-filter.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * General Tab component. @@ -11,7 +32,28 @@ import { ClientsService } from 'app/clients/clients.service'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + AccountNumberComponent, + LongTextComponent, + MatTooltip, + StatusLookupPipe, + AccountsFilterPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class GeneralTabComponent { /** Open Loan Accounts Columns */ diff --git a/src/app/clients/clients-view/identities-tab/identities-tab.component.ts b/src/app/clients/clients-view/identities-tab/identities-tab.component.ts index 67358add8..b4ae11604 100644 --- a/src/app/clients/clients-view/identities-tab/identities-tab.component.ts +++ b/src/app/clients/clients-view/identities-tab/identities-tab.component.ts @@ -1,7 +1,18 @@ /** Angular Imports */ import { Component, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { MatTable } from '@angular/material/table'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; /** Custom Models */ @@ -17,6 +28,9 @@ import { UploadDocumentDialogComponent } from '../custom-dialogs/upload-document /** Custom Services */ import { TranslateService } from '@ngx-translate/core'; import { ClientsService } from '../../clients.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgStyle, NgFor } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Identities Tab Component @@ -24,7 +38,22 @@ import { ClientsService } from '../../clients.service'; @Component({ selector: 'mifosx-identities-tab', templateUrl: './identities-tab.component.html', - styleUrls: ['./identities-tab.component.scss'] + styleUrls: ['./identities-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + NgStyle, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class IdentitiesTabComponent { /** Client Identities */ diff --git a/src/app/clients/clients-view/notes-tab/notes-tab.component.ts b/src/app/clients/clients-view/notes-tab/notes-tab.component.ts index 240b34ba2..7be778d2c 100644 --- a/src/app/clients/clients-view/notes-tab/notes-tab.component.ts +++ b/src/app/clients/clients-view/notes-tab/notes-tab.component.ts @@ -7,6 +7,8 @@ import { ActivatedRoute } from '@angular/router'; /** Custom Services */ import { ClientsService } from '../../clients.service'; import { AuthenticationService } from 'app/core/authentication/authentication.service'; +import { EntityNotesTabComponent } from '../../../shared/tabs/entity-notes-tab/entity-notes-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Notes Tab Component @@ -14,7 +16,11 @@ import { AuthenticationService } from 'app/core/authentication/authentication.se @Component({ selector: 'mifosx-notes-tab', templateUrl: './notes-tab.component.html', - styleUrls: ['./notes-tab.component.scss'] + styleUrls: ['./notes-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityNotesTabComponent + ] }) export class NotesTabComponent implements OnInit { /** Client ID */ diff --git a/src/app/clients/clients.component.ts b/src/app/clients/clients.component.ts index aa765a24e..12ec8c1bc 100644 --- a/src/app/clients/clients.component.ts +++ b/src/app/clients/clients.component.ts @@ -2,17 +2,59 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatCheckbox } from '@angular/material/checkbox'; import { MatPaginator, PageEvent } from '@angular/material/paginator'; -import { MatSort, Sort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, Sort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ -import { environment } from 'environments/environment'; +import { environment } from '../../environments/environment'; import { ClientsService } from './clients.service'; +import { NgIf, NgClass } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatProgressBar } from '@angular/material/progress-bar'; +import { AccountNumberComponent } from '../shared/account-number/account-number.component'; +import { ExternalIdentifierComponent } from '../shared/external-identifier/external-identifier.component'; +import { StatusLookupPipe } from '../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-clients', templateUrl: './clients.component.html', - styleUrls: ['./clients.component.scss'] + styleUrls: ['./clients.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + FaIconComponent, + MatProgressBar, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + AccountNumberComponent, + ExternalIdentifierComponent, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe + ] }) export class ClientsComponent implements OnInit { @ViewChild('showClosedAccounts') showClosedAccounts: MatCheckbox; diff --git a/src/app/clients/clients.module.ts b/src/app/clients/clients.module.ts index 7ae349703..fb8db687f 100644 --- a/src/app/clients/clients.module.ts +++ b/src/app/clients/clients.module.ts @@ -67,9 +67,7 @@ import { ClientDatatableStepComponent } from './client-stepper/client-datatable- SharedModule, ClientsRoutingModule, PipesModule, - DirectivesModule - ], - declarations: [ + DirectivesModule, ClientsComponent, ClientsViewComponent, GeneralTabComponent, diff --git a/src/app/clients/create-client/create-client.component.ts b/src/app/clients/create-client/create-client.component.ts index e72b9cbeb..539778720 100644 --- a/src/app/clients/create-client/create-client.component.ts +++ b/src/app/clients/create-client/create-client.component.ts @@ -13,6 +13,10 @@ import { ClientDatatableStepComponent } from '../client-stepper/client-datatable /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ClientPreviewStepComponent } from '../client-stepper/client-preview-step/client-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Client Component. @@ -20,7 +24,20 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-create-client', templateUrl: './create-client.component.html', - styleUrls: ['./create-client.component.scss'] + styleUrls: ['./create-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + ClientGeneralStepComponent, + ClientFamilyMembersStepComponent, + ClientAddressStepComponent, + ClientDatatableStepComponent, + ClientPreviewStepComponent + ] }) export class CreateClientComponent { /** Client General Step */ diff --git a/src/app/clients/edit-client/edit-client.component.ts b/src/app/clients/edit-client/edit-client.component.ts index 7eba92417..ecfbad552 100644 --- a/src/app/clients/edit-client/edit-client.component.ts +++ b/src/app/clients/edit-client/edit-client.component.ts @@ -1,12 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, UntypedFormControl } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormGroup, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; /** Custom Services */ import { ClientsService } from '../clients.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatDivider } from '@angular/material/divider'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Client Component @@ -14,7 +24,13 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-client', templateUrl: './edit-client.component.html', - styleUrls: ['./edit-client.component.scss'] + styleUrls: ['./edit-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + CdkTextareaAutosize, + MatCheckbox + ] }) export class EditClientComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/collaterals/collaterals.module.ts b/src/app/collaterals/collaterals.module.ts index 811291a99..d902fcd1a 100644 --- a/src/app/collaterals/collaterals.module.ts +++ b/src/app/collaterals/collaterals.module.ts @@ -14,16 +14,14 @@ import { ViewCollateralComponent } from './view-collateral/view-collateral.compo import { EditCollateralComponent } from './edit-collateral/edit-collateral.component'; @NgModule({ - declarations: [ - ViewCollateralComponent, - EditCollateralComponent - ], imports: [ CommonModule, CollateralsRoutingModule, SharedModule, DirectivesModule, - PipesModule + PipesModule, + ViewCollateralComponent, + EditCollateralComponent ] }) export class CollateralsModule {} diff --git a/src/app/collaterals/edit-collateral/edit-collateral.component.ts b/src/app/collaterals/edit-collateral/edit-collateral.component.ts index 7be39c012..2a8529b3e 100644 --- a/src/app/collaterals/edit-collateral/edit-collateral.component.ts +++ b/src/app/collaterals/edit-collateral/edit-collateral.component.ts @@ -1,16 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { CollateralsService } from '../collaterals.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-collateral', templateUrl: './edit-collateral.component.html', - styleUrls: ['./edit-collateral.component.scss'] + styleUrls: ['./edit-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditCollateralComponent implements OnInit { /** Client Collateral Form */ diff --git a/src/app/collaterals/view-collateral/view-collateral.component.ts b/src/app/collaterals/view-collateral/view-collateral.component.ts index 94fc048ab..e01a8acd6 100644 --- a/src/app/collaterals/view-collateral/view-collateral.component.ts +++ b/src/app/collaterals/view-collateral/view-collateral.component.ts @@ -1,15 +1,47 @@ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { CollateralsService } from '../collaterals.service'; import { MatDialog } from '@angular/material/dialog'; /** Custom Components */ import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-collateral', templateUrl: './view-collateral.component.html', - styleUrls: ['./view-collateral.component.scss'] + styleUrls: ['./view-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + FormatNumberPipe + ] }) export class ViewCollateralComponent { clientCollateralData: any; diff --git a/src/app/collections/collections.module.ts b/src/app/collections/collections.module.ts index a834a46a8..a92fcb102 100644 --- a/src/app/collections/collections.module.ts +++ b/src/app/collections/collections.module.ts @@ -13,9 +13,7 @@ import { IndividualCollectionSheetComponent } from './individual-collection-shee imports: [ SharedModule, PipesModule, - CollectionsRoutingModule - ], - declarations: [ + CollectionsRoutingModule, IndividualCollectionSheetComponent ] }) diff --git a/src/app/collections/individual-collection-sheet/individual-collection-sheet.component.ts b/src/app/collections/individual-collection-sheet/individual-collection-sheet.component.ts index 3e892b3d1..13acdb6c7 100644 --- a/src/app/collections/individual-collection-sheet/individual-collection-sheet.component.ts +++ b/src/app/collections/individual-collection-sheet/individual-collection-sheet.component.ts @@ -2,10 +2,22 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Services Import */ import { CollectionsService } from '../collections.service'; @@ -21,6 +33,8 @@ import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Individual Collection Sheet @@ -28,7 +42,24 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-individual-collection-sheet', templateUrl: './individual-collection-sheet.component.html', - styleUrls: ['./individual-collection-sheet.component.scss'] + styleUrls: ['./individual-collection-sheet.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class IndividualCollectionSheetComponent implements OnInit { /** Offices Data */ diff --git a/src/app/configuration-wizard/completion-dialog/completion-dialog.component.ts b/src/app/configuration-wizard/completion-dialog/completion-dialog.component.ts index e838c3cea..54e4e16b2 100644 --- a/src/app/configuration-wizard/completion-dialog/completion-dialog.component.ts +++ b/src/app/configuration-wizard/completion-dialog/completion-dialog.component.ts @@ -1,6 +1,16 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatProgressBar } from '@angular/material/progress-bar'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Completion Dialog Component. @@ -8,7 +18,16 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-completion-dialog', templateUrl: './completion-dialog.component.html', - styleUrls: ['./completion-dialog.component.scss'] + styleUrls: ['./completion-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatProgressBar, + MatDialogActions, + MatDialogClose + ] }) export class CompletionDialogComponent { constructor( diff --git a/src/app/configuration-wizard/configuration-wizard.component.ts b/src/app/configuration-wizard/configuration-wizard.component.ts index a4938e437..3197fec71 100644 --- a/src/app/configuration-wizard/configuration-wizard.component.ts +++ b/src/app/configuration-wizard/configuration-wizard.component.ts @@ -1,6 +1,17 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogClose, + MatDialogActions +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatGridList, MatGridTile } from '@angular/material/grid-list'; +import { MatProgressBar } from '@angular/material/progress-bar'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Configuration Wizard Component. @@ -8,7 +19,18 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-configuration-wizard', templateUrl: './configuration-wizard.component.html', - styleUrls: ['./configuration-wizard.component.scss'] + styleUrls: ['./configuration-wizard.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatGridList, + MatGridTile, + MatDialogClose, + MatProgressBar, + MatDialogActions + ] }) export class ConfigurationWizardComponent { show: number; diff --git a/src/app/configuration-wizard/configuration-wizard.module.ts b/src/app/configuration-wizard/configuration-wizard.module.ts index e53e691bf..d25ab2a75 100644 --- a/src/app/configuration-wizard/configuration-wizard.module.ts +++ b/src/app/configuration-wizard/configuration-wizard.module.ts @@ -23,7 +23,12 @@ import { SharedModule } from '../shared/shared.module'; * Configuration Wizard Module */ @NgModule({ - declarations: [ + imports: [ + SharedModule, + CommonModule, + OverlayModule, + PortalModule, + MatDialogModule, PopoverComponent, PopoverCloseDirective, PopoverArrowDirective, @@ -32,13 +37,6 @@ import { SharedModule } from '../shared/shared.module'; NextStepDialogComponent, CompletionDialogComponent ], - imports: [ - SharedModule, - CommonModule, - OverlayModule, - PortalModule, - MatDialogModule - ], exports: [ PopoverCloseDirective ] diff --git a/src/app/configuration-wizard/continue-setup-dialog/continue-setup-dialog.component.ts b/src/app/configuration-wizard/continue-setup-dialog/continue-setup-dialog.component.ts index 5ad220fb7..6470d917e 100644 --- a/src/app/configuration-wizard/continue-setup-dialog/continue-setup-dialog.component.ts +++ b/src/app/configuration-wizard/continue-setup-dialog/continue-setup-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Continue Setup Dialog Component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-continue-setup-dialog', templateUrl: './continue-setup-dialog.component.html', - styleUrls: ['./continue-setup-dialog.component.scss'] + styleUrls: ['./continue-setup-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ContinueSetupDialogComponent { /* Current Step Name*/ diff --git a/src/app/configuration-wizard/next-step-dialog/next-step-dialog.component.ts b/src/app/configuration-wizard/next-step-dialog/next-step-dialog.component.ts index 29f331491..6776b6985 100644 --- a/src/app/configuration-wizard/next-step-dialog/next-step-dialog.component.ts +++ b/src/app/configuration-wizard/next-step-dialog/next-step-dialog.component.ts @@ -1,6 +1,16 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatProgressBar } from '@angular/material/progress-bar'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Next Step Dialog Component. @@ -8,7 +18,16 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-next-step-dialog', templateUrl: './next-step-dialog.component.html', - styleUrls: ['./next-step-dialog.component.scss'] + styleUrls: ['./next-step-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatProgressBar, + MatDialogActions, + MatDialogClose + ] }) export class NextStepDialogComponent { /* Step Percentage */ diff --git a/src/app/configuration-wizard/popover/popover-arrow.directive.ts b/src/app/configuration-wizard/popover/popover-arrow.directive.ts index 2d6767d29..59761a51a 100644 --- a/src/app/configuration-wizard/popover/popover-arrow.directive.ts +++ b/src/app/configuration-wizard/popover/popover-arrow.directive.ts @@ -11,9 +11,7 @@ import { PopoverRef } from './popover-ref'; /** * Internal directive that shows the popover arrow. */ -@Directive({ - selector: '[mifosxPopoverArrow]' -}) +@Directive({ selector: '[mifosxPopoverArrow]' }) export class PopoverArrowDirective implements OnDestroy { @HostBinding('style.width.px') @HostBinding('style.height.px') diff --git a/src/app/configuration-wizard/popover/popover-close.directive.ts b/src/app/configuration-wizard/popover/popover-close.directive.ts index 6d157f2a2..5247b6dc2 100644 --- a/src/app/configuration-wizard/popover/popover-close.directive.ts +++ b/src/app/configuration-wizard/popover/popover-close.directive.ts @@ -7,9 +7,7 @@ import { PopoverRef } from './popover-ref'; /** * Button that will close the current popover. */ -@Directive({ - selector: '[mifosxPopoverClose]' -}) +@Directive({ selector: '[mifosxPopoverClose]' }) export class PopoverCloseDirective { @Input('mifosxPopoverClose') popoverResult: T; diff --git a/src/app/configuration-wizard/popover/popover.component.ts b/src/app/configuration-wizard/popover/popover.component.ts index 1ad161825..f505d5d56 100644 --- a/src/app/configuration-wizard/popover/popover.component.ts +++ b/src/app/configuration-wizard/popover/popover.component.ts @@ -10,6 +10,8 @@ import { map } from 'rxjs/operators'; /* Popover Ref */ import { PopoverRef } from './popover-ref'; +import { PopoverArrowDirective } from './popover-arrow.directive'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Internal component that wraps user-provided popover content. @@ -17,7 +19,12 @@ import { PopoverRef } from './popover-ref'; @Component({ selector: 'mifosx-popover', templateUrl: './popover.component.html', - styleUrls: ['./popover.component.scss'] + styleUrls: ['./popover.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkPortalOutlet, + PopoverArrowDirective + ] }) export class PopoverComponent extends BasePortalOutlet { @ViewChild(CdkPortalOutlet, { static: true }) portalOutlet: CdkPortalOutlet; diff --git a/src/app/core/core.module.ts b/src/app/core/core.module.ts index 43f125564..3e26d95ae 100644 --- a/src/app/core/core.module.ts +++ b/src/app/core/core.module.ts @@ -47,13 +47,6 @@ import { ContentComponent } from './shell/content/content.component'; * Main app shell components and singleton services should be here. */ @NgModule({ - declarations: [ - ShellComponent, - SidenavComponent, - ToolbarComponent, - BreadcrumbComponent, - ContentComponent - ], exports: [ SharedModule // TO BE REMOVED: Once all components have replaced the core module import by shared module. @@ -61,7 +54,12 @@ import { ContentComponent } from './shell/content/content.component'; imports: [ SharedModule, TranslateModule, - RouterModule + RouterModule, + ShellComponent, + SidenavComponent, + ToolbarComponent, + BreadcrumbComponent, + ContentComponent ], providers: [ AuthenticationService, diff --git a/src/app/core/http/error-handler.interceptor.ts b/src/app/core/http/error-handler.interceptor.ts index 49eb2bc6a..3e2464454 100644 --- a/src/app/core/http/error-handler.interceptor.ts +++ b/src/app/core/http/error-handler.interceptor.ts @@ -7,7 +7,7 @@ import { Observable } from 'rxjs'; import { catchError } from 'rxjs/operators'; /** Environment Configuration */ -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; /** Custom Services */ import { Logger } from '../logger/logger.service'; diff --git a/src/app/core/shell/breadcrumb/breadcrumb.component.ts b/src/app/core/shell/breadcrumb/breadcrumb.component.ts index a3063e9e5..d8c45c515 100644 --- a/src/app/core/shell/breadcrumb/breadcrumb.component.ts +++ b/src/app/core/shell/breadcrumb/breadcrumb.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { ActivatedRoute, Router, NavigationEnd, Data } from '@angular/router'; +import { ActivatedRoute, Router, NavigationEnd, Data, RouterLink } from '@angular/router'; /** rxjs Imports */ import { filter } from 'rxjs/operators'; @@ -12,6 +12,7 @@ import { Breadcrumb } from './breadcrumb.model'; import { PopoverService } from '../../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../../configuration-wizard/configuration-wizard.service'; import { TranslateService } from '@ngx-translate/core'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Route data property to generate breadcrumb using a static string. @@ -48,7 +49,10 @@ const routeAddBreadcrumbLink = 'addBreadcrumbLink'; @Component({ selector: 'mifosx-breadcrumb', templateUrl: './breadcrumb.component.html', - styleUrls: ['./breadcrumb.component.scss'] + styleUrls: ['./breadcrumb.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class BreadcrumbComponent implements AfterViewInit { /** Array of breadcrumbs. */ diff --git a/src/app/core/shell/content/content.component.ts b/src/app/core/shell/content/content.component.ts index f3eb105b5..c045b2d35 100644 --- a/src/app/core/shell/content/content.component.ts +++ b/src/app/core/shell/content/content.component.ts @@ -1,5 +1,7 @@ /** Angular Imports */ import { Component } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Content component. @@ -7,7 +9,11 @@ import { Component } from '@angular/core'; @Component({ selector: 'mifosx-content', templateUrl: './content.component.html', - styleUrls: ['./content.component.scss'] + styleUrls: ['./content.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + RouterOutlet + ] }) export class ContentComponent { constructor() {} diff --git a/src/app/core/shell/shell.component.ts b/src/app/core/shell/shell.component.ts index 0889fca40..0a950b006 100644 --- a/src/app/core/shell/shell.component.ts +++ b/src/app/core/shell/shell.component.ts @@ -8,6 +8,14 @@ import { map } from 'rxjs/operators'; /** Custom Services */ import { ProgressBarService } from '../progress-bar/progress-bar.service'; +import { MatSidenavContainer, MatSidenav, MatSidenavContent } from '@angular/material/sidenav'; +import { NgClass, NgIf, AsyncPipe } from '@angular/common'; +import { SidenavComponent } from './sidenav/sidenav.component'; +import { ToolbarComponent } from './toolbar/toolbar.component'; +import { BreadcrumbComponent } from './breadcrumb/breadcrumb.component'; +import { ContentComponent } from './content/content.component'; +import { FooterComponent } from '../../shared/footer/footer.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shell component. @@ -15,7 +23,20 @@ import { ProgressBarService } from '../progress-bar/progress-bar.service'; @Component({ selector: 'mifosx-shell', templateUrl: './shell.component.html', - styleUrls: ['./shell.component.scss'] + styleUrls: ['./shell.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatSidenavContainer, + MatSidenav, + NgClass, + SidenavComponent, + MatSidenavContent, + ToolbarComponent, + BreadcrumbComponent, + ContentComponent, + FooterComponent, + AsyncPipe + ] }) export class ShellComponent implements OnInit, OnDestroy { /** Subscription to breakpoint observer for handset. */ diff --git a/src/app/core/shell/sidenav/sidenav.component.ts b/src/app/core/shell/sidenav/sidenav.component.ts index 69d4436e7..4bf792029 100644 --- a/src/app/core/shell/sidenav/sidenav.component.ts +++ b/src/app/core/shell/sidenav/sidenav.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit, Input, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { Router } from '@angular/router'; +import { Router, RouterLink, RouterLinkActive } from '@angular/router'; /** Custom Components */ import { KeyboardShortcutsDialogComponent } from 'app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component'; @@ -14,6 +14,15 @@ import { ConfigurationWizardService } from '../../../configuration-wizard/config /** Custom Imports */ import { frequentActivities } from './frequent-activities'; import { SettingsService } from 'app/settings/settings.service'; +import { NgClass, NgFor } from '@angular/common'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Sidenav component. @@ -21,7 +30,20 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-sidenav', templateUrl: './sidenav.component.html', - styleUrls: ['./sidenav.component.scss'] + styleUrls: ['./sidenav.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgClass, + MatIconButton, + MatTooltip, + FaIconComponent, + MatDivider, + MatNavList, + MatListItem, + RouterLinkActive, + MatIcon, + MatLine + ] }) export class SidenavComponent implements OnInit, AfterViewInit { /** True if sidenav is in collapsed state. */ diff --git a/src/app/core/shell/toolbar/toolbar.component.ts b/src/app/core/shell/toolbar/toolbar.component.ts index 8d52bf35d..2dfb3eeab 100644 --- a/src/app/core/shell/toolbar/toolbar.component.ts +++ b/src/app/core/shell/toolbar/toolbar.component.ts @@ -15,7 +15,7 @@ import { import { MatDialog } from '@angular/material/dialog'; import { MatSidenav } from '@angular/material/sidenav'; import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout'; -import { Router } from '@angular/router'; +import { Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { Observable } from 'rxjs'; @@ -29,6 +29,17 @@ import { ConfigurationWizardService } from '../../../configuration-wizard/config /** Custom Components */ import { ConfigurationWizardComponent } from '../../../configuration-wizard/configuration-wizard.component'; import { NotificationsTrayComponent } from 'app/shared/notifications-tray/notifications-tray.component'; +import { MatToolbar } from '@angular/material/toolbar'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { SearchToolComponent } from '../../../shared/search-tool/search-tool.component'; +import { LanguageSelectorComponent } from '../../../shared/language-selector/language-selector.component'; +import { MatIcon } from '@angular/material/icon'; +import { NotificationsTrayComponent as NotificationsTrayComponent_1 } from '../../../shared/notifications-tray/notifications-tray.component'; +import { ThemeToggleComponent } from '../../../shared/theme-toggle/theme-toggle.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Toolbar component. @@ -36,7 +47,22 @@ import { NotificationsTrayComponent } from 'app/shared/notifications-tray/notifi @Component({ selector: 'mifosx-toolbar', templateUrl: './toolbar.component.html', - styleUrls: ['./toolbar.component.scss'] + styleUrls: ['./toolbar.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatToolbar, + MatIconButton, + MatTooltip, + FaIconComponent, + MatMenuTrigger, + SearchToolComponent, + LanguageSelectorComponent, + MatIcon, + NotificationsTrayComponent_1, + ThemeToggleComponent, + MatMenu, + MatMenuItem + ] }) export class ToolbarComponent implements OnInit, AfterViewInit, AfterContentChecked { /* Reference of institution */ diff --git a/src/app/core/utils/password.validator.ts b/src/app/core/utils/password.validator.ts index b1a6c1c00..1ef90d8bd 100644 --- a/src/app/core/utils/password.validator.ts +++ b/src/app/core/utils/password.validator.ts @@ -1,5 +1,5 @@ import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms'; -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; export function passwordValidator(): ValidatorFn { return (control: AbstractControl): ValidationErrors | null => { diff --git a/src/app/core/utils/passwords-utility.ts b/src/app/core/utils/passwords-utility.ts index 238ddb62e..d5c0fee32 100644 --- a/src/app/core/utils/passwords-utility.ts +++ b/src/app/core/utils/passwords-utility.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; import { Subscription } from 'rxjs'; import { passwordValidator } from './password.validator'; -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; @Injectable({ providedIn: 'root' diff --git a/src/app/deposits/fixed-deposits/create-fixed-deposit-account/create-fixed-deposit-account.component.ts b/src/app/deposits/fixed-deposits/create-fixed-deposit-account/create-fixed-deposit-account.component.ts index 542bb05ae..ae97491dd 100644 --- a/src/app/deposits/fixed-deposits/create-fixed-deposit-account/create-fixed-deposit-account.component.ts +++ b/src/app/deposits/fixed-deposits/create-fixed-deposit-account/create-fixed-deposit-account.component.ts @@ -12,6 +12,11 @@ import { FixedDepositAccountTermsStepComponent } from '../fixed-deposit-account- import { FixedDepositAccountSettingsStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-settings-step/fixed-deposit-account-settings-step.component'; import { FixedDepositAccountChargesStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-charges-step/fixed-deposit-account-charges-step.component'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FixedDepositAccountInterestRateChartStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-interest-rate-chart-step/fixed-deposit-account-interest-rate-chart-step.component'; +import { FixedDepositAccountPreviewStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-preview-step/fixed-deposit-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Fixed Deposit Account Component @@ -19,7 +24,21 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-fixed-deposit-account', templateUrl: './create-fixed-deposit-account.component.html', - styleUrls: ['./create-fixed-deposit-account.component.scss'] + styleUrls: ['./create-fixed-deposit-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + FixedDepositAccountDetailsStepComponent, + FixedDepositAccountTermsStepComponent, + FixedDepositAccountSettingsStepComponent, + FixedDepositAccountInterestRateChartStepComponent, + FixedDepositAccountChargesStepComponent, + FixedDepositAccountPreviewStepComponent + ] }) export class CreateFixedDepositAccountComponent { /** Fixed Deposits Account Details Step */ diff --git a/src/app/deposits/fixed-deposits/edit-fixed-deposit-account/edit-fixed-deposit-account.component.ts b/src/app/deposits/fixed-deposits/edit-fixed-deposit-account/edit-fixed-deposit-account.component.ts index 522d08a1d..9382a8135 100644 --- a/src/app/deposits/fixed-deposits/edit-fixed-deposit-account/edit-fixed-deposit-account.component.ts +++ b/src/app/deposits/fixed-deposits/edit-fixed-deposit-account/edit-fixed-deposit-account.component.ts @@ -13,6 +13,11 @@ import { FixedDepositAccountSettingsStepComponent } from '../fixed-deposit-accou import { FixedDepositAccountChargesStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-charges-step/fixed-deposit-account-charges-step.component'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FixedDepositAccountInterestRateChartStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-interest-rate-chart-step/fixed-deposit-account-interest-rate-chart-step.component'; +import { FixedDepositAccountPreviewStepComponent } from '../fixed-deposit-account-stepper/fixed-deposit-account-preview-step/fixed-deposit-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Fixed Deposit Account Component @@ -20,7 +25,21 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-edit-fixed-deposit-account', templateUrl: './edit-fixed-deposit-account.component.html', - styleUrls: ['./edit-fixed-deposit-account.component.scss'] + styleUrls: ['./edit-fixed-deposit-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + FixedDepositAccountDetailsStepComponent, + FixedDepositAccountTermsStepComponent, + FixedDepositAccountSettingsStepComponent, + FixedDepositAccountInterestRateChartStepComponent, + FixedDepositAccountChargesStepComponent, + FixedDepositAccountPreviewStepComponent + ] }) export class EditFixedDepositAccountComponent { /** Fixed Deposits Account Details Step */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-charges-step/fixed-deposit-account-charges-step.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-charges-step/fixed-deposit-account-charges-step.component.ts index 92662e6f0..1a2aa34fd 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-charges-step/fixed-deposit-account-charges-step.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-charges-step/fixed-deposit-account-charges-step.component.ts @@ -13,6 +13,23 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { Dates } from 'app/core/utils/dates'; import { Charge, Currency } from 'app/shared/models/general.model'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposit Account Charges Step @@ -20,7 +37,25 @@ import { Charge, Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-fixed-deposit-account-charges-step', templateUrl: './fixed-deposit-account-charges-step.component.html', - styleUrls: ['./fixed-deposit-account-charges-step.component.scss'] + styleUrls: ['./fixed-deposit-account-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + DateFormatPipe + ] }) export class FixedDepositAccountChargesStepComponent implements OnInit, OnChanges { /** Fixed deposits account template */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-details-step/fixed-deposit-account-details-step.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-details-step/fixed-deposit-account-details-step.component.ts index 21b4b9534..4db644840 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-details-step/fixed-deposit-account-details-step.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-details-step/fixed-deposit-account-details-step.component.ts @@ -1,10 +1,14 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; /** Custom Services */ import { FixedDepositsService } from '../../fixed-deposits.service'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposits Account Details Step @@ -12,7 +16,14 @@ import { FixedDepositsService } from '../../fixed-deposits.service'; @Component({ selector: 'mifosx-fixed-deposit-account-details-step', templateUrl: './fixed-deposit-account-details-step.component.html', - styleUrls: ['./fixed-deposit-account-details-step.component.scss'] + styleUrls: ['./fixed-deposit-account-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositAccountDetailsStepComponent implements OnInit { /** Fixed Deposits Account Template */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-interest-rate-chart-step/fixed-deposit-account-interest-rate-chart-step.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-interest-rate-chart-step/fixed-deposit-account-interest-rate-chart-step.component.ts index 524f016f9..10c74ae72 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-interest-rate-chart-step/fixed-deposit-account-interest-rate-chart-step.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-interest-rate-chart-step/fixed-deposit-account-interest-rate-chart-step.component.ts @@ -1,7 +1,24 @@ /** Angular Imports */ import { Component, Input, OnChanges, ViewChild } from '@angular/core'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { animate, state, style, transition, trigger } from '@angular/animations'; +import { NgIf, NgSwitch, TitleCasePipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposits Account Interest Rate Chart Step @@ -16,6 +33,25 @@ import { animate, state, style, transition, trigger } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + TitleCasePipe, + DateFormatPipe ] }) export class FixedDepositAccountInterestRateChartStepComponent implements OnChanges { diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-preview-step/fixed-deposit-account-preview-step.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-preview-step/fixed-deposit-account-preview-step.component.ts index bc679ecd4..23a271303 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-preview-step/fixed-deposit-account-preview-step.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-preview-step/fixed-deposit-account-preview-step.component.ts @@ -1,6 +1,27 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter, OnChanges } from '@angular/core'; import { animate, state, style, transition, trigger } from '@angular/animations'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgSwitch, TitleCasePipe, CurrencyPipe } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposit Preview Step @@ -15,6 +36,29 @@ import { animate, state, style, transition, trigger } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + TitleCasePipe, + CurrencyPipe, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class FixedDepositAccountPreviewStepComponent implements OnChanges { diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-settings-step/fixed-deposit-account-settings-step.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-settings-step/fixed-deposit-account-settings-step.component.ts index a24e638ca..dc8f4ca12 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-settings-step/fixed-deposit-account-settings-step.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-settings-step/fixed-deposit-account-settings-step.component.ts @@ -1,8 +1,19 @@ /** Angular Imports */ import { Component, OnInit, Input, OnChanges } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; import { OptionData } from 'app/shared/models/option-data.model'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposits Account Settings Step @@ -10,7 +21,15 @@ import { OptionData } from 'app/shared/models/option-data.model'; @Component({ selector: 'mifosx-fixed-deposit-account-settings-step', templateUrl: './fixed-deposit-account-settings-step.component.html', - styleUrls: ['./fixed-deposit-account-settings-step.component.scss'] + styleUrls: ['./fixed-deposit-account-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositAccountSettingsStepComponent implements OnInit, OnChanges { /** Fixed deposits account template */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-terms-step/fixed-deposit-account-terms-step.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-terms-step/fixed-deposit-account-terms-step.component.ts index 3dcc4e2f1..ae63a2544 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-terms-step/fixed-deposit-account-terms-step.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-stepper/fixed-deposit-account-terms-step/fixed-deposit-account-terms-step.component.ts @@ -1,8 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input, OnChanges } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposits Terms Step @@ -10,7 +15,15 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-fixed-deposit-account-terms-step', templateUrl: './fixed-deposit-account-terms-step.component.html', - styleUrls: ['./fixed-deposit-account-terms-step.component.scss'] + styleUrls: ['./fixed-deposit-account-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositAccountTermsStepComponent implements OnInit, OnChanges { /** Fixed deposits account template */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/charges-tab/charges-tab.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/charges-tab/charges-tab.component.ts index 52a70bf06..1ef8e2297 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/charges-tab/charges-tab.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/charges-tab/charges-tab.component.ts @@ -2,7 +2,19 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; @@ -19,6 +31,10 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { Dates } from 'app/core/utils/dates'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Charges Tab Component @@ -27,7 +43,23 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-charges-tab', templateUrl: './charges-tab.component.html', - styleUrls: ['./charges-tab.component.scss'] + styleUrls: ['./charges-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + FormatNumberPipe + ] }) export class ChargesTabComponent implements OnInit { /** Fixed Deposits Account Data */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts index 228b51f6f..3c269b931 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts @@ -1,6 +1,14 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Calculate interest dialog component. @@ -8,7 +16,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-calculate-interest-dialog', templateUrl: './calculate-interest-dialog.component.html', - styleUrls: ['./calculate-interest-dialog.component.scss'] + styleUrls: ['./calculate-interest-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class CalculateInterestDialogComponent { /** diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts index e1eeebca7..289d1968d 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Inactivate charge dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-inactivate-charge-dialog', templateUrl: './inactivate-charge-dialog.component.html', - styleUrls: ['./inactivate-charge-dialog.component.scss'] + styleUrls: ['./inactivate-charge-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class InactivateChargeDialogComponent { /** diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts index 4cf7d3c3a..894cf6df9 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts @@ -1,6 +1,14 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Post interest dialog component. @@ -8,7 +16,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-post-interest-dialog', templateUrl: './post-interest-dialog.component.html', - styleUrls: ['./post-interest-dialog.component.scss'] + styleUrls: ['./post-interest-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class PostInterestDialogComponent { /** diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts index 7ad9b6505..d53f653f1 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Toggle withhold tax dialog dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-toggle-withhold-tax-dialog', templateUrl: './toggle-withhold-tax-dialog.component.html', - styleUrls: ['./toggle-withhold-tax-dialog.component.scss'] + styleUrls: ['./toggle-withhold-tax-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ToggleWithholdTaxDialogComponent { /** diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts index 2d7577ba7..df4e9b488 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Waive charge dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-waive-charge-dialog', templateUrl: './waive-charge-dialog.component.html', - styleUrls: ['./waive-charge-dialog.component.scss'] + styleUrls: ['./waive-charge-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class WaiveChargeDialogComponent { /** diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/datatable-tabs/datatable-tabs.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/datatable-tabs/datatable-tabs.component.ts index 10016b326..b25abead1 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/datatable-tabs/datatable-tabs.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/datatable-tabs/datatable-tabs.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Datatable Tabs Component @@ -8,7 +10,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-datatable-tabs', templateUrl: './datatable-tabs.component.html', - styleUrls: ['./datatable-tabs.component.scss'] + styleUrls: ['./datatable-tabs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabsComponent { entityId: string; diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/fixed-deposit-account-view.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/fixed-deposit-account-view.component.ts index 268f872d0..efa82b7e0 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/fixed-deposit-account-view.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/fixed-deposit-account-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Dialogs */ @@ -16,6 +16,24 @@ import { FixedDepositsButtonsConfiguration } from './fixed-deposits-buttons.conf import { FixedDepositsService } from '../fixed-deposits.service'; import { SavingsService } from 'app/savings/savings.service'; import { Currency } from 'app/shared/models/general.model'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardContent +} from '@angular/material/card'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgClass, NgIf, NgFor, CurrencyPipe } from '@angular/common'; +import { AccountNumberComponent } from '../../../shared/account-number/account-number.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposits Account View Component @@ -23,7 +41,30 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-fixed-deposit-account-view', templateUrl: './fixed-deposit-account-view.component.html', - styleUrls: ['./fixed-deposit-account-view.component.scss'] + styleUrls: ['./fixed-deposit-account-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatTooltip, + MatCardTitle, + NgClass, + AccountNumberComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + CurrencyPipe, + StatusLookupPipe + ] }) export class FixedDepositAccountViewComponent implements OnInit { /** Fixed Deposits Account Data */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/general-tab/general-tab.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/general-tab/general-tab.component.ts index c07fea0f3..e099acfae 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/general-tab/general-tab.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/general-tab/general-tab.component.ts @@ -1,11 +1,21 @@ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Currency } from 'app/shared/models/general.model'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { ExternalIdentifierComponent } from '../../../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ExternalIdentifierComponent, + CurrencyPipe, + DateFormatPipe + ] }) export class GeneralTabComponent { fixedDepositsAccountData: any; diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts index 967cc47b4..f17bfea1e 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts @@ -2,6 +2,22 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { animate, state, style, transition, trigger } from '@angular/animations'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgIf, NgSwitch, TitleCasePipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Interest Rate Chart Tab @@ -16,6 +32,23 @@ import { animate, state, style, transition, trigger } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + TitleCasePipe, + FormatNumberPipe ] }) export class InterestRateChartTabComponent { diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/standing-instructions-tab/standing-instructions-tab.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/standing-instructions-tab/standing-instructions-tab.component.ts index abdb5815e..3476b920d 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/standing-instructions-tab/standing-instructions-tab.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/standing-instructions-tab/standing-instructions-tab.component.ts @@ -1,7 +1,19 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ @@ -11,6 +23,9 @@ import { SettingsService } from 'app/settings/settings.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposits Standing Instructions Tab @@ -18,7 +33,22 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-standing-instructions-tab', templateUrl: './standing-instructions-tab.component.html', - styleUrls: ['./standing-instructions-tab.component.scss'] + styleUrls: ['./standing-instructions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class StandingInstructionsTabComponent implements OnInit { /** Fixed Deposits Data */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/transactions-tab/transactions-tab.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/transactions-tab/transactions-tab.component.ts index 4a8d0b3c4..722daec05 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/transactions-tab/transactions-tab.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/transactions-tab/transactions-tab.component.ts @@ -1,12 +1,33 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SavingsAccountTransaction } from 'app/savings/models/savings-account-transaction.model'; +import { NgIf, NgClass } from '@angular/common'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Transactions Tab Component. @@ -14,7 +35,30 @@ import { SavingsAccountTransaction } from 'app/savings/models/savings-account-tr @Component({ selector: 'mifosx-transactions-tab', templateUrl: './transactions-tab.component.html', - styleUrls: ['./transactions-tab.component.scss'] + styleUrls: ['./transactions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + MatIconButton, + MatMenuTrigger, + MatIcon, + MatMenu, + MatMenuItem, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + FormatNumberPipe + ] }) export class TransactionsTabComponent implements OnInit { accountId: string; diff --git a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/view-transaction/view-transaction.component.ts b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/view-transaction/view-transaction.component.ts index 932445b8f..3dbb293e5 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposit-account-view/view-transaction/view-transaction.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposit-account-view/view-transaction/view-transaction.component.ts @@ -1,11 +1,16 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; import { UndoTransactionDialogComponent } from 'app/savings/savings-account-view/custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component'; import { Dates } from 'app/core/utils/dates'; import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { NgIf, NgClass, CurrencyPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { TransactionPaymentDetailComponent } from '../../../../shared/transaction-payment-detail/transaction-payment-detail.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Transaction Component. @@ -13,7 +18,15 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-view-transaction', templateUrl: './view-transaction.component.html', - styleUrls: ['./view-transaction.component.scss'] + styleUrls: ['./view-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + NgClass, + TransactionPaymentDetailComponent, + CurrencyPipe, + DateFormatPipe + ] }) export class ViewTransactionComponent { accountId: string; diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/activate-fixed-deposits-account/activate-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/activate-fixed-deposits-account/activate-fixed-deposits-account.component.ts index 565f549d7..058ec6b95 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/activate-fixed-deposits-account/activate-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/activate-fixed-deposits-account/activate-fixed-deposits-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Fixed Deposits Account Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-activate-fixed-deposits-account', templateUrl: './activate-fixed-deposits-account.component.html', - styleUrls: ['./activate-fixed-deposits-account.component.scss'] + styleUrls: ['./activate-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateFixedDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/add-charge-fixed-deposits-account/add-charge-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/add-charge-fixed-deposits-account/add-charge-fixed-deposits-account.component.ts index 4b720139e..bcba746fc 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/add-charge-fixed-deposits-account/add-charge-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/add-charge-fixed-deposits-account/add-charge-fixed-deposits-account.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Fixed Deposits Charge component. @@ -15,7 +22,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-add-charge-fixed-deposits-account', templateUrl: './add-charge-fixed-deposits-account.component.html', - styleUrls: ['./add-charge-fixed-deposits-account.component.scss'] + styleUrls: ['./add-charge-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddChargeFixedDepositsAccountComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/approve-fixed-deposits-account/approve-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/approve-fixed-deposits-account/approve-fixed-deposits-account.component.ts index e8c7a30b6..77a16136d 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/approve-fixed-deposits-account/approve-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/approve-fixed-deposits-account/approve-fixed-deposits-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { FixedDepositsService } from 'app/deposits/fixed-deposits/fixed-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve Fixed Deposits Account Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-approve-fixed-deposits-account', templateUrl: './approve-fixed-deposits-account.component.html', - styleUrls: ['./approve-fixed-deposits-account.component.scss'] + styleUrls: ['./approve-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class ApproveFixedDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/close-fixed-deposits-account/close-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/close-fixed-deposits-account/close-fixed-deposits-account.component.ts index 76227b2b4..eb9969fbf 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/close-fixed-deposits-account/close-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/close-fixed-deposits-account/close-fixed-deposits-account.component.ts @@ -1,12 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { FixedDepositsService } from '../../fixed-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close On Maturity Fixed Deposits Account Component @@ -14,7 +22,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-close-fixed-deposits-account', templateUrl: './close-fixed-deposits-account.component.html', - styleUrls: ['./close-fixed-deposits-account.component.scss'] + styleUrls: ['./close-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class CloseFixedDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-account-actions.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-account-actions.component.ts index 7de57702f..e176bc66b 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-account-actions.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-account-actions.component.ts @@ -1,6 +1,16 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { ApproveFixedDepositsAccountComponent } from './approve-fixed-deposits-account/approve-fixed-deposits-account.component'; +import { RejectFixedDepositsAccountComponent } from './reject-fixed-deposits-account/reject-fixed-deposits-account.component'; +import { ActivateFixedDepositsAccountComponent } from './activate-fixed-deposits-account/activate-fixed-deposits-account.component'; +import { UndoApprovalFixedDepositsAccountComponent } from './undo-approval-fixed-deposits-account/undo-approval-fixed-deposits-account.component'; +import { WithdrawByClientFixedDepositsAccountComponent } from './withdraw-by-client-fixed-deposits-account/withdraw-by-client-fixed-deposits-account.component'; +import { AddChargeFixedDepositsAccountComponent } from './add-charge-fixed-deposits-account/add-charge-fixed-deposits-account.component'; +import { PrematureCloseFixedDepositsAccountComponent } from './premature-close-fixed-deposits-account/premature-close-fixed-deposits-account.component'; +import { CloseFixedDepositsAccountComponent } from './close-fixed-deposits-account/close-fixed-deposits-account.component'; +import { FixedDepositsCashTransactionComponent } from './fixed-deposits-cash-transaction/fixed-deposits-cash-transaction.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed deposits account actions component. @@ -8,7 +18,19 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-fixed-deposits-account-actions', templateUrl: './fixed-deposits-account-actions.component.html', - styleUrls: ['./fixed-deposits-account-actions.component.scss'] + styleUrls: ['./fixed-deposits-account-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ApproveFixedDepositsAccountComponent, + RejectFixedDepositsAccountComponent, + ActivateFixedDepositsAccountComponent, + UndoApprovalFixedDepositsAccountComponent, + WithdrawByClientFixedDepositsAccountComponent, + AddChargeFixedDepositsAccountComponent, + PrematureCloseFixedDepositsAccountComponent, + CloseFixedDepositsAccountComponent, + FixedDepositsCashTransactionComponent + ] }) export class FixedDepositsAccountActionsComponent { /** Flag object to store possible actions and render appropriate UI to the user */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-cash-transaction/fixed-deposits-cash-transaction.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-cash-transaction/fixed-deposits-cash-transaction.component.ts index a8bfb4ae2..6173160f4 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-cash-transaction/fixed-deposits-cash-transaction.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/fixed-deposits-cash-transaction/fixed-deposits-cash-transaction.component.ts @@ -1,16 +1,32 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { FixedDepositsService } from '../../fixed-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Currency, PaymentType } from 'app/shared/models/general.model'; import { TransactionCommand, TransactionTypeFlags } from '../../../transaction.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposits-cash-transaction', templateUrl: './fixed-deposits-cash-transaction.component.html', - styleUrls: ['./fixed-deposits-cash-transaction.component.scss'] + styleUrls: ['./fixed-deposits-cash-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class FixedDepositsCashTransactionComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/premature-close-fixed-deposits-account/premature-close-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/premature-close-fixed-deposits-account/premature-close-fixed-deposits-account.component.ts index 88ea068b9..74ed65bd3 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/premature-close-fixed-deposits-account/premature-close-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/premature-close-fixed-deposits-account/premature-close-fixed-deposits-account.component.ts @@ -1,12 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { FixedDepositsService } from '../../fixed-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Premature Close Fixed Deposits Account Component @@ -14,7 +22,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-premature-close-fixed-deposits-account', templateUrl: './premature-close-fixed-deposits-account.component.html', - styleUrls: ['./premature-close-fixed-deposits-account.component.scss'] + styleUrls: ['./premature-close-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class PrematureCloseFixedDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/reject-fixed-deposits-account/reject-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/reject-fixed-deposits-account/reject-fixed-deposits-account.component.ts index 5ac1ff28a..9981a5632 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/reject-fixed-deposits-account/reject-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/reject-fixed-deposits-account/reject-fixed-deposits-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { FixedDepositsService } from 'app/deposits/fixed-deposits/fixed-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Fixed Deposits Account Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-reject-fixed-deposits-account', templateUrl: './reject-fixed-deposits-account.component.html', - styleUrls: ['./reject-fixed-deposits-account.component.scss'] + styleUrls: ['./reject-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class RejectFixedDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/undo-approval-fixed-deposits-account/undo-approval-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/undo-approval-fixed-deposits-account/undo-approval-fixed-deposits-account.component.ts index 07ab23f0f..f83943b2b 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/undo-approval-fixed-deposits-account/undo-approval-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/undo-approval-fixed-deposits-account/undo-approval-fixed-deposits-account.component.ts @@ -1,11 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { FixedDepositsService } from '../../fixed-deposits.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Approval Fixed Deposits Account Component @@ -13,7 +15,11 @@ import { FixedDepositsService } from '../../fixed-deposits.service'; @Component({ selector: 'mifosx-undo-approval-fixed-deposits-account', templateUrl: './undo-approval-fixed-deposits-account.component.html', - styleUrls: ['./undo-approval-fixed-deposits-account.component.scss'] + styleUrls: ['./undo-approval-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class UndoApprovalFixedDepositsAccountComponent implements OnInit { /** Undo Approval Fixed Deposits Account form. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/withdraw-by-client-fixed-deposits-account/withdraw-by-client-fixed-deposits-account.component.ts b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/withdraw-by-client-fixed-deposits-account/withdraw-by-client-fixed-deposits-account.component.ts index 2a9395cba..6c018d9cd 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/withdraw-by-client-fixed-deposits-account/withdraw-by-client-fixed-deposits-account.component.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits-account-actions/withdraw-by-client-fixed-deposits-account/withdraw-by-client-fixed-deposits-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { FixedDepositsService } from 'app/deposits/fixed-deposits/fixed-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Withdrawn by Client Fixed Deposits Account Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-withdraw-by-client-fixed-deposits-account', templateUrl: './withdraw-by-client-fixed-deposits-account.component.html', - styleUrls: ['./withdraw-by-client-fixed-deposits-account.component.scss'] + styleUrls: ['./withdraw-by-client-fixed-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class WithdrawByClientFixedDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/fixed-deposits/fixed-deposits.module.ts b/src/app/deposits/fixed-deposits/fixed-deposits.module.ts index 1ab9ffbce..916ca2568 100644 --- a/src/app/deposits/fixed-deposits/fixed-deposits.module.ts +++ b/src/app/deposits/fixed-deposits/fixed-deposits.module.ts @@ -46,7 +46,11 @@ import { FixedDepositsCashTransactionComponent } from './fixed-deposits-account- * All components related to fixed deposits functions should be declared here. */ @NgModule({ - declarations: [ + imports: [ + SharedModule, + PipesModule, + DirectivesModule, + FixedDepositsRoutingModule, FixedDepositAccountViewComponent, TransactionsTabComponent, ChargesTabComponent, @@ -79,12 +83,6 @@ import { FixedDepositsCashTransactionComponent } from './fixed-deposits-account- GeneralTabComponent, FixedDepositsCashTransactionComponent ], - imports: [ - SharedModule, - PipesModule, - DirectivesModule, - FixedDepositsRoutingModule - ], providers: [] }) export class FixedDepositsModule {} diff --git a/src/app/deposits/recurring-deposits/create-recurring-deposits-account/create-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/create-recurring-deposits-account/create-recurring-deposits-account.component.ts index 142f090c1..1d21e65fd 100644 --- a/src/app/deposits/recurring-deposits/create-recurring-deposits-account/create-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/create-recurring-deposits-account/create-recurring-deposits-account.component.ts @@ -12,6 +12,11 @@ import { RecurringDepositsAccountTermsStepComponent } from '../recurring-deposit import { RecurringDepositsAccountSettingsStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component'; import { RecurringDepositsAccountChargesStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-charges-step/recurring-deposits-account-charges-step.component'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { RecurringDepositsAccountInterestRateChartStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-interest-rate-chart-step/recurring-deposits-account-interest-rate-chart-step.component'; +import { RecurringDepositsAccountPreviewStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-preview-step/recurring-deposits-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create new recurring deposit account @@ -19,7 +24,21 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-recurring-deposits-account', templateUrl: './create-recurring-deposits-account.component.html', - styleUrls: ['./create-recurring-deposits-account.component.scss'] + styleUrls: ['./create-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + RecurringDepositsAccountDetailsStepComponent, + RecurringDepositsAccountTermsStepComponent, + RecurringDepositsAccountSettingsStepComponent, + RecurringDepositsAccountInterestRateChartStepComponent, + RecurringDepositsAccountChargesStepComponent, + RecurringDepositsAccountPreviewStepComponent + ] }) export class CreateRecurringDepositsAccountComponent { /** Imports all the step component */ diff --git a/src/app/deposits/recurring-deposits/edit-recurring-deposit-account/edit-recurring-deposit-account.component.ts b/src/app/deposits/recurring-deposits/edit-recurring-deposit-account/edit-recurring-deposit-account.component.ts index 8be4803b7..e43fede0c 100644 --- a/src/app/deposits/recurring-deposits/edit-recurring-deposit-account/edit-recurring-deposit-account.component.ts +++ b/src/app/deposits/recurring-deposits/edit-recurring-deposit-account/edit-recurring-deposit-account.component.ts @@ -12,6 +12,11 @@ import { RecurringDepositsAccountTermsStepComponent } from '../recurring-deposit import { RecurringDepositsAccountSettingsStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component'; import { RecurringDepositsAccountChargesStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-charges-step/recurring-deposits-account-charges-step.component'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { RecurringDepositsAccountInterestRateChartStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-interest-rate-chart-step/recurring-deposits-account-interest-rate-chart-step.component'; +import { RecurringDepositsAccountPreviewStepComponent } from '../recurring-deposits-account-stepper/recurring-deposits-account-preview-step/recurring-deposits-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit new recurring deposit account @@ -19,7 +24,21 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-recurring-deposit-account', templateUrl: './edit-recurring-deposit-account.component.html', - styleUrls: ['./edit-recurring-deposit-account.component.scss'] + styleUrls: ['./edit-recurring-deposit-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + RecurringDepositsAccountDetailsStepComponent, + RecurringDepositsAccountTermsStepComponent, + RecurringDepositsAccountSettingsStepComponent, + RecurringDepositsAccountInterestRateChartStepComponent, + RecurringDepositsAccountChargesStepComponent, + RecurringDepositsAccountPreviewStepComponent + ] }) export class EditRecurringDepositAccountComponent { /** Imports all the step component */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/activate-recurring-deposits-account/activate-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/activate-recurring-deposits-account/activate-recurring-deposits-account.component.ts index 7c0369fe6..7fe0691fb 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/activate-recurring-deposits-account/activate-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/activate-recurring-deposits-account/activate-recurring-deposits-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Recurring Deposits Account Component @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-activate-recurring-deposits-account', templateUrl: './activate-recurring-deposits-account.component.html', - styleUrls: ['./activate-recurring-deposits-account.component.scss'] + styleUrls: ['./activate-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateRecurringDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/add-charge-recurring-deposits-account/add-charge-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/add-charge-recurring-deposits-account/add-charge-recurring-deposits-account.component.ts index e705eae42..96dc55c28 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/add-charge-recurring-deposits-account/add-charge-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/add-charge-recurring-deposits-account/add-charge-recurring-deposits-account.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Recurring Deposits Charge component. @@ -15,7 +22,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-add-charge-recurring-deposits-account', templateUrl: './add-charge-recurring-deposits-account.component.html', - styleUrls: ['./add-charge-recurring-deposits-account.component.scss'] + styleUrls: ['./add-charge-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddChargeRecurringDepositsAccountComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/approve-recurring-deposits-account/approve-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/approve-recurring-deposits-account/approve-recurring-deposits-account.component.ts index 3647a5bbd..531f05fb0 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/approve-recurring-deposits-account/approve-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/approve-recurring-deposits-account/approve-recurring-deposits-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve Recurring Deposits Account Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-approve-recurring-deposits-account', templateUrl: './approve-recurring-deposits-account.component.html', - styleUrls: ['./approve-recurring-deposits-account.component.scss'] + styleUrls: ['./approve-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class ApproveRecurringDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/close-recurring-deposits-account/close-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/close-recurring-deposits-account/close-recurring-deposits-account.component.ts index bc0b95d9b..a5bca07aa 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/close-recurring-deposits-account/close-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/close-recurring-deposits-account/close-recurring-deposits-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close Recurring Deposits Account Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-close-recurring-deposits-account', templateUrl: './close-recurring-deposits-account.component.html', - styleUrls: ['./close-recurring-deposits-account.component.scss'] + styleUrls: ['./close-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class CloseRecurringDepositsAccountComponent implements OnInit { /** Maturity Amount */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/deposit-recurring-deposits-account/deposit-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/deposit-recurring-deposits-account/deposit-recurring-deposits-account.component.ts index df8a579fe..a2a23bd4c 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/deposit-recurring-deposits-account/deposit-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/deposit-recurring-deposits-account/deposit-recurring-deposits-account.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; @@ -9,6 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; import { TransactionCommand, TransactionTypeFlags } from '../../../transaction.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Deposits Recurring Deposits Account Component @@ -16,7 +26,13 @@ import { TransactionCommand, TransactionTypeFlags } from '../../../transaction.m @Component({ selector: 'mifosx-deposit-recurring-deposits-account', templateUrl: './deposit-recurring-deposits-account.component.html', - styleUrls: ['./deposit-recurring-deposits-account.component.scss'] + styleUrls: ['./deposit-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class DepositRecurringDepositsAccountComponent implements OnInit { @Input() currency: Currency; diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/premature-close-recurring-deposit-account/premature-close-recurring-deposit-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/premature-close-recurring-deposit-account/premature-close-recurring-deposit-account.component.ts index 1cef0040c..3d7e7a863 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/premature-close-recurring-deposit-account/premature-close-recurring-deposit-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/premature-close-recurring-deposit-account/premature-close-recurring-deposit-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Premature Close Recurring Deposits Account Component @@ -15,7 +16,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-premature-close-recurring-deposit-account', templateUrl: './premature-close-recurring-deposit-account.component.html', - styleUrls: ['./premature-close-recurring-deposit-account.component.scss'] + styleUrls: ['./premature-close-recurring-deposit-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class PrematureCloseRecurringDepositAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/recurring-deposits-account-actions.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/recurring-deposits-account-actions.component.ts index 81c353e19..ede3904fa 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/recurring-deposits-account-actions.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/recurring-deposits-account-actions.component.ts @@ -1,11 +1,33 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Currency } from 'app/shared/models/general.model'; +import { ActivateRecurringDepositsAccountComponent } from './activate-recurring-deposits-account/activate-recurring-deposits-account.component'; +import { UndoApprovalRecurringDepositsAccountComponent } from './undo-approval-recurring-deposits-account/undo-approval-recurring-deposits-account.component'; +import { ApproveRecurringDepositsAccountComponent } from './approve-recurring-deposits-account/approve-recurring-deposits-account.component'; +import { RejectRecurringDepositsAccountComponent } from './reject-recurring-deposits-account/reject-recurring-deposits-account.component'; +import { WithdrawByClientRecurringDepositsAccountComponent } from './withdraw-by-client-recurring-deposits-account/withdraw-by-client-recurring-deposits-account.component'; +import { AddChargeRecurringDepositsAccountComponent } from './add-charge-recurring-deposits-account/add-charge-recurring-deposits-account.component'; +import { PrematureCloseRecurringDepositAccountComponent } from './premature-close-recurring-deposit-account/premature-close-recurring-deposit-account.component'; +import { CloseRecurringDepositsAccountComponent } from './close-recurring-deposits-account/close-recurring-deposits-account.component'; +import { DepositRecurringDepositsAccountComponent } from './deposit-recurring-deposits-account/deposit-recurring-deposits-account.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposits-account-actions', templateUrl: './recurring-deposits-account-actions.component.html', - styleUrls: ['./recurring-deposits-account-actions.component.scss'] + styleUrls: ['./recurring-deposits-account-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ActivateRecurringDepositsAccountComponent, + UndoApprovalRecurringDepositsAccountComponent, + ApproveRecurringDepositsAccountComponent, + RejectRecurringDepositsAccountComponent, + WithdrawByClientRecurringDepositsAccountComponent, + AddChargeRecurringDepositsAccountComponent, + PrematureCloseRecurringDepositAccountComponent, + CloseRecurringDepositsAccountComponent, + DepositRecurringDepositsAccountComponent + ] }) export class RecurringDepositsAccountActionsComponent { /** Flag object to store possible actions and render appropriate UI to the user */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/reject-recurring-deposits-account/reject-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/reject-recurring-deposits-account/reject-recurring-deposits-account.component.ts index 226221aeb..3f64916fa 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/reject-recurring-deposits-account/reject-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/reject-recurring-deposits-account/reject-recurring-deposits-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Recurring Deposits Account Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-reject-recurring-deposits-account', templateUrl: './reject-recurring-deposits-account.component.html', - styleUrls: ['./reject-recurring-deposits-account.component.scss'] + styleUrls: ['./reject-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class RejectRecurringDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/undo-approval-recurring-deposits-account/undo-approval-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/undo-approval-recurring-deposits-account/undo-approval-recurring-deposits-account.component.ts index 6fe7eba48..2b90d94b8 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/undo-approval-recurring-deposits-account/undo-approval-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/undo-approval-recurring-deposits-account/undo-approval-recurring-deposits-account.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Approval Recurring Deposits Account Component @@ -12,7 +14,11 @@ import { RecurringDepositsService } from '../../recurring-deposits.service'; @Component({ selector: 'mifosx-undo-approval-recurring-deposits-account', templateUrl: './undo-approval-recurring-deposits-account.component.html', - styleUrls: ['./undo-approval-recurring-deposits-account.component.scss'] + styleUrls: ['./undo-approval-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class UndoApprovalRecurringDepositsAccountComponent implements OnInit { /** Undo Approval Recurring Deposits Account form. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/withdraw-by-client-recurring-deposits-account/withdraw-by-client-recurring-deposits-account.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/withdraw-by-client-recurring-deposits-account/withdraw-by-client-recurring-deposits-account.component.ts index 479422f0c..b17ea1f30 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/withdraw-by-client-recurring-deposits-account/withdraw-by-client-recurring-deposits-account.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-actions/withdraw-by-client-recurring-deposits-account/withdraw-by-client-recurring-deposits-account.component.ts @@ -1,19 +1,25 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { RecurringDepositsService } from 'app/deposits/recurring-deposits/recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Withdrawn by Client Recurring Deposits Account Component */ @Component({ selector: 'mifosx-withdraw-by-client-recurring-deposits-account', templateUrl: './withdraw-by-client-recurring-deposits-account.component.html', - styleUrls: ['./withdraw-by-client-recurring-deposits-account.component.scss'] + styleUrls: ['./withdraw-by-client-recurring-deposits-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class WithdrawByClientRecurringDepositsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-charges-step/recurring-deposits-account-charges-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-charges-step/recurring-deposits-account-charges-step.component.ts index c0ade416b..6c3abc1f2 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-charges-step/recurring-deposits-account-charges-step.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-charges-step/recurring-deposits-account-charges-step.component.ts @@ -14,6 +14,24 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Charge, Currency } from 'app/shared/models/general.model'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposit Account Charges Step @@ -21,7 +39,26 @@ import { Charge, Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-recurring-deposits-account-charges-step', templateUrl: './recurring-deposits-account-charges-step.component.html', - styleUrls: ['./recurring-deposits-account-charges-step.component.scss'] + styleUrls: ['./recurring-deposits-account-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + DateFormatPipe, + FormatNumberPipe + ] }) export class RecurringDepositsAccountChargesStepComponent implements OnInit, OnChanges { @Input() recurringDepositsAccountTemplate: any; diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-details-step/recurring-deposits-account-details-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-details-step/recurring-deposits-account-details-step.component.ts index 1dcbed431..60a3c73f5 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-details-step/recurring-deposits-account-details-step.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-details-step/recurring-deposits-account-details-step.component.ts @@ -1,10 +1,14 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; /** Custom Services */ import { RecurringDepositsService } from '../../recurring-deposits.service'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposits Account Details Step @@ -12,7 +16,14 @@ import { RecurringDepositsService } from '../../recurring-deposits.service'; @Component({ selector: 'mifosx-recurring-deposits-account-details-step', templateUrl: './recurring-deposits-account-details-step.component.html', - styleUrls: ['./recurring-deposits-account-details-step.component.scss'] + styleUrls: ['./recurring-deposits-account-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositsAccountDetailsStepComponent implements OnInit { /** Recurring Deposits Account Template */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-interest-rate-chart-step/recurring-deposits-account-interest-rate-chart-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-interest-rate-chart-step/recurring-deposits-account-interest-rate-chart-step.component.ts index e83d969a2..0a6adc4a8 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-interest-rate-chart-step/recurring-deposits-account-interest-rate-chart-step.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-interest-rate-chart-step/recurring-deposits-account-interest-rate-chart-step.component.ts @@ -1,7 +1,25 @@ /** Angular Imports */ import { Component, OnInit, Input, OnChanges, ViewChild } from '@angular/core'; -import { MatTable } from '@angular/material/table'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { trigger, state, style, transition, animate } from '@angular/animations'; +import { NgIf, NgSwitch, TitleCasePipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposits Account Interest Rate Chart Step @@ -16,6 +34,27 @@ import { trigger, state, style, transition, animate } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + TitleCasePipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class RecurringDepositsAccountInterestRateChartStepComponent implements OnInit, OnChanges { diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-preview-step/recurring-deposits-account-preview-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-preview-step/recurring-deposits-account-preview-step.component.ts index af4bc0363..7dbd86241 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-preview-step/recurring-deposits-account-preview-step.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-preview-step/recurring-deposits-account-preview-step.component.ts @@ -1,6 +1,27 @@ /** Angular Imports */ import { Component, Input, Output, EventEmitter, OnChanges } from '@angular/core'; import { animate, state, style, transition, trigger } from '@angular/animations'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgSwitch, TitleCasePipe } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposit Preview Step @@ -15,6 +36,28 @@ import { animate, state, style, transition, trigger } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + TitleCasePipe, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class RecurringDepositsAccountPreviewStepComponent implements OnChanges { diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts index fde4bb670..8ea70f203 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts @@ -1,8 +1,20 @@ /** Angular Imports */ import { Component, OnInit, Input, OnChanges } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** Custom Services */ @@ -12,7 +24,16 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-recurring-deposits-account-settings-step', templateUrl: './recurring-deposits-account-settings-step.component.html', - styleUrls: ['./recurring-deposits-account-settings-step.component.scss'] + styleUrls: ['./recurring-deposits-account-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + InputAmountComponent, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositsAccountSettingsStepComponent implements OnInit, OnChanges { @Input() isNew = true; diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts index 3c51b6172..5246c3841 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts @@ -1,7 +1,10 @@ /** Angular Imports */ import { Component, OnInit, Input, OnChanges } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposits Terms Step @@ -9,7 +12,13 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-recurring-deposits-account-terms-step', templateUrl: './recurring-deposits-account-terms-step.component.html', - styleUrls: ['./recurring-deposits-account-terms-step.component.scss'] + styleUrls: ['./recurring-deposits-account-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositsAccountTermsStepComponent implements OnInit, OnChanges { @Input() recurringDepositsAccountTemplate: any; diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.ts index 0fa052760..b0f0c2890 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.ts @@ -2,7 +2,19 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; @@ -19,6 +31,9 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Charges Tab Component @@ -26,7 +41,22 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-charges-tab', templateUrl: './charges-tab.component.html', - styleUrls: ['./charges-tab.component.scss'] + styleUrls: ['./charges-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class ChargesTabComponent implements OnInit { /** Recurring Deposits Account Data */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/custom-dialogs/recurring-deposit-confirmation-dialog/recurring-deposit-confirmation-dialog.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/custom-dialogs/recurring-deposit-confirmation-dialog/recurring-deposit-confirmation-dialog.component.ts index 4e22742f0..9e5d75a1f 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/custom-dialogs/recurring-deposit-confirmation-dialog/recurring-deposit-confirmation-dialog.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/custom-dialogs/recurring-deposit-confirmation-dialog/recurring-deposit-confirmation-dialog.component.ts @@ -1,10 +1,27 @@ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-confirmation-action', templateUrl: './recurring-deposit-confirmation-dialog.component.html', - styleUrls: ['./recurring-deposit-confirmation-dialog.component.scss'] + styleUrls: ['./recurring-deposit-confirmation-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class RecurringDepositConfirmationDialogComponent { /** diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/datatable-tabs/datatable-tabs.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/datatable-tabs/datatable-tabs.component.ts index 107680e52..a3e791b9b 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/datatable-tabs/datatable-tabs.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/datatable-tabs/datatable-tabs.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Datatable Tabs Component @@ -8,7 +10,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-datatable-tabs', templateUrl: './datatable-tabs.component.html', - styleUrls: ['./datatable-tabs.component.scss'] + styleUrls: ['./datatable-tabs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabsComponent { entityId: string; diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.ts index 37d23d669..f0e84a72f 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.ts @@ -1,11 +1,24 @@ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Currency } from 'app/shared/models/general.model'; +import { NgIf, DecimalPipe, CurrencyPipe } from '@angular/common'; +import { ExternalIdentifierComponent } from '../../../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ExternalIdentifierComponent, + DecimalPipe, + CurrencyPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class GeneralTabComponent { recurringDepositsAccountData: any; diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts index f914699cd..4386261dc 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/interest-rate-chart-tab/interest-rate-chart-tab.component.ts @@ -2,6 +2,22 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { animate, state, style, transition, trigger } from '@angular/animations'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgIf, NgSwitch, TitleCasePipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Interest Rate Chart Tab Component. @@ -16,6 +32,23 @@ import { animate, state, style, transition, trigger } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + TitleCasePipe, + FormatNumberPipe ] }) export class InterestRateChartTabComponent { diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/recurring-deposits-account-view.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/recurring-deposits-account-view.component.ts index 546904d27..376662e62 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/recurring-deposits-account-view.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/recurring-deposits-account-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -15,6 +15,24 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co import { RecurringDepositConfirmationDialogComponent } from './custom-dialogs/recurring-deposit-confirmation-dialog/recurring-deposit-confirmation-dialog.component'; import { Currency } from 'app/shared/models/general.model'; import { TranslateService } from '@ngx-translate/core'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardContent +} from '@angular/material/card'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgClass, NgIf, NgFor, DecimalPipe, CurrencyPipe } from '@angular/common'; +import { AccountNumberComponent } from '../../../shared/account-number/account-number.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * RecurringDeposits Account View Component @@ -22,7 +40,31 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-recurring-deposits-account-view', templateUrl: './recurring-deposits-account-view.component.html', - styleUrls: ['./recurring-deposits-account-view.component.scss'] + styleUrls: ['./recurring-deposits-account-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatTooltip, + MatCardTitle, + NgClass, + AccountNumberComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + DecimalPipe, + CurrencyPipe, + StatusLookupPipe + ] }) export class RecurringDepositsAccountViewComponent implements OnInit { /** RecurringDeposits Account Data */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/standing-instructions-tab/standing-instructions-tab.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/standing-instructions-tab/standing-instructions-tab.component.ts index 1d1bb39ef..42cc80e97 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/standing-instructions-tab/standing-instructions-tab.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/standing-instructions-tab/standing-instructions-tab.component.ts @@ -1,8 +1,20 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { RecurringDepositsService } from 'app/deposits/recurring-deposits/recurring-deposits.service'; @@ -11,6 +23,9 @@ import { SettingsService } from 'app/settings/settings.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposits Standing Instructions Tab @@ -18,7 +33,22 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-standing-instructions-tab', templateUrl: './standing-instructions-tab.component.html', - styleUrls: ['./standing-instructions-tab.component.scss'] + styleUrls: ['./standing-instructions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class StandingInstructionsTabComponent implements OnInit { /** Recurring Deposits Data */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/edit-transaction/edit-transaction.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/edit-transaction/edit-transaction.component.ts index d67a96c02..64ead6992 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/edit-transaction/edit-transaction.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/edit-transaction/edit-transaction.component.ts @@ -1,13 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { RecurringDepositsService } from 'app/deposits/recurring-deposits/recurring-deposits.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Transaction component. @@ -15,7 +24,12 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-edit-transaction', templateUrl: './edit-transaction.component.html', - styleUrls: ['./edit-transaction.component.scss'] + styleUrls: ['./edit-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle + ] }) export class EditTransactionComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/transactions-tab.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/transactions-tab.component.ts index 002ca2788..a8f13c2d4 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/transactions-tab.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/transactions-tab.component.ts @@ -1,11 +1,32 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatPaginator } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SavingsAccountTransaction } from 'app/savings/models/savings-account-transaction.model'; +import { NgIf, NgClass } from '@angular/common'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Transactions Tab Component. @@ -13,7 +34,30 @@ import { SavingsAccountTransaction } from 'app/savings/models/savings-account-tr @Component({ selector: 'mifosx-transactions-tab', templateUrl: './transactions-tab.component.html', - styleUrls: ['./transactions-tab.component.scss'] + styleUrls: ['./transactions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + MatIconButton, + MatMenuTrigger, + MatIcon, + MatMenu, + MatMenuItem, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + FormatNumberPipe + ] }) export class TransactionsTabComponent implements OnInit { /** Recurring Deposits Account Status */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/view-transaction/view-transaction.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/view-transaction/view-transaction.component.ts index b03bc20d3..5b5f5cb9a 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/view-transaction/view-transaction.component.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/transactions-tab/view-transaction/view-transaction.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -11,7 +11,11 @@ import { SettingsService } from 'app/settings/settings.service'; import { RecurringDepositConfirmationDialogComponent } from '../../custom-dialogs/recurring-deposit-confirmation-dialog/recurring-deposit-confirmation-dialog.component'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; -import { Location } from '@angular/common'; +import { Location, NgIf, NgClass, CurrencyPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { TransactionPaymentDetailComponent } from '../../../../../shared/transaction-payment-detail/transaction-payment-detail.component'; +import { DateFormatPipe } from '../../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Transaction Component. @@ -20,7 +24,15 @@ import { Location } from '@angular/common'; @Component({ selector: 'mifosx-view-transaction', templateUrl: './view-transaction.component.html', - styleUrls: ['./view-transaction.component.scss'] + styleUrls: ['./view-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + NgClass, + TransactionPaymentDetailComponent, + CurrencyPipe, + DateFormatPipe + ] }) export class ViewTransactionComponent { /** Transaction data. */ diff --git a/src/app/deposits/recurring-deposits/recurring-deposits.module.ts b/src/app/deposits/recurring-deposits/recurring-deposits.module.ts index f2d8ee674..207ec01ea 100644 --- a/src/app/deposits/recurring-deposits/recurring-deposits.module.ts +++ b/src/app/deposits/recurring-deposits/recurring-deposits.module.ts @@ -49,9 +49,7 @@ import { GeneralTabComponent } from './recurring-deposits-account-view/general-t SharedModule, PipesModule, DirectivesModule, - RecurringDepositsRoutingModule - ], - declarations: [ + RecurringDepositsRoutingModule, RecurringDepositsAccountViewComponent, InterestRateChartTabComponent, TransactionsTabComponent, diff --git a/src/app/directives/directives.module.ts b/src/app/directives/directives.module.ts index 5bcc19a9f..336333bc1 100644 --- a/src/app/directives/directives.module.ts +++ b/src/app/directives/directives.module.ts @@ -14,9 +14,7 @@ import { ValidateOnFocusDirective } from './validate-on-focus.directive'; */ @NgModule({ imports: [ - CommonModule - ], - declarations: [ + CommonModule, HasPermissionDirective, FormatAmountDirective, ValidateOnFocusDirective diff --git a/src/app/directives/format-amount.directive.ts b/src/app/directives/format-amount.directive.ts index f61549e1f..11bd17fa1 100644 --- a/src/app/directives/format-amount.directive.ts +++ b/src/app/directives/format-amount.directive.ts @@ -3,9 +3,7 @@ import { formatCurrency } from '@angular/common'; import { NgControl } from '@angular/forms'; import { LOCALE_ID } from '@angular/core'; -@Directive({ - selector: '[mifosxFormatAmount]' -}) +@Directive({ selector: '[mifosxFormatAmount]' }) export class FormatAmountDirective implements OnInit { format = 'N0'; digitsInfo = '1.0-0'; diff --git a/src/app/directives/has-permission/has-permission.directive.ts b/src/app/directives/has-permission/has-permission.directive.ts index 65f97610e..d6cce82f9 100644 --- a/src/app/directives/has-permission/has-permission.directive.ts +++ b/src/app/directives/has-permission/has-permission.directive.ts @@ -7,9 +7,7 @@ import { AuthenticationService } from '../../core/authentication/authentication. /** * Has Permission Directive */ -@Directive({ - selector: '[mifosxHasPermission]' -}) +@Directive({ selector: '[mifosxHasPermission]', standalone: true }) export class HasPermissionDirective { /** User Permissions */ private userPermissions: any[]; diff --git a/src/app/directives/validate-on-focus.directive.ts b/src/app/directives/validate-on-focus.directive.ts index d5d5a9be6..9fe252e8c 100644 --- a/src/app/directives/validate-on-focus.directive.ts +++ b/src/app/directives/validate-on-focus.directive.ts @@ -1,9 +1,7 @@ import { Directive, ElementRef, HostListener } from '@angular/core'; import { NgControl } from '@angular/forms'; -@Directive({ - selector: '[mifosxValidateOnFocus]' -}) +@Directive({ selector: '[mifosxValidateOnFocus]' }) export class ValidateOnFocusDirective { constructor( private control: NgControl, diff --git a/src/app/groups/create-group/create-group.component.ts b/src/app/groups/create-group/create-group.component.ts index fa87b5c1f..5a3a029e5 100644 --- a/src/app/groups/create-group/create-group.component.ts +++ b/src/app/groups/create-group/create-group.component.ts @@ -1,13 +1,26 @@ /** Angular Imports */ import { Component, OnInit, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { GroupsService } from '../groups.service'; import { ClientsService } from '../../clients/clients.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatOption, MatAutocompleteTrigger, MatAutocomplete } from '@angular/material/autocomplete'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatNavList, MatListSubheaderCssMatStyler } from '@angular/material/list'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Group component. @@ -15,7 +28,18 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-group', templateUrl: './create-group.component.html', - styleUrls: ['./create-group.component.scss'] + styleUrls: ['./create-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatAutocompleteTrigger, + MatAutocomplete, + MatIconButton, + FaIconComponent, + MatNavList, + MatListSubheaderCssMatStyler, + MatLine + ] }) export class CreateGroupComponent implements OnInit, AfterViewInit { /** Minimum date allowed. */ diff --git a/src/app/groups/edit-group/edit-group.component.ts b/src/app/groups/edit-group/edit-group.component.ts index 1f50b30af..c69b2ae2f 100644 --- a/src/app/groups/edit-group/edit-group.component.ts +++ b/src/app/groups/edit-group/edit-group.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { GroupsService } from '../groups.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Group component. @@ -14,7 +21,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-group', templateUrl: './edit-group.component.html', - styleUrls: ['./edit-group.component.scss'] + styleUrls: ['./edit-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditGroupComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/groups/groups-view/add-role/add-role.component.ts b/src/app/groups/groups-view/add-role/add-role.component.ts index 1124e80d4..653c8c60f 100644 --- a/src/app/groups/groups-view/add-role/add-role.component.ts +++ b/src/app/groups/groups-view/add-role/add-role.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { GroupsService } from '../../groups.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups Add Role Component @@ -12,7 +13,10 @@ import { GroupsService } from '../../groups.service'; @Component({ selector: 'mifosx-add-role', templateUrl: './add-role.component.html', - styleUrls: ['./add-role.component.scss'] + styleUrls: ['./add-role.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddRoleComponent implements OnInit { /** Groups Add Role Form */ diff --git a/src/app/groups/groups-view/committee-tab/committee-tab.component.ts b/src/app/groups/groups-view/committee-tab/committee-tab.component.ts index 7f76ebd65..47f68fe5e 100644 --- a/src/app/groups/groups-view/committee-tab/committee-tab.component.ts +++ b/src/app/groups/groups-view/committee-tab/committee-tab.component.ts @@ -1,14 +1,27 @@ /** Angular Imports */ import { Component, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { MatTable } from '@angular/material/table'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Dialogs */ import { UnassignRoleDialogComponent } from '../custom-dialogs/unassign-role-dialog/unassign-role-dialog.component'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups Committee Tab Component @@ -16,7 +29,21 @@ import { GroupsService } from 'app/groups/groups.service'; @Component({ selector: 'mifosx-committee-tab', templateUrl: './committee-tab.component.html', - styleUrls: ['./committee-tab.component.scss'] + styleUrls: ['./committee-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class CommitteeTabComponent { /** Group Status */ diff --git a/src/app/groups/groups-view/custom-dialogs/unassign-role-dialog/unassign-role-dialog.component.ts b/src/app/groups/groups-view/custom-dialogs/unassign-role-dialog/unassign-role-dialog.component.ts index 11e6e59a4..ffb3bbfc3 100644 --- a/src/app/groups/groups-view/custom-dialogs/unassign-role-dialog/unassign-role-dialog.component.ts +++ b/src/app/groups/groups-view/custom-dialogs/unassign-role-dialog/unassign-role-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Unassign role dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-unassign-role-dialog', templateUrl: './unassign-role-dialog.component.html', - styleUrls: ['./unassign-role-dialog.component.scss'] + styleUrls: ['./unassign-role-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class UnassignRoleDialogComponent { /** diff --git a/src/app/groups/groups-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts b/src/app/groups/groups-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts index a1b0a7854..cb52774ed 100644 --- a/src/app/groups/groups-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts +++ b/src/app/groups/groups-view/custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Unassign staff dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-unassign-staff-dialog', templateUrl: './unassign-staff-dialog.component.html', - styleUrls: ['./unassign-staff-dialog.component.scss'] + styleUrls: ['./unassign-staff-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class UnassignStaffDialogComponent { /** diff --git a/src/app/groups/groups-view/datatable-tabs/datatable-tabs.component.ts b/src/app/groups/groups-view/datatable-tabs/datatable-tabs.component.ts index 89b5e95d6..5c6cc9841 100644 --- a/src/app/groups/groups-view/datatable-tabs/datatable-tabs.component.ts +++ b/src/app/groups/groups-view/datatable-tabs/datatable-tabs.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups Datatable Tabs Component @@ -8,7 +10,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-datatable-tabs', templateUrl: './datatable-tabs.component.html', - styleUrls: ['./datatable-tabs.component.scss'] + styleUrls: ['./datatable-tabs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabsComponent { entityId: string; diff --git a/src/app/groups/groups-view/general-tab/general-tab.component.ts b/src/app/groups/groups-view/general-tab/general-tab.component.ts index 2ca4dd0c1..7de1b4d33 100644 --- a/src/app/groups/groups-view/general-tab/general-tab.component.ts +++ b/src/app/groups/groups-view/general-tab/general-tab.component.ts @@ -1,6 +1,24 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { NgIf, NgClass } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { AccountsFilterPipe } from '../../../pipes/accounts-filter.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups View General Tab Component. @@ -8,7 +26,25 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + StatusLookupPipe, + AccountsFilterPipe, + DateFormatPipe + ] }) export class GeneralTabComponent { /** Group's all accounts data */ diff --git a/src/app/groups/groups-view/group-actions/activate-group/activate-group.component.ts b/src/app/groups/groups-view/group-actions/activate-group/activate-group.component.ts index c96524c24..1b2859d81 100644 --- a/src/app/groups/groups-view/group-actions/activate-group/activate-group.component.ts +++ b/src/app/groups/groups-view/group-actions/activate-group/activate-group.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Group Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-activate-group', templateUrl: './activate-group.component.html', - styleUrls: ['./activate-group.component.scss'] + styleUrls: ['./activate-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateGroupComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/groups/groups-view/group-actions/attach-group-meeting/attach-group-meeting.component.ts b/src/app/groups/groups-view/group-actions/attach-group-meeting/attach-group-meeting.component.ts index aa0ac61df..448d96549 100644 --- a/src/app/groups/groups-view/group-actions/attach-group-meeting/attach-group-meeting.component.ts +++ b/src/app/groups/groups-view/group-actions/attach-group-meeting/attach-group-meeting.component.ts @@ -1,12 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Group Meetings Component @@ -14,7 +22,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-attach-group-meeting', templateUrl: './attach-group-meeting.component.html', - styleUrls: ['./attach-group-meeting.component.scss'] + styleUrls: ['./attach-group-meeting.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class AttachGroupMeetingComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/groups/groups-view/group-actions/close-group/close-group.component.ts b/src/app/groups/groups-view/group-actions/close-group/close-group.component.ts index c656429e0..2fe95c725 100644 --- a/src/app/groups/groups-view/group-actions/close-group/close-group.component.ts +++ b/src/app/groups/groups-view/group-actions/close-group/close-group.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close Group Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-close-group', templateUrl: './close-group.component.html', - styleUrls: ['./close-group.component.scss'] + styleUrls: ['./close-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CloseGroupComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/groups/groups-view/group-actions/edit-group-meeting-schedule/edit-group-meeting-schedule.component.ts b/src/app/groups/groups-view/group-actions/edit-group-meeting-schedule/edit-group-meeting-schedule.component.ts index 8b1fdf60b..9cd5d19a7 100644 --- a/src/app/groups/groups-view/group-actions/edit-group-meeting-schedule/edit-group-meeting-schedule.component.ts +++ b/src/app/groups/groups-view/group-actions/edit-group-meeting-schedule/edit-group-meeting-schedule.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { SettingsService } from 'app/settings/settings.service'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Group Meetings Schedule Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-group-meeting-schedule', templateUrl: './edit-group-meeting-schedule.component.html', - styleUrls: ['./edit-group-meeting-schedule.component.scss'] + styleUrls: ['./edit-group-meeting-schedule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + DateFormatPipe + ] }) export class EditGroupMeetingScheduleComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/groups/groups-view/group-actions/edit-group-meeting/edit-group-meeting.component.ts b/src/app/groups/groups-view/group-actions/edit-group-meeting/edit-group-meeting.component.ts index 5ffb8c2cf..0a19d79f7 100644 --- a/src/app/groups/groups-view/group-actions/edit-group-meeting/edit-group-meeting.component.ts +++ b/src/app/groups/groups-view/group-actions/edit-group-meeting/edit-group-meeting.component.ts @@ -1,12 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { SettingsService } from 'app/settings/settings.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatFormField, MatLabel, MatError, MatSuffix, MatHint } from '@angular/material/form-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Group Meetings Component @@ -14,7 +23,12 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-group-meeting', templateUrl: './edit-group-meeting.component.html', - styleUrls: ['./edit-group-meeting.component.scss'] + styleUrls: ['./edit-group-meeting.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatHint + ] }) export class EditGroupMeetingComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/groups/groups-view/group-actions/group-actions.component.ts b/src/app/groups/groups-view/group-actions/group-actions.component.ts index c0c6830f4..a9e4a087f 100644 --- a/src/app/groups/groups-view/group-actions/group-actions.component.ts +++ b/src/app/groups/groups-view/group-actions/group-actions.component.ts @@ -1,6 +1,16 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; +import { GroupAssignStaffComponent } from './group-assign-staff/group-assign-staff.component'; +import { CloseGroupComponent } from './close-group/close-group.component'; +import { ActivateGroupComponent } from './activate-group/activate-group.component'; +import { AttachGroupMeetingComponent } from './attach-group-meeting/attach-group-meeting.component'; +import { GroupAttendanceComponent } from './group-attendance/group-attendance.component'; +import { ManageGroupMembersComponent } from './manage-group-members/manage-group-members.component'; +import { EditGroupMeetingComponent } from './edit-group-meeting/edit-group-meeting.component'; +import { EditGroupMeetingScheduleComponent } from './edit-group-meeting-schedule/edit-group-meeting-schedule.component'; +import { GroupTransferClientsComponent } from './group-transfer-clients/group-transfer-clients.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Group actions component. @@ -8,7 +18,19 @@ import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'mifosx-group-actions', templateUrl: './group-actions.component.html', - styleUrls: ['./group-actions.component.scss'] + styleUrls: ['./group-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GroupAssignStaffComponent, + CloseGroupComponent, + ActivateGroupComponent, + AttachGroupMeetingComponent, + GroupAttendanceComponent, + ManageGroupMembersComponent, + EditGroupMeetingComponent, + EditGroupMeetingScheduleComponent, + GroupTransferClientsComponent + ] }) export class GroupActionsComponent { /** Flag object to store possible actions and render appropriate UI to the user */ diff --git a/src/app/groups/groups-view/group-actions/group-assign-staff/group-assign-staff.component.ts b/src/app/groups/groups-view/group-actions/group-assign-staff/group-assign-staff.component.ts index 69af39956..03049329c 100644 --- a/src/app/groups/groups-view/group-actions/group-assign-staff/group-assign-staff.component.ts +++ b/src/app/groups/groups-view/group-actions/group-assign-staff/group-assign-staff.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups Assign Staff Component @@ -12,7 +13,10 @@ import { GroupsService } from 'app/groups/groups.service'; @Component({ selector: 'mifosx-group-assign-staff', templateUrl: './group-assign-staff.component.html', - styleUrls: ['./group-assign-staff.component.scss'] + styleUrls: ['./group-assign-staff.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class GroupAssignStaffComponent implements OnInit { /** Group Assign Staff form. */ diff --git a/src/app/groups/groups-view/group-actions/group-attendance/group-attendance.component.ts b/src/app/groups/groups-view/group-actions/group-attendance/group-attendance.component.ts index 567e3a6ff..d64f0ec03 100644 --- a/src/app/groups/groups-view/group-actions/group-attendance/group-attendance.component.ts +++ b/src/app/groups/groups-view/group-actions/group-attendance/group-attendance.component.ts @@ -1,8 +1,8 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; @@ -15,6 +15,25 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { Dates } from 'app/core/utils/dates'; +import { MatFormField, MatLabel, MatHint } from '@angular/material/form-field'; +import { NgFor, NgSwitch, NgSwitchCase } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Group Attendance component. @@ -22,7 +41,27 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-group-attendance', templateUrl: './group-attendance.component.html', - styleUrls: ['./group-attendance.component.scss'] + styleUrls: ['./group-attendance.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatHint, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgSwitch, + NgSwitchCase, + MatIconButton, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe, + DateFormatPipe + ] }) export class GroupAttendanceComponent implements OnInit { /** Members data. */ diff --git a/src/app/groups/groups-view/group-actions/group-transfer-clients/group-transfer-clients.component.ts b/src/app/groups/groups-view/group-actions/group-transfer-clients/group-transfer-clients.component.ts index 962cb2aa8..83fb81f33 100644 --- a/src/app/groups/groups-view/group-actions/group-transfer-clients/group-transfer-clients.component.ts +++ b/src/app/groups/groups-view/group-actions/group-transfer-clients/group-transfer-clients.component.ts @@ -1,11 +1,15 @@ /** Angular Imports */ import { Component, OnInit, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, FormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, FormControl, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { GroupsService } from 'app/groups/groups.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatOption, MatAutocompleteTrigger, MatAutocomplete } from '@angular/material/autocomplete'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Group Transfer Clients component. @@ -13,7 +17,14 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-group-transfer-clients', templateUrl: './group-transfer-clients.component.html', - styleUrls: ['./group-transfer-clients.component.scss'] + styleUrls: ['./group-transfer-clients.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatAutocompleteTrigger, + MatAutocomplete, + DateFormatPipe + ] }) export class GroupTransferClientsComponent implements OnInit, AfterViewInit { /** Transfer Clients form. */ diff --git a/src/app/groups/groups-view/group-actions/manage-group-members/manage-group-members.component.ts b/src/app/groups/groups-view/group-actions/manage-group-members/manage-group-members.component.ts index 4aeaf41a1..5abfa5223 100644 --- a/src/app/groups/groups-view/group-actions/manage-group-members/manage-group-members.component.ts +++ b/src/app/groups/groups-view/group-actions/manage-group-members/manage-group-members.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit, AfterViewInit } from '@angular/core'; -import { FormGroup, FormBuilder, UntypedFormControl, Validators } from '@angular/forms'; +import { FormGroup, FormBuilder, UntypedFormControl, Validators, ReactiveFormsModule } from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; /** Custom Dialogs */ @@ -10,6 +10,13 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co import { GroupsService } from 'app/groups/groups.service'; import { ClientsService } from 'app/clients/clients.service'; import { MatDialog } from '@angular/material/dialog'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatListSubheaderCssMatStyler, MatNavList } from '@angular/material/list'; +import { MatLine } from '@angular/material/grid-list'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Group Members Component @@ -17,7 +24,18 @@ import { MatDialog } from '@angular/material/dialog'; @Component({ selector: 'mifosx-manage-group-members', templateUrl: './manage-group-members.component.html', - styleUrls: ['./manage-group-members.component.scss'] + styleUrls: ['./manage-group-members.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatAutocompleteTrigger, + MatAutocomplete, + MatIconButton, + FaIconComponent, + MatListSubheaderCssMatStyler, + MatNavList, + MatLine, + MatTooltip + ] }) export class ManageGroupMembersComponent implements AfterViewInit { /** Group Data */ diff --git a/src/app/groups/groups-view/groups-view.component.ts b/src/app/groups/groups-view/groups-view.component.ts index 1440760cd..3b46f2904 100644 --- a/src/app/groups/groups-view/groups-view.component.ts +++ b/src/app/groups/groups-view/groups-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Dialogs */ @@ -9,6 +9,25 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co /** Custom Services */ import { GroupsService } from '../groups.service'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { NgClass, NgIf, NgFor, LowerCasePipe } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups View Component. @@ -16,7 +35,31 @@ import { GroupsService } from '../groups.service'; @Component({ selector: 'mifosx-groups-view', templateUrl: './groups-view.component.html', - styleUrls: ['./groups-view.component.scss'] + styleUrls: ['./groups-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + NgClass, + MatTooltip, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatCardSubtitle, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + LowerCasePipe, + StatusLookupPipe, + DateFormatPipe + ] }) export class GroupsViewComponent { /** Group view data */ diff --git a/src/app/groups/groups-view/notes-tab/notes-tab.component.ts b/src/app/groups/groups-view/notes-tab/notes-tab.component.ts index ebee56aa7..69accdb06 100644 --- a/src/app/groups/groups-view/notes-tab/notes-tab.component.ts +++ b/src/app/groups/groups-view/notes-tab/notes-tab.component.ts @@ -5,6 +5,8 @@ import { ActivatedRoute } from '@angular/router'; /** Custom Services */ import { AuthenticationService } from '../../../core/authentication/authentication.service'; import { GroupsService } from '../../groups.service'; +import { EntityNotesTabComponent } from '../../../shared/tabs/entity-notes-tab/entity-notes-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** Custom Dialogs */ @@ -14,7 +16,11 @@ import { GroupsService } from '../../groups.service'; @Component({ selector: 'mifosx-notes-tab', templateUrl: './notes-tab.component.html', - styleUrls: ['./notes-tab.component.scss'] + styleUrls: ['./notes-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityNotesTabComponent + ] }) export class NotesTabComponent implements OnInit { /** Group ID */ diff --git a/src/app/groups/groups.component.ts b/src/app/groups/groups.component.ts index b38e77476..e6779b49e 100644 --- a/src/app/groups/groups.component.ts +++ b/src/app/groups/groups.component.ts @@ -3,8 +3,8 @@ import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core'; import { MatCheckbox } from '@angular/material/checkbox'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { UntypedFormControl } from '@angular/forms'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** rxjs Imports */ import { merge } from 'rxjs'; @@ -15,6 +15,22 @@ import { GroupsService } from './groups.service'; /** Custom Data Source */ import { GroupsDataSource } from './groups.datasource'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgClass, AsyncPipe } from '@angular/common'; +import { StatusLookupPipe } from '../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Groups component. @@ -22,7 +38,28 @@ import { GroupsDataSource } from './groups.datasource'; @Component({ selector: 'mifosx-app-groups', templateUrl: './groups.component.html', - styleUrls: ['./groups.component.scss'] + styleUrls: ['./groups.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + AsyncPipe, + StatusLookupPipe + ] }) export class GroupsComponent implements OnInit, AfterViewInit { @ViewChild('showClosedGroups', { static: true }) showClosedGroups: MatCheckbox; diff --git a/src/app/groups/groups.module.ts b/src/app/groups/groups.module.ts index 29e041f09..3329b874f 100644 --- a/src/app/groups/groups.module.ts +++ b/src/app/groups/groups.module.ts @@ -40,9 +40,7 @@ import { GroupTransferClientsComponent } from './groups-view/group-actions/group SharedModule, PipesModule, DirectivesModule, - GroupsRoutingModule - ], - declarations: [ + GroupsRoutingModule, GroupsComponent, GroupsViewComponent, GeneralTabComponent, diff --git a/src/app/home/dashboard/amount-collected-pie/amount-collected-pie.component.ts b/src/app/home/dashboard/amount-collected-pie/amount-collected-pie.component.ts index af94f9ef1..cace219e8 100644 --- a/src/app/home/dashboard/amount-collected-pie/amount-collected-pie.component.ts +++ b/src/app/home/dashboard/amount-collected-pie/amount-collected-pie.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ @@ -8,6 +8,10 @@ import { HomeService } from '../../home.service'; /** Charting Imports */ import Chart from 'chart.js'; +import { MatCard, MatCardHeader, MatCardContent } from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgFor, NgStyle, NgIf } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Amount Collected Pie Chart Component @@ -15,7 +19,13 @@ import Chart from 'chart.js'; @Component({ selector: 'mifosx-amount-collected-pie', templateUrl: './amount-collected-pie.component.html', - styleUrls: ['./amount-collected-pie.component.scss'] + styleUrls: ['./amount-collected-pie.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + NgStyle + ] }) export class AmountCollectedPieComponent implements OnInit { /** Static Form control for office Id */ diff --git a/src/app/home/dashboard/amount-disbursed-pie/amount-disbursed-pie.component.ts b/src/app/home/dashboard/amount-disbursed-pie/amount-disbursed-pie.component.ts index 25a2443e3..5a33471a9 100644 --- a/src/app/home/dashboard/amount-disbursed-pie/amount-disbursed-pie.component.ts +++ b/src/app/home/dashboard/amount-disbursed-pie/amount-disbursed-pie.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ @@ -8,6 +8,10 @@ import { HomeService } from '../../home.service'; /** Charting Imports */ import Chart from 'chart.js'; +import { MatCard, MatCardHeader, MatCardContent } from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgFor, NgStyle, NgIf } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Amount Disbursed Pie Chart Component @@ -15,7 +19,13 @@ import Chart from 'chart.js'; @Component({ selector: 'mifosx-amount-disbursed-pie', templateUrl: './amount-disbursed-pie.component.html', - styleUrls: ['./amount-disbursed-pie.component.scss'] + styleUrls: ['./amount-disbursed-pie.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + NgStyle + ] }) export class AmountDisbursedPieComponent implements OnInit { /** Static Form control for office Id */ diff --git a/src/app/home/dashboard/client-trends-bar/client-trends-bar.component.ts b/src/app/home/dashboard/client-trends-bar/client-trends-bar.component.ts index c1a7a5bfe..cc2bea834 100644 --- a/src/app/home/dashboard/client-trends-bar/client-trends-bar.component.ts +++ b/src/app/home/dashboard/client-trends-bar/client-trends-bar.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; /** rxjs Imports */ @@ -13,6 +13,11 @@ import { HomeService } from '../../home.service'; /** Charting Imports */ import { Dates } from 'app/core/utils/dates'; import Chart from 'chart.js'; +import { MatCard, MatCardHeader, MatCardContent } from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgFor, NgStyle } from '@angular/common'; +import { MatButtonToggleGroup, MatButtonToggle } from '@angular/material/button-toggle'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Client Trends Bar Chart Component. @@ -20,7 +25,15 @@ import Chart from 'chart.js'; @Component({ selector: 'mifosx-client-trends-bar', templateUrl: './client-trends-bar.component.html', - styleUrls: ['./client-trends-bar.component.scss'] + styleUrls: ['./client-trends-bar.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + NgStyle, + MatButtonToggleGroup, + MatButtonToggle + ] }) export class ClientTrendsBarComponent implements OnInit { /** Static Form control for office Id */ diff --git a/src/app/home/dashboard/dashboard.component.ts b/src/app/home/dashboard/dashboard.component.ts index 221f0f760..1d51d734c 100644 --- a/src/app/home/dashboard/dashboard.component.ts +++ b/src/app/home/dashboard/dashboard.component.ts @@ -1,17 +1,32 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; -import { Router } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { Router, RouterLink } from '@angular/router'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { activities } from '../activities'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { NgFor, AsyncPipe } from '@angular/common'; +import { ClientTrendsBarComponent } from './client-trends-bar/client-trends-bar.component'; +import { AmountDisbursedPieComponent } from './amount-disbursed-pie/amount-disbursed-pie.component'; +import { AmountCollectedPieComponent } from './amount-collected-pie/amount-collected-pie.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Dashboard component. */ @Component({ selector: 'mifosx-dashboard', templateUrl: './dashboard.component.html', - styleUrls: ['./dashboard.component.scss'] + styleUrls: ['./dashboard.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatAutocompleteTrigger, + MatAutocomplete, + ClientTrendsBarComponent, + AmountDisbursedPieComponent, + AmountCollectedPieComponent, + AsyncPipe + ] }) export class DashboardComponent implements OnInit { /** Array of all user activities */ diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index af2335a46..4537e1650 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { ActivatedRoute, Router, NavigationEnd } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { ActivatedRoute, Router, NavigationEnd, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; /** rxjs Imports */ @@ -19,6 +19,11 @@ import { ConfigurationWizardService } from '../configuration-wizard/configuratio /** Custom Components */ import { NextStepDialogComponent } from '../configuration-wizard/next-step-dialog/next-step-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCard, MatCardHeader, MatCardTitle, MatCardContent, MatCardImage } from '@angular/material/card'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { NgFor, NgIf, AsyncPipe } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Home component. @@ -26,7 +31,17 @@ import { NextStepDialogComponent } from '../configuration-wizard/next-step-dialo @Component({ selector: 'mifosx-home', templateUrl: './home.component.html', - styleUrls: ['./home.component.scss'] + styleUrls: ['./home.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatCardHeader, + MatCardTitle, + MatAutocompleteTrigger, + MatAutocomplete, + MatCardImage, + AsyncPipe + ] }) export class HomeComponent implements OnInit, AfterViewInit { /** Username of authenticated user. */ diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts index da9feb29a..7b6a6f4bd 100644 --- a/src/app/home/home.module.ts +++ b/src/app/home/home.module.ts @@ -28,9 +28,7 @@ import { SessionTimeoutDialogComponent } from './timeout-dialog/session-timeout- SharedModule, PipesModule, HomeRoutingModule, - TranslateModule - ], - declarations: [ + TranslateModule, HomeComponent, DashboardComponent, AmountCollectedPieComponent, diff --git a/src/app/home/timeout-dialog/idle-timeout.service.ts b/src/app/home/timeout-dialog/idle-timeout.service.ts index 3590ca201..7b873ebc2 100644 --- a/src/app/home/timeout-dialog/idle-timeout.service.ts +++ b/src/app/home/timeout-dialog/idle-timeout.service.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; import { interval, merge, fromEvent, Observable } from 'rxjs'; import { takeUntil, repeat, map } from 'rxjs/operators'; @@ -27,7 +27,7 @@ export class IdleTimeoutService { const $signal = merge(...events.map((eventName) => fromEvent(document, eventName))); this.$onSessionTimeout = interval(this.timeoutDelay).pipe( takeUntil($signal), - map(() => undefined), + map((): void => undefined), repeat() ); } diff --git a/src/app/home/timeout-dialog/session-timeout-dialog.component.ts b/src/app/home/timeout-dialog/session-timeout-dialog.component.ts index c537eb367..b7bc6c65e 100644 --- a/src/app/home/timeout-dialog/session-timeout-dialog.component.ts +++ b/src/app/home/timeout-dialog/session-timeout-dialog.component.ts @@ -1,10 +1,26 @@ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-session-timeout-dialog', templateUrl: './session-timeout-dialog.component.html', - styleUrls: ['./session-timeout-dialog.component.scss'] + styleUrls: ['./session-timeout-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class SessionTimeoutDialogComponent { constructor(public dialogRef: MatDialogRef) {} diff --git a/src/app/home/warning-dialog/warning-dialog.component.ts b/src/app/home/warning-dialog/warning-dialog.component.ts index 5e2992909..d6754af54 100644 --- a/src/app/home/warning-dialog/warning-dialog.component.ts +++ b/src/app/home/warning-dialog/warning-dialog.component.ts @@ -1,11 +1,27 @@ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; import { environment } from '../../../environments/environment'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-warning-dialog', templateUrl: './warning-dialog.component.html', - styleUrls: ['./warning-dialog.component.scss'] + styleUrls: ['./warning-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class WarningDialogComponent { title: string; diff --git a/src/app/loans/create-loans-account/create-loans-account.component.ts b/src/app/loans/create-loans-account/create-loans-account.component.ts index 02796808a..ebbb4abe7 100644 --- a/src/app/loans/create-loans-account/create-loans-account.component.ts +++ b/src/app/loans/create-loans-account/create-loans-account.component.ts @@ -12,6 +12,11 @@ import { LoansAccountDetailsStepComponent } from '../loans-account-stepper/loans import { LoansAccountTermsStepComponent } from '../loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component'; import { LoansAccountChargesStepComponent } from '../loans-account-stepper/loans-account-charges-step/loans-account-charges-step.component'; import { LoansAccountDatatableStepComponent } from '../loans-account-stepper/loans-account-datatable-step/loans-account-datatable-step.component'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { LoansAccountScheduleStepComponent } from '../loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component'; +import { LoansAccountPreviewStepComponent } from '../loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create loans account @@ -19,7 +24,21 @@ import { LoansAccountDatatableStepComponent } from '../loans-account-stepper/loa @Component({ selector: 'mifosx-create-loans-account', templateUrl: './create-loans-account.component.html', - styleUrls: ['./create-loans-account.component.scss'] + styleUrls: ['./create-loans-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + LoansAccountDetailsStepComponent, + LoansAccountTermsStepComponent, + LoansAccountChargesStepComponent, + LoansAccountScheduleStepComponent, + LoansAccountDatatableStepComponent, + LoansAccountPreviewStepComponent + ] }) export class CreateLoansAccountComponent { /** Imports all the step component */ diff --git a/src/app/loans/custom-dialog/loan-delinquency-action-dialog/loan-delinquency-action-dialog.component.ts b/src/app/loans/custom-dialog/loan-delinquency-action-dialog/loan-delinquency-action-dialog.component.ts index 02eff2552..67800d176 100644 --- a/src/app/loans/custom-dialog/loan-delinquency-action-dialog/loan-delinquency-action-dialog.component.ts +++ b/src/app/loans/custom-dialog/loan-delinquency-action-dialog/loan-delinquency-action-dialog.component.ts @@ -1,11 +1,28 @@ import { Component, Inject } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { + MAT_DIALOG_DATA, + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-delinquency-action-dialog', templateUrl: './loan-delinquency-action-dialog.component.html', - styleUrls: ['./loan-delinquency-action-dialog.component.scss'] + styleUrls: ['./loan-delinquency-action-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class LoanDelinquencyActionDialogComponent { delinquencyActionForm: UntypedFormGroup; diff --git a/src/app/loans/custom-dialog/loans-account-add-collateral-dialog/loans-account-add-collateral-dialog.component.ts b/src/app/loans/custom-dialog/loans-account-add-collateral-dialog/loans-account-add-collateral-dialog.component.ts index 624872c92..280b73c62 100644 --- a/src/app/loans/custom-dialog/loans-account-add-collateral-dialog/loans-account-add-collateral-dialog.component.ts +++ b/src/app/loans/custom-dialog/loans-account-add-collateral-dialog/loans-account-add-collateral-dialog.component.ts @@ -1,11 +1,28 @@ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-account-add-collateral-dialog', templateUrl: './loans-account-add-collateral-dialog.component.html', - styleUrls: ['./loans-account-add-collateral-dialog.component.scss'] + styleUrls: ['./loans-account-add-collateral-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class LoansAccountAddCollateralDialogComponent implements OnInit { layout: { diff --git a/src/app/loans/custom-dialog/loans-account-view-guarantor-details-dialog/loans-account-view-guarantor-details-dialog.component.ts b/src/app/loans/custom-dialog/loans-account-view-guarantor-details-dialog/loans-account-view-guarantor-details-dialog.component.ts index 980777c3d..0adb0a1c3 100644 --- a/src/app/loans/custom-dialog/loans-account-view-guarantor-details-dialog/loans-account-view-guarantor-details-dialog.component.ts +++ b/src/app/loans/custom-dialog/loans-account-view-guarantor-details-dialog/loans-account-view-guarantor-details-dialog.component.ts @@ -1,10 +1,27 @@ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-account-view-guarantor-details-dialog', templateUrl: './loans-account-view-guarantor-details-dialog.component.html', - styleUrls: ['./loans-account-view-guarantor-details-dialog.component.scss'] + styleUrls: ['./loans-account-view-guarantor-details-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class LoansAccountViewGuarantorDetailsDialogComponent implements OnInit { constructor( diff --git a/src/app/loans/edit-loans-account/edit-loans-account.component.ts b/src/app/loans/edit-loans-account/edit-loans-account.component.ts index da096c437..f682c1a78 100644 --- a/src/app/loans/edit-loans-account/edit-loans-account.component.ts +++ b/src/app/loans/edit-loans-account/edit-loans-account.component.ts @@ -8,6 +8,11 @@ import { LoansAccountChargesStepComponent } from '../loans-account-stepper/loans /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { LoansAccountScheduleStepComponent } from '../loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component'; +import { LoansAccountPreviewStepComponent } from '../loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Loans @@ -15,7 +20,20 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-loans-account', templateUrl: './edit-loans-account.component.html', - styleUrls: ['./edit-loans-account.component.scss'] + styleUrls: ['./edit-loans-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + LoansAccountDetailsStepComponent, + LoansAccountTermsStepComponent, + LoansAccountChargesStepComponent, + LoansAccountScheduleStepComponent, + LoansAccountPreviewStepComponent + ] }) export class EditLoansAccountComponent { @ViewChild(LoansAccountDetailsStepComponent, { static: true }) diff --git a/src/app/loans/glim-account/create-glim-account/create-glim-account.component.ts b/src/app/loans/glim-account/create-glim-account/create-glim-account.component.ts index 5cac4bb7d..2be93cbf7 100644 --- a/src/app/loans/glim-account/create-glim-account/create-glim-account.component.ts +++ b/src/app/loans/glim-account/create-glim-account/create-glim-account.component.ts @@ -14,11 +14,31 @@ import { LoansActiveClientMembersComponent } from '../../loans-account-stepper/l import { LoansAccountTermsStepComponent } from '../../loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component'; import { LoansAccountChargesStepComponent } from '../../loans-account-stepper/loans-account-charges-step/loans-account-charges-step.component'; import { LoansAccountDatatableStepComponent } from '../../loans-account-stepper/loans-account-datatable-step/loans-account-datatable-step.component'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { LoansAccountScheduleStepComponent } from '../../loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component'; +import { LoansAccountPreviewStepComponent } from '../../loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-glim-account', templateUrl: './create-glim-account.component.html', - styleUrls: ['./create-glim-account.component.scss'] + styleUrls: ['./create-glim-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + LoansAccountDetailsStepComponent, + LoansAccountTermsStepComponent, + LoansAccountChargesStepComponent, + LoansActiveClientMembersComponent, + LoansAccountScheduleStepComponent, + LoansAccountDatatableStepComponent, + LoansAccountPreviewStepComponent + ] }) export class CreateGlimAccountComponent { /** Imports all the step component */ diff --git a/src/app/loans/glim-account/glim-account.component.ts b/src/app/loans/glim-account/glim-account.component.ts index 95b858179..4ac356bd0 100644 --- a/src/app/loans/glim-account/glim-account.component.ts +++ b/src/app/loans/glim-account/glim-account.component.ts @@ -1,9 +1,22 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * GSIM Accounts Overview component. @@ -11,7 +24,20 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-glim-account', templateUrl: './glim-account.component.html', - styleUrls: ['./glim-account.component.scss'] + styleUrls: ['./glim-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class GlimAccountComponent implements OnInit { /** Columns to be displayed in GLIM overview table. */ diff --git a/src/app/loans/loans-account-stepper/loans-account-charges-step/loans-account-charges-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-charges-step/loans-account-charges-step.component.ts index 39e09e465..f5e79dcad 100644 --- a/src/app/loans/loans-account-stepper/loans-account-charges-step/loans-account-charges-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-charges-step/loans-account-charges-step.component.ts @@ -2,7 +2,19 @@ import { Component, OnInit, Input, OnChanges } from '@angular/core'; // import { FormControl } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; @@ -15,7 +27,14 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposit Account Charges Step @@ -23,7 +42,27 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-loans-account-charges-step', templateUrl: './loans-account-charges-step.component.html', - styleUrls: ['./loans-account-charges-step.component.scss'] + styleUrls: ['./loans-account-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatDivider, + MatStepperPrevious, + MatStepperNext, + DateFormatPipe, + FormatNumberPipe + ] }) export class LoansAccountChargesStepComponent implements OnInit, OnChanges { // @Input loansAccountProductTemplate: LoansAccountProductTemplate diff --git a/src/app/loans/loans-account-stepper/loans-account-datatable-step/loans-account-datatable-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-datatable-step/loans-account-datatable-step.component.ts index 59dbe4a50..c530cfe0d 100644 --- a/src/app/loans/loans-account-stepper/loans-account-datatable-step/loans-account-datatable-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-datatable-step/loans-account-datatable-step.component.ts @@ -1,12 +1,29 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-account-datatable-step', templateUrl: './loans-account-datatable-step.component.html', - styleUrls: ['./loans-account-datatable-step.component.scss'] + styleUrls: ['./loans-account-datatable-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class LoansAccountDatatableStepComponent implements OnInit { /** Input Fields Data */ diff --git a/src/app/loans/loans-account-stepper/loans-account-details-step/loans-account-details-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-details-step/loans-account-details-step.component.ts index 199eb4cac..f632d17be 100644 --- a/src/app/loans/loans-account-stepper/loans-account-details-step/loans-account-details-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-details-step/loans-account-details-step.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter, OnDestroy } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { SettingsService } from 'app/settings/settings.service'; import { TranslateService } from '@ngx-translate/core'; @@ -10,6 +16,14 @@ import { LoansService } from '../../loans.service'; import { Commons } from 'app/core/utils/commons'; import { takeUntil } from 'rxjs/operators'; import { ReplaySubject, Subject } from 'rxjs'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgxMatSelectSearchModule } from 'ngx-mat-select-search'; +import { NgFor, NgIf, AsyncPipe } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loans Account Details Step @@ -17,7 +31,18 @@ import { ReplaySubject, Subject } from 'rxjs'; @Component({ selector: 'mifosx-loans-account-details-step', templateUrl: './loans-account-details-step.component.html', - styleUrls: ['./loans-account-details-step.component.scss'] + styleUrls: ['./loans-account-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + NgxMatSelectSearchModule, + MatDivider, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext, + AsyncPipe + ] }) export class LoansAccountDetailsStepComponent implements OnInit, OnDestroy { //** Defining PlaceHolders for the search bar */ diff --git a/src/app/loans/loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component.ts index a4a4c8c3f..df45d78e9 100644 --- a/src/app/loans/loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-preview-step/loans-account-preview-step.component.ts @@ -1,6 +1,29 @@ /** Angular Imports */ import { Component, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { LongTextComponent } from '../../../shared/long-text/long-text.component'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Loans Account Preview Step @@ -8,7 +31,30 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-loans-account-preview-step', templateUrl: './loans-account-preview-step.component.html', - styleUrls: ['./loans-account-preview-step.component.scss'] + styleUrls: ['./loans-account-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + LongTextComponent, + ExternalIdentifierComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + FaIconComponent, + CurrencyPipe, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class LoansAccountPreviewStepComponent implements OnChanges { /** Loans Account Template */ diff --git a/src/app/loans/loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component.ts index dca4c448b..865dadf91 100644 --- a/src/app/loans/loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-schedule-step/loans-account-schedule-step.component.ts @@ -1,12 +1,23 @@ import { Component, Input } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { RepaymentScheduleTabComponent } from '../../loans-view/repayment-schedule-tab/repayment-schedule-tab.component'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-account-schedule-step', templateUrl: './loans-account-schedule-step.component.html', - styleUrls: ['./loans-account-schedule-step.component.scss'] + styleUrls: ['./loans-account-schedule-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + RepaymentScheduleTabComponent, + MatStepperPrevious, + MatStepperNext + ] }) export class LoansAccountScheduleStepComponent { /** Currency Code */ diff --git a/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts index f58a51c21..6deb4697f 100644 --- a/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts @@ -1,8 +1,15 @@ /** Angular Imports */ import { Component, OnInit, Input, OnChanges } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormArray, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + FormArray, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { LoansAccountAddCollateralDialogComponent } from 'app/loans/custom-dialog/loans-account-add-collateral-dialog/loans-account-add-collateral-dialog.component'; import { LoanProducts } from 'app/products/loan-products/loan-products'; import { LoanProduct } from 'app/products/loan-products/models/loan-product.model'; @@ -14,6 +21,29 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { Currency } from 'app/shared/models/general.model'; import { CodeName, OptionData } from 'app/shared/models/option-data.model'; +import { InputAmountComponent } from '../../../shared/input-amount/input-amount.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface DisbursementData { id?: number; @@ -27,7 +57,31 @@ interface DisbursementData { @Component({ selector: 'mifosx-loans-account-terms-step', templateUrl: './loans-account-terms-step.component.html', - styleUrls: ['./loans-account-terms-step.component.scss'] + styleUrls: ['./loans-account-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatTooltip, + MatCheckbox, + MatDivider, + MatIconButton, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe, + DateFormatPipe, + YesnoPipe + ] }) export class LoansAccountTermsStepComponent implements OnInit, OnChanges { /** Loans Product Options */ diff --git a/src/app/loans/loans-account-stepper/loans-active-client-members/loans-active-client-members.component.ts b/src/app/loans/loans-account-stepper/loans-active-client-members/loans-active-client-members.component.ts index 94220ed4e..393955eaa 100644 --- a/src/app/loans/loans-account-stepper/loans-active-client-members/loans-active-client-members.component.ts +++ b/src/app/loans/loans-account-stepper/loans-active-client-members/loans-active-client-members.component.ts @@ -1,11 +1,46 @@ import { Component, OnInit, Input } from '@angular/core'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-active-client-members', templateUrl: './loans-active-client-members.component.html', - styleUrls: ['./loans-active-client-members.component.scss'] + styleUrls: ['./loans-active-client-members.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + FormsModule, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class LoansActiveClientMembersComponent implements OnInit { loanId: any = null; diff --git a/src/app/loans/loans-view/account-details/account-details.component.ts b/src/app/loans/loans-view/account-details/account-details.component.ts index 5a537cfa6..40cb0a0b6 100644 --- a/src/app/loans/loans-view/account-details/account-details.component.ts +++ b/src/app/loans/loans-view/account-details/account-details.component.ts @@ -1,10 +1,20 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-account-details', templateUrl: './account-details.component.html', - styleUrls: ['./account-details.component.scss'] + styleUrls: ['./account-details.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class AccountDetailsComponent { loanDetails: any; diff --git a/src/app/loans/loans-view/charges-tab/charges-tab.component.ts b/src/app/loans/loans-view/charges-tab/charges-tab.component.ts index 6a4fa3e5d..26defec75 100644 --- a/src/app/loans/loans-view/charges-tab/charges-tab.component.ts +++ b/src/app/loans/loans-view/charges-tab/charges-tab.component.ts @@ -1,10 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; @@ -23,11 +35,34 @@ import { Dates } from 'app/core/utils/dates'; import { SystemService } from 'app/system/system.service'; import { GlobalConfiguration } from 'app/system/configurations/global-configurations-tab/configuration.model'; import { TranslateService } from '@ngx-translate/core'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-charges-tab', templateUrl: './charges-tab.component.html', - styleUrls: ['./charges-tab.component.scss'] + styleUrls: ['./charges-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + CurrencyPipe, + DateFormatPipe + ] }) export class ChargesTabComponent implements OnInit { /** Loan Details Data */ diff --git a/src/app/loans/loans-view/datatable-tab/datatable-tab.component.ts b/src/app/loans/loans-view/datatable-tab/datatable-tab.component.ts index 2e8698724..ed5ce8f56 100644 --- a/src/app/loans/loans-view/datatable-tab/datatable-tab.component.ts +++ b/src/app/loans/loans-view/datatable-tab/datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-tab', templateUrl: './datatable-tab.component.html', - styleUrls: ['./datatable-tab.component.scss'] + styleUrls: ['./datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabComponent implements OnInit { entityId: string; diff --git a/src/app/loans/loans-view/external-asset-owner-tab/external-asset-owner-tab.component.ts b/src/app/loans/loans-view/external-asset-owner-tab/external-asset-owner-tab.component.ts index 2883f2a4b..423bb84c7 100644 --- a/src/app/loans/loans-view/external-asset-owner-tab/external-asset-owner-tab.component.ts +++ b/src/app/loans/loans-view/external-asset-owner-tab/external-asset-owner-tab.component.ts @@ -1,14 +1,53 @@ import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { ExternalAssetOwner } from 'app/loans/services/external-asset-owner'; import { ExternalAssetOwnerService } from 'app/loans/services/external-asset-owner.service'; import { CancelDialogComponent } from 'app/shared/cancel-dialog/cancel-dialog.component'; +import { NgIf, NgClass, DecimalPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-external-asset-owner-tab', templateUrl: './external-asset-owner-tab.component.html', - styleUrls: ['./external-asset-owner-tab.component.scss'] + styleUrls: ['./external-asset-owner-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgClass, + FaIconComponent, + ExternalIdentifierComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DecimalPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class ExternalAssetOwnerTabComponent implements OnInit { defaultDate = '9999-12-31'; diff --git a/src/app/loans/loans-view/external-asset-owner-tab/external-asset-transfer/external-asset-transfer.component.ts b/src/app/loans/loans-view/external-asset-owner-tab/external-asset-transfer/external-asset-transfer.component.ts index f0b14ce2a..bf3ba98ea 100644 --- a/src/app/loans/loans-view/external-asset-owner-tab/external-asset-transfer/external-asset-transfer.component.ts +++ b/src/app/loans/loans-view/external-asset-owner-tab/external-asset-transfer/external-asset-transfer.component.ts @@ -1,10 +1,24 @@ import { Component, Input, OnInit } from '@angular/core'; import { ExternalAssetOwner } from 'app/loans/services/external-asset-owner'; +import { NgClass } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-external-asset-transfer', templateUrl: './external-asset-transfer.component.html', - styleUrls: ['./external-asset-transfer.component.scss'] + styleUrls: ['./external-asset-transfer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgClass, + FaIconComponent, + ExternalIdentifierComponent, + DateFormatPipe, + FormatNumberPipe + ] }) export class ExternalAssetTransferComponent { /** Input Fields Data */ diff --git a/src/app/loans/loans-view/floating-interest-rates/floating-interest-rates.component.ts b/src/app/loans/loans-view/floating-interest-rates/floating-interest-rates.component.ts index de22bd23b..4571c7e87 100644 --- a/src/app/loans/loans-view/floating-interest-rates/floating-interest-rates.component.ts +++ b/src/app/loans/loans-view/floating-interest-rates/floating-interest-rates.component.ts @@ -1,10 +1,38 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-floating-interest-rates', templateUrl: './floating-interest-rates.component.html', - styleUrls: ['./floating-interest-rates.component.scss'] + styleUrls: ['./floating-interest-rates.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class FloatingInterestRatesComponent implements OnInit { /** Loan Details */ diff --git a/src/app/loans/loans-view/general-tab/general-tab.component.ts b/src/app/loans/loans-view/general-tab/general-tab.component.ts index a6f654bee..1cce2c043 100644 --- a/src/app/loans/loans-view/general-tab/general-tab.component.ts +++ b/src/app/loans/loans-view/general-tab/general-tab.component.ts @@ -1,11 +1,45 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ExternalIdentifierComponent, + CurrencyPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class GeneralTabComponent implements OnInit { /** Currency Code */ diff --git a/src/app/loans/loans-view/loan-account-actions/add-collateral/add-collateral.component.ts b/src/app/loans/loans-view/loan-account-actions/add-collateral/add-collateral.component.ts index 95457b619..0b13a955a 100644 --- a/src/app/loans/loans-view/loan-account-actions/add-collateral/add-collateral.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/add-collateral/add-collateral.component.ts @@ -1,10 +1,12 @@ /** Angular Imports. */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services. */ import { LoansService } from 'app/loans/loans.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Collateral component. @@ -12,7 +14,11 @@ import { LoansService } from 'app/loans/loans.service'; @Component({ selector: 'mifosx-add-collateral', templateUrl: './add-collateral.component.html', - styleUrls: ['./add-collateral.component.scss'] + styleUrls: ['./add-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class AddCollateralComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/add-interest-pause/add-interest-pause.component.ts b/src/app/loans/loans-view/loan-account-actions/add-interest-pause/add-interest-pause.component.ts index 4cd1035b3..f5d6623c2 100644 --- a/src/app/loans/loans-view/loan-account-actions/add-interest-pause/add-interest-pause.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/add-interest-pause/add-interest-pause.component.ts @@ -1,14 +1,20 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-add-interest-pause', templateUrl: './add-interest-pause.component.html', - styleUrls: ['./add-interest-pause.component.scss'] + styleUrls: ['./add-interest-pause.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + DateFormatPipe + ] }) export class AddInterestPauseComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/add-loan-charge/add-loan-charge.component.ts b/src/app/loans/loans-view/loan-account-actions/add-loan-charge/add-loan-charge.component.ts index 5c7c05ad3..a695407cf 100644 --- a/src/app/loans/loans-view/loan-account-actions/add-loan-charge/add-loan-charge.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/add-loan-charge/add-loan-charge.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from '../../../loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Add Loan Charge component. @@ -14,7 +21,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-add-loan-charge', templateUrl: './add-loan-charge.component.html', - styleUrls: ['./add-loan-charge.component.scss'] + styleUrls: ['./add-loan-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddLoanChargeComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/loans/loans-view/loan-account-actions/adjust-loan-charge/adjust-loan-charge.component.ts b/src/app/loans/loans-view/loan-account-actions/adjust-loan-charge/adjust-loan-charge.component.ts index c3ef2204d..254adf4d3 100644 --- a/src/app/loans/loans-view/loan-account-actions/adjust-loan-charge/adjust-loan-charge.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/adjust-loan-charge/adjust-loan-charge.component.ts @@ -1,14 +1,28 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { LoansService } from 'app/loans/loans.service'; import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-adjust-loan-charge', templateUrl: './adjust-loan-charge.component.html', - styleUrls: ['./adjust-loan-charge.component.scss'] + styleUrls: ['./adjust-loan-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class AdjustLoanChargeComponent implements OnInit { /** Loan Id */ diff --git a/src/app/loans/loans-view/loan-account-actions/approve-loan/approve-loan.component.ts b/src/app/loans/loans-view/loan-account-actions/approve-loan/approve-loan.component.ts index 2924340c9..4596d06ac 100644 --- a/src/app/loans/loans-view/loan-account-actions/approve-loan/approve-loan.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/approve-loan/approve-loan.component.ts @@ -1,13 +1,16 @@ /** Angular Imports. */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve Loan component. @@ -15,7 +18,12 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-approve-loan', templateUrl: './approve-loan.component.html', - styleUrls: ['./approve-loan.component.scss'] + styleUrls: ['./approve-loan.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + CdkTextareaAutosize + ] }) export class ApproveLoanComponent implements OnInit { /** Approve Loan form. */ diff --git a/src/app/loans/loans-view/loan-account-actions/asset-transfer-loan/asset-transfer-loan.component.ts b/src/app/loans/loans-view/loan-account-actions/asset-transfer-loan/asset-transfer-loan.component.ts index 5c5ad6772..f70e5fa54 100644 --- a/src/app/loans/loans-view/loan-account-actions/asset-transfer-loan/asset-transfer-loan.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/asset-transfer-loan/asset-transfer-loan.component.ts @@ -1,14 +1,18 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { ExternalAssetOwnerService } from 'app/loans/services/external-asset-owner.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-asset-transfer-loan', templateUrl: './asset-transfer-loan.component.html', - styleUrls: ['./asset-transfer-loan.component.scss'] + styleUrls: ['./asset-transfer-loan.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AssetTransferLoanComponent implements OnInit { BUYBACK_COMMAND = 'buyback'; diff --git a/src/app/loans/loans-view/loan-account-actions/assign-loan-officer/assign-loan-officer.component.ts b/src/app/loans/loans-view/loan-account-actions/assign-loan-officer/assign-loan-officer.component.ts index bf41e3b39..f31223890 100644 --- a/src/app/loans/loans-view/loan-account-actions/assign-loan-officer/assign-loan-officer.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/assign-loan-officer/assign-loan-officer.component.ts @@ -1,16 +1,20 @@ import { Component, OnInit, Input } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { LoansService } from 'app/loans/loans.service'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-assign-loan-officer', templateUrl: './assign-loan-officer.component.html', - styleUrls: ['./assign-loan-officer.component.scss'] + styleUrls: ['./assign-loan-officer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AssignLoanOfficerComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/charge-off/charge-off.component.ts b/src/app/loans/loans-view/loan-account-actions/charge-off/charge-off.component.ts index f51daf756..71cd14b36 100644 --- a/src/app/loans/loans-view/loan-account-actions/charge-off/charge-off.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/charge-off/charge-off.component.ts @@ -1,14 +1,20 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-charge-off', templateUrl: './charge-off.component.html', - styleUrls: ['./charge-off.component.scss'] + styleUrls: ['./charge-off.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class ChargeOffComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/close-as-rescheduled/close-as-rescheduled.component.ts b/src/app/loans/loans-view/loan-account-actions/close-as-rescheduled/close-as-rescheduled.component.ts index 441163245..acad14c09 100644 --- a/src/app/loans/loans-view/loan-account-actions/close-as-rescheduled/close-as-rescheduled.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/close-as-rescheduled/close-as-rescheduled.component.ts @@ -1,16 +1,22 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { LoansService } from 'app/loans/loans.service'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-close-as-rescheduled', templateUrl: './close-as-rescheduled.component.html', - styleUrls: ['./close-as-rescheduled.component.scss'] + styleUrls: ['./close-as-rescheduled.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class CloseAsRescheduledComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/create-guarantor/create-guarantor.component.ts b/src/app/loans/loans-view/loan-account-actions/create-guarantor/create-guarantor.component.ts index 0335df41d..6133f152d 100644 --- a/src/app/loans/loans-view/loan-account-actions/create-guarantor/create-guarantor.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/create-guarantor/create-guarantor.component.ts @@ -1,13 +1,22 @@ /** Angular Imports */ import { Component, OnInit, Input, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { ClientsService } from 'app/clients/clients.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatAutocompleteTrigger, MatAutocomplete, MatOption } from '@angular/material/autocomplete'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Guarantor Action @@ -15,7 +24,13 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-guarantor', templateUrl: './create-guarantor.component.html', - styleUrls: ['./create-guarantor.component.scss'] + styleUrls: ['./create-guarantor.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatAutocompleteTrigger, + MatAutocomplete + ] }) export class CreateGuarantorComponent implements OnInit, AfterViewInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/disburse-to-savings-account/disburse-to-savings-account.component.ts b/src/app/loans/loans-view/loan-account-actions/disburse-to-savings-account/disburse-to-savings-account.component.ts index 4c05f0f25..a69d66d27 100644 --- a/src/app/loans/loans-view/loan-account-actions/disburse-to-savings-account/disburse-to-savings-account.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/disburse-to-savings-account/disburse-to-savings-account.component.ts @@ -1,15 +1,29 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-disburse-to-savings-account', templateUrl: './disburse-to-savings-account.component.html', - styleUrls: ['./disburse-to-savings-account.component.scss'] + styleUrls: ['./disburse-to-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + CdkTextareaAutosize + ] }) export class DisburseToSavingsAccountComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/disburse/disburse.component.ts b/src/app/loans/loans-view/loan-account-actions/disburse/disburse.component.ts index 61b34f757..ead62e9af 100644 --- a/src/app/loans/loans-view/loan-account-actions/disburse/disburse.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/disburse/disburse.component.ts @@ -1,13 +1,23 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Disburse Loan Option @@ -15,7 +25,13 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-disburse', templateUrl: './disburse.component.html', - styleUrls: ['./disburse.component.scss'] + styleUrls: ['./disburse.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class DisburseComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/edit-repayment-schedule/edit-repayment-schedule.component.ts b/src/app/loans/loans-view/loan-account-actions/edit-repayment-schedule/edit-repayment-schedule.component.ts index d976e710d..1e74b1ee8 100644 --- a/src/app/loans/loans-view/loan-account-actions/edit-repayment-schedule/edit-repayment-schedule.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/edit-repayment-schedule/edit-repayment-schedule.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; @@ -10,11 +10,17 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; +import { RepaymentScheduleTabComponent } from '../../repayment-schedule-tab/repayment-schedule-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-repayment-schedule', templateUrl: './edit-repayment-schedule.component.html', - styleUrls: ['./edit-repayment-schedule.component.scss'] + styleUrls: ['./edit-repayment-schedule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + RepaymentScheduleTabComponent + ] }) export class EditRepaymentScheduleComponent implements OnInit { /** Loan ID. */ diff --git a/src/app/loans/loans-view/loan-account-actions/foreclosure/foreclosure.component.ts b/src/app/loans/loans-view/loan-account-actions/foreclosure/foreclosure.component.ts index e94c5617f..dbf6f72ce 100644 --- a/src/app/loans/loans-view/loan-account-actions/foreclosure/foreclosure.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/foreclosure/foreclosure.component.ts @@ -1,16 +1,22 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { LoansService } from 'app/loans/loans.service'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-foreclosure', templateUrl: './foreclosure.component.html', - styleUrls: ['./foreclosure.component.scss'] + styleUrls: ['./foreclosure.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class ForeclosureComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/loan-account-actions.component.ts b/src/app/loans/loans-view/loan-account-actions/loan-account-actions.component.ts index 6d4e7625a..27f8d4339 100644 --- a/src/app/loans/loans-view/loan-account-actions/loan-account-actions.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loan-account-actions.component.ts @@ -1,6 +1,36 @@ /** Angular Imports. */ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; +import { LoansAccountCloseComponent } from './loans-account-close/loans-account-close.component'; +import { UndoApprovalComponent } from './undo-approval/undo-approval.component'; +import { AssignLoanOfficerComponent } from './assign-loan-officer/assign-loan-officer.component'; +import { ForeclosureComponent } from './foreclosure/foreclosure.component'; +import { PrepayLoanComponent } from './prepay-loan/prepay-loan.component'; +import { MakeRepaymentComponent } from './make-repayment/make-repayment.component'; +import { LoanCreditBalanceRefundComponent } from './loan-credit-balance-refund/loan-credit-balance-refund.component'; +import { WaiveInterestComponent } from './waive-interest/waive-interest.component'; +import { WriteOffPageComponent } from './write-off-page/write-off-page.component'; +import { CloseAsRescheduledComponent } from './close-as-rescheduled/close-as-rescheduled.component'; +import { LoanRescheduleComponent } from './loan-reschedule/loan-reschedule.component'; +import { RecoveryRepaymentComponent } from './recovery-repayment/recovery-repayment.component'; +import { ViewGuarantorsComponent } from './view-guarantors/view-guarantors.component'; +import { CreateGuarantorComponent } from './create-guarantor/create-guarantor.component'; +import { DisburseToSavingsAccountComponent } from './disburse-to-savings-account/disburse-to-savings-account.component'; +import { RejectLoanComponent } from './reject-loan/reject-loan.component'; +import { DisburseComponent } from './disburse/disburse.component'; +import { WithdrawnByClientComponent } from './withdrawn-by-client/withdrawn-by-client.component'; +import { AddCollateralComponent } from './add-collateral/add-collateral.component'; +import { UndoDisbursalComponent } from './undo-disbursal/undo-disbursal.component'; +import { LoanScreenReportsComponent } from './loan-screen-reports/loan-screen-reports.component'; +import { ApproveLoanComponent } from './approve-loan/approve-loan.component'; +import { AddLoanChargeComponent } from './add-loan-charge/add-loan-charge.component'; +import { EditRepaymentScheduleComponent } from './edit-repayment-schedule/edit-repayment-schedule.component'; +import { ChargeOffComponent } from './charge-off/charge-off.component'; +import { AssetTransferLoanComponent } from './asset-transfer-loan/asset-transfer-loan.component'; +import { LoanReagingComponent } from './loan-reaging/loan-reaging.component'; +import { LoanReamortizeComponent } from './loan-reamortize/loan-reamortize.component'; +import { AddInterestPauseComponent } from './add-interest-pause/add-interest-pause.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loan Account Actions component. @@ -8,7 +38,39 @@ import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'mifosx-loan-account-actions', templateUrl: './loan-account-actions.component.html', - styleUrls: ['./loan-account-actions.component.scss'] + styleUrls: ['./loan-account-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + LoansAccountCloseComponent, + UndoApprovalComponent, + AssignLoanOfficerComponent, + ForeclosureComponent, + PrepayLoanComponent, + MakeRepaymentComponent, + LoanCreditBalanceRefundComponent, + WaiveInterestComponent, + WriteOffPageComponent, + CloseAsRescheduledComponent, + LoanRescheduleComponent, + RecoveryRepaymentComponent, + ViewGuarantorsComponent, + CreateGuarantorComponent, + DisburseToSavingsAccountComponent, + RejectLoanComponent, + DisburseComponent, + WithdrawnByClientComponent, + AddCollateralComponent, + UndoDisbursalComponent, + LoanScreenReportsComponent, + ApproveLoanComponent, + AddLoanChargeComponent, + EditRepaymentScheduleComponent, + ChargeOffComponent, + AssetTransferLoanComponent, + LoanReagingComponent, + LoanReamortizeComponent, + AddInterestPauseComponent + ] }) export class LoanAccountActionsComponent { /** Loan Details Data */ diff --git a/src/app/loans/loans-view/loan-account-actions/loan-credit-balance-refund/loan-credit-balance-refund.component.ts b/src/app/loans/loans-view/loan-account-actions/loan-credit-balance-refund/loan-credit-balance-refund.component.ts index cb4deb7ab..a353d34ba 100644 --- a/src/app/loans/loans-view/loan-account-actions/loan-credit-balance-refund/loan-credit-balance-refund.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loan-credit-balance-refund/loan-credit-balance-refund.component.ts @@ -1,15 +1,23 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-credit-balance-refund', templateUrl: './loan-credit-balance-refund.component.html', - styleUrls: ['./loan-credit-balance-refund.component.scss'] + styleUrls: ['./loan-credit-balance-refund.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + CdkTextareaAutosize + ] }) export class LoanCreditBalanceRefundComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/loan-reaging/loan-reaging.component.ts b/src/app/loans/loans-view/loan-account-actions/loan-reaging/loan-reaging.component.ts index d24870a87..42aaefc2f 100644 --- a/src/app/loans/loans-view/loan-account-actions/loan-reaging/loan-reaging.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loan-reaging/loan-reaging.component.ts @@ -1,16 +1,20 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { DropdownOptions } from 'app/core/utils/dropdownOptions'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { OptionData } from 'app/shared/models/option-data.model'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-reaging', templateUrl: './loan-reaging.component.html', - styleUrls: ['./loan-reaging.component.scss'] + styleUrls: ['./loan-reaging.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class LoanReagingComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/loan-reamortize/loan-reamortize.component.ts b/src/app/loans/loans-view/loan-account-actions/loan-reamortize/loan-reamortize.component.ts index 3c12370c8..63e449386 100644 --- a/src/app/loans/loans-view/loan-account-actions/loan-reamortize/loan-reamortize.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loan-reamortize/loan-reamortize.component.ts @@ -1,12 +1,16 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { LoansService } from 'app/loans/loans.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-reamortize', templateUrl: './loan-reamortize.component.html', - styleUrls: ['./loan-reamortize.component.scss'] + styleUrls: ['./loan-reamortize.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class LoanReamortizeComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/loan-reschedule/loan-reschedule.component.ts b/src/app/loans/loans-view/loan-account-actions/loan-reschedule/loan-reschedule.component.ts index 56f17d5ba..077e590c6 100644 --- a/src/app/loans/loans-view/loan-account-actions/loan-reschedule/loan-reschedule.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loan-reschedule/loan-reschedule.component.ts @@ -1,16 +1,28 @@ import { Component, OnInit, Input } from '@angular/core'; import { LoansService } from 'app/loans/loans.service'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormGroup, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-reschedule', templateUrl: './loan-reschedule.component.html', - styleUrls: ['./loan-reschedule.component.scss'] + styleUrls: ['./loan-reschedule.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class LoanRescheduleComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/loan-screen-reports/loan-screen-reports.component.ts b/src/app/loans/loans-view/loan-account-actions/loan-screen-reports/loan-screen-reports.component.ts index aabe5a512..a22823d4c 100644 --- a/src/app/loans/loans-view/loan-account-actions/loan-screen-reports/loan-screen-reports.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loan-screen-reports/loan-screen-reports.component.ts @@ -1,11 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Renderer2, ViewChild, ElementRef, SecurityContext, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { DomSanitizer } from '@angular/platform-browser'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loans Screen Reports Component. @@ -13,7 +15,11 @@ import { DomSanitizer } from '@angular/platform-browser'; @Component({ selector: 'mifosx-loan-screen-reports', templateUrl: './loan-screen-reports.component.html', - styleUrls: ['./loan-screen-reports.component.scss'] + styleUrls: ['./loan-screen-reports.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class LoanScreenReportsComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/loans-account-close/loans-account-close.component.ts b/src/app/loans/loans-view/loan-account-actions/loans-account-close/loans-account-close.component.ts index fe6b2abd4..aed7f7725 100644 --- a/src/app/loans/loans-view/loan-account-actions/loans-account-close/loans-account-close.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/loans-account-close/loans-account-close.component.ts @@ -1,17 +1,23 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { LoansService } from 'app/loans/loans.service'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-account-close', templateUrl: './loans-account-close.component.html', - styleUrls: ['./loans-account-close.component.scss'] + styleUrls: ['./loans-account-close.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class LoansAccountCloseComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts b/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts index 10554c94c..63527b1e5 100644 --- a/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts @@ -1,13 +1,24 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loan Make Repayment Component @@ -15,7 +26,14 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-make-repayment', templateUrl: './make-repayment.component.html', - styleUrls: ['./make-repayment.component.scss'] + styleUrls: ['./make-repayment.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize, + FormatNumberPipe + ] }) export class MakeRepaymentComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/prepay-loan/prepay-loan.component.ts b/src/app/loans/loans-view/loan-account-actions/prepay-loan/prepay-loan.component.ts index 0eb958705..82253c563 100644 --- a/src/app/loans/loans-view/loan-account-actions/prepay-loan/prepay-loan.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/prepay-loan/prepay-loan.component.ts @@ -1,13 +1,24 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loan Prepay Loan Option @@ -15,7 +26,14 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-prepay-loan', templateUrl: './prepay-loan.component.html', - styleUrls: ['./prepay-loan.component.scss'] + styleUrls: ['./prepay-loan.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize, + FormatNumberPipe + ] }) export class PrepayLoanComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/recovery-repayment/recovery-repayment.component.ts b/src/app/loans/loans-view/loan-account-actions/recovery-repayment/recovery-repayment.component.ts index b99736fa0..bfa2d8d97 100644 --- a/src/app/loans/loans-view/loan-account-actions/recovery-repayment/recovery-repayment.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/recovery-repayment/recovery-repayment.component.ts @@ -1,13 +1,23 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loan Recovery Repayment Action @@ -15,7 +25,13 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-recovery-repayment', templateUrl: './recovery-repayment.component.html', - styleUrls: ['./recovery-repayment.component.scss'] + styleUrls: ['./recovery-repayment.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class RecoveryRepaymentComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/reject-loan/reject-loan.component.ts b/src/app/loans/loans-view/loan-account-actions/reject-loan/reject-loan.component.ts index 29fc1fda3..6835b6c4f 100644 --- a/src/app/loans/loans-view/loan-account-actions/reject-loan/reject-loan.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/reject-loan/reject-loan.component.ts @@ -1,12 +1,14 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom services. */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Loan component. @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-reject-loan', templateUrl: './reject-loan.component.html', - styleUrls: ['./reject-loan.component.scss'] + styleUrls: ['./reject-loan.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class RejectLoanComponent implements OnInit { /** Loan Id. */ diff --git a/src/app/loans/loans-view/loan-account-actions/undo-approval/undo-approval.component.ts b/src/app/loans/loans-view/loan-account-actions/undo-approval/undo-approval.component.ts index 6fb7beaa2..c227307d8 100644 --- a/src/app/loans/loans-view/loan-account-actions/undo-approval/undo-approval.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/undo-approval/undo-approval.component.ts @@ -1,17 +1,21 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormControl, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services. */ import { LoansService } from 'app/loans/loans.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Loan component. */ @Component({ selector: 'mifosx-undo-approval', templateUrl: './undo-approval.component.html', - styleUrls: ['./undo-approval.component.scss'] + styleUrls: ['./undo-approval.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class UndoApprovalComponent implements OnInit { /** Form Controller. */ diff --git a/src/app/loans/loans-view/loan-account-actions/undo-disbursal/undo-disbursal.component.ts b/src/app/loans/loans-view/loan-account-actions/undo-disbursal/undo-disbursal.component.ts index afaa12cab..dc649c14f 100644 --- a/src/app/loans/loans-view/loan-account-actions/undo-disbursal/undo-disbursal.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/undo-disbursal/undo-disbursal.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormControl, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormControl, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from '../../../loans.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Disbursal component. @@ -12,7 +14,11 @@ import { LoansService } from '../../../loans.service'; @Component({ selector: 'mifosx-undo-disbursal', templateUrl: './undo-disbursal.component.html', - styleUrls: ['./undo-disbursal.component.scss'] + styleUrls: ['./undo-disbursal.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class UndoDisbursalComponent implements OnInit { @Input() actionName: string; diff --git a/src/app/loans/loans-view/loan-account-actions/view-guarantors/view-guarantors.component.ts b/src/app/loans/loans-view/loan-account-actions/view-guarantors/view-guarantors.component.ts index c666792b8..aae42d56d 100644 --- a/src/app/loans/loans-view/loan-account-actions/view-guarantors/view-guarantors.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/view-guarantors/view-guarantors.component.ts @@ -10,6 +10,23 @@ import { LoansService } from 'app/loans/loans.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { LoansAccountViewGuarantorDetailsDialogComponent } from 'app/loans/custom-dialog/loans-account-view-guarantor-details-dialog/loans-account-view-guarantor-details-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../../../shared/external-identifier/external-identifier.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { AccountsFilterPipe } from '../../../../pipes/accounts-filter.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Guarantors Action @@ -17,7 +34,24 @@ import { LoansAccountViewGuarantorDetailsDialogComponent } from 'app/loans/custo @Component({ selector: 'mifosx-view-guarantors', templateUrl: './view-guarantors.component.html', - styleUrls: ['./view-guarantors.component.scss'] + styleUrls: ['./view-guarantors.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + ExternalIdentifierComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + AccountsFilterPipe, + FormatNumberPipe + ] }) export class ViewGuarantorsComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/waive-interest/waive-interest.component.ts b/src/app/loans/loans-view/loan-account-actions/waive-interest/waive-interest.component.ts index 6187b15e8..d0f0381ea 100644 --- a/src/app/loans/loans-view/loan-account-actions/waive-interest/waive-interest.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/waive-interest/waive-interest.component.ts @@ -1,13 +1,16 @@ /** Angular Imports. */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services. */ import { LoansService } from 'app/loans/loans.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Waive Interest component. @@ -15,7 +18,12 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-waive-interest', templateUrl: './waive-interest.component.html', - styleUrls: ['./waive-interest.component.scss'] + styleUrls: ['./waive-interest.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + CdkTextareaAutosize + ] }) export class WaiveInterestComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/withdrawn-by-client/withdrawn-by-client.component.ts b/src/app/loans/loans-view/loan-account-actions/withdrawn-by-client/withdrawn-by-client.component.ts index 6081fd7eb..a938f9250 100644 --- a/src/app/loans/loans-view/loan-account-actions/withdrawn-by-client/withdrawn-by-client.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/withdrawn-by-client/withdrawn-by-client.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Withdrawn By Applicant Loan Form @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-withdrawn-by-client', templateUrl: './withdrawn-by-client.component.html', - styleUrls: ['./withdrawn-by-client.component.scss'] + styleUrls: ['./withdrawn-by-client.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class WithdrawnByClientComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-account-actions/write-off-page/write-off-page.component.ts b/src/app/loans/loans-view/loan-account-actions/write-off-page/write-off-page.component.ts index b38e1601e..9261662db 100644 --- a/src/app/loans/loans-view/loan-account-actions/write-off-page/write-off-page.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/write-off-page/write-off-page.component.ts @@ -1,12 +1,14 @@ /** Angular Imports. */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Write Off component. @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-write-off-page', templateUrl: './write-off-page.component.html', - styleUrls: ['./write-off-page.component.scss'] + styleUrls: ['./write-off-page.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class WriteOffPageComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/loans/loans-view/loan-collateral-tab/loan-collateral-tab.component.ts b/src/app/loans/loans-view/loan-collateral-tab/loan-collateral-tab.component.ts index 9295401ca..edde01c22 100644 --- a/src/app/loans/loans-view/loan-collateral-tab/loan-collateral-tab.component.ts +++ b/src/app/loans/loans-view/loan-collateral-tab/loan-collateral-tab.component.ts @@ -1,10 +1,38 @@ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-collateral-tab', templateUrl: './loan-collateral-tab.component.html', - styleUrls: ['./loan-collateral-tab.component.scss'] + styleUrls: ['./loan-collateral-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FormatNumberPipe + ] }) export class LoanCollateralTabComponent implements OnInit { /** Loan Collateral Details */ diff --git a/src/app/loans/loans-view/loan-delinquency-tags-tab/loan-delinquency-tags-tab.component.ts b/src/app/loans/loans-view/loan-delinquency-tags-tab/loan-delinquency-tags-tab.component.ts index bca7aecbb..b0488d496 100644 --- a/src/app/loans/loans-view/loan-delinquency-tags-tab/loan-delinquency-tags-tab.component.ts +++ b/src/app/loans/loans-view/loan-delinquency-tags-tab/loan-delinquency-tags-tab.component.ts @@ -14,11 +14,50 @@ import { import { SettingsService } from 'app/settings/settings.service'; import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/confirmation-dialog.component'; import { Currency } from 'app/shared/models/general.model'; +import { NgIf, NgClass, CurrencyPipe } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { DatetimeFormatPipe } from '../../../pipes/datetime-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-delinquency-tags-tab', templateUrl: './loan-delinquency-tags-tab.component.html', - styleUrls: ['./loan-delinquency-tags-tab.component.scss'] + styleUrls: ['./loan-delinquency-tags-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FaIconComponent, + NgClass, + MatTooltip, + CurrencyPipe, + DateFormatPipe, + DatetimeFormatPipe, + FormatNumberPipe + ] }) export class LoanDelinquencyTagsTabComponent implements OnInit { loanDelinquencyTags: LoanDelinquencyTags[] = []; diff --git a/src/app/loans/loans-view/loan-documents-tab/loan-documents-tab.component.ts b/src/app/loans/loans-view/loan-documents-tab/loan-documents-tab.component.ts index 4ec3ac270..b0119b086 100644 --- a/src/app/loans/loans-view/loan-documents-tab/loan-documents-tab.component.ts +++ b/src/app/loans/loans-view/loan-documents-tab/loan-documents-tab.component.ts @@ -3,9 +3,11 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ -import { environment } from 'environments/environment'; +import { environment } from '../../../../environments/environment'; import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; +import { EntityDocumentsTabComponent } from '../../../shared/tabs/entity-documents-tab/entity-documents-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Overdue charges tab component @@ -13,7 +15,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-loan-documents-tab', templateUrl: './loan-documents-tab.component.html', - styleUrls: ['./loan-documents-tab.component.scss'] + styleUrls: ['./loan-documents-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDocumentsTabComponent + ] }) export class LoanDocumentsTabComponent implements OnInit { /** Stores the resolved loan documents data */ diff --git a/src/app/loans/loans-view/loan-term-variations-tab/loan-term-variations-tab.component.ts b/src/app/loans/loans-view/loan-term-variations-tab/loan-term-variations-tab.component.ts index a4ef28715..5fffef7f4 100644 --- a/src/app/loans/loans-view/loan-term-variations-tab/loan-term-variations-tab.component.ts +++ b/src/app/loans/loans-view/loan-term-variations-tab/loan-term-variations-tab.component.ts @@ -9,11 +9,47 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { AnyKindOfDictionary } from 'cypress/types/lodash'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-term-variations-tab', templateUrl: './loan-term-variations-tab.component.html', - styleUrls: ['./loan-term-variations-tab.component.scss'] + styleUrls: ['./loan-term-variations-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + FormatNumberPipe + ] }) export class LoanTermVariationsTabComponent { /** Loan Term Variation Data */ diff --git a/src/app/loans/loans-view/loan-tranche-details/loan-tranche-details.component.ts b/src/app/loans/loans-view/loan-tranche-details/loan-tranche-details.component.ts index c5f92e33f..33c004fb6 100644 --- a/src/app/loans/loans-view/loan-tranche-details/loan-tranche-details.component.ts +++ b/src/app/loans/loans-view/loan-tranche-details/loan-tranche-details.component.ts @@ -10,11 +10,47 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-tranche-details', templateUrl: './loan-tranche-details.component.html', - styleUrls: ['./loan-tranche-details.component.scss'] + styleUrls: ['./loan-tranche-details.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + FormatNumberPipe + ] }) export class LoanTrancheDetailsComponent implements OnInit { loanDetails: any; diff --git a/src/app/loans/loans-view/loans-view.component.ts b/src/app/loans/loans-view/loans-view.component.ts index 981615d5c..123fbd709 100644 --- a/src/app/loans/loans-view/loans-view.component.ts +++ b/src/app/loans/loans-view/loans-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, NavigationExtras, Router } from '@angular/router'; +import { ActivatedRoute, NavigationExtras, Router, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -18,11 +18,52 @@ import { DelinquencyPausePeriod } from '../models/loan-account.model'; import { TranslateService } from '@ngx-translate/core'; import { LoanTransaction } from 'app/products/loan-products/models/loan-account.model'; import { OptionData } from 'app/shared/models/option-data.model'; +import { MatCard, MatCardHeader, MatCardTitleGroup, MatCardTitle, MatCardContent } from '@angular/material/card'; +import { SvgIconComponent } from '../../shared/svg-icon/svg-icon.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgClass, NgIf, NgFor, CurrencyPipe } from '@angular/common'; +import { LongTextComponent } from '../../shared/long-text/long-text.component'; +import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loans-view', templateUrl: './loans-view.component.html', - styleUrls: ['./loans-view.component.scss'] + styleUrls: ['./loans-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + SvgIconComponent, + MatTooltip, + MatCardTitle, + NgClass, + LongTextComponent, + AccountNumberComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + CurrencyPipe, + StatusLookupPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class LoansViewComponent implements OnInit { /** Loan Details Data */ diff --git a/src/app/loans/loans-view/notes-tab/notes-tab.component.ts b/src/app/loans/loans-view/notes-tab/notes-tab.component.ts index 83bff2c75..d20016f79 100644 --- a/src/app/loans/loans-view/notes-tab/notes-tab.component.ts +++ b/src/app/loans/loans-view/notes-tab/notes-tab.component.ts @@ -6,11 +6,17 @@ import { ActivatedRoute } from '@angular/router'; /** Custom Services */ import { LoansService } from '../../loans.service'; import { AuthenticationService } from '../../../core/authentication/authentication.service'; +import { EntityNotesTabComponent } from '../../../shared/tabs/entity-notes-tab/entity-notes-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-notes-tab', templateUrl: './notes-tab.component.html', - styleUrls: ['./notes-tab.component.scss'] + styleUrls: ['./notes-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityNotesTabComponent + ] }) export class NotesTabComponent implements OnInit { entityId: string; diff --git a/src/app/loans/loans-view/original-schedule-tab/original-schedule-tab.component.ts b/src/app/loans/loans-view/original-schedule-tab/original-schedule-tab.component.ts index a3ff96f67..8f057a00b 100644 --- a/src/app/loans/loans-view/original-schedule-tab/original-schedule-tab.component.ts +++ b/src/app/loans/loans-view/original-schedule-tab/original-schedule-tab.component.ts @@ -1,11 +1,53 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Currency } from 'app/shared/models/general.model'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatFooterCellDef, + MatFooterCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatFooterRowDef, + MatFooterRow +} from '@angular/material/table'; +import { MatSort } from '@angular/material/sort'; +import { CurrencyPipe } from '@angular/common'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-original-schedule-tab', templateUrl: './original-schedule-tab.component.html', - styleUrls: ['./original-schedule-tab.component.scss'] + styleUrls: ['./original-schedule-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatFooterCellDef, + MatFooterCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatFooterRowDef, + MatFooterRow, + CurrencyPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class OriginalScheduleTabComponent { /** Loan Details Data */ diff --git a/src/app/loans/loans-view/overdue-charges-tab/overdue-charges-tab.component.ts b/src/app/loans/loans-view/overdue-charges-tab/overdue-charges-tab.component.ts index 5a936cac4..632390c12 100644 --- a/src/app/loans/loans-view/overdue-charges-tab/overdue-charges-tab.component.ts +++ b/src/app/loans/loans-view/overdue-charges-tab/overdue-charges-tab.component.ts @@ -1,9 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Overdue charges tab component @@ -11,7 +25,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-overdue-charges-tab', templateUrl: './overdue-charges-tab.component.html', - styleUrls: ['./overdue-charges-tab.component.scss'] + styleUrls: ['./overdue-charges-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + FormatNumberPipe + ] }) export class OverdueChargesTabComponent implements OnInit { /** Stores the resolved loan data */ diff --git a/src/app/loans/loans-view/repayment-schedule-tab/repayment-schedule-tab.component.ts b/src/app/loans/loans-view/repayment-schedule-tab/repayment-schedule-tab.component.ts index aeeab68ea..a1c9a0937 100644 --- a/src/app/loans/loans-view/repayment-schedule-tab/repayment-schedule-tab.component.ts +++ b/src/app/loans/loans-view/repayment-schedule-tab/repayment-schedule-tab.component.ts @@ -11,11 +11,58 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { jsPDF, jsPDFOptions } from 'jspdf'; import autoTable from 'jspdf-autotable'; +import { NgIf, NgClass, CurrencyPipe } from '@angular/common'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatFooterCellDef, + MatFooterCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatFooterRowDef, + MatFooterRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-repayment-schedule-tab', templateUrl: './repayment-schedule-tab.component.html', - styleUrls: ['./repayment-schedule-tab.component.scss'] + styleUrls: ['./repayment-schedule-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatFooterCellDef, + MatFooterCell, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatFooterRowDef, + MatFooterRow, + MatIconButton, + MatTooltip, + CurrencyPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class RepaymentScheduleTabComponent implements OnInit, OnChanges { /** Currency Code */ diff --git a/src/app/loans/loans-view/reschedule-loan-tab/reschedule-loan-tab.component.ts b/src/app/loans/loans-view/reschedule-loan-tab/reschedule-loan-tab.component.ts index d7fc728ca..25583e8ec 100644 --- a/src/app/loans/loans-view/reschedule-loan-tab/reschedule-loan-tab.component.ts +++ b/src/app/loans/loans-view/reschedule-loan-tab/reschedule-loan-tab.component.ts @@ -1,17 +1,53 @@ import { Component, Input } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; import { LoanStatus } from 'app/loans/models/loan-status.model'; import { SettingsService } from 'app/settings/settings.service'; import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/confirmation-dialog.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { NgClass, NgIf } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-reschedule-loan-tab', templateUrl: './reschedule-loan-tab.component.html', - styleUrls: ['./reschedule-loan-tab.component.scss'] + styleUrls: ['./reschedule-loan-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + FaIconComponent, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + StatusLookupPipe, + DateFormatPipe + ] }) export class RescheduleLoanTabComponent { @Input() loanStatus: LoanStatus; diff --git a/src/app/loans/loans-view/standing-instructions-tab/standing-instructions-tab.component.ts b/src/app/loans/loans-view/standing-instructions-tab/standing-instructions-tab.component.ts index d874bf2eb..bb89ad22e 100644 --- a/src/app/loans/loans-view/standing-instructions-tab/standing-instructions-tab.component.ts +++ b/src/app/loans/loans-view/standing-instructions-tab/standing-instructions-tab.component.ts @@ -1,7 +1,19 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ @@ -11,6 +23,9 @@ import { SettingsService } from 'app/settings/settings.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loans Standing Instructions Tab @@ -18,7 +33,22 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-standing-instructions-tab', templateUrl: './standing-instructions-tab.component.html', - styleUrls: ['./standing-instructions-tab.component.scss'] + styleUrls: ['./standing-instructions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class StandingInstructionsTabComponent implements OnInit { /** Loans Data */ diff --git a/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts b/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts index 75a91d7d6..5710c5d55 100644 --- a/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts +++ b/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts @@ -1,9 +1,21 @@ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatPaginator } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatCellDef, + MatCell, + MatHeaderCellDef, + MatHeaderCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { Dates } from 'app/core/utils/dates'; import { LoansService } from 'app/loans/loans.service'; import { MatDialog } from '@angular/material/dialog'; @@ -17,11 +29,47 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; import { AlertService } from 'app/core/alert/alert.service'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; +import { NgIf, NgClass } from '@angular/common'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-transactions-tab', templateUrl: './transactions-tab.component.html', - styleUrls: ['./transactions-tab.component.scss'] + styleUrls: ['./transactions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatTable, + MatSort, + MatColumnDef, + MatCellDef, + MatCell, + NgClass, + ExternalIdentifierComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + MatMenu, + MatMenuItem, + FaIconComponent, + MatHeaderCellDef, + MatHeaderCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + FormatNumberPipe + ] }) export class TransactionsTabComponent implements OnInit { /** Loan Details Data */ diff --git a/src/app/loans/loans-view/transactions/edit-transaction/edit-transaction.component.ts b/src/app/loans/loans-view/transactions/edit-transaction/edit-transaction.component.ts index 063766107..f60c4f370 100644 --- a/src/app/loans/loans-view/transactions/edit-transaction/edit-transaction.component.ts +++ b/src/app/loans/loans-view/transactions/edit-transaction/edit-transaction.component.ts @@ -1,13 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { LoansService } from 'app/loans/loans.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Transaction component. @@ -15,7 +24,12 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-edit-transaction', templateUrl: './edit-transaction.component.html', - styleUrls: ['./edit-transaction.component.scss'] + styleUrls: ['./edit-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle + ] }) export class EditTransactionComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/loans/loans-view/transactions/export-transactions/export-transactions.component.ts b/src/app/loans/loans-view/transactions/export-transactions/export-transactions.component.ts index 83e4146ce..1804bf856 100644 --- a/src/app/loans/loans-view/transactions/export-transactions/export-transactions.component.ts +++ b/src/app/loans/loans-view/transactions/export-transactions/export-transactions.component.ts @@ -1,13 +1,15 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ReportsService } from 'app/reports/reports.service'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Export Client Loans Transactions Component @@ -15,7 +17,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-export-transactions', templateUrl: './export-transactions.component.html', - styleUrls: ['./export-transactions.component.scss'] + styleUrls: ['./export-transactions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ExportTransactionsComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.ts b/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.ts index 59527e50d..4f1e6e68a 100644 --- a/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.ts +++ b/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.ts @@ -1,7 +1,9 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Transaction Reciept Component @@ -9,7 +11,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-reciept', templateUrl: './view-reciept.component.html', - styleUrls: ['./view-reciept.component.scss'] + styleUrls: ['./view-reciept.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewRecieptComponent implements OnInit { /** trusted resource url for pentaho output */ diff --git a/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.ts b/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.ts index 21558e4d8..869ebac2a 100644 --- a/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.ts +++ b/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -13,10 +13,30 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { LoanTransactionType } from 'app/loans/models/loan-transaction-type.model'; import { AlertService } from 'app/core/alert/alert.service'; import { TranslateService } from '@ngx-translate/core'; +import { NgIf, NgClass, CurrencyPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../../../shared/external-identifier/external-identifier.component'; +import { MatDivider } from '@angular/material/divider'; +import { MatTooltip } from '@angular/material/tooltip'; +import { TransactionPaymentDetailComponent } from '../../../../shared/transaction-payment-detail/transaction-payment-detail.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** Custom Dialogs */ @@ -27,7 +47,28 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-view-transaction', templateUrl: './view-transaction.component.html', - styleUrls: ['./view-transaction.component.scss'] + styleUrls: ['./view-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + NgClass, + ExternalIdentifierComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + TransactionPaymentDetailComponent, + CurrencyPipe, + DateFormatPipe + ] }) export class ViewTransactionComponent implements OnInit { /** Transaction data. */ diff --git a/src/app/loans/loans-view/view-charge/view-charge.component.ts b/src/app/loans/loans-view/view-charge/view-charge.component.ts index 173d4001c..4ffc09717 100644 --- a/src/app/loans/loans-view/view-charge/view-charge.component.ts +++ b/src/app/loans/loans-view/view-charge/view-charge.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -18,6 +18,11 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { NgIf, NgClass } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Charge Component. @@ -25,7 +30,14 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-view-charge', templateUrl: './view-charge.component.html', - styleUrls: ['./view-charge.component.scss'] + styleUrls: ['./view-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + NgClass, + DateFormatPipe, + FormatNumberPipe + ] }) export class ViewChargeComponent { /** Charge data. */ diff --git a/src/app/loans/loans.module.ts b/src/app/loans/loans.module.ts index afb6ad378..88f061015 100644 --- a/src/app/loans/loans.module.ts +++ b/src/app/loans/loans.module.ts @@ -93,9 +93,7 @@ import { LoansActiveClientMembersComponent } from './loans-account-stepper/loans DirectivesModule, LoansRoutingModule, PipesModule, - TranslateModule - ], - declarations: [ + TranslateModule, AddLoanChargeComponent, LoansViewComponent, GeneralTabComponent, diff --git a/src/app/login/login-form/login-form.component.ts b/src/app/login/login-form/login-form.component.ts index 4a6373833..08813b0ef 100644 --- a/src/app/login/login-form/login-form.component.ts +++ b/src/app/login/login-form/login-form.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { FormGroup, FormBuilder, Validators } from '@angular/forms'; +import { FormGroup, FormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** rxjs Imports */ import { finalize } from 'rxjs/operators'; /** Custom Services */ import { AuthenticationService } from '../../core/authentication/authentication.service'; +import { MatFormField, MatPrefix, MatLabel, MatError, MatSuffix } from '@angular/material/form-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatProgressBar } from '@angular/material/progress-bar'; +import { MatProgressSpinner } from '@angular/material/progress-spinner'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Login form component. @@ -14,7 +21,16 @@ import { AuthenticationService } from '../../core/authentication/authentication. @Component({ selector: 'mifosx-login-form', templateUrl: './login-form.component.html', - styleUrls: ['./login-form.component.scss'] + styleUrls: ['./login-form.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatPrefix, + FaIconComponent, + MatIconButton, + MatCheckbox, + MatProgressBar, + MatProgressSpinner + ] }) export class LoginFormComponent implements OnInit { /** Login form group. */ diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 91a3bd93e..cdb35fb5a 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -14,6 +14,18 @@ import { AlertService } from '../core/alert/alert.service'; /** Environment Imports */ import { environment } from '../../environments/environment'; import { SettingsService } from 'app/settings/settings.service'; +import { LanguageSelectorComponent } from '../shared/language-selector/language-selector.component'; +import { ThemeToggleComponent } from '../shared/theme-toggle/theme-toggle.component'; +import { ServerSelectorComponent } from '../shared/server-selector/server-selector.component'; +import { TenantSelectorComponent } from '../shared/tenant-selector/tenant-selector.component'; +import { LoginFormComponent } from './login-form/login-form.component'; +import { ResetPasswordComponent } from './reset-password/reset-password.component'; +import { TwoFactorAuthenticationComponent } from './two-factor-authentication/two-factor-authentication.component'; +import { MatList, MatListItem } from '@angular/material/list'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { FooterComponent } from '../shared/footer/footer.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Login component. @@ -21,7 +33,24 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-login', templateUrl: './login.component.html', - styleUrls: ['./login.component.scss'] + styleUrls: ['./login.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + LanguageSelectorComponent, + ThemeToggleComponent, + ServerSelectorComponent, + TenantSelectorComponent, + LoginFormComponent, + ResetPasswordComponent, + TwoFactorAuthenticationComponent, + MatList, + MatListItem, + MatMenuTrigger, + FooterComponent, + FaIconComponent, + MatMenu, + MatMenuItem + ] }) export class LoginComponent implements OnInit, OnDestroy { public environment = environment; diff --git a/src/app/login/login.module.ts b/src/app/login/login.module.ts index 08b17947e..cfb7d8c2c 100644 --- a/src/app/login/login.module.ts +++ b/src/app/login/login.module.ts @@ -21,9 +21,7 @@ import { TranslateModule } from '@ngx-translate/core'; imports: [ SharedModule, LoginRoutingModule, - TranslateModule - ], - declarations: [ + TranslateModule, LoginComponent, LoginFormComponent, ResetPasswordComponent, diff --git a/src/app/login/reset-password/reset-password.component.ts b/src/app/login/reset-password/reset-password.component.ts index 61144bca9..9e17b1d46 100644 --- a/src/app/login/reset-password/reset-password.component.ts +++ b/src/app/login/reset-password/reset-password.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** rxjs Imports */ import { finalize } from 'rxjs/operators'; @@ -11,6 +11,12 @@ import { AuthenticationService } from '../../core/authentication/authentication. /** Custom Validators */ import { confirmPasswordValidator } from './confirm-password.validator'; import { PasswordsUtility } from 'app/core/utils/passwords-utility'; +import { MatDivider } from '@angular/material/divider'; +import { MatFormField, MatPrefix, MatLabel, MatSuffix, MatError } from '@angular/material/form-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatProgressSpinner } from '@angular/material/progress-spinner'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reset password component. @@ -18,7 +24,15 @@ import { PasswordsUtility } from 'app/core/utils/passwords-utility'; @Component({ selector: 'mifosx-reset-password', templateUrl: './reset-password.component.html', - styleUrls: ['./reset-password.component.scss'] + styleUrls: ['./reset-password.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatPrefix, + FaIconComponent, + MatIconButton, + MatProgressSpinner + ] }) export class ResetPasswordComponent implements OnInit { /** Reset password form group. */ diff --git a/src/app/login/two-factor-authentication/two-factor-authentication.component.ts b/src/app/login/two-factor-authentication/two-factor-authentication.component.ts index 5271ac5c2..282007c59 100644 --- a/src/app/login/two-factor-authentication/two-factor-authentication.component.ts +++ b/src/app/login/two-factor-authentication/two-factor-authentication.component.ts @@ -1,12 +1,18 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** rxjs Imports */ import { finalize } from 'rxjs/operators'; /** Custom Services */ import { AuthenticationService } from '../../core/authentication/authentication.service'; +import { MatDivider } from '@angular/material/divider'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatProgressSpinner } from '@angular/material/progress-spinner'; +import { MatFormField, MatPrefix, MatLabel, MatHint, MatError } from '@angular/material/form-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Two factor authentication component. @@ -14,7 +20,17 @@ import { AuthenticationService } from '../../core/authentication/authentication. @Component({ selector: 'mifosx-two-factor-authentication', templateUrl: './two-factor-authentication.component.html', - styleUrls: ['./two-factor-authentication.component.scss'] + styleUrls: ['./two-factor-authentication.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatRadioGroup, + MatRadioButton, + MatProgressSpinner, + MatPrefix, + FaIconComponent, + MatHint + ] }) export class TwoFactorAuthenticationComponent implements OnInit { /** Available delivery methods to receive OTP. */ diff --git a/src/app/navigation/center-navigation/center-navigation.component.ts b/src/app/navigation/center-navigation/center-navigation.component.ts index e1c0cb006..357572c8e 100644 --- a/src/app/navigation/center-navigation/center-navigation.component.ts +++ b/src/app/navigation/center-navigation/center-navigation.component.ts @@ -4,11 +4,43 @@ import { Component, Input, ViewChild } from '@angular/core'; /** Custom Components */ import { LoanAccountTableComponent } from '../loan-account-table/loan-account-table.component'; import { SavingsAccountTableComponent } from '../savings-account-table/savings-account-table.component'; +import { + MatCardHeader, + MatCardTitleGroup, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { MatTabGroup, MatTab } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-center-navigation', templateUrl: './center-navigation.component.html', - styleUrls: ['./center-navigation.component.scss'] + styleUrls: ['./center-navigation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + MatCardTitleGroup, + MatCardTitle, + MatTooltip, + MatCardSubtitle, + AccountNumberComponent, + ExternalIdentifierComponent, + MatTabGroup, + MatTab, + LoanAccountTableComponent, + SavingsAccountTableComponent, + StatusLookupPipe, + DateFormatPipe + ] }) export class CenterNavigationComponent { @ViewChild(LoanAccountTableComponent) loanAccountTableComponent: LoanAccountTableComponent; diff --git a/src/app/navigation/client-navigation/client-navigation.component.ts b/src/app/navigation/client-navigation/client-navigation.component.ts index 853975835..4c24e779c 100644 --- a/src/app/navigation/client-navigation/client-navigation.component.ts +++ b/src/app/navigation/client-navigation/client-navigation.component.ts @@ -6,11 +6,41 @@ import { LoanAccountTableComponent } from '../loan-account-table/loan-account-ta import { SavingsAccountTableComponent } from '../savings-account-table/savings-account-table.component'; import { ShareAccountTableComponent } from '../share-account-table/share-account-table.component'; import { MemberGroupsComponent } from '../member-groups/member-groups.component'; +import { + MatCardHeader, + MatCardTitleGroup, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatTabGroup, MatTab } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-client-navigation', templateUrl: './client-navigation.component.html', - styleUrls: ['./client-navigation.component.scss'] + styleUrls: ['./client-navigation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + MatCardTitleGroup, + MatCardTitle, + MatTooltip, + MatCardSubtitle, + MatTabGroup, + MatTab, + LoanAccountTableComponent, + SavingsAccountTableComponent, + ShareAccountTableComponent, + MemberGroupsComponent, + StatusLookupPipe, + DateFormatPipe + ] }) export class ClientNavigationComponent { @ViewChild(LoanAccountTableComponent) loanAccountTableComponent: LoanAccountTableComponent; diff --git a/src/app/navigation/group-navigation/group-navigation.component.ts b/src/app/navigation/group-navigation/group-navigation.component.ts index 6210e504d..e5dd2403a 100644 --- a/src/app/navigation/group-navigation/group-navigation.component.ts +++ b/src/app/navigation/group-navigation/group-navigation.component.ts @@ -4,11 +4,39 @@ import { Component, Input, ViewChild } from '@angular/core'; /** Custom Components */ import { LoanAccountTableComponent } from '../loan-account-table/loan-account-table.component'; import { SavingsAccountTableComponent } from '../savings-account-table/savings-account-table.component'; +import { + MatCardHeader, + MatCardTitleGroup, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatTabGroup, MatTab } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-group-navigation', templateUrl: './group-navigation.component.html', - styleUrls: ['./group-navigation.component.scss'] + styleUrls: ['./group-navigation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + MatCardTitleGroup, + MatCardTitle, + MatTooltip, + MatCardSubtitle, + MatTabGroup, + MatTab, + LoanAccountTableComponent, + SavingsAccountTableComponent, + StatusLookupPipe, + DateFormatPipe + ] }) export class GroupNavigationComponent { @ViewChild(LoanAccountTableComponent) loanAccountTableComponent: LoanAccountTableComponent; diff --git a/src/app/navigation/loan-account-table/loan-account-table.component.ts b/src/app/navigation/loan-account-table/loan-account-table.component.ts index 4e14f022d..085c16f7f 100644 --- a/src/app/navigation/loan-account-table/loan-account-table.component.ts +++ b/src/app/navigation/loan-account-table/loan-account-table.component.ts @@ -1,16 +1,51 @@ /** Angular Imports */ import { Component, Input, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Pipes */ import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-account-table', templateUrl: './loan-account-table.component.html', - styleUrls: ['./loan-account-table.component.scss'] + styleUrls: ['./loan-account-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + FaIconComponent, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe + ] }) export class LoanAccountTableComponent { /** Columns to be displayed in the loan accounts table. */ diff --git a/src/app/navigation/member-groups/member-groups.component.ts b/src/app/navigation/member-groups/member-groups.component.ts index 8e9cc6902..c3e35471f 100644 --- a/src/app/navigation/member-groups/member-groups.component.ts +++ b/src/app/navigation/member-groups/member-groups.component.ts @@ -1,13 +1,42 @@ /** Angular Imports */ import { Component, Input, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-member-groups', templateUrl: './member-groups.component.html', - styleUrls: ['./member-groups.component.scss'] + styleUrls: ['./member-groups.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class MemberGroupsComponent { /** Columns to be displayed in the member groups table. */ diff --git a/src/app/navigation/navigation.component.ts b/src/app/navigation/navigation.component.ts index bd0339974..cc60e4c73 100644 --- a/src/app/navigation/navigation.component.ts +++ b/src/app/navigation/navigation.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { NavigationService } from './navigation.service'; @@ -12,6 +12,7 @@ import { StaffNavigationComponent } from './staff-navigation/staff-navigation.co import { CenterNavigationComponent } from './center-navigation/center-navigation.component'; import { GroupNavigationComponent } from './group-navigation/group-navigation.component'; import { ClientNavigationComponent } from './client-navigation/client-navigation.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Navigation component. @@ -19,7 +20,15 @@ import { ClientNavigationComponent } from './client-navigation/client-navigation @Component({ selector: 'mifosx-navigation', templateUrl: './navigation.component.html', - styleUrls: ['./navigation.component.scss'] + styleUrls: ['./navigation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + OfficeNavigationComponent, + StaffNavigationComponent, + CenterNavigationComponent, + GroupNavigationComponent, + ClientNavigationComponent + ] }) export class NavigationComponent implements OnInit { /** Navigation Components */ diff --git a/src/app/navigation/navigation.module.ts b/src/app/navigation/navigation.module.ts index fd7e5a707..5ffb1e33c 100644 --- a/src/app/navigation/navigation.module.ts +++ b/src/app/navigation/navigation.module.ts @@ -27,9 +27,7 @@ import { MemberGroupsComponent } from './member-groups/member-groups.component'; imports: [ SharedModule, PipesModule, - NavigationRoutingModule - ], - declarations: [ + NavigationRoutingModule, NavigationComponent, OfficeNavigationComponent, StaffNavigationComponent, diff --git a/src/app/navigation/office-navigation/office-navigation.component.ts b/src/app/navigation/office-navigation/office-navigation.component.ts index 7eb048bec..f580508c1 100644 --- a/src/app/navigation/office-navigation/office-navigation.component.ts +++ b/src/app/navigation/office-navigation/office-navigation.component.ts @@ -1,10 +1,31 @@ /** Angular Imports */ import { Component, Input } from '@angular/core'; +import { + MatCardHeader, + MatCardTitleGroup, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-office-navigation', templateUrl: './office-navigation.component.html', - styleUrls: ['./office-navigation.component.scss'] + styleUrls: ['./office-navigation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + MatCardTitleGroup, + MatCardTitle, + MatCardSubtitle, + ExternalIdentifierComponent, + DateFormatPipe + ] }) export class OfficeNavigationComponent { @Input() officeData: any; diff --git a/src/app/navigation/savings-account-table/savings-account-table.component.ts b/src/app/navigation/savings-account-table/savings-account-table.component.ts index 8c93395de..19e39c204 100644 --- a/src/app/navigation/savings-account-table/savings-account-table.component.ts +++ b/src/app/navigation/savings-account-table/savings-account-table.component.ts @@ -1,16 +1,51 @@ /** Angular Imports */ import { Component, Input, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Pipes */ import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-savings-account-table', templateUrl: './savings-account-table.component.html', - styleUrls: ['./savings-account-table.component.scss'] + styleUrls: ['./savings-account-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + FaIconComponent, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe + ] }) export class SavingsAccountTableComponent { /** Columns to be displayed in the savings accounts table. */ diff --git a/src/app/navigation/share-account-table/share-account-table.component.ts b/src/app/navigation/share-account-table/share-account-table.component.ts index a69fc4d5b..f8f213081 100644 --- a/src/app/navigation/share-account-table/share-account-table.component.ts +++ b/src/app/navigation/share-account-table/share-account-table.component.ts @@ -1,16 +1,51 @@ /** Angular Imports */ import { Component, Input, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Pipes */ import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-account-table', templateUrl: './share-account-table.component.html', - styleUrls: ['./share-account-table.component.scss'] + styleUrls: ['./share-account-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + FaIconComponent, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe + ] }) export class ShareAccountTableComponent { /** Columns to be displayed in the share accounts table. */ diff --git a/src/app/navigation/staff-navigation/staff-navigation.component.ts b/src/app/navigation/staff-navigation/staff-navigation.component.ts index ed79787bd..900db167a 100644 --- a/src/app/navigation/staff-navigation/staff-navigation.component.ts +++ b/src/app/navigation/staff-navigation/staff-navigation.component.ts @@ -1,10 +1,33 @@ /** Angular Imports */ import { Component, Input } from '@angular/core'; +import { + MatCardHeader, + MatCardTitleGroup, + MatCardTitle, + MatCardSubtitle, + MatCardContent +} from '@angular/material/card'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-staff-navigation', templateUrl: './staff-navigation.component.html', - styleUrls: ['./staff-navigation.component.scss'] + styleUrls: ['./staff-navigation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + FaIconComponent, + MatCardTitleGroup, + MatCardTitle, + MatTooltip, + MatCardSubtitle, + DateFormatPipe, + YesnoPipe + ] }) export class StaffNavigationComponent { @Input() employeeData: any; diff --git a/src/app/not-found/not-found.component.ts b/src/app/not-found/not-found.component.ts index 4327fec7d..795406155 100644 --- a/src/app/not-found/not-found.component.ts +++ b/src/app/not-found/not-found.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { Location } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-not-found', templateUrl: './not-found.component.html', - styleUrls: ['./not-found.component.scss'] + styleUrls: ['./not-found.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class NotFoundComponent { constructor(private location: Location) {} diff --git a/src/app/notifications/notifications-page/notifications-page.component.ts b/src/app/notifications/notifications-page/notifications-page.component.ts index c0ca9c0f3..8d1e1b5c4 100644 --- a/src/app/notifications/notifications-page/notifications-page.component.ts +++ b/src/app/notifications/notifications-page/notifications-page.component.ts @@ -1,9 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatNoDataRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Notifications Page Component @@ -11,7 +25,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-notifications-page', templateUrl: './notifications-page.component.html', - styleUrls: ['./notifications-page.component.scss'] + styleUrls: ['./notifications-page.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatNoDataRow, + MatPaginator + ] }) export class NotificationsPageComponent implements OnInit { /** Notifications data. */ diff --git a/src/app/notifications/notifications.module.ts b/src/app/notifications/notifications.module.ts index b284a67c4..bf3254a9c 100644 --- a/src/app/notifications/notifications.module.ts +++ b/src/app/notifications/notifications.module.ts @@ -13,13 +13,11 @@ import { NotificationsPageComponent } from './notifications-page/notifications-p * Notifications Module */ @NgModule({ - declarations: [ - NotificationsPageComponent - ], imports: [ SharedModule, PipesModule, - NotificationsRoutingModule + NotificationsRoutingModule, + NotificationsPageComponent ] }) export class NotificationsModule {} diff --git a/src/app/organization/adhoc-query/adhoc-query.component.ts b/src/app/organization/adhoc-query/adhoc-query.component.ts index 5d2a13e9b..050ace331 100644 --- a/src/app/organization/adhoc-query/adhoc-query.component.ts +++ b/src/app/organization/adhoc-query/adhoc-query.component.ts @@ -1,12 +1,27 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Adhoc Query component. @@ -14,7 +29,25 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-adhoc-query', templateUrl: './adhoc-query.component.html', - styleUrls: ['./adhoc-query.component.scss'] + styleUrls: ['./adhoc-query.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class AdhocQueryComponent implements OnInit { /** Adhoc Queries data. */ diff --git a/src/app/organization/adhoc-query/create-adhoc-query/create-adhoc-query.component.ts b/src/app/organization/adhoc-query/create-adhoc-query/create-adhoc-query.component.ts index 53c83376b..ac69bc3d6 100644 --- a/src/app/organization/adhoc-query/create-adhoc-query/create-adhoc-query.component.ts +++ b/src/app/organization/adhoc-query/create-adhoc-query/create-adhoc-query.component.ts @@ -1,10 +1,18 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Adhoc Query component. @@ -12,7 +20,11 @@ import { OrganizationService } from '../../organization.service'; @Component({ selector: 'mifosx-create-adhoc-query', templateUrl: './create-adhoc-query.component.html', - styleUrls: ['./create-adhoc-query.component.scss'] + styleUrls: ['./create-adhoc-query.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class CreateAdhocQueryComponent implements OnInit { /** Adhoc Query form. */ diff --git a/src/app/organization/adhoc-query/edit-adhoc-query/edit-adhoc-query.component.ts b/src/app/organization/adhoc-query/edit-adhoc-query/edit-adhoc-query.component.ts index 60a0a3d11..ce0c9a904 100644 --- a/src/app/organization/adhoc-query/edit-adhoc-query/edit-adhoc-query.component.ts +++ b/src/app/organization/adhoc-query/edit-adhoc-query/edit-adhoc-query.component.ts @@ -1,10 +1,18 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Adhoc Query component. @@ -12,7 +20,11 @@ import { OrganizationService } from '../../organization.service'; @Component({ selector: 'mifosx-edit-adhoc-query', templateUrl: './edit-adhoc-query.component.html', - styleUrls: ['./edit-adhoc-query.component.scss'] + styleUrls: ['./edit-adhoc-query.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class EditAdhocQueryComponent implements OnInit { /** Edit Adhoc Query form. */ diff --git a/src/app/organization/adhoc-query/view-adhoc-query/view-adhoc-query.component.ts b/src/app/organization/adhoc-query/view-adhoc-query/view-adhoc-query.component.ts index 7b4ba4ba5..dbf4fc908 100644 --- a/src/app/organization/adhoc-query/view-adhoc-query/view-adhoc-query.component.ts +++ b/src/app/organization/adhoc-query/view-adhoc-query/view-adhoc-query.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -8,6 +8,8 @@ import { OrganizationService } from 'app/organization/organization.service'; /** Custom Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Adhoc Query Component. @@ -15,7 +17,11 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-adhoc-query', templateUrl: './view-adhoc-query.component.html', - styleUrls: ['./view-adhoc-query.component.scss'] + styleUrls: ['./view-adhoc-query.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewAdhocQueryComponent { /** Adhoc query data. */ diff --git a/src/app/organization/bulk-import/bulk-import.component.ts b/src/app/organization/bulk-import/bulk-import.component.ts index 5d8579a81..e79770598 100644 --- a/src/app/organization/bulk-import/bulk-import.component.ts +++ b/src/app/organization/bulk-import/bulk-import.component.ts @@ -1,5 +1,10 @@ /** Angular Imports */ import { Component } from '@angular/core'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Bulk Import component. @@ -7,7 +12,15 @@ import { Component } from '@angular/core'; @Component({ selector: 'mifosx-bulk-import', templateUrl: './bulk-import.component.html', - styleUrls: ['./bulk-import.component.scss'] + styleUrls: ['./bulk-import.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class BulkImportComponent { // Initialize an array of 17 boolean values, all set to false diff --git a/src/app/organization/bulk-import/view-bulk-import/view-bulk-import.component.ts b/src/app/organization/bulk-import/view-bulk-import/view-bulk-import.component.ts index 81993a259..d08cfc1dd 100644 --- a/src/app/organization/bulk-import/view-bulk-import/view-bulk-import.component.ts +++ b/src/app/organization/bulk-import/view-bulk-import/view-bulk-import.component.ts @@ -2,13 +2,31 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; /** Custom Imports */ import { OrganizationService } from '../../organization.service'; import { BulkImports } from './bulk-imports'; +import { MatFormField, MatLabel, MatHint } from '@angular/material/form-field'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FileUploadComponent } from '../../../shared/file-upload/file-upload.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Bulk Imports Component @@ -16,7 +34,28 @@ import { BulkImports } from './bulk-imports'; @Component({ selector: 'mifosx-view-bulk-import', templateUrl: './view-bulk-import.component.html', - styleUrls: ['./view-bulk-import.component.scss'] + styleUrls: ['./view-bulk-import.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FileUploadComponent, + MatHint, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe + ] }) export class ViewBulkImportComponent implements OnInit { /** offices Data */ diff --git a/src/app/organization/bulk-loan-reassignmnet/bulk-loan-reassignmnet.component.ts b/src/app/organization/bulk-loan-reassignmnet/bulk-loan-reassignmnet.component.ts index bbf988c54..4f3d65c78 100644 --- a/src/app/organization/bulk-loan-reassignmnet/bulk-loan-reassignmnet.component.ts +++ b/src/app/organization/bulk-loan-reassignmnet/bulk-loan-reassignmnet.component.ts @@ -1,12 +1,20 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services. */ import { OrganizationService } from '../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Bulk Loan Reassignment component. @@ -14,7 +22,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-bulk-loan-reassignmnet', templateUrl: './bulk-loan-reassignmnet.component.html', - styleUrls: ['./bulk-loan-reassignmnet.component.scss'] + styleUrls: ['./bulk-loan-reassignmnet.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class BulkLoanReassignmnetComponent implements OnInit { /** Bulk Loan form. */ diff --git a/src/app/organization/currencies/currencies.component.ts b/src/app/organization/currencies/currencies.component.ts index 0294c4416..7d99ea15b 100644 --- a/src/app/organization/currencies/currencies.component.ts +++ b/src/app/organization/currencies/currencies.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,6 +23,8 @@ import { of } from 'rxjs'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Currencies component. @@ -18,7 +32,24 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-currencies', templateUrl: './currencies.component.html', - styleUrls: ['./currencies.component.scss'] + styleUrls: ['./currencies.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class CurrenciesComponent implements OnInit, AfterViewInit { /** Currencies data. */ diff --git a/src/app/organization/currencies/manage-currencies/manage-currencies.component.ts b/src/app/organization/currencies/manage-currencies/manage-currencies.component.ts index b46680a68..e2d5f09c9 100644 --- a/src/app/organization/currencies/manage-currencies/manage-currencies.component.ts +++ b/src/app/organization/currencies/manage-currencies/manage-currencies.component.ts @@ -12,7 +12,7 @@ import { } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormControl, Validators, ReactiveFormsModule } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; /** Custom Dialogs */ @@ -28,6 +28,11 @@ import { ContinueSetupDialogComponent } from '../../../configuration-wizard/cont import { takeUntil } from 'rxjs/operators'; import { ReplaySubject, Subject } from 'rxjs'; import { Currency } from 'app/shared/models/general.model'; +import { NgxMatSelectSearchModule } from 'ngx-mat-select-search'; +import { NgFor, NgIf, AsyncPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatGridList, MatGridTile } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Currencies component. @@ -35,7 +40,15 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-manage-currencies', templateUrl: './manage-currencies.component.html', - styleUrls: ['./manage-currencies.component.scss'] + styleUrls: ['./manage-currencies.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgxMatSelectSearchModule, + FaIconComponent, + MatGridList, + MatGridTile, + AsyncPipe + ] }) export class ManageCurrenciesComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges { //** Defining PlaceHolders for the search bar */ diff --git a/src/app/organization/employees/create-employee/create-employee.component.ts b/src/app/organization/employees/create-employee/create-employee.component.ts index b40100676..646efe656 100644 --- a/src/app/organization/employees/create-employee/create-employee.component.ts +++ b/src/app/organization/employees/create-employee/create-employee.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; @@ -13,6 +13,8 @@ import { ConfigurationWizardService } from '../../../configuration-wizard/config /** Custom Dialog Component */ import { ContinueSetupDialogComponent } from '../../../configuration-wizard/continue-setup-dialog/continue-setup-dialog.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create employee component. @@ -20,7 +22,11 @@ import { ContinueSetupDialogComponent } from '../../../configuration-wizard/cont @Component({ selector: 'mifosx-create-employee', templateUrl: './create-employee.component.html', - styleUrls: ['./create-employee.component.scss'] + styleUrls: ['./create-employee.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class CreateEmployeeComponent implements OnInit, AfterViewInit { /** Minimum joining date allowed. */ diff --git a/src/app/organization/employees/edit-employee/edit-employee.component.ts b/src/app/organization/employees/edit-employee/edit-employee.component.ts index fba1f7682..57d831b45 100644 --- a/src/app/organization/employees/edit-employee/edit-employee.component.ts +++ b/src/app/organization/employees/edit-employee/edit-employee.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Employee Component. @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-employee', templateUrl: './edit-employee.component.html', - styleUrls: ['./edit-employee.component.scss'] + styleUrls: ['./edit-employee.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class EditEmployeeComponent implements OnInit { /** Employee data. */ diff --git a/src/app/organization/employees/employees.component.ts b/src/app/organization/employees/employees.component.ts index c34da0038..f8dbf0777 100644 --- a/src/app/organization/employees/employees.component.ts +++ b/src/app/organization/employees/employees.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,6 +23,9 @@ import { of } from 'rxjs'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Employees component. @@ -18,7 +33,25 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-employees', templateUrl: './employees.component.html', - styleUrls: ['./employees.component.scss'] + styleUrls: ['./employees.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class EmployeesComponent implements OnInit, AfterViewInit { /** Employees data. */ diff --git a/src/app/organization/employees/view-employee/view-employee.component.ts b/src/app/organization/employees/view-employee/view-employee.component.ts index 74f0ab27c..4cf7de254 100644 --- a/src/app/organization/employees/view-employee/view-employee.component.ts +++ b/src/app/organization/employees/view-employee/view-employee.component.ts @@ -1,6 +1,10 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Employee Component. @@ -8,7 +12,13 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-employee', templateUrl: './view-employee.component.html', - styleUrls: ['./view-employee.component.scss'] + styleUrls: ['./view-employee.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe, + YesnoPipe + ] }) export class ViewEmployeeComponent { /** Employee data. */ diff --git a/src/app/organization/entity-data-table-checks/create-enity-data-table-checks/create-enity-data-table-checks.component.ts b/src/app/organization/entity-data-table-checks/create-enity-data-table-checks/create-enity-data-table-checks.component.ts index b4c7645df..e8a4a7f27 100644 --- a/src/app/organization/entity-data-table-checks/create-enity-data-table-checks/create-enity-data-table-checks.component.ts +++ b/src/app/organization/entity-data-table-checks/create-enity-data-table-checks/create-enity-data-table-checks.component.ts @@ -1,10 +1,17 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormGroup, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services. */ import { OrganizationService } from 'app/organization/organization.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Entity Data Table Checks component. @@ -12,7 +19,10 @@ import { OrganizationService } from 'app/organization/organization.service'; @Component({ selector: 'mifosx-create-enity-data-table-checks', templateUrl: './create-enity-data-table-checks.component.html', - styleUrls: ['./create-enity-data-table-checks.component.scss'] + styleUrls: ['./create-enity-data-table-checks.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateEnityDataTableChecksComponent implements OnInit { /** Create Entity Datatable Checks form. */ diff --git a/src/app/organization/entity-data-table-checks/entity-data-table-checks.component.ts b/src/app/organization/entity-data-table-checks/entity-data-table-checks.component.ts index 5e4f44c5a..0583119e7 100644 --- a/src/app/organization/entity-data-table-checks/entity-data-table-checks.component.ts +++ b/src/app/organization/entity-data-table-checks/entity-data-table-checks.component.ts @@ -2,15 +2,30 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../organization.service'; /** Custom Components */ import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Entity Data Table Checks component. @@ -18,7 +33,25 @@ import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog. @Component({ selector: 'mifosx-entity-data-table-checks', templateUrl: './entity-data-table-checks.component.html', - styleUrls: ['./entity-data-table-checks.component.scss'] + styleUrls: ['./entity-data-table-checks.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class EntityDataTableChecksComponent implements OnInit { /** Entity Data Table Checks data. */ diff --git a/src/app/organization/fund-mapping/fund-mapping.component.ts b/src/app/organization/fund-mapping/fund-mapping.component.ts index ed42c17be..1e1ad51ec 100644 --- a/src/app/organization/fund-mapping/fund-mapping.component.ts +++ b/src/app/organization/fund-mapping/fund-mapping.component.ts @@ -1,15 +1,36 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fund Mapping Component. @@ -17,7 +38,25 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-fund-mapping', templateUrl: './fund-mapping.component.html', - styleUrls: ['./fund-mapping.component.scss'] + styleUrls: ['./fund-mapping.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class FundMappingComponent implements OnInit { /** Minimum Date allowed. */ diff --git a/src/app/organization/holidays/create-holiday/create-holiday.component.ts b/src/app/organization/holidays/create-holiday/create-holiday.component.ts index e0f19b1ce..4ce0073ad 100644 --- a/src/app/organization/holidays/create-holiday/create-holiday.component.ts +++ b/src/app/organization/holidays/create-holiday/create-holiday.component.ts @@ -1,10 +1,24 @@ /** Angular Imports. */ import { SelectionModel } from '@angular/cdk/collections'; import { Component, OnInit, ViewChild, Injectable } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormGroup, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; -import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree'; +import { + MatTreeFlatDataSource, + MatTreeFlattener, + MatTree, + MatTreeNodeDef, + MatTreeNode, + MatTreeNodeToggle, + MatTreeNodePadding +} from '@angular/material/tree'; import { FlatTreeControl } from '@angular/cdk/tree'; /** Custom Services. */ @@ -14,6 +28,10 @@ import { OfficeItemNode } from './office-item.class'; import { OfficeItemFlatNode } from './office-flat-item.class'; import { ChecklistDatabase } from './checklist-db.class'; import { CreateHoliday } from './create-holiday.service'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatIcon } from '@angular/material/icon'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Holiday component. @@ -21,7 +39,18 @@ import { CreateHoliday } from './create-holiday.service'; @Component({ selector: 'mifosx-create-holiday', templateUrl: './create-holiday.component.html', - styleUrls: ['./create-holiday.component.scss'] + styleUrls: ['./create-holiday.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTree, + MatTreeNodeDef, + MatTreeNode, + MatTreeNodeToggle, + MatTreeNodePadding, + MatIconButton, + MatCheckbox, + MatIcon + ] }) export class CreateHolidayComponent implements OnInit { /** Create Holiday form. */ diff --git a/src/app/organization/holidays/edit-holiday/edit-holiday.component.ts b/src/app/organization/holidays/edit-holiday/edit-holiday.component.ts index 00f3ed751..2795f206c 100644 --- a/src/app/organization/holidays/edit-holiday/edit-holiday.component.ts +++ b/src/app/organization/holidays/edit-holiday/edit-holiday.component.ts @@ -1,12 +1,19 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormBuilder, + UntypedFormGroup, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Holiday component. @@ -14,7 +21,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-holiday', templateUrl: './edit-holiday.component.html', - styleUrls: ['./edit-holiday.component.scss'] + styleUrls: ['./edit-holiday.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditHolidayComponent implements OnInit { /** Edit Holiday form. */ diff --git a/src/app/organization/holidays/holidays.component.ts b/src/app/organization/holidays/holidays.component.ts index e2028b807..fc3273985 100644 --- a/src/app/organization/holidays/holidays.component.ts +++ b/src/app/organization/holidays/holidays.component.ts @@ -1,10 +1,22 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -13,6 +25,9 @@ import { of } from 'rxjs'; import { OrganizationService } from '../organization.service'; import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Holidays component. @@ -20,7 +35,25 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-holidays', templateUrl: './holidays.component.html', - styleUrls: ['./holidays.component.scss'] + styleUrls: ['./holidays.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe + ] }) export class HolidaysComponent implements OnInit, AfterViewInit { /** Office selector. */ diff --git a/src/app/organization/holidays/view-holidays/view-holidays.component.ts b/src/app/organization/holidays/view-holidays/view-holidays.component.ts index 6f4ce9d0a..0d3b8205e 100644 --- a/src/app/organization/holidays/view-holidays/view-holidays.component.ts +++ b/src/app/organization/holidays/view-holidays/view-holidays.component.ts @@ -1,6 +1,6 @@ /** Angular Imports. */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services. */ @@ -10,6 +10,9 @@ import { OrganizationService } from 'app/organization/organization.service'; import { ConfirmationDialogComponent } from '../../../shared/confirmation-dialog/confirmation-dialog.component'; import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; import { TranslateService } from '@ngx-translate/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Holidays component. @@ -17,7 +20,12 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-view-holidays', templateUrl: './view-holidays.component.html', - styleUrls: ['./view-holidays.component.scss'] + styleUrls: ['./view-holidays.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe + ] }) export class ViewHolidaysComponent { /** Holiday data. */ diff --git a/src/app/organization/investors/investors.component.ts b/src/app/organization/investors/investors.component.ts index a7c81795c..9126da559 100644 --- a/src/app/organization/investors/investors.component.ts +++ b/src/app/organization/investors/investors.component.ts @@ -1,6 +1,6 @@ import { animate, state, style, transition, trigger } from '@angular/animations'; import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator, PageEvent } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; @@ -11,6 +11,20 @@ import { ExternalAssetOwner } from 'app/loans/services/external-asset-owner'; import { ExternalAssetOwnerService } from 'app/loans/services/external-asset-owner.service'; import { SettingsService } from 'app/settings/settings.service'; import { CancelDialogComponent } from 'app/shared/cancel-dialog/cancel-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgIf, NgFor, NgClass } from '@angular/common'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle +} from '@angular/material/expansion'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { MatDivider } from '@angular/material/divider'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-investors', @@ -22,6 +36,21 @@ import { CancelDialogComponent } from 'app/shared/cancel-dialog/cancel-dialog.co state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + NgClass, + ExternalIdentifierComponent, + MatDivider, + MatTooltip, + MatPaginator, + DateFormatPipe, + FormatNumberPipe ] }) export class InvestorsComponent implements OnInit { diff --git a/src/app/organization/loan-provisioning-criteria/create-loan-provisioning-criteria/create-loan-provisioning-criteria.component.ts b/src/app/organization/loan-provisioning-criteria/create-loan-provisioning-criteria/create-loan-provisioning-criteria.component.ts index 38f8cba43..95727b2ab 100644 --- a/src/app/organization/loan-provisioning-criteria/create-loan-provisioning-criteria/create-loan-provisioning-criteria.component.ts +++ b/src/app/organization/loan-provisioning-criteria/create-loan-provisioning-criteria/create-loan-provisioning-criteria.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource } from '@angular/material/table'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Models */ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; @@ -16,6 +28,10 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen /** Custom Services */ import { OrganizationService } from '../../organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatFormField, MatLabel, MatError, MatHint } from '@angular/material/form-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Loan Provisioning Criteria Component. @@ -23,7 +39,23 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-create-loan-provisioning-criteria', templateUrl: './create-loan-provisioning-criteria.component.html', - styleUrls: ['./create-loan-provisioning-criteria.component.scss'] + styleUrls: ['./create-loan-provisioning-criteria.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatHint, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe + ] }) export class CreateLoanProvisioningCriteriaComponent implements OnInit { /** Loan Provisioning Criteria form. */ diff --git a/src/app/organization/loan-provisioning-criteria/edit-loan-provisioning-criteria/edit-loan-provisioning-criteria.component.ts b/src/app/organization/loan-provisioning-criteria/edit-loan-provisioning-criteria/edit-loan-provisioning-criteria.component.ts index 0e53af737..9dffeac86 100644 --- a/src/app/organization/loan-provisioning-criteria/edit-loan-provisioning-criteria/edit-loan-provisioning-criteria.component.ts +++ b/src/app/organization/loan-provisioning-criteria/edit-loan-provisioning-criteria/edit-loan-provisioning-criteria.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource } from '@angular/material/table'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Models */ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; @@ -16,6 +28,10 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen /** Custom Services */ import { OrganizationService } from '../../organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatFormField, MatLabel, MatError, MatHint } from '@angular/material/form-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Loan Provisioning Criteria Component. @@ -23,7 +39,23 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-loan-provisioning-criteria', templateUrl: './edit-loan-provisioning-criteria.component.html', - styleUrls: ['./edit-loan-provisioning-criteria.component.scss'] + styleUrls: ['./edit-loan-provisioning-criteria.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatHint, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe + ] }) export class EditLoanProvisioningCriteriaComponent implements OnInit { /** Loan Provisioning Criteria form. */ diff --git a/src/app/organization/loan-provisioning-criteria/loan-provisioning-criteria.component.ts b/src/app/organization/loan-provisioning-criteria/loan-provisioning-criteria.component.ts index 57568e4bd..686bc5352 100644 --- a/src/app/organization/loan-provisioning-criteria/loan-provisioning-criteria.component.ts +++ b/src/app/organization/loan-provisioning-criteria/loan-provisioning-criteria.component.ts @@ -1,12 +1,26 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Loan Provisioning Criteria component. @@ -14,7 +28,24 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-loan-provisioning-criteria', templateUrl: './loan-provisioning-criteria.component.html', - styleUrls: ['./loan-provisioning-criteria.component.scss'] + styleUrls: ['./loan-provisioning-criteria.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class LoanProvisioningCriteriaComponent implements OnInit { /** Loan Provisioning Criteria data. */ diff --git a/src/app/organization/loan-provisioning-criteria/view-loan-provisioning-criteria/view-loan-provisioning-criteria.component.ts b/src/app/organization/loan-provisioning-criteria/view-loan-provisioning-criteria/view-loan-provisioning-criteria.component.ts index b025ad115..2da20bf56 100644 --- a/src/app/organization/loan-provisioning-criteria/view-loan-provisioning-criteria/view-loan-provisioning-criteria.component.ts +++ b/src/app/organization/loan-provisioning-criteria/view-loan-provisioning-criteria/view-loan-provisioning-criteria.component.ts @@ -1,14 +1,29 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { Router, ActivatedRoute } from '@angular/router'; -import { MatTableDataSource } from '@angular/material/table'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ import { OrganizationService } from 'app/organization/organization.service'; /** Dialog Component */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Loan Provisioning @@ -16,7 +31,22 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-loan-provisioning-criteria', templateUrl: './view-loan-provisioning-criteria.component.html', - styleUrls: ['./view-loan-provisioning-criteria.component.scss'] + styleUrls: ['./view-loan-provisioning-criteria.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class ViewLoanProvisioningCriteriaComponent implements OnInit { /** Loan Provisioning data. */ diff --git a/src/app/organization/manage-funds/create-fund/create-fund.component.ts b/src/app/organization/manage-funds/create-fund/create-fund.component.ts index aa8a80130..58735b518 100644 --- a/src/app/organization/manage-funds/create-fund/create-fund.component.ts +++ b/src/app/organization/manage-funds/create-fund/create-fund.component.ts @@ -1,12 +1,16 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { OrganizationService } from 'app/organization/organization.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-fund', templateUrl: './create-fund.component.html', - styleUrls: ['./create-fund.component.scss'] + styleUrls: ['./create-fund.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateFundComponent implements OnInit { /** Charge form. */ diff --git a/src/app/organization/manage-funds/edit-fund/edit-fund.component.ts b/src/app/organization/manage-funds/edit-fund/edit-fund.component.ts index ea1ccfb49..7d24b6719 100644 --- a/src/app/organization/manage-funds/edit-fund/edit-fund.component.ts +++ b/src/app/organization/manage-funds/edit-fund/edit-fund.component.ts @@ -1,12 +1,16 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { OrganizationService } from 'app/organization/organization.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-fund', templateUrl: './edit-fund.component.html', - styleUrls: ['./edit-fund.component.scss'] + styleUrls: ['./edit-fund.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditFundComponent implements OnInit { /** Selected Data. */ diff --git a/src/app/organization/manage-funds/manage-funds.component.ts b/src/app/organization/manage-funds/manage-funds.component.ts index 625d4dc11..ead5bea21 100644 --- a/src/app/organization/manage-funds/manage-funds.component.ts +++ b/src/app/organization/manage-funds/manage-funds.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; import { UntypedFormBuilder, Validators } from '@angular/forms'; @@ -19,8 +19,23 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura /** Custom Dialog Component */ import { ContinueSetupDialogComponent } from '../../configuration-wizard/continue-setup-dialog/continue-setup-dialog.component'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; -import { MatSort } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Funds component. @@ -28,7 +43,25 @@ import { MatSort } from '@angular/material/sort'; @Component({ selector: 'mifosx-manage-funds', templateUrl: './manage-funds.component.html', - styleUrls: ['./manage-funds.component.scss'] + styleUrls: ['./manage-funds.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + ExternalIdentifierComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageFundsComponent implements OnInit, AfterViewInit { /** Manage Funds data. */ diff --git a/src/app/organization/manage-funds/view-fund/view-fund.component.ts b/src/app/organization/manage-funds/view-fund/view-fund.component.ts index 00171e762..1b3035422 100644 --- a/src/app/organization/manage-funds/view-fund/view-fund.component.ts +++ b/src/app/organization/manage-funds/view-fund/view-fund.component.ts @@ -1,10 +1,18 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-fund', templateUrl: './view-fund.component.html', - styleUrls: ['./view-fund.component.scss'] + styleUrls: ['./view-fund.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + ExternalIdentifierComponent + ] }) export class ViewFundComponent { /** Fund data. */ diff --git a/src/app/organization/offices/create-office/create-office.component.ts b/src/app/organization/offices/create-office/create-office.component.ts index c109917ff..c30ab04fe 100644 --- a/src/app/organization/offices/create-office/create-office.component.ts +++ b/src/app/organization/offices/create-office/create-office.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; @@ -13,6 +13,7 @@ import { ConfigurationWizardService } from '../../../configuration-wizard/config /** Custom Dialog Component */ import { ContinueSetupDialogComponent } from '../../../configuration-wizard/continue-setup-dialog/continue-setup-dialog.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Office component. @@ -20,7 +21,10 @@ import { ContinueSetupDialogComponent } from '../../../configuration-wizard/cont @Component({ selector: 'mifosx-create-office', templateUrl: './create-office.component.html', - styleUrls: ['./create-office.component.scss'] + styleUrls: ['./create-office.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateOfficeComponent implements OnInit, AfterViewInit { /** Office form. */ diff --git a/src/app/organization/offices/edit-office/edit-office.component.ts b/src/app/organization/offices/edit-office/edit-office.component.ts index abcf7cc5f..b2d8a30d3 100644 --- a/src/app/organization/offices/edit-office/edit-office.component.ts +++ b/src/app/organization/offices/edit-office/edit-office.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Office component. @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-office', templateUrl: './edit-office.component.html', - styleUrls: ['./edit-office.component.scss'] + styleUrls: ['./edit-office.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditOfficeComponent implements OnInit { /** Selected Data. */ diff --git a/src/app/organization/offices/offices.component.ts b/src/app/organization/offices/offices.component.ts index 6290e9198..d41a2e1d3 100644 --- a/src/app/organization/offices/offices.component.ts +++ b/src/app/organization/offices/offices.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,12 +23,29 @@ import { of } from 'rxjs'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { OfficeNode } from './office-node.model'; import { NestedTreeControl } from '@angular/cdk/tree'; -import { MatTreeNestedDataSource } from '@angular/material/tree'; +import { + MatTreeNestedDataSource, + MatTree, + MatTreeNodeDef, + MatTreeNode, + MatTreeNodeToggle, + MatNestedTreeNode, + MatTreeNodeOutlet +} from '@angular/material/tree'; import { OfficeTreeService } from './office-tree-service.service'; import { TreeControlService } from 'app/shared/common-logic/tree-control.service'; +import { MatButtonToggleGroup, MatButtonToggle } from '@angular/material/button-toggle'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatCard, MatCardContent, MatCardTitle } from '@angular/material/card'; +import { NgIf, NgFor, DatePipe } from '@angular/common'; +import { MatTabGroup, MatTab } from '@angular/material/tabs'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Offices component. @@ -24,7 +53,39 @@ import { TreeControlService } from 'app/shared/common-logic/tree-control.service @Component({ selector: 'mifosx-offices', templateUrl: './offices.component.html', - styleUrls: ['./offices.component.scss'] + styleUrls: ['./offices.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatButtonToggleGroup, + MatButtonToggle, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + MatTree, + MatTreeNodeDef, + MatTreeNode, + MatTreeNodeToggle, + MatIconButton, + MatNestedTreeNode, + MatTreeNodeOutlet, + MatCardTitle, + MatTabGroup, + MatTab, + ExternalIdentifierComponent, + DatePipe, + DateFormatPipe + ] }) export class OfficesComponent implements OnInit, AfterViewInit { /** Button toggle group form control for type of view. (list/tree) */ diff --git a/src/app/organization/offices/view-office/datatable-tabs/datatable-tabs.component.ts b/src/app/organization/offices/view-office/datatable-tabs/datatable-tabs.component.ts index cf494eaed..e3ea0df49 100644 --- a/src/app/organization/offices/view-office/datatable-tabs/datatable-tabs.component.ts +++ b/src/app/organization/offices/view-office/datatable-tabs/datatable-tabs.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Offices Datatable Tabs Component @@ -8,7 +10,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-datatable-tabs', templateUrl: './datatable-tabs.component.html', - styleUrls: ['./datatable-tabs.component.scss'] + styleUrls: ['./datatable-tabs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabsComponent { entityId: string; diff --git a/src/app/organization/offices/view-office/general-tab/general-tab.component.ts b/src/app/organization/offices/view-office/general-tab/general-tab.component.ts index 036f7bfb7..b3c0fe612 100644 --- a/src/app/organization/offices/view-office/general-tab/general-tab.component.ts +++ b/src/app/organization/offices/view-office/general-tab/general-tab.component.ts @@ -1,6 +1,10 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierComponent } from '../../../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Office View General Tab @@ -8,7 +12,13 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + ExternalIdentifierComponent, + DateFormatPipe + ] }) export class GeneralTabComponent { /** Office data */ diff --git a/src/app/organization/offices/view-office/view-office.component.ts b/src/app/organization/offices/view-office/view-office.component.ts index 6c230a116..126531b61 100644 --- a/src/app/organization/offices/view-office/view-office.component.ts +++ b/src/app/organization/offices/view-office/view-office.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Office Component @@ -8,7 +10,15 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-office', templateUrl: './view-office.component.html', - styleUrls: ['./view-office.component.scss'] + styleUrls: ['./view-office.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewOfficeComponent { /** Office datatables data */ diff --git a/src/app/organization/organization.component.ts b/src/app/organization/organization.component.ts index 77a7572d5..25b0fe3a8 100644 --- a/src/app/organization/organization.component.ts +++ b/src/app/organization/organization.component.ts @@ -1,10 +1,15 @@ /** Angular Imports */ import { AfterViewInit, Component, ElementRef, TemplateRef, ViewChild } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ConfigurationWizardService } from '../configuration-wizard/configuration-wizard.service'; import { PopoverService } from '../configuration-wizard/popover/popover.service'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Organization component. @@ -12,7 +17,15 @@ import { PopoverService } from '../configuration-wizard/popover/popover.service' @Component({ selector: 'mifosx-products', templateUrl: './organization.component.html', - styleUrls: ['./organization.component.scss'] + styleUrls: ['./organization.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class OrganizationComponent implements AfterViewInit { shouldShowFundMapping = false; diff --git a/src/app/organization/organization.module.ts b/src/app/organization/organization.module.ts index eddedda8a..a0a2b226c 100644 --- a/src/app/organization/organization.module.ts +++ b/src/app/organization/organization.module.ts @@ -88,9 +88,7 @@ import { InvestorsComponent } from './investors/investors.component'; SharedModule, PipesModule, DirectivesModule, - OrganizationRoutingModule - ], - declarations: [ + OrganizationRoutingModule, OrganizationComponent, LoanProvisioningCriteriaComponent, OfficesComponent, diff --git a/src/app/organization/password-preferences/password-preferences.component.ts b/src/app/organization/password-preferences/password-preferences.component.ts index 772f7088a..cae38e7b4 100644 --- a/src/app/organization/password-preferences/password-preferences.component.ts +++ b/src/app/organization/password-preferences/password-preferences.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../organization.service'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Password preferences component. @@ -12,7 +14,12 @@ import { OrganizationService } from '../organization.service'; @Component({ selector: 'mifosx-password-preferences', templateUrl: './password-preferences.component.html', - styleUrls: ['./password-preferences.component.scss'] + styleUrls: ['./password-preferences.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton + ] }) export class PasswordPreferencesComponent implements OnInit { /** Password preferences form. */ diff --git a/src/app/organization/payment-types/create-payment-type/create-payment-type.component.ts b/src/app/organization/payment-types/create-payment-type/create-payment-type.component.ts index 7a54d62dd..142490e74 100644 --- a/src/app/organization/payment-types/create-payment-type/create-payment-type.component.ts +++ b/src/app/organization/payment-types/create-payment-type/create-payment-type.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Payment Type Component. @@ -12,7 +15,12 @@ import { OrganizationService } from '../../organization.service'; @Component({ selector: 'mifosx-create-payment-type', templateUrl: './create-payment-type.component.html', - styleUrls: ['./create-payment-type.component.scss'] + styleUrls: ['./create-payment-type.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize, + MatCheckbox + ] }) export class CreatePaymentTypeComponent implements OnInit { /** Payment Type form. */ diff --git a/src/app/organization/payment-types/edit-payment-type/edit-payment-type.component.ts b/src/app/organization/payment-types/edit-payment-type/edit-payment-type.component.ts index 2ca7c8d06..893b23b6c 100644 --- a/src/app/organization/payment-types/edit-payment-type/edit-payment-type.component.ts +++ b/src/app/organization/payment-types/edit-payment-type/edit-payment-type.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from 'app/organization/organization.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Payment Type component. @@ -12,7 +15,12 @@ import { OrganizationService } from 'app/organization/organization.service'; @Component({ selector: 'mifosx-edit-payment-type', templateUrl: './edit-payment-type.component.html', - styleUrls: ['./edit-payment-type.component.scss'] + styleUrls: ['./edit-payment-type.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize, + MatCheckbox + ] }) export class EditPaymentTypeComponent implements OnInit { /** Payment Type form. */ diff --git a/src/app/organization/payment-types/payment-types.component.ts b/src/app/organization/payment-types/payment-types.component.ts index 5dba1542b..e95a5502c 100644 --- a/src/app/organization/payment-types/payment-types.component.ts +++ b/src/app/organization/payment-types/payment-types.component.ts @@ -2,15 +2,30 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../organization.service'; /** Custom Components */ import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Payment Types component. @@ -18,7 +33,25 @@ import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog. @Component({ selector: 'mifosx-payment-types', templateUrl: './payment-types.component.html', - styleUrls: ['./payment-types.component.scss'] + styleUrls: ['./payment-types.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class PaymentTypesComponent implements OnInit { /** Payment Types data. */ diff --git a/src/app/organization/sms-campaigns/create-campaign/create-campaign.component.ts b/src/app/organization/sms-campaigns/create-campaign/create-campaign.component.ts index 4677032fa..71421e4a0 100644 --- a/src/app/organization/sms-campaigns/create-campaign/create-campaign.component.ts +++ b/src/app/organization/sms-campaigns/create-campaign/create-campaign.component.ts @@ -10,6 +10,10 @@ import { CampaignMessageStepComponent } from '../sms-campaign-stepper/campaign-m import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { CampaignPreviewStepComponent } from '../sms-campaign-stepper/campaign-preview-step/campaign-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create SMS Campaign Component @@ -17,7 +21,18 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-campaign', templateUrl: './create-campaign.component.html', - styleUrls: ['./create-campaign.component.scss'] + styleUrls: ['./create-campaign.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SmsCampaignStepComponent, + CampaignMessageStepComponent, + CampaignPreviewStepComponent + ] }) export class CreateCampaignComponent { /** SMS Campaign Template */ diff --git a/src/app/organization/sms-campaigns/edit-campaign/edit-campaign.component.ts b/src/app/organization/sms-campaigns/edit-campaign/edit-campaign.component.ts index 323d9e1ff..9b5495c66 100644 --- a/src/app/organization/sms-campaigns/edit-campaign/edit-campaign.component.ts +++ b/src/app/organization/sms-campaigns/edit-campaign/edit-campaign.component.ts @@ -9,6 +9,11 @@ import { SettingsService } from 'app/settings/settings.service'; /** Custom Components */ import { CampaignMessageStepComponent } from '../sms-campaign-stepper/campaign-message-step/campaign-message-step.component'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { EditSmsCampaignStepComponent } from '../sms-campaign-stepper/edit-sms-campaign-step/edit-sms-campaign-step.component'; +import { CampaignPreviewStepComponent } from '../sms-campaign-stepper/campaign-preview-step/campaign-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Campaign Component @@ -16,7 +21,18 @@ import { CampaignMessageStepComponent } from '../sms-campaign-stepper/campaign-m @Component({ selector: 'mifosx-edit-campaign', templateUrl: './edit-campaign.component.html', - styleUrls: ['./edit-campaign.component.scss'] + styleUrls: ['./edit-campaign.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + EditSmsCampaignStepComponent, + CampaignMessageStepComponent, + CampaignPreviewStepComponent + ] }) export class EditCampaignComponent { /** smsCampaign */ diff --git a/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-message-step/campaign-message-step.component.ts b/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-message-step/campaign-message-step.component.ts index 493936aec..637d6c2d4 100644 --- a/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-message-step/campaign-message-step.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-message-step/campaign-message-step.component.ts @@ -1,6 +1,9 @@ /** Angular Imports */ import { Component, Input, OnChanges } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Campaign Message Step @@ -8,7 +11,13 @@ import { UntypedFormControl } from '@angular/forms'; @Component({ selector: 'mifosx-campaign-message-step', templateUrl: './campaign-message-step.component.html', - styleUrls: ['./campaign-message-step.component.scss'] + styleUrls: ['./campaign-message-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class CampaignMessageStepComponent implements OnChanges { /** Column headers */ diff --git a/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-preview-step/campaign-preview-step.component.ts b/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-preview-step/campaign-preview-step.component.ts index c1e5a196d..c2edb5951 100644 --- a/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-preview-step/campaign-preview-step.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaign-stepper/campaign-preview-step/campaign-preview-step.component.ts @@ -1,5 +1,8 @@ /** Angular Imports */ import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core'; +import { MatList, MatListItem } from '@angular/material/list'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Campaign Preview Step. @@ -7,7 +10,13 @@ import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core'; @Component({ selector: 'mifosx-campaign-preview-step', templateUrl: './campaign-preview-step.component.html', - styleUrls: ['./campaign-preview-step.component.scss'] + styleUrls: ['./campaign-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatList, + MatListItem, + FindPipe + ] }) export class CampaignPreviewStepComponent implements OnInit { /** SMS Campaign */ diff --git a/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-business-rule-parameters/edit-business-rule-parameters.component.ts b/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-business-rule-parameters/edit-business-rule-parameters.component.ts index 8b9300e2b..3f4c95689 100644 --- a/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-business-rule-parameters/edit-business-rule-parameters.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-business-rule-parameters/edit-business-rule-parameters.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnChanges, Input, Output, EventEmitter, OnInit } from '@angular/core'; -import { Validators, UntypedFormGroup, UntypedFormControl } from '@angular/forms'; +import { Validators, UntypedFormGroup, UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Rxjs Imports */ import { distinctUntilChanged } from 'rxjs/operators'; @@ -13,6 +13,11 @@ import { SettingsService } from 'app/settings/settings.service'; import { ReportParameter } from 'app/reports/common-models/report-parameter.model'; import { SelectOption } from 'app/reports/common-models/select-option.model'; import { Dates } from 'app/core/utils/dates'; +import { MatDivider } from '@angular/material/divider'; +import { NgFor, NgSwitch, NgIf, NgSwitchCase } from '@angular/common'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Business Rule Parameters. @@ -20,7 +25,16 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-business-rule-parameters', templateUrl: './edit-business-rule-parameters.component.html', - styleUrls: ['./edit-business-rule-parameters.component.scss'] + styleUrls: ['./edit-business-rule-parameters.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + NgSwitch, + NgSwitchCase, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class EditBusinessRuleParametersComponent implements OnInit, OnChanges { /** Run Report Parameters Data */ diff --git a/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-sms-campaign-step.component.ts b/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-sms-campaign-step.component.ts index 5d2a117b6..9409de4c6 100644 --- a/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-sms-campaign-step.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaign-stepper/edit-sms-campaign-step/edit-sms-campaign-step.component.ts @@ -1,6 +1,12 @@ /** Angular Imports */ import { Component, OnInit, Output, Input, EventEmitter } from '@angular/core'; -import { UntypedFormGroup, Validators, UntypedFormBuilder, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + Validators, + UntypedFormBuilder, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; /** Custom Services */ import { ReportsService } from 'app/reports/reports.service'; @@ -8,6 +14,9 @@ import { ReportsService } from 'app/reports/reports.service'; /** Custom Models */ import { ReportParameter } from 'app/reports/common-models/report-parameter.model'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { EditBusinessRuleParametersComponent } from './edit-business-rule-parameters/edit-business-rule-parameters.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit SMS Campaign step. @@ -15,7 +24,12 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-sms-campaign-step', templateUrl: './edit-sms-campaign-step.component.html', - styleUrls: ['./edit-sms-campaign-step.component.scss'] + styleUrls: ['./edit-sms-campaign-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + EditBusinessRuleParametersComponent + ] }) export class EditSmsCampaignStepComponent implements OnInit { /** SMS Campaign Template */ diff --git a/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/business-rule-parameters/business-rule-parameters.component.ts b/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/business-rule-parameters/business-rule-parameters.component.ts index 1ad5835ba..3189e986d 100644 --- a/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/business-rule-parameters/business-rule-parameters.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/business-rule-parameters/business-rule-parameters.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnChanges, Input, Output, EventEmitter, OnInit } from '@angular/core'; -import { Validators, UntypedFormGroup, UntypedFormControl } from '@angular/forms'; +import { Validators, UntypedFormGroup, UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { ReportsService } from 'app/reports/reports.service'; @@ -10,6 +10,10 @@ import { SettingsService } from 'app/settings/settings.service'; import { ReportParameter } from 'app/reports/common-models/report-parameter.model'; import { SelectOption } from 'app/reports/common-models/select-option.model'; import { Dates } from 'app/core/utils/dates'; +import { MatDivider } from '@angular/material/divider'; +import { NgFor, NgSwitch, NgIf, NgSwitchCase } from '@angular/common'; +import { MatStepperNext } from '@angular/material/stepper'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Business Rule Parameters Component. @@ -17,7 +21,14 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-business-rule-parameters', templateUrl: './business-rule-parameters.component.html', - styleUrls: ['./business-rule-parameters.component.scss'] + styleUrls: ['./business-rule-parameters.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + NgSwitch, + NgSwitchCase, + MatStepperNext + ] }) export class BusinessRuleParametersComponent implements OnInit, OnChanges { /** Run Report Parameters Data */ diff --git a/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/sms-campaign-step.component.ts b/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/sms-campaign-step.component.ts index 98ceeda03..e3894108a 100644 --- a/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/sms-campaign-step.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaign-stepper/sms-campaign-step/sms-campaign-step.component.ts @@ -1,6 +1,12 @@ /** Angular Imports */ import { Component, OnInit, Input, ViewChild, EventEmitter, Output } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; /** Custom Services */ import { ReportsService } from 'app/reports/reports.service'; @@ -10,6 +16,10 @@ import { ReportParameter } from 'app/reports/common-models/report-parameter.mode /** Custom Components */ import { BusinessRuleParametersComponent } from './business-rule-parameters/business-rule-parameters.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * SMS Campaign Step Component @@ -17,7 +27,15 @@ import { BusinessRuleParametersComponent } from './business-rule-parameters/busi @Component({ selector: 'mifosx-sms-campaign-step', templateUrl: './sms-campaign-step.component.html', - styleUrls: ['./sms-campaign-step.component.scss'] + styleUrls: ['./sms-campaign-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext, + BusinessRuleParametersComponent + ] }) export class SmsCampaignStepComponent implements OnInit { /** SMS Campaign Template */ diff --git a/src/app/organization/sms-campaigns/sms-campaigns.component.ts b/src/app/organization/sms-campaigns/sms-campaigns.component.ts index 0911a6f69..28eefc620 100644 --- a/src/app/organization/sms-campaigns/sms-campaigns.component.ts +++ b/src/app/organization/sms-campaigns/sms-campaigns.component.ts @@ -1,12 +1,29 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { TitleCasePipe } from '@angular/common'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * SMS Campaigns component. @@ -14,7 +31,27 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-sms-campaigns', templateUrl: './sms-campaigns.component.html', - styleUrls: ['./sms-campaigns.component.scss'] + styleUrls: ['./sms-campaigns.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + TitleCasePipe, + StatusLookupPipe + ] }) export class SmsCampaignsComponent implements OnInit { /** SMS Campaigns data. */ diff --git a/src/app/organization/sms-campaigns/view-campaign/view-campaign.component.ts b/src/app/organization/sms-campaigns/view-campaign/view-campaign.component.ts index fab7811ca..3cdac76e4 100644 --- a/src/app/organization/sms-campaigns/view-campaign/view-campaign.component.ts +++ b/src/app/organization/sms-campaigns/view-campaign/view-campaign.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Dialogs */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; @@ -17,6 +29,11 @@ import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicke import { OrganizationService } from '../../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabGroup, MatTab } from '@angular/material/tabs'; +import { MatList, MatListItem } from '@angular/material/list'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View SMS Campaign Component @@ -24,7 +41,26 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-view-campaign', templateUrl: './view-campaign.component.html', - styleUrls: ['./view-campaign.component.scss'] + styleUrls: ['./view-campaign.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTabGroup, + MatTab, + MatList, + MatListItem, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class ViewCampaignComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/organization/standing-instructions-history/standing-instructions-history.component.ts b/src/app/organization/standing-instructions-history/standing-instructions-history.component.ts index edb5d3a8e..ede15cacc 100644 --- a/src/app/organization/standing-instructions-history/standing-instructions-history.component.ts +++ b/src/app/organization/standing-instructions-history/standing-instructions-history.component.ts @@ -1,15 +1,31 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Standing Instructions History Component. @@ -17,7 +33,26 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-standing-instructions-history', templateUrl: './standing-instructions-history.component.html', - styleUrls: ['./standing-instructions-history.component.scss'] + styleUrls: ['./standing-instructions-history.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + FormatNumberPipe + ] }) export class StandingInstructionsHistoryComponent implements OnInit { /** Minimum Date allowed. */ diff --git a/src/app/organization/tellers/cashiers/allocate-cash/allocate-cash.component.ts b/src/app/organization/tellers/cashiers/allocate-cash/allocate-cash.component.ts index 3a5ba68ab..772ccee1e 100644 --- a/src/app/organization/tellers/cashiers/allocate-cash/allocate-cash.component.ts +++ b/src/app/organization/tellers/cashiers/allocate-cash/allocate-cash.component.ts @@ -1,12 +1,13 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Allocate Cash component. @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-allocate-cash', templateUrl: './allocate-cash.component.html', - styleUrls: ['./allocate-cash.component.scss'] + styleUrls: ['./allocate-cash.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AllocateCashComponent implements OnInit { /** Minimum Date allowed. */ diff --git a/src/app/organization/tellers/cashiers/cashiers.component.ts b/src/app/organization/tellers/cashiers/cashiers.component.ts index b8c70435a..de009cb01 100644 --- a/src/app/organization/tellers/cashiers/cashiers.component.ts +++ b/src/app/organization/tellers/cashiers/cashiers.component.ts @@ -1,9 +1,26 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Cashiers component. @@ -11,7 +28,27 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-cashiers', templateUrl: './cashiers.component.html', - styleUrls: ['./cashiers.component.scss'] + styleUrls: ['./cashiers.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + YesnoPipe + ] }) export class CashiersComponent implements OnInit { /** Cashiers data. */ diff --git a/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts b/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts index 21e75aef5..f2c54407d 100644 --- a/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts +++ b/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts @@ -1,12 +1,14 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Cashier component. @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-create-cashier', templateUrl: './create-cashier.component.html', - styleUrls: ['./create-cashier.component.scss'] + styleUrls: ['./create-cashier.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class CreateCashierComponent implements OnInit { /** Minimum Date allowed. */ diff --git a/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts b/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts index d633bfeb4..4abf0bab3 100644 --- a/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts +++ b/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts @@ -1,12 +1,14 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Cashier component. @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-edit-cashier', templateUrl: './edit-cashier.component.html', - styleUrls: ['./edit-cashier.component.scss'] + styleUrls: ['./edit-cashier.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class EditCashierComponent implements OnInit { /** Cashier Data. */ diff --git a/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts b/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts index 31344393d..72012689b 100644 --- a/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts +++ b/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts @@ -1,17 +1,21 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Customer Services. */ import { OrganizationService } from 'app/organization/organization.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-settle-cash', templateUrl: './settle-cash.component.html', - styleUrls: ['./settle-cash.component.scss'] + styleUrls: ['./settle-cash.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class SettleCashComponent implements OnInit { /** Minimum Date allowed. */ diff --git a/src/app/organization/tellers/cashiers/transactions/transactions.component.ts b/src/app/organization/tellers/cashiers/transactions/transactions.component.ts index 7a944a181..58f3ca3b1 100644 --- a/src/app/organization/tellers/cashiers/transactions/transactions.component.ts +++ b/src/app/organization/tellers/cashiers/transactions/transactions.component.ts @@ -1,13 +1,29 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { OrganizationService } from 'app/organization/organization.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Cashier Transactions Component. @@ -15,7 +31,26 @@ import { OrganizationService } from 'app/organization/organization.service'; @Component({ selector: 'mifosx-transactions', templateUrl: './transactions.component.html', - styleUrls: ['./transactions.component.scss'] + styleUrls: ['./transactions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + FormatNumberPipe + ] }) export class TransactionsComponent implements OnInit { /** Currency selector. */ diff --git a/src/app/organization/tellers/cashiers/view-cashier/view-cashier.component.ts b/src/app/organization/tellers/cashiers/view-cashier/view-cashier.component.ts index 9a7ca4d2b..4903726d4 100644 --- a/src/app/organization/tellers/cashiers/view-cashier/view-cashier.component.ts +++ b/src/app/organization/tellers/cashiers/view-cashier/view-cashier.component.ts @@ -1,6 +1,6 @@ /** Angular Imports. */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Dialogs */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; @@ -8,6 +8,9 @@ import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ import { OrganizationService } from 'app/organization/organization.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Cashier component. @@ -15,7 +18,12 @@ import { OrganizationService } from 'app/organization/organization.service'; @Component({ selector: 'mifosx-view-cashier', templateUrl: './view-cashier.component.html', - styleUrls: ['./view-cashier.component.scss'] + styleUrls: ['./view-cashier.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe + ] }) export class ViewCashierComponent { /** Cashier data. */ diff --git a/src/app/organization/tellers/create-teller/create-teller.component.ts b/src/app/organization/tellers/create-teller/create-teller.component.ts index ced9a7697..7e25df92c 100644 --- a/src/app/organization/tellers/create-teller/create-teller.component.ts +++ b/src/app/organization/tellers/create-teller/create-teller.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create teller component. @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-teller', templateUrl: './create-teller.component.html', - styleUrls: ['./create-teller.component.scss'] + styleUrls: ['./create-teller.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class CreateTellerComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/organization/tellers/edit-teller/edit-teller.component.ts b/src/app/organization/tellers/edit-teller/edit-teller.component.ts index 5e4eca351..d481111c7 100644 --- a/src/app/organization/tellers/edit-teller/edit-teller.component.ts +++ b/src/app/organization/tellers/edit-teller/edit-teller.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { OrganizationService } from '../../organization.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create teller component. @@ -15,7 +16,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-teller', templateUrl: './edit-teller.component.html', - styleUrls: ['./edit-teller.component.scss'] + styleUrls: ['./edit-teller.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditTellerComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/organization/tellers/tellers.component.ts b/src/app/organization/tellers/tellers.component.ts index 64f6473e5..00ee160e0 100644 --- a/src/app/organization/tellers/tellers.component.ts +++ b/src/app/organization/tellers/tellers.component.ts @@ -1,12 +1,28 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Tellers component. @@ -14,7 +30,26 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-tellers', templateUrl: './tellers.component.html', - styleUrls: ['./tellers.component.scss'] + styleUrls: ['./tellers.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe + ] }) export class TellersComponent implements OnInit { /** Tellers data. */ diff --git a/src/app/organization/tellers/view-teller/view-teller.component.ts b/src/app/organization/tellers/view-teller/view-teller.component.ts index 895d4881a..e99791a4c 100644 --- a/src/app/organization/tellers/view-teller/view-teller.component.ts +++ b/src/app/organization/tellers/view-teller/view-teller.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -8,6 +8,10 @@ import { OrganizationService } from 'app/organization/organization.service'; /** Custom Components */ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgIf, TitleCasePipe } from '@angular/common'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Teller Component. @@ -15,7 +19,13 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial @Component({ selector: 'mifosx-view-teller', templateUrl: './view-teller.component.html', - styleUrls: ['./view-teller.component.scss'] + styleUrls: ['./view-teller.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + TitleCasePipe, + DateFormatPipe + ] }) export class ViewTellerComponent { /** Teller data. */ diff --git a/src/app/organization/working-days/working-days.component.ts b/src/app/organization/working-days/working-days.component.ts index 0d2c7129b..e7ac52633 100644 --- a/src/app/organization/working-days/working-days.component.ts +++ b/src/app/organization/working-days/working-days.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormArray, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -12,6 +18,8 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura /** Custom Dialog Components */ import { NextStepDialogComponent } from '../../configuration-wizard/next-step-dialog/next-step-dialog.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** Recurrence default value. */ const recurrenceDefaultValue = 'FREQ=WEEKLY;INTERVAL=1;BYDAY='; @@ -22,7 +30,11 @@ const recurrenceDefaultValue = 'FREQ=WEEKLY;INTERVAL=1;BYDAY='; @Component({ selector: 'mifosx-working-days', templateUrl: './working-days.component.html', - styleUrls: ['./working-days.component.scss'] + styleUrls: ['./working-days.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class WorkingDaysComponent implements OnInit, AfterViewInit { /** Working days form. */ diff --git a/src/app/pipes/accounts-filter.pipe.ts b/src/app/pipes/accounts-filter.pipe.ts index aa8c6e773..83a0e1066 100644 --- a/src/app/pipes/accounts-filter.pipe.ts +++ b/src/app/pipes/accounts-filter.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'accountsFilter' -}) +@Pipe({ name: 'accountsFilter' }) export class AccountsFilterPipe implements PipeTransform { transform(accounts: any, type: any, status: any, checkSavings: any): any { if (accounts) { diff --git a/src/app/pipes/charges-filter.pipe.ts b/src/app/pipes/charges-filter.pipe.ts index 0674251d8..4eada17c4 100644 --- a/src/app/pipes/charges-filter.pipe.ts +++ b/src/app/pipes/charges-filter.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'chargesFilter' -}) +@Pipe({ name: 'chargesFilter' }) export class ChargesFilterPipe implements PipeTransform { transform(charges: any, chargesDataSource: any, currencyCode: string, multiDisburseLoan?: boolean): any { if (charges) { diff --git a/src/app/pipes/charges-penalty-filter.pipe.ts b/src/app/pipes/charges-penalty-filter.pipe.ts index 89c17567f..254f26e7f 100644 --- a/src/app/pipes/charges-penalty-filter.pipe.ts +++ b/src/app/pipes/charges-penalty-filter.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'chargesPenaltyFilter' -}) +@Pipe({ name: 'chargesPenaltyFilter' }) export class ChargesPenaltyFilterPipe implements PipeTransform { transform(charges: any, penalty: boolean): any { if (charges) { diff --git a/src/app/pipes/date-format.pipe.ts b/src/app/pipes/date-format.pipe.ts index 51bff0136..b15e93779 100644 --- a/src/app/pipes/date-format.pipe.ts +++ b/src/app/pipes/date-format.pipe.ts @@ -2,9 +2,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { SettingsService } from 'app/settings/settings.service'; import moment from 'moment'; -@Pipe({ - name: 'dateFormat' -}) +@Pipe({ name: 'dateFormat' }) export class DateFormatPipe implements PipeTransform { constructor(private settingsService: SettingsService) {} diff --git a/src/app/pipes/datetime-format.pipe.ts b/src/app/pipes/datetime-format.pipe.ts index 71a9faa48..4042033da 100644 --- a/src/app/pipes/datetime-format.pipe.ts +++ b/src/app/pipes/datetime-format.pipe.ts @@ -2,9 +2,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { SettingsService } from 'app/settings/settings.service'; import moment from 'moment'; -@Pipe({ - name: 'datetimeFormat' -}) +@Pipe({ name: 'datetimeFormat' }) export class DatetimeFormatPipe implements PipeTransform { constructor(private settingsService: SettingsService) {} diff --git a/src/app/pipes/external-identifier.pipe.ts b/src/app/pipes/external-identifier.pipe.ts index 7960495db..a62b2d0b4 100644 --- a/src/app/pipes/external-identifier.pipe.ts +++ b/src/app/pipes/external-identifier.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'externalIdentifier' -}) +@Pipe({ name: 'externalIdentifier' }) export class ExternalIdentifierPipe implements PipeTransform { transform(externalId: string): string { const limit = 20; diff --git a/src/app/pipes/find.pipe.ts b/src/app/pipes/find.pipe.ts index c20150c1f..81d35d879 100644 --- a/src/app/pipes/find.pipe.ts +++ b/src/app/pipes/find.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'find' -}) +@Pipe({ name: 'find' }) export class FindPipe implements PipeTransform { transform(value: any, options: any, key: string, property: string): any { let optionFound; diff --git a/src/app/pipes/format-number.pipe.ts b/src/app/pipes/format-number.pipe.ts index c3421e4db..180da74fd 100644 --- a/src/app/pipes/format-number.pipe.ts +++ b/src/app/pipes/format-number.pipe.ts @@ -2,9 +2,7 @@ import { DecimalPipe } from '@angular/common'; import { Pipe, PipeTransform } from '@angular/core'; import { SettingsService } from 'app/settings/settings.service'; -@Pipe({ - name: 'formatNumber' -}) +@Pipe({ name: 'formatNumber' }) export class FormatNumberPipe implements PipeTransform { constructor( private decimalFormat: DecimalPipe, diff --git a/src/app/pipes/pipes.module.ts b/src/app/pipes/pipes.module.ts index 021bca639..79174a668 100644 --- a/src/app/pipes/pipes.module.ts +++ b/src/app/pipes/pipes.module.ts @@ -17,9 +17,7 @@ import { YesnoPipe } from './yesno.pipe'; @NgModule({ imports: [ - CommonModule - ], - declarations: [ + CommonModule, StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, diff --git a/src/app/pipes/pretty-print.pipe.ts b/src/app/pipes/pretty-print.pipe.ts index 22f445ce4..24c473a4d 100644 --- a/src/app/pipes/pretty-print.pipe.ts +++ b/src/app/pipes/pretty-print.pipe.ts @@ -1,9 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import * as vkbeautify from 'vkbeautify'; -@Pipe({ - name: 'prettyPrint' -}) +@Pipe({ name: 'prettyPrint' }) export class PrettyPrintPipe implements PipeTransform { transform(value: any) { if (value.charAt(0) === '{' && value.charAt(value.length - 1) === '}') { diff --git a/src/app/pipes/status-lookup.pipe.ts b/src/app/pipes/status-lookup.pipe.ts index 8cfbbb61c..f82b9dd19 100644 --- a/src/app/pipes/status-lookup.pipe.ts +++ b/src/app/pipes/status-lookup.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'statusLookup' -}) +@Pipe({ name: 'statusLookup' }) export class StatusLookupPipe implements PipeTransform { transform(status: string): string { const cssClassNameLookup = { diff --git a/src/app/pipes/translate.pipe.ts b/src/app/pipes/translate.pipe.ts index 628803e3c..d0c4c1358 100644 --- a/src/app/pipes/translate.pipe.ts +++ b/src/app/pipes/translate.pipe.ts @@ -1,9 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; -@Pipe({ - name: 'translateKey' -}) +@Pipe({ name: 'translateKey', standalone: true }) export class TranslatePipe implements PipeTransform { constructor(private translateService: TranslateService) {} diff --git a/src/app/pipes/truncate-text.pipe.ts b/src/app/pipes/truncate-text.pipe.ts index 5e1d20cf5..0c220172c 100644 --- a/src/app/pipes/truncate-text.pipe.ts +++ b/src/app/pipes/truncate-text.pipe.ts @@ -1,8 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'truncateText' -}) +@Pipe({ name: 'truncateText' }) export class TruncateTextPipe implements PipeTransform { transform(value: string, chars: number): string { if (value.length <= 40) { diff --git a/src/app/pipes/url-to-string.pipe.ts b/src/app/pipes/url-to-string.pipe.ts index 5253c927b..8376010a6 100644 --- a/src/app/pipes/url-to-string.pipe.ts +++ b/src/app/pipes/url-to-string.pipe.ts @@ -5,9 +5,7 @@ import { Pipe, PipeTransform } from '@angular/core'; * URL to String pipe. * Transform eg: `self-service/users` :: `Self Service | Users` */ -@Pipe({ - name: 'urlToString' -}) +@Pipe({ name: 'urlToString' }) export class UrlToStringPipe implements PipeTransform { transform(url: string): any { url = decodeURIComponent(url); diff --git a/src/app/pipes/yesno.pipe.ts b/src/app/pipes/yesno.pipe.ts index 2a5bbdf8d..945ee0663 100644 --- a/src/app/pipes/yesno.pipe.ts +++ b/src/app/pipes/yesno.pipe.ts @@ -1,9 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; -@Pipe({ - name: 'yesNo' -}) +@Pipe({ name: 'yesNo' }) export class YesnoPipe implements PipeTransform { constructor(private translateService: TranslateService) {} diff --git a/src/app/products/charges/charges.component.ts b/src/app/products/charges/charges.component.ts index 3f218c65e..7f9c7e419 100644 --- a/src/app/products/charges/charges.component.ts +++ b/src/app/products/charges/charges.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -14,6 +26,10 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura import { Charges } from 'app/core/utils/charges'; import { OptionData } from 'app/shared/models/option-data.model'; import { Charge } from './models/charge.model'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Charges component. @@ -21,7 +37,26 @@ import { Charge } from './models/charge.model'; @Component({ selector: 'mifosx-charges', templateUrl: './charges.component.html', - styleUrls: ['./charges.component.scss'] + styleUrls: ['./charges.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + FormatNumberPipe + ] }) export class ChargesComponent implements OnInit, AfterViewInit { /** Charge data. */ diff --git a/src/app/products/charges/create-charge/create-charge.component.ts b/src/app/products/charges/create-charge/create-charge.component.ts index 3b24ab293..d0ee75ee6 100644 --- a/src/app/products/charges/create-charge/create-charge.component.ts +++ b/src/app/products/charges/create-charge/create-charge.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from '../../products.service'; @@ -9,6 +15,11 @@ import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { minNumberValueValidator } from 'app/shared/validators/min-number-value.validator'; import { maxNumberValueValidator } from 'app/shared/validators/max-number-value.validator'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { ValidateOnFocusDirective } from '../../../directives/validate-on-focus.directive'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create charge component. @@ -16,7 +27,14 @@ import { maxNumberValueValidator } from 'app/shared/validators/max-number-value. @Component({ selector: 'mifosx-create-charge', templateUrl: './create-charge.component.html', - styleUrls: ['./create-charge.component.scss'] + styleUrls: ['./create-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatCheckbox, + ValidateOnFocusDirective, + GlAccountSelectorComponent + ] }) export class CreateChargeComponent implements OnInit { /** Charge form. */ diff --git a/src/app/products/charges/edit-charge/edit-charge.component.ts b/src/app/products/charges/edit-charge/edit-charge.component.ts index c1024d4f1..1722ea017 100644 --- a/src/app/products/charges/edit-charge/edit-charge.component.ts +++ b/src/app/products/charges/edit-charge/edit-charge.component.ts @@ -1,13 +1,17 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { maxNumberValueValidator } from 'app/shared/validators/max-number-value.validator'; import { minNumberValueValidator } from 'app/shared/validators/min-number-value.validator'; +import { ValidateOnFocusDirective } from '../../../directives/validate-on-focus.directive'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Charge component. @@ -15,7 +19,13 @@ import { minNumberValueValidator } from 'app/shared/validators/min-number-value. @Component({ selector: 'mifosx-edit-charge', templateUrl: './edit-charge.component.html', - styleUrls: ['./edit-charge.component.scss'] + styleUrls: ['./edit-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ValidateOnFocusDirective, + GlAccountSelectorComponent, + MatCheckbox + ] }) export class EditChargeComponent implements OnInit { /** Selected Data. */ diff --git a/src/app/products/charges/view-charge/view-charge.component.ts b/src/app/products/charges/view-charge/view-charge.component.ts index d5d05120c..c0649fd6c 100644 --- a/src/app/products/charges/view-charge/view-charge.component.ts +++ b/src/app/products/charges/view-charge/view-charge.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from 'app/products/products.service'; @@ -9,6 +9,10 @@ import { ProductsService } from 'app/products/products.service'; /** Custom Components */ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { GlAccountDisplayComponent } from '../../../shared/accounting/gl-account-display/gl-account-display.component'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Charge Component. @@ -16,7 +20,13 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial @Component({ selector: 'mifosx-view-charge', templateUrl: './view-charge.component.html', - styleUrls: ['./view-charge.component.scss'] + styleUrls: ['./view-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + GlAccountDisplayComponent, + YesnoPipe + ] }) export class ViewChargeComponent { /** Charge data. */ diff --git a/src/app/products/collaterals/collaterals.component.ts b/src/app/products/collaterals/collaterals.component.ts index 030f757db..4301233f5 100644 --- a/src/app/products/collaterals/collaterals.component.ts +++ b/src/app/products/collaterals/collaterals.component.ts @@ -1,14 +1,45 @@ /** Angular Imports */ import { Component, ViewChild, OnInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-collaterals', templateUrl: './collaterals.component.html', - styleUrls: ['./collaterals.component.scss'] + styleUrls: ['./collaterals.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class CollateralsComponent implements OnInit { /** Collateral Data */ diff --git a/src/app/products/collaterals/create-collateral/create-collateral.component.ts b/src/app/products/collaterals/create-collateral/create-collateral.component.ts index a535d68a8..0d2bc98fc 100644 --- a/src/app/products/collaterals/create-collateral/create-collateral.component.ts +++ b/src/app/products/collaterals/create-collateral/create-collateral.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, FormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, FormControl, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from '../../products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Collateral component. @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-collateral', templateUrl: './create-collateral.component.html', - styleUrls: ['./create-collateral.component.scss'] + styleUrls: ['./create-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateCollateralComponent implements OnInit { /** Collateral form */ diff --git a/src/app/products/collaterals/edit-collateral/edit-collateral.component.ts b/src/app/products/collaterals/edit-collateral/edit-collateral.component.ts index 3e0384711..ca2d71df7 100644 --- a/src/app/products/collaterals/edit-collateral/edit-collateral.component.ts +++ b/src/app/products/collaterals/edit-collateral/edit-collateral.component.ts @@ -1,16 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-collateral', templateUrl: './edit-collateral.component.html', - styleUrls: ['./edit-collateral.component.scss'] + styleUrls: ['./edit-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditCollateralComponent implements OnInit { /** Colalteral Data */ diff --git a/src/app/products/collaterals/view-collateral/view-collateral.component.ts b/src/app/products/collaterals/view-collateral/view-collateral.component.ts index 4a2136870..52e02bce6 100644 --- a/src/app/products/collaterals/view-collateral/view-collateral.component.ts +++ b/src/app/products/collaterals/view-collateral/view-collateral.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from 'app/products/products.service'; @@ -8,6 +8,8 @@ import { ProductsService } from 'app/products/products.service'; /** Custom Components */ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Collateral Component @@ -15,7 +17,11 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial @Component({ selector: 'mifosx-view-collateral', templateUrl: './view-collateral.component.html', - styleUrls: ['./view-collateral.component.scss'] + styleUrls: ['./view-collateral.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewCollateralComponent { /** Collateral Data */ diff --git a/src/app/products/deposit-product-incentive-form-dialog/deposit-product-incentive-form-dialog.component.ts b/src/app/products/deposit-product-incentive-form-dialog/deposit-product-incentive-form-dialog.component.ts index c8cad3a26..409aa1d0c 100644 --- a/src/app/products/deposit-product-incentive-form-dialog/deposit-product-incentive-form-dialog.component.ts +++ b/src/app/products/deposit-product-incentive-form-dialog/deposit-product-incentive-form-dialog.component.ts @@ -1,12 +1,29 @@ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-deposit-product-incentive-form-dialog', templateUrl: './deposit-product-incentive-form-dialog.component.html', - styleUrls: ['./deposit-product-incentive-form-dialog.component.scss'] + styleUrls: ['./deposit-product-incentive-form-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class DepositProductIncentiveFormDialogComponent implements OnInit { layout: { diff --git a/src/app/products/fixed-deposit-products/create-fixed-deposit-product/create-fixed-deposit-product.component.ts b/src/app/products/fixed-deposit-products/create-fixed-deposit-product/create-fixed-deposit-product.component.ts index 03ef8e17c..b7b7fd1fe 100644 --- a/src/app/products/fixed-deposit-products/create-fixed-deposit-product/create-fixed-deposit-product.component.ts +++ b/src/app/products/fixed-deposit-products/create-fixed-deposit-product/create-fixed-deposit-product.component.ts @@ -15,11 +15,31 @@ import { FixedDepositProductAccountingStepComponent } from '../fixed-deposit-pro import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FixedDepositProductPreviewStepComponent } from '../fixed-deposit-product-stepper/fixed-deposit-product-preview-step/fixed-deposit-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-fixed-deposit-product', templateUrl: './create-fixed-deposit-product.component.html', - styleUrls: ['./create-fixed-deposit-product.component.scss'] + styleUrls: ['./create-fixed-deposit-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + FixedDepositProductDetailsStepComponent, + FixedDepositProductCurrencyStepComponent, + FixedDepositProductTermsStepComponent, + FixedDepositProductSettingsStepComponent, + FixedDepositProductInterestRateChartStepComponent, + FixedDepositProductChargesStepComponent, + FixedDepositProductAccountingStepComponent, + FixedDepositProductPreviewStepComponent + ] }) export class CreateFixedDepositProductComponent { @ViewChild(FixedDepositProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/fixed-deposit-products/edit-fixed-deposit-product/edit-fixed-deposit-product.component.ts b/src/app/products/fixed-deposit-products/edit-fixed-deposit-product/edit-fixed-deposit-product.component.ts index 7e864812f..1ba92c739 100644 --- a/src/app/products/fixed-deposit-products/edit-fixed-deposit-product/edit-fixed-deposit-product.component.ts +++ b/src/app/products/fixed-deposit-products/edit-fixed-deposit-product/edit-fixed-deposit-product.component.ts @@ -15,11 +15,31 @@ import { FixedDepositProductAccountingStepComponent } from '../fixed-deposit-pro import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FixedDepositProductPreviewStepComponent } from '../fixed-deposit-product-stepper/fixed-deposit-product-preview-step/fixed-deposit-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-fixed-deposit-product', templateUrl: './edit-fixed-deposit-product.component.html', - styleUrls: ['./edit-fixed-deposit-product.component.scss'] + styleUrls: ['./edit-fixed-deposit-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + FixedDepositProductDetailsStepComponent, + FixedDepositProductCurrencyStepComponent, + FixedDepositProductTermsStepComponent, + FixedDepositProductSettingsStepComponent, + FixedDepositProductInterestRateChartStepComponent, + FixedDepositProductChargesStepComponent, + FixedDepositProductAccountingStepComponent, + FixedDepositProductPreviewStepComponent + ] }) export class EditFixedDepositProductComponent { @ViewChild(FixedDepositProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-accounting-step/fixed-deposit-product-accounting-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-accounting-step/fixed-deposit-product-accounting-step.component.ts index 6bd442e9e..bba7ccfae 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-accounting-step/fixed-deposit-product-accounting-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-accounting-step/fixed-deposit-product-accounting-step.component.ts @@ -1,5 +1,12 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormArray, + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; @@ -9,11 +16,55 @@ import { TranslateService } from '@ngx-translate/core'; import { Accounting } from 'app/core/utils/accounting'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatDivider } from '@angular/material/divider'; +import { GlAccountSelectorComponent } from '../../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-accounting-step', templateUrl: './fixed-deposit-product-accounting-step.component.html', - styleUrls: ['./fixed-deposit-product-accounting-step.component.scss'] + styleUrls: ['./fixed-deposit-product-accounting-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatDivider, + GlAccountSelectorComponent, + MatCheckbox, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe + ] }) export class FixedDepositProductAccountingStepComponent implements OnInit { @Input() fixedDepositProductsTemplate: any; diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-charges-step/fixed-deposit-product-charges-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-charges-step/fixed-deposit-product-charges-step.component.ts index 9f8b3cdee..ce1416aae 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-charges-step/fixed-deposit-product-charges-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-charges-step/fixed-deposit-product-charges-step.component.ts @@ -4,11 +4,48 @@ import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../../pipes/charges-filter.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-charges-step', templateUrl: './fixed-deposit-product-charges-step.component.html', - styleUrls: ['./fixed-deposit-product-charges-step.component.scss'] + styleUrls: ['./fixed-deposit-product-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe, + FormatNumberPipe + ] }) export class FixedDepositProductChargesStepComponent implements OnInit { @Input() fixedDepositProductsTemplate: any; diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts index c4bfb8b50..fdde5e9bd 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts @@ -1,10 +1,19 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-currency-step', templateUrl: './fixed-deposit-product-currency-step.component.html', - styleUrls: ['./fixed-deposit-product-currency-step.component.scss'] + styleUrls: ['./fixed-deposit-product-currency-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositProductCurrencyStepComponent implements OnInit { @Input() fixedDepositProductsTemplate: any; diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-details-step/fixed-deposit-product-details-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-details-step/fixed-deposit-product-details-step.component.ts index 76b4d021c..2092b0df6 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-details-step/fixed-deposit-product-details-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-details-step/fixed-deposit-product-details-step.component.ts @@ -1,10 +1,19 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-details-step', templateUrl: './fixed-deposit-product-details-step.component.html', - styleUrls: ['./fixed-deposit-product-details-step.component.scss'] + styleUrls: ['./fixed-deposit-product-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositProductDetailsStepComponent implements OnInit { @Input() fixedDepositProductsTemplate: any; diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts index 4212be182..a23aefb2d 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { animate, state, style, transition, trigger } from '@angular/animations'; import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormArray, + UntypedFormBuilder, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; /** Custom Components */ @@ -18,6 +24,27 @@ import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { TranslateService } from '@ngx-translate/core'; import { Dates } from 'app/core/utils/dates'; import { SettingsService } from 'app/settings/settings.service'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgFor, NgIf, NgSwitch, NgSwitchCase } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-interest-rate-chart-step', @@ -29,6 +56,29 @@ import { SettingsService } from 'app/settings/settings.service'; state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + FaIconComponent, + MatDivider, + MatIconButton, + MatCheckbox, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgSwitch, + NgSwitchCase, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe ] }) export class FixedDepositProductInterestRateChartStepComponent implements OnInit { diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-preview-step/fixed-deposit-product-preview-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-preview-step/fixed-deposit-product-preview-step.component.ts index 33f731686..cc197ab60 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-preview-step/fixed-deposit-product-preview-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-preview-step/fixed-deposit-product-preview-step.component.ts @@ -2,6 +2,28 @@ import { Component, OnInit, Input, Output, EventEmitter, SimpleChanges, OnChange import { trigger, state, transition, animate, style } from '@angular/animations'; import { Accounting } from 'app/core/utils/accounting'; import { OptionData } from 'app/shared/models/option-data.model'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgFor, NgSwitch, NgSwitchCase } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ViewSavingsAccountingDetailsComponent } from '../../../../shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-preview-step', @@ -13,6 +35,29 @@ import { OptionData } from 'app/shared/models/option-data.model'; state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + NgSwitchCase, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ViewSavingsAccountingDetailsComponent, + MatStepperPrevious, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class FixedDepositProductPreviewStepComponent implements OnInit, OnChanges { diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-settings-step/fixed-deposit-product-settings-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-settings-step/fixed-deposit-product-settings-step.component.ts index fe0ae3302..647b4a35e 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-settings-step/fixed-deposit-product-settings-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-settings-step/fixed-deposit-product-settings-step.component.ts @@ -1,10 +1,31 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-settings-step', templateUrl: './fixed-deposit-product-settings-step.component.html', - styleUrls: ['./fixed-deposit-product-settings-step.component.scss'] + styleUrls: ['./fixed-deposit-product-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatDivider, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositProductSettingsStepComponent implements OnInit { @Input() fixedDepositProductsTemplate: any; diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-terms-step/fixed-deposit-product-terms-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-terms-step/fixed-deposit-product-terms-step.component.ts index 8572fdd49..476c7cf87 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-terms-step/fixed-deposit-product-terms-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-terms-step/fixed-deposit-product-terms-step.component.ts @@ -1,10 +1,23 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-product-terms-step', templateUrl: './fixed-deposit-product-terms-step.component.html', - styleUrls: ['./fixed-deposit-product-terms-step.component.scss'] + styleUrls: ['./fixed-deposit-product-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class FixedDepositProductTermsStepComponent implements OnInit { @Input() fixedDepositProductsTemplate: any; diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-products.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-products.component.ts index 050ea0c03..9ac73e42d 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-products.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-products.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,6 +23,8 @@ import { of } from 'rxjs'; /* Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposit Products component. @@ -18,7 +32,24 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-fixed-deposit-products', templateUrl: './fixed-deposit-products.component.html', - styleUrls: ['./fixed-deposit-products.component.scss'] + styleUrls: ['./fixed-deposit-products.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class FixedDepositProductsComponent implements OnInit, AfterViewInit { /** Fixed deposit products data. */ diff --git a/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-datatable-tab/fixed-deposit-datatable-tab.component.ts b/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-datatable-tab/fixed-deposit-datatable-tab.component.ts index 9101525ce..a08c4f857 100644 --- a/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-datatable-tab/fixed-deposit-datatable-tab.component.ts +++ b/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-datatable-tab/fixed-deposit-datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-datatable-tab', templateUrl: './fixed-deposit-datatable-tab.component.html', - styleUrls: ['./fixed-deposit-datatable-tab.component.scss'] + styleUrls: ['./fixed-deposit-datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class FixedDepositDatatableTabComponent { entityId: string; diff --git a/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-general-tab/fixed-deposit-general-tab.component.ts b/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-general-tab/fixed-deposit-general-tab.component.ts index 51a41e59e..7a70ba21c 100644 --- a/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-general-tab/fixed-deposit-general-tab.component.ts +++ b/src/app/products/fixed-deposit-products/view-fixed-deposit-product/fixed-deposit-general-tab/fixed-deposit-general-tab.component.ts @@ -1,6 +1,27 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { trigger, state, transition, animate, style } from '@angular/animations'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgSwitch, NgSwitchCase } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ViewSavingsAccountingDetailsComponent } from '../../../../shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-fixed-deposit-general-tab', @@ -12,6 +33,28 @@ import { trigger, state, transition, animate, style } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgSwitch, + NgSwitchCase, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ViewSavingsAccountingDetailsComponent, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class FixedDepositGeneralTabComponent { diff --git a/src/app/products/fixed-deposit-products/view-fixed-deposit-product/view-fixed-deposit-product.component.ts b/src/app/products/fixed-deposit-products/view-fixed-deposit-product/view-fixed-deposit-product.component.ts index 2f8447280..7db6a95e0 100644 --- a/src/app/products/fixed-deposit-products/view-fixed-deposit-product/view-fixed-deposit-product.component.ts +++ b/src/app/products/fixed-deposit-products/view-fixed-deposit-product/view-fixed-deposit-product.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Fixed Deposit Product component. @@ -8,7 +10,15 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-fixed-deposit-product', templateUrl: './view-fixed-deposit-product.component.html', - styleUrls: ['./view-fixed-deposit-product.component.scss'] + styleUrls: ['./view-fixed-deposit-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewFixedDepositProductComponent { fixedDepositDatatables: any = []; diff --git a/src/app/products/floating-rates/create-floating-rate/create-floating-rate.component.ts b/src/app/products/floating-rates/create-floating-rate/create-floating-rate.component.ts index 93a557279..923f6530e 100644 --- a/src/app/products/floating-rates/create-floating-rate/create-floating-rate.component.ts +++ b/src/app/products/floating-rates/create-floating-rate/create-floating-rate.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; @@ -16,6 +28,14 @@ import { TranslateService } from '@ngx-translate/core'; import { Dates } from 'app/core/utils/dates'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FloatingRatePeriodDialogComponent } from '../floating-rate-period-dialog/floating-rate-period-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatMiniFabButton, MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Floating Rate Component. @@ -23,7 +43,31 @@ import { FloatingRatePeriodDialogComponent } from '../floating-rate-period-dialo @Component({ selector: 'mifosx-create-floating-rate', templateUrl: './create-floating-rate.component.html', - styleUrls: ['./create-floating-rate.component.scss'] + styleUrls: ['./create-floating-rate.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + MatDivider, + MatMiniFabButton, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + FormatNumberPipe + ] }) export class CreateFloatingRateComponent implements OnInit { /** Floating Rate Period Data. */ diff --git a/src/app/products/floating-rates/edit-floating-rate/edit-floating-rate.component.ts b/src/app/products/floating-rates/edit-floating-rate/edit-floating-rate.component.ts index 0fa0a85ed..35b94e7f3 100644 --- a/src/app/products/floating-rates/edit-floating-rate/edit-floating-rate.component.ts +++ b/src/app/products/floating-rates/edit-floating-rate/edit-floating-rate.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; @@ -16,6 +28,13 @@ import { TranslateService } from '@ngx-translate/core'; import { Dates } from 'app/core/utils/dates'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FloatingRatePeriodDialogComponent } from '../floating-rate-period-dialog/floating-rate-period-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatMiniFabButton, MatIconButton, MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Floating Rate Component. @@ -23,7 +42,30 @@ import { FloatingRatePeriodDialogComponent } from '../floating-rate-period-dialo @Component({ selector: 'mifosx-edit-floating-rate', templateUrl: './edit-floating-rate.component.html', - styleUrls: ['./edit-floating-rate.component.scss'] + styleUrls: ['./edit-floating-rate.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + MatDivider, + MatMiniFabButton, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe + ] }) export class EditFloatingRateComponent implements OnInit { /** Floating Rate Form. */ diff --git a/src/app/products/floating-rates/floating-rate-period-dialog/floating-rate-period-dialog.component.ts b/src/app/products/floating-rates/floating-rate-period-dialog/floating-rate-period-dialog.component.ts index df75ae718..e1fd03e0a 100644 --- a/src/app/products/floating-rates/floating-rate-period-dialog/floating-rate-period-dialog.component.ts +++ b/src/app/products/floating-rates/floating-rate-period-dialog/floating-rate-period-dialog.component.ts @@ -1,8 +1,18 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { + MAT_DIALOG_DATA, + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Floating Rate Period Dialog Component. @@ -10,7 +20,16 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-floating-rate-period-dialog', templateUrl: './floating-rate-period-dialog.component.html', - styleUrls: ['./floating-rate-period-dialog.component.scss'] + styleUrls: ['./floating-rate-period-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatCheckbox, + MatDialogActions, + MatDialogClose + ] }) export class FloatingRatePeriodDialogComponent implements OnInit { /** Floating Rate Period Form. */ diff --git a/src/app/products/floating-rates/floating-rates.component.ts b/src/app/products/floating-rates/floating-rates.component.ts index 29d5bdc7e..4ed8e6ca4 100644 --- a/src/app/products/floating-rates/floating-rates.component.ts +++ b/src/app/products/floating-rates/floating-rates.component.ts @@ -1,9 +1,24 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Floating Rates Component. @@ -11,7 +26,25 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-floating-rates', templateUrl: './floating-rates.component.html', - styleUrls: ['./floating-rates.component.scss'] + styleUrls: ['./floating-rates.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class FloatingRatesComponent implements OnInit { /** Floating Rates data. */ diff --git a/src/app/products/floating-rates/view-floating-rate/view-floating-rate.component.ts b/src/app/products/floating-rates/view-floating-rate/view-floating-rate.component.ts index a8b84b0cf..97e8e3a85 100644 --- a/src/app/products/floating-rates/view-floating-rate/view-floating-rate.component.ts +++ b/src/app/products/floating-rates/view-floating-rate/view-floating-rate.component.ts @@ -1,9 +1,28 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, DecimalPipe } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Floating Rate Component. @@ -11,7 +30,29 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-view-floating-rate', templateUrl: './view-floating-rate.component.html', - styleUrls: ['./view-floating-rate.component.scss'] + styleUrls: ['./view-floating-rate.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DecimalPipe, + DateFormatPipe, + YesnoPipe + ] }) export class ViewFloatingRateComponent implements OnInit { /** Floating Rate Data. */ diff --git a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts index 4354aa789..5ebedfe8c 100644 --- a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts +++ b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts @@ -19,11 +19,57 @@ import { import { LoanProducts } from '../../loan-products'; import { CodeName, OptionData, StringEnumOptionData } from '../../../../shared/models/option-data.model'; import { Accounting } from 'app/core/utils/accounting'; +import { NgIf, NgFor, DecimalPipe } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { LongTextComponent } from '../../../../shared/long-text/long-text.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatAccordion } from '@angular/material/expansion'; +import { ViewAdvancePaymenyAllocationComponent } from '../../view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component'; +import { GlAccountDisplayComponent } from '../../../../shared/accounting/gl-account-display/gl-account-display.component'; +import { ChargesPenaltyFilterPipe } from '../../../../pipes/charges-penalty-filter.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-summary', templateUrl: './loan-product-summary.component.html', - styleUrls: ['./loan-product-summary.component.scss'] + styleUrls: ['./loan-product-summary.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + LongTextComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatAccordion, + ViewAdvancePaymenyAllocationComponent, + GlAccountDisplayComponent, + DecimalPipe, + ChargesPenaltyFilterPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class LoanProductSummaryComponent implements OnInit, OnChanges { @Input() action: string; diff --git a/src/app/products/loan-products/create-loan-product/create-loan-product.component.ts b/src/app/products/loan-products/create-loan-product/create-loan-product.component.ts index f09bb2fef..2a46c8be6 100644 --- a/src/app/products/loan-products/create-loan-product/create-loan-product.component.ts +++ b/src/app/products/loan-products/create-loan-product/create-loan-product.component.ts @@ -24,11 +24,36 @@ import { Accounting } from 'app/core/utils/accounting'; import { StringEnumOptionData } from '../../../shared/models/option-data.model'; import { LoanProductCapitalizedIncomeStepComponent } from '../loan-product-stepper/loan-product-capitalized-income-step/loan-product-capitalized-income-step.component'; import { UntypedFormGroup } from '@angular/forms'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { LoanProductPaymentStrategyStepComponent } from '../loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component'; +import { StepperButtonsComponent } from '../../../shared/steppers/stepper-buttons/stepper-buttons.component'; +import { LoanProductPreviewStepComponent } from '../loan-product-stepper/loan-product-preview-step/loan-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-loan-product', templateUrl: './create-loan-product.component.html', - styleUrls: ['./create-loan-product.component.scss'] + styleUrls: ['./create-loan-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + LoanProductDetailsStepComponent, + LoanProductCurrencyStepComponent, + LoanProductSettingsStepComponent, + LoanProductInterestRefundStepComponent, + LoanProductPaymentStrategyStepComponent, + StepperButtonsComponent, + LoanProductTermsStepComponent, + LoanProductChargesStepComponent, + LoanProductCapitalizedIncomeStepComponent, + LoanProductAccountingStepComponent, + LoanProductPreviewStepComponent + ] }) export class CreateLoanProductComponent implements OnInit { @ViewChild(LoanProductDetailsStepComponent, { static: true }) loanProductDetailsStep: LoanProductDetailsStepComponent; diff --git a/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.ts b/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.ts index a0b5a4bda..11521d86e 100644 --- a/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.ts +++ b/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.ts @@ -27,11 +27,36 @@ import { LoanProductInterestRefundStepComponent } from '../loan-product-stepper/ import { StringEnumOptionData } from '../../../shared/models/option-data.model'; import { LoanProductCapitalizedIncomeStepComponent } from '../loan-product-stepper/loan-product-capitalized-income-step/loan-product-capitalized-income-step.component'; import { UntypedFormGroup } from '@angular/forms'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { StepperButtonsComponent } from '../../../shared/steppers/stepper-buttons/stepper-buttons.component'; +import { LoanProductPaymentStrategyStepComponent } from '../loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component'; +import { LoanProductPreviewStepComponent } from '../loan-product-stepper/loan-product-preview-step/loan-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-loan-product', templateUrl: './edit-loan-product.component.html', - styleUrls: ['./edit-loan-product.component.scss'] + styleUrls: ['./edit-loan-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + LoanProductDetailsStepComponent, + LoanProductCurrencyStepComponent, + LoanProductSettingsStepComponent, + LoanProductInterestRefundStepComponent, + StepperButtonsComponent, + LoanProductPaymentStrategyStepComponent, + LoanProductTermsStepComponent, + LoanProductChargesStepComponent, + LoanProductCapitalizedIncomeStepComponent, + LoanProductAccountingStepComponent, + LoanProductPreviewStepComponent + ] }) export class EditLoanProductComponent implements OnInit { @ViewChild(LoanProductDetailsStepComponent, { static: true }) loanProductDetailsStep: LoanProductDetailsStepComponent; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts index f09f953bb..a28d50813 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts @@ -1,5 +1,12 @@ import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core'; -import { UntypedFormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormArray, + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; @@ -10,11 +17,55 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { ChargeOffReasonToExpenseAccountMapping } from 'app/shared/models/general.model'; import { CapitalizedIncome } from '../loan-product-payment-strategy-step/payment-allocation-model'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { GlAccountSelectorComponent } from '../../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-accounting-step', templateUrl: './loan-product-accounting-step.component.html', - styleUrls: ['./loan-product-accounting-step.component.scss'] + styleUrls: ['./loan-product-accounting-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatDivider, + MatCheckbox, + GlAccountSelectorComponent, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe + ] }) export class LoanProductAccountingStepComponent implements OnInit, OnChanges { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-capitalized-income-step/loan-product-capitalized-income-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-capitalized-income-step/loan-product-capitalized-income-step.component.ts index 1b56612d8..d9fe6cc3a 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-capitalized-income-step/loan-product-capitalized-income-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-capitalized-income-step/loan-product-capitalized-income-step.component.ts @@ -1,12 +1,24 @@ import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormBuilder, + UntypedFormControl, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { CapitalizedIncome } from '../loan-product-payment-strategy-step/payment-allocation-model'; import { StringEnumOptionData } from 'app/shared/models/option-data.model'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-capitalized-income-step', templateUrl: './loan-product-capitalized-income-step.component.html', - styleUrls: ['./loan-product-capitalized-income-step.component.scss'] + styleUrls: ['./loan-product-capitalized-income-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class LoanProductCapitalizedIncomeStepComponent implements OnChanges { @Input() capitalizedIncome: CapitalizedIncome; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.ts index a34db0bf4..d236fb500 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.ts @@ -4,11 +4,52 @@ import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../../pipes/charges-filter.pipe'; +import { ChargesPenaltyFilterPipe } from '../../../../pipes/charges-penalty-filter.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-charges-step', templateUrl: './loan-product-charges-step.component.html', - styleUrls: ['./loan-product-charges-step.component.scss'] + styleUrls: ['./loan-product-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatDivider, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe, + ChargesPenaltyFilterPipe, + FormatNumberPipe + ] }) export class LoanProductChargesStepComponent implements OnInit { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts index aae493cf1..af84f34f3 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-currency-step', templateUrl: './loan-product-currency-step.component.html', - styleUrls: ['./loan-product-currency-step.component.scss'] + styleUrls: ['./loan-product-currency-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class LoanProductCurrencyStepComponent implements OnInit { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.ts index bff24e892..ff2138ea4 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.ts @@ -1,15 +1,30 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-details-step', templateUrl: './loan-product-details-step.component.html', - styleUrls: ['./loan-product-details-step.component.scss'] + styleUrls: ['./loan-product-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + CdkTextareaAutosize, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class LoanProductDetailsStepComponent implements OnInit { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-interest-refund-step/loan-product-interest-refund-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-interest-refund-step/loan-product-interest-refund-step.component.ts index 72f202472..7a5dd7de2 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-interest-refund-step/loan-product-interest-refund-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-interest-refund-step/loan-product-interest-refund-step.component.ts @@ -1,11 +1,17 @@ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, ReactiveFormsModule } from '@angular/forms'; import { StringEnumOptionData } from '../../../../shared/models/option-data.model'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-interest-refund-step', templateUrl: './loan-product-interest-refund-step.component.html', - styleUrls: ['./loan-product-interest-refund-step.component.scss'] + styleUrls: ['./loan-product-interest-refund-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip + ] }) export class LoanProductInterestRefundStepComponent implements OnInit { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.ts index fa18fb14d..ec44dc020 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.ts @@ -1,8 +1,19 @@ -import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop'; +import { CdkDragDrop, moveItemInArray, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop'; import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'; -import { UntypedFormControl, Validators } from '@angular/forms'; +import { UntypedFormControl, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatTable } from '@angular/material/table'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { @@ -14,11 +25,29 @@ import { PaymentAllocationOrder, PaymentAllocationTransactionType } from '../payment-allocation-model'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-advance-payment-allocation-tab', templateUrl: './advance-payment-allocation-tab.component.html', - styleUrls: ['./advance-payment-allocation-tab.component.scss'] + styleUrls: ['./advance-payment-allocation-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + CdkDropList, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + CdkDrag + ] }) export class AdvancePaymentAllocationTabComponent implements OnInit { @Input() advancedPaymentAllocation: AdvancedPaymentAllocation; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.ts index ce5dbb2e0..e335ed5ff 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.ts @@ -13,13 +13,29 @@ import { MatDialog } from '@angular/material/dialog'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; -import { MatTabGroup } from '@angular/material/tabs'; +import { MatTabGroup, MatTab, MatTabLabel, MatTabContent } from '@angular/material/tabs'; import { TranslateService } from '@ngx-translate/core'; +import { AdvancePaymentAllocationTabComponent } from './advance-payment-allocation-tab/advance-payment-allocation-tab.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-payment-strategy-step', templateUrl: './loan-product-payment-strategy-step.component.html', - styleUrls: ['./loan-product-payment-strategy-step.component.scss'] + styleUrls: ['./loan-product-payment-strategy-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabGroup, + MatTab, + MatTabLabel, + AdvancePaymentAllocationTabComponent, + MatIconButton, + MatIcon, + FaIconComponent, + MatTabContent + ] }) export class LoanProductPaymentStrategyStepComponent implements OnInit { @Input() advancedPaymentAllocations: AdvancedPaymentAllocation[] = []; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-preview-step/loan-product-preview-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-preview-step/loan-product-preview-step.component.ts index 5c861b501..8c0fcde80 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-preview-step/loan-product-preview-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-preview-step/loan-product-preview-step.component.ts @@ -1,10 +1,20 @@ import { Component, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { LoanProducts } from '../../loan-products'; +import { LoanProductSummaryComponent } from '../../common/loan-product-summary/loan-product-summary.component'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-preview-step', templateUrl: './loan-product-preview-step.component.html', - styleUrls: ['./loan-product-preview-step.component.scss'] + styleUrls: ['./loan-product-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + LoanProductSummaryComponent, + MatStepperPrevious, + FaIconComponent + ] }) export class LoanProductPreviewStepComponent implements OnInit, OnChanges { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts index d650b5407..cd3665d81 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts @@ -1,15 +1,38 @@ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { LoanProducts } from '../../loan-products'; import { rangeValidator } from 'app/shared/validators/percentage.validator'; import { GlobalConfiguration } from 'app/system/configurations/global-configurations-tab/configuration.model'; import { CodeName, OptionData, StringEnumOptionData } from 'app/shared/models/option-data.model'; import { ProcessingStrategyService } from '../../services/processing-strategy.service'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-settings-step', templateUrl: './loan-product-settings-step.component.html', - styleUrls: ['./loan-product-settings-step.component.scss'] + styleUrls: ['./loan-product-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + MatDivider, + MatIconButton, + FaIconComponent, + MatStepperPrevious, + MatStepperNext + ] }) export class LoanProductSettingsStepComponent implements OnInit { DAYS_BEFORE_REPAYMENT_IS_DUE = LoanProducts.DAYS_BEFORE_REPAYMENT_IS_DUE; diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.ts index c891e430b..5e2461a41 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.ts @@ -1,5 +1,12 @@ import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormArray, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormArray, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; @@ -10,11 +17,52 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { ProcessingStrategyService } from '../../services/processing-strategy.service'; import { TranslateService } from '@ngx-translate/core'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-product-terms-step', templateUrl: './loan-product-terms-step.component.html', - styleUrls: ['./loan-product-terms-step.component.scss'] + styleUrls: ['./loan-product-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + MatDivider, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe + ] }) export class LoanProductTermsStepComponent implements OnInit, OnChanges { @Input() loanProductsTemplate: any; diff --git a/src/app/products/loan-products/loan-products.component.ts b/src/app/products/loan-products/loan-products.component.ts index d60605a4d..007a3ff93 100644 --- a/src/app/products/loan-products/loan-products.component.ts +++ b/src/app/products/loan-products/loan-products.component.ts @@ -1,18 +1,55 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /* Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-products', templateUrl: './loan-products.component.html', - styleUrls: ['./loan-products.component.scss'] + styleUrls: ['./loan-products.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe, + DateFormatPipe + ] }) export class LoanProductsComponent implements OnInit, AfterViewInit { loanProductsData: any; diff --git a/src/app/products/loan-products/view-loan-product/datatable-tab/datatable-tab.component.ts b/src/app/products/loan-products/view-loan-product/datatable-tab/datatable-tab.component.ts index a1952df62..b1c2451c4 100644 --- a/src/app/products/loan-products/view-loan-product/datatable-tab/datatable-tab.component.ts +++ b/src/app/products/loan-products/view-loan-product/datatable-tab/datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-tab', templateUrl: './datatable-tab.component.html', - styleUrls: ['./datatable-tab.component.scss'] + styleUrls: ['./datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabComponent { entityId: string; diff --git a/src/app/products/loan-products/view-loan-product/general-tab/general-tab.component.ts b/src/app/products/loan-products/view-loan-product/general-tab/general-tab.component.ts index cd2ce4efb..6e47f7f9b 100644 --- a/src/app/products/loan-products/view-loan-product/general-tab/general-tab.component.ts +++ b/src/app/products/loan-products/view-loan-product/general-tab/general-tab.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { LoanProduct } from '../../models/loan-product.model'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; @@ -8,11 +8,19 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { MatDialog } from '@angular/material/dialog'; import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { LoanProductSummaryComponent } from '../../common/loan-product-summary/loan-product-summary.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + LoanProductSummaryComponent + ] }) export class GeneralTabComponent implements OnInit { loanProduct: LoanProduct; diff --git a/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.ts b/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.ts index 71608be84..224aa5a9d 100644 --- a/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.ts +++ b/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.ts @@ -4,11 +4,19 @@ import { CreditAllocation, PaymentAllocation } from 'app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/payment-allocation-model'; +import { MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle } from '@angular/material/expansion'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-advance-paymeny-allocation', templateUrl: './view-advance-paymeny-allocation.component.html', - styleUrls: ['./view-advance-paymeny-allocation.component.scss'] + styleUrls: ['./view-advance-paymeny-allocation.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle + ] }) export class ViewAdvancePaymenyAllocationComponent { @Input() paymentAllocation: PaymentAllocation | null; diff --git a/src/app/products/loan-products/view-loan-product/view-loan-product.component.ts b/src/app/products/loan-products/view-loan-product/view-loan-product.component.ts index 4adcef48e..8d6614e14 100644 --- a/src/app/products/loan-products/view-loan-product/view-loan-product.component.ts +++ b/src/app/products/loan-products/view-loan-product/view-loan-product.component.ts @@ -1,10 +1,20 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-loan-product', templateUrl: './view-loan-product.component.html', - styleUrls: ['./view-loan-product.component.scss'] + styleUrls: ['./view-loan-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewLoanProductComponent { loanProductDatatables: any = []; diff --git a/src/app/products/manage-delinquency-buckets/delinquency-bucket/create-bucket/create-bucket.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-bucket/create-bucket/create-bucket.component.ts index d418692ca..1276a69ce 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-bucket/create-bucket/create-bucket.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-bucket/create-bucket/create-bucket.component.ts @@ -1,18 +1,52 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { ProductsService } from 'app/products/products.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-bucket', templateUrl: './create-bucket.component.html', - styleUrls: ['./create-bucket.component.scss'] + styleUrls: ['./create-bucket.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe + ] }) export class CreateBucketComponent implements OnInit { /** Delinquency Bucket form. */ diff --git a/src/app/products/manage-delinquency-buckets/delinquency-bucket/delinquency-bucket.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-bucket/delinquency-bucket.component.ts index de691833f..a87b3f16e 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-bucket/delinquency-bucket.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-bucket/delinquency-bucket.component.ts @@ -1,13 +1,44 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-delinquency-bucket', templateUrl: './delinquency-bucket.component.html', - styleUrls: ['./delinquency-bucket.component.scss'] + styleUrls: ['./delinquency-bucket.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class DelinquencyBucketComponent implements OnInit { delinquencyBucketData: any; diff --git a/src/app/products/manage-delinquency-buckets/delinquency-bucket/edit-bucket/edit-bucket.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-bucket/edit-bucket/edit-bucket.component.ts index a00562cde..9ce1b68c7 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-bucket/edit-bucket/edit-bucket.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-bucket/edit-bucket/edit-bucket.component.ts @@ -1,18 +1,52 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { ProductsService } from 'app/products/products.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-bucket', templateUrl: './edit-bucket.component.html', - styleUrls: ['./edit-bucket.component.scss'] + styleUrls: ['./edit-bucket.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe + ] }) export class EditBucketComponent implements OnInit { /** Delinquency Bucket form. */ diff --git a/src/app/products/manage-delinquency-buckets/delinquency-bucket/view-bucket/view-bucket.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-bucket/view-bucket/view-bucket.component.ts index 92cf381b6..e9e524fd5 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-bucket/view-bucket/view-bucket.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-bucket/view-bucket/view-bucket.component.ts @@ -1,13 +1,19 @@ import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { ProductsService } from 'app/products/products.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-bucket', templateUrl: './view-bucket.component.html', - styleUrls: ['./view-bucket.component.scss'] + styleUrls: ['./view-bucket.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewBucketComponent { /** Delinquency Bucket Data. */ diff --git a/src/app/products/manage-delinquency-buckets/delinquency-range/create-range/create-range.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-range/create-range/create-range.component.ts index 0eeff6ae7..d22d9275d 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-range/create-range/create-range.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-range/create-range/create-range.component.ts @@ -1,13 +1,17 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-range', templateUrl: './create-range.component.html', - styleUrls: ['./create-range.component.scss'] + styleUrls: ['./create-range.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateRangeComponent implements OnInit { /** Delinquency Range form. */ diff --git a/src/app/products/manage-delinquency-buckets/delinquency-range/delinquency-range.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-range/delinquency-range.component.ts index b8a03cf16..1a1d9b730 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-range/delinquency-range.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-range/delinquency-range.component.ts @@ -1,13 +1,44 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-delinquency-range', templateUrl: './delinquency-range.component.html', - styleUrls: ['./delinquency-range.component.scss'] + styleUrls: ['./delinquency-range.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class DelinquencyRangeComponent implements OnInit { delinquencyRangeData: any; diff --git a/src/app/products/manage-delinquency-buckets/delinquency-range/edit-range/edit-range.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-range/edit-range/edit-range.component.ts index 6ad63bf94..42494824e 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-range/edit-range/edit-range.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-range/edit-range/edit-range.component.ts @@ -1,13 +1,17 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-range', templateUrl: './edit-range.component.html', - styleUrls: ['./edit-range.component.scss'] + styleUrls: ['./edit-range.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditRangeComponent implements OnInit { /** Delinquency Range Data. */ diff --git a/src/app/products/manage-delinquency-buckets/delinquency-range/view-range/view-range.component.ts b/src/app/products/manage-delinquency-buckets/delinquency-range/view-range/view-range.component.ts index 11937fc24..208b49bd9 100644 --- a/src/app/products/manage-delinquency-buckets/delinquency-range/view-range/view-range.component.ts +++ b/src/app/products/manage-delinquency-buckets/delinquency-range/view-range/view-range.component.ts @@ -1,13 +1,19 @@ import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { ProductsService } from 'app/products/products.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-range', templateUrl: './view-range.component.html', - styleUrls: ['./view-range.component.scss'] + styleUrls: ['./view-range.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewRangeComponent { /** Delinquency Range Data. */ diff --git a/src/app/products/manage-delinquency-buckets/manage-delinquency-buckets.component.ts b/src/app/products/manage-delinquency-buckets/manage-delinquency-buckets.component.ts index 3b6fe6c9e..8d7395ab9 100644 --- a/src/app/products/manage-delinquency-buckets/manage-delinquency-buckets.component.ts +++ b/src/app/products/manage-delinquency-buckets/manage-delinquency-buckets.component.ts @@ -1,9 +1,22 @@ import { Component } from '@angular/core'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-manage-delinquency-buckets', templateUrl: './manage-delinquency-buckets.component.html', - styleUrls: ['./manage-delinquency-buckets.component.scss'] + styleUrls: ['./manage-delinquency-buckets.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class ManageDelinquencyBucketsComponent { // Initialize an array of 2 boolean values, all set to false diff --git a/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.ts b/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.ts index 5839a85df..f3593c64b 100644 --- a/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.ts +++ b/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.ts @@ -1,12 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from '../../products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { GlAccountSelectorComponent } from '../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Tax Component component. @@ -14,7 +22,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-tax-component', templateUrl: './create-tax-component.component.html', - styleUrls: ['./create-tax-component.component.scss'] + styleUrls: ['./create-tax-component.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountSelectorComponent + ] }) export class CreateTaxComponentComponent implements OnInit { /** Minimum start date allowed. */ diff --git a/src/app/products/manage-tax-components/edit-tax-component/edit-tax-component.component.ts b/src/app/products/manage-tax-components/edit-tax-component/edit-tax-component.component.ts index 245f2b1d7..ef3ad80b1 100644 --- a/src/app/products/manage-tax-components/edit-tax-component/edit-tax-component.component.ts +++ b/src/app/products/manage-tax-components/edit-tax-component/edit-tax-component.component.ts @@ -1,13 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from '../../products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit tax component. @@ -15,7 +16,10 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-edit-tax-component', templateUrl: './edit-tax-component.component.html', - styleUrls: ['./edit-tax-component.component.scss'] + styleUrls: ['./edit-tax-component.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditTaxComponentComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/products/manage-tax-components/manage-tax-components.component.ts b/src/app/products/manage-tax-components/manage-tax-components.component.ts index c8db7eb6d..166d8bd4b 100644 --- a/src/app/products/manage-tax-components/manage-tax-components.component.ts +++ b/src/app/products/manage-tax-components/manage-tax-components.component.ts @@ -1,12 +1,28 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Tax Components component. @@ -14,7 +30,26 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-manage-tax-components', templateUrl: './manage-tax-components.component.html', - styleUrls: ['./manage-tax-components.component.scss'] + styleUrls: ['./manage-tax-components.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + FormatNumberPipe + ] }) export class ManageTaxComponentsComponent implements OnInit { /** Tax Components data. */ diff --git a/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.ts b/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.ts index 064c85122..65662a878 100644 --- a/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.ts +++ b/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.ts @@ -1,6 +1,10 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View tax Component component. @@ -8,7 +12,13 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-tax-component', templateUrl: './view-tax-component.component.html', - styleUrls: ['./view-tax-component.component.scss'] + styleUrls: ['./view-tax-component.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe, + FormatNumberPipe + ] }) export class ViewTaxComponentComponent { /** tax Component Data. */ diff --git a/src/app/products/manage-tax-configurations/manage-tax-configurations.component.ts b/src/app/products/manage-tax-configurations/manage-tax-configurations.component.ts index 091e86bb1..c506372c3 100644 --- a/src/app/products/manage-tax-configurations/manage-tax-configurations.component.ts +++ b/src/app/products/manage-tax-configurations/manage-tax-configurations.component.ts @@ -1,12 +1,25 @@ /** Angular Imports */ import { Component } from '@angular/core'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Tax Configurations component. */ @Component({ selector: 'mifosx-manage-tax-configurations', - templateUrl: './manage-tax-configurations.component.html' + templateUrl: './manage-tax-configurations.component.html', + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class ManageTaxConfigurationsComponent { // Initialize an array of 2 boolean values, all set to false diff --git a/src/app/products/manage-tax-groups/create-tax-group/create-tax-group.component.ts b/src/app/products/manage-tax-groups/create-tax-group/create-tax-group.component.ts index 637d84360..a22bc9e6c 100644 --- a/src/app/products/manage-tax-groups/create-tax-group/create-tax-group.component.ts +++ b/src/app/products/manage-tax-groups/create-tax-group/create-tax-group.component.ts @@ -1,7 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, FormArray } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + FormControl, + FormArray, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -16,6 +23,23 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Tax Group component. @@ -23,7 +47,24 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-create-tax-group', templateUrl: './create-tax-group.component.html', - styleUrls: ['./create-tax-group.component.scss'] + styleUrls: ['./create-tax-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe, + DateFormatPipe + ] }) export class CreateTaxGroupComponent implements OnInit { /** Minimum start date allowed. */ diff --git a/src/app/products/manage-tax-groups/edit-tax-group/edit-tax-group.component.ts b/src/app/products/manage-tax-groups/edit-tax-group/edit-tax-group.component.ts index cbdf25976..dbebd3981 100644 --- a/src/app/products/manage-tax-groups/edit-tax-group/edit-tax-group.component.ts +++ b/src/app/products/manage-tax-groups/edit-tax-group/edit-tax-group.component.ts @@ -1,8 +1,8 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; @@ -16,6 +16,24 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Tax Group component. @@ -23,7 +41,25 @@ import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; @Component({ selector: 'mifosx-edit-tax-group', templateUrl: './edit-tax-group.component.html', - styleUrls: ['./edit-tax-group.component.scss'] + styleUrls: ['./edit-tax-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FindPipe, + DateFormatPipe + ] }) export class EditTaxGroupComponent implements OnInit { /** Minimum start date allowed. */ diff --git a/src/app/products/manage-tax-groups/manage-tax-groups.component.ts b/src/app/products/manage-tax-groups/manage-tax-groups.component.ts index 96c08c015..b65d4942b 100644 --- a/src/app/products/manage-tax-groups/manage-tax-groups.component.ts +++ b/src/app/products/manage-tax-groups/manage-tax-groups.component.ts @@ -1,12 +1,26 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Tax Groups component. @@ -14,7 +28,24 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-manage-tax-groups', templateUrl: './manage-tax-groups.component.html', - styleUrls: ['./manage-tax-groups.component.scss'] + styleUrls: ['./manage-tax-groups.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageTaxGroupsComponent implements OnInit { /** Tax Groups data. */ diff --git a/src/app/products/manage-tax-groups/view-tax-group/view-tax-group.component.ts b/src/app/products/manage-tax-groups/view-tax-group/view-tax-group.component.ts index 2c2e2e097..98d9c3bf2 100644 --- a/src/app/products/manage-tax-groups/view-tax-group/view-tax-group.component.ts +++ b/src/app/products/manage-tax-groups/view-tax-group/view-tax-group.component.ts @@ -1,6 +1,9 @@ /** Angular Imports. */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Tax Group component. @@ -8,7 +11,12 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-tax-group', templateUrl: './view-tax-group.component.html', - styleUrls: ['./view-tax-group.component.scss'] + styleUrls: ['./view-tax-group.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe + ] }) export class ViewTaxGroupComponent { /** tax Group Data. */ diff --git a/src/app/products/products-mix/create-product-mix/create-product-mix.component.ts b/src/app/products/products-mix/create-product-mix/create-product-mix.component.ts index 6a4c785b0..c17da579a 100644 --- a/src/app/products/products-mix/create-product-mix/create-product-mix.component.ts +++ b/src/app/products/products-mix/create-product-mix/create-product-mix.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from '../../products.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Product mix component. @@ -12,7 +13,10 @@ import { ProductsService } from '../../products.service'; @Component({ selector: 'mifosx-create-product-mix', templateUrl: './create-product-mix.component.html', - styleUrls: ['./create-product-mix.component.scss'] + styleUrls: ['./create-product-mix.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateProductMixComponent implements OnInit { /** Product mix form. */ diff --git a/src/app/products/products-mix/edit-product-mix/edit-product-mix.component.ts b/src/app/products/products-mix/edit-product-mix/edit-product-mix.component.ts index 4d5f30d16..92d94839f 100644 --- a/src/app/products/products-mix/edit-product-mix/edit-product-mix.component.ts +++ b/src/app/products/products-mix/edit-product-mix/edit-product-mix.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, FormControl, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ProductsService } from '../../products.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Product mix component. @@ -12,7 +13,10 @@ import { ProductsService } from '../../products.service'; @Component({ selector: 'mifosx-edit-product-mix', templateUrl: './edit-product-mix.component.html', - styleUrls: ['./edit-product-mix.component.scss'] + styleUrls: ['./edit-product-mix.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditProductMixComponent implements OnInit { /** Product mix form. */ diff --git a/src/app/products/products-mix/products-mix.component.ts b/src/app/products/products-mix/products-mix.component.ts index 16a83111d..bd68dbad1 100644 --- a/src/app/products/products-mix/products-mix.component.ts +++ b/src/app/products/products-mix/products-mix.component.ts @@ -1,12 +1,26 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Products Mix component. @@ -14,7 +28,24 @@ import { of } from 'rxjs'; @Component({ selector: 'mifosx-products-mix', templateUrl: './products-mix.component.html', - styleUrls: ['./products-mix.component.scss'] + styleUrls: ['./products-mix.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ProductsMixComponent implements OnInit { /** productMix data. */ diff --git a/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts b/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts index dc1fe733e..eae3ac7f5 100644 --- a/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts +++ b/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts @@ -2,14 +2,29 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; /** Custom Services */ import { TranslateService } from '@ngx-translate/core'; import { ProductsService } from 'app/products/products.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgClass } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View product mix component. @@ -17,7 +32,25 @@ import { ProductsService } from 'app/products/products.service'; @Component({ selector: 'mifosx-view-product-mix', templateUrl: './view-product-mix.component.html', - styleUrls: ['./view-product-mix.component.scss'] + styleUrls: ['./view-product-mix.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + NgClass, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ViewProductMixComponent implements OnInit { /** Product mix data. */ diff --git a/src/app/products/products.component.ts b/src/app/products/products.component.ts index e04c52131..566d63df2 100644 --- a/src/app/products/products.component.ts +++ b/src/app/products/products.component.ts @@ -1,10 +1,15 @@ /** Angular Imports */ import { AfterViewInit, Component, ElementRef, TemplateRef, ViewChild } from '@angular/core'; -import { Router } from '@angular/router'; +import { Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ConfigurationWizardService } from '../configuration-wizard/configuration-wizard.service'; import { PopoverService } from '../configuration-wizard/popover/popover.service'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Products component. @@ -12,7 +17,15 @@ import { PopoverService } from '../configuration-wizard/popover/popover.service' @Component({ selector: 'mifosx-products', templateUrl: './products.component.html', - styleUrls: ['./products.component.scss'] + styleUrls: ['./products.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class ProductsComponent implements AfterViewInit { /* Reference of charges */ diff --git a/src/app/products/products.module.ts b/src/app/products/products.module.ts index d473a557c..5535fbd25 100644 --- a/src/app/products/products.module.ts +++ b/src/app/products/products.module.ts @@ -133,9 +133,7 @@ import { LoanProductCapitalizedIncomeStepComponent } from './loan-products/loan- SharedModule, ProductsRoutingModule, PipesModule, - DirectivesModule - ], - declarations: [ + DirectivesModule, ProductsComponent, LoanProductsComponent, LoanProductDetailsStepComponent, diff --git a/src/app/products/recurring-deposit-products/create-recurring-deposit-product/create-recurring-deposit-product.component.ts b/src/app/products/recurring-deposit-products/create-recurring-deposit-product/create-recurring-deposit-product.component.ts index 037c774e0..a2cbe7015 100644 --- a/src/app/products/recurring-deposit-products/create-recurring-deposit-product/create-recurring-deposit-product.component.ts +++ b/src/app/products/recurring-deposit-products/create-recurring-deposit-product/create-recurring-deposit-product.component.ts @@ -15,11 +15,31 @@ import { RecurringDepositProductAccountingStepComponent } from '../recurring-dep import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { RecurringDepositProductPreviewStepComponent } from '../recurring-deposit-product-stepper/recurring-deposit-product-preview-step/recurring-deposit-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-recurring-deposit-product', templateUrl: './create-recurring-deposit-product.component.html', - styleUrls: ['./create-recurring-deposit-product.component.scss'] + styleUrls: ['./create-recurring-deposit-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + RecurringDepositProductDetailsStepComponent, + RecurringDepositProductCurrencyStepComponent, + RecurringDepositProductTermsStepComponent, + RecurringDepositProductSettingsStepComponent, + RecurringDepositProductInterestRateChartStepComponent, + RecurringDepositProductChargesStepComponent, + RecurringDepositProductAccountingStepComponent, + RecurringDepositProductPreviewStepComponent + ] }) export class CreateRecurringDepositProductComponent { @ViewChild(RecurringDepositProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/recurring-deposit-products/edit-recurring-deposit-product/edit-recurring-deposit-product.component.ts b/src/app/products/recurring-deposit-products/edit-recurring-deposit-product/edit-recurring-deposit-product.component.ts index b03a4ad53..3cf86db91 100644 --- a/src/app/products/recurring-deposit-products/edit-recurring-deposit-product/edit-recurring-deposit-product.component.ts +++ b/src/app/products/recurring-deposit-products/edit-recurring-deposit-product/edit-recurring-deposit-product.component.ts @@ -15,11 +15,31 @@ import { RecurringDepositProductAccountingStepComponent } from '../recurring-dep import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { RecurringDepositProductPreviewStepComponent } from '../recurring-deposit-product-stepper/recurring-deposit-product-preview-step/recurring-deposit-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-recurring-deposit-product', templateUrl: './edit-recurring-deposit-product.component.html', - styleUrls: ['./edit-recurring-deposit-product.component.scss'] + styleUrls: ['./edit-recurring-deposit-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + RecurringDepositProductDetailsStepComponent, + RecurringDepositProductCurrencyStepComponent, + RecurringDepositProductTermsStepComponent, + RecurringDepositProductSettingsStepComponent, + RecurringDepositProductInterestRateChartStepComponent, + RecurringDepositProductChargesStepComponent, + RecurringDepositProductAccountingStepComponent, + RecurringDepositProductPreviewStepComponent + ] }) export class EditRecurringDepositProductComponent { @ViewChild(RecurringDepositProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-accounting-step/recurring-deposit-product-accounting-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-accounting-step/recurring-deposit-product-accounting-step.component.ts index 93ce7b274..3b9b0c5db 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-accounting-step/recurring-deposit-product-accounting-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-accounting-step/recurring-deposit-product-accounting-step.component.ts @@ -1,5 +1,12 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormArray, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; @@ -9,11 +16,55 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { Accounting } from 'app/core/utils/accounting'; import { TranslateService } from '@ngx-translate/core'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatDivider } from '@angular/material/divider'; +import { GlAccountSelectorComponent } from '../../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-accounting-step', templateUrl: './recurring-deposit-product-accounting-step.component.html', - styleUrls: ['./recurring-deposit-product-accounting-step.component.scss'] + styleUrls: ['./recurring-deposit-product-accounting-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatDivider, + GlAccountSelectorComponent, + MatCheckbox, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe + ] }) export class RecurringDepositProductAccountingStepComponent implements OnInit { @Input() recurringDepositProductsTemplate: any; diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-charges-step/recurring-deposit-product-charges-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-charges-step/recurring-deposit-product-charges-step.component.ts index bfac238b1..6fe08177a 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-charges-step/recurring-deposit-product-charges-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-charges-step/recurring-deposit-product-charges-step.component.ts @@ -4,11 +4,46 @@ import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../../pipes/charges-filter.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-charges-step', templateUrl: './recurring-deposit-product-charges-step.component.html', - styleUrls: ['./recurring-deposit-product-charges-step.component.scss'] + styleUrls: ['./recurring-deposit-product-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe + ] }) export class RecurringDepositProductChargesStepComponent implements OnInit { @Input() recurringDepositProductsTemplate: any; diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.ts index 36d6a9cb9..896c34b33 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-currency-step', templateUrl: './recurring-deposit-product-currency-step.component.html', - styleUrls: ['./recurring-deposit-product-currency-step.component.scss'] + styleUrls: ['./recurring-deposit-product-currency-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositProductCurrencyStepComponent implements OnInit { @Input() recurringDepositProductsTemplate: any; diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-details-step/recurring-deposit-product-details-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-details-step/recurring-deposit-product-details-step.component.ts index 163184ce2..7fd759aa3 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-details-step/recurring-deposit-product-details-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-details-step/recurring-deposit-product-details-step.component.ts @@ -1,10 +1,23 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-details-step', templateUrl: './recurring-deposit-product-details-step.component.html', - styleUrls: ['./recurring-deposit-product-details-step.component.scss'] + styleUrls: ['./recurring-deposit-product-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + CdkTextareaAutosize, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositProductDetailsStepComponent implements OnInit { @Input() recurringDepositProductsTemplate: any; diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts index c259f582d..64083bf3a 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts @@ -1,6 +1,12 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormArray } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormArray, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { animate, state, style, transition, trigger } from '@angular/animations'; @@ -17,6 +23,27 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgFor, NgIf, NgSwitch, NgSwitchCase } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-interest-rate-chart-step', @@ -28,6 +55,29 @@ import { TranslateService } from '@ngx-translate/core'; state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatIconButton, + MatTooltip, + MatCheckbox, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgSwitch, + NgSwitchCase, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe ] }) export class RecurringDepositProductInterestRateChartStepComponent implements OnInit { diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-preview-step/recurring-deposit-product-preview-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-preview-step/recurring-deposit-product-preview-step.component.ts index e5c839e38..965a30601 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-preview-step/recurring-deposit-product-preview-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-preview-step/recurring-deposit-product-preview-step.component.ts @@ -2,6 +2,28 @@ import { Component, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChange import { trigger, state, transition, animate, style } from '@angular/animations'; import { OptionData } from 'app/shared/models/option-data.model'; import { Accounting } from 'app/core/utils/accounting'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgFor, NgSwitch, NgSwitchCase } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ViewSavingsAccountingDetailsComponent } from '../../../../shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-preview-step', @@ -13,6 +35,29 @@ import { Accounting } from 'app/core/utils/accounting'; state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FaIconComponent, + NgSwitch, + NgSwitchCase, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ViewSavingsAccountingDetailsComponent, + MatStepperPrevious, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class RecurringDepositProductPreviewStepComponent implements OnInit, OnChanges { diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-settings-step/recurring-deposit-product-settings-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-settings-step/recurring-deposit-product-settings-step.component.ts index 985d4a99a..1df538935 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-settings-step/recurring-deposit-product-settings-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-settings-step/recurring-deposit-product-settings-step.component.ts @@ -1,10 +1,31 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-settings-step', templateUrl: './recurring-deposit-product-settings-step.component.html', - styleUrls: ['./recurring-deposit-product-settings-step.component.scss'] + styleUrls: ['./recurring-deposit-product-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatTooltip, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositProductSettingsStepComponent implements OnInit { @Input() recurringDepositProductsTemplate: any; diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-terms-step/recurring-deposit-product-terms-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-terms-step/recurring-deposit-product-terms-step.component.ts index 705895d52..fd38ece54 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-terms-step/recurring-deposit-product-terms-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-terms-step/recurring-deposit-product-terms-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-product-terms-step', templateUrl: './recurring-deposit-product-terms-step.component.html', - styleUrls: ['./recurring-deposit-product-terms-step.component.scss'] + styleUrls: ['./recurring-deposit-product-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class RecurringDepositProductTermsStepComponent implements OnInit { @Input() recurringDepositProductsTemplate: any; diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-products.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-products.component.ts index f21f00e54..7de5753b5 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-products.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-products.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** rxjs Imports */ @@ -15,6 +27,9 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura /** Custom Dialog Component */ import { NextStepDialogComponent } from '../../configuration-wizard/next-step-dialog/next-step-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Recurring Deposit Products component. @@ -22,7 +37,25 @@ import { NextStepDialogComponent } from '../../configuration-wizard/next-step-di @Component({ selector: 'mifosx-recurring-deposit-products', templateUrl: './recurring-deposit-products.component.html', - styleUrls: ['./recurring-deposit-products.component.scss'] + styleUrls: ['./recurring-deposit-products.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class RecurringDepositProductsComponent implements OnInit, AfterViewInit { /** Data table data. */ diff --git a/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-datatable-tab/recurring-deposit-datatable-tab.component.ts b/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-datatable-tab/recurring-deposit-datatable-tab.component.ts index 5020799b4..600266028 100644 --- a/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-datatable-tab/recurring-deposit-datatable-tab.component.ts +++ b/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-datatable-tab/recurring-deposit-datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-datatable-tab', templateUrl: './recurring-deposit-datatable-tab.component.html', - styleUrls: ['./recurring-deposit-datatable-tab.component.scss'] + styleUrls: ['./recurring-deposit-datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class RecurringDepositDatatableTabComponent { entityId: string; diff --git a/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-general-tab/recurring-deposit-general-tab.component.ts b/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-general-tab/recurring-deposit-general-tab.component.ts index 3a4c61527..7fc623daf 100644 --- a/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-general-tab/recurring-deposit-general-tab.component.ts +++ b/src/app/products/recurring-deposit-products/view-recurring-deposit-product/recurring-deposit-general-tab/recurring-deposit-general-tab.component.ts @@ -1,6 +1,27 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { trigger, state, transition, animate, style } from '@angular/animations'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgSwitch, NgSwitchCase } from '@angular/common'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ViewSavingsAccountingDetailsComponent } from '../../../../shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-recurring-deposit-general-tab', @@ -12,6 +33,28 @@ import { trigger, state, transition, animate, style } from '@angular/animations' state('expanded', style({ height: '*' })), transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgSwitch, + NgSwitchCase, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ViewSavingsAccountingDetailsComponent, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe ] }) export class RecurringDepositGeneralTabComponent { diff --git a/src/app/products/recurring-deposit-products/view-recurring-deposit-product/view-recurring-deposit-product.component.ts b/src/app/products/recurring-deposit-products/view-recurring-deposit-product/view-recurring-deposit-product.component.ts index 376fbd2a9..19840a914 100644 --- a/src/app/products/recurring-deposit-products/view-recurring-deposit-product/view-recurring-deposit-product.component.ts +++ b/src/app/products/recurring-deposit-products/view-recurring-deposit-product/view-recurring-deposit-product.component.ts @@ -1,10 +1,20 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-recurring-deposit-product', templateUrl: './view-recurring-deposit-product.component.html', - styleUrls: ['./view-recurring-deposit-product.component.scss'] + styleUrls: ['./view-recurring-deposit-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewRecurringDepositProductComponent { recurringDepositDatatables: any = []; diff --git a/src/app/products/saving-products/create-saving-product/create-saving-product.component.ts b/src/app/products/saving-products/create-saving-product/create-saving-product.component.ts index 95630df5c..91ec17918 100644 --- a/src/app/products/saving-products/create-saving-product/create-saving-product.component.ts +++ b/src/app/products/saving-products/create-saving-product/create-saving-product.component.ts @@ -14,11 +14,30 @@ import { SavingProductAccountingStepComponent } from '../saving-product-stepper/ import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SavingProductPreviewStepComponent } from '../saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-saving-product', templateUrl: './create-saving-product.component.html', - styleUrls: ['./create-saving-product.component.scss'] + styleUrls: ['./create-saving-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SavingProductDetailsStepComponent, + SavingProductCurrencyStepComponent, + SavingProductTermsStepComponent, + SavingProductSettingsStepComponent, + SavingProductChargesStepComponent, + SavingProductAccountingStepComponent, + SavingProductPreviewStepComponent + ] }) export class CreateSavingProductComponent { @ViewChild(SavingProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/saving-products/edit-saving-product/edit-saving-product.component.ts b/src/app/products/saving-products/edit-saving-product/edit-saving-product.component.ts index 547130d58..f462af8ea 100644 --- a/src/app/products/saving-products/edit-saving-product/edit-saving-product.component.ts +++ b/src/app/products/saving-products/edit-saving-product/edit-saving-product.component.ts @@ -14,11 +14,30 @@ import { SavingProductAccountingStepComponent } from '../saving-product-stepper/ import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SavingProductPreviewStepComponent } from '../saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-saving-product', templateUrl: './edit-saving-product.component.html', - styleUrls: ['./edit-saving-product.component.scss'] + styleUrls: ['./edit-saving-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SavingProductDetailsStepComponent, + SavingProductCurrencyStepComponent, + SavingProductTermsStepComponent, + SavingProductSettingsStepComponent, + SavingProductChargesStepComponent, + SavingProductAccountingStepComponent, + SavingProductPreviewStepComponent + ] }) export class EditSavingProductComponent { @ViewChild(SavingProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-accounting-step/saving-product-accounting-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-accounting-step/saving-product-accounting-step.component.ts index 43c09c9cb..400b8ce2b 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-accounting-step/saving-product-accounting-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-accounting-step/saving-product-accounting-step.component.ts @@ -1,5 +1,12 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormArray, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; @@ -8,11 +15,55 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { TranslateService } from '@ngx-translate/core'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatDivider } from '@angular/material/divider'; +import { GlAccountSelectorComponent } from '../../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-accounting-step', templateUrl: './saving-product-accounting-step.component.html', - styleUrls: ['./saving-product-accounting-step.component.scss'] + styleUrls: ['./saving-product-accounting-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatDivider, + GlAccountSelectorComponent, + MatCheckbox, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + FindPipe + ] }) export class SavingProductAccountingStepComponent implements OnInit { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.ts index 9c3b2d1bd..ccee9c8b0 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.ts @@ -4,11 +4,48 @@ import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../../pipes/charges-filter.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-charges-step', templateUrl: './saving-product-charges-step.component.html', - styleUrls: ['./saving-product-charges-step.component.scss'] + styleUrls: ['./saving-product-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe, + FormatNumberPipe + ] }) export class SavingProductChargesStepComponent implements OnInit { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-currency-step/saving-product-currency-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-currency-step/saving-product-currency-step.component.ts index 953a5a72b..df8ef887a 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-currency-step/saving-product-currency-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-currency-step/saving-product-currency-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-currency-step', templateUrl: './saving-product-currency-step.component.html', - styleUrls: ['./saving-product-currency-step.component.scss'] + styleUrls: ['./saving-product-currency-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingProductCurrencyStepComponent implements OnInit { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-details-step/saving-product-details-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-details-step/saving-product-details-step.component.ts index b59ac67d2..f4bceeef4 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-details-step/saving-product-details-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-details-step/saving-product-details-step.component.ts @@ -1,10 +1,23 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-details-step', templateUrl: './saving-product-details-step.component.html', - styleUrls: ['./saving-product-details-step.component.scss'] + styleUrls: ['./saving-product-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + CdkTextareaAutosize, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingProductDetailsStepComponent implements OnInit { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.ts index bc69b43ce..31a8f65fe 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.ts @@ -1,11 +1,51 @@ import { Component, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { Accounting } from 'app/core/utils/accounting'; import { OptionData } from 'app/shared/models/option-data.model'; +import { MatDivider } from '@angular/material/divider'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ViewSavingsAccountingDetailsComponent } from '../../../../shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-preview-step', templateUrl: './saving-product-preview-step.component.html', - styleUrls: ['./saving-product-preview-step.component.scss'] + styleUrls: ['./saving-product-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ViewSavingsAccountingDetailsComponent, + MatStepperPrevious, + FaIconComponent, + FindPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class SavingProductPreviewStepComponent implements OnInit, OnChanges { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.ts index 32910c332..85da9bd36 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.ts @@ -1,10 +1,31 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-settings-step', templateUrl: './saving-product-settings-step.component.html', - styleUrls: ['./saving-product-settings-step.component.scss'] + styleUrls: ['./saving-product-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingProductSettingsStepComponent implements OnInit { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.ts b/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.ts index c8ddc0378..60288417f 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.ts +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-terms-step', templateUrl: './saving-product-terms-step.component.html', - styleUrls: ['./saving-product-terms-step.component.scss'] + styleUrls: ['./saving-product-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingProductTermsStepComponent implements OnInit { @Input() savingProductsTemplate: any; diff --git a/src/app/products/saving-products/saving-products.component.ts b/src/app/products/saving-products/saving-products.component.ts index 57039022d..746196bdb 100644 --- a/src/app/products/saving-products/saving-products.component.ts +++ b/src/app/products/saving-products/saving-products.component.ts @@ -1,18 +1,49 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /* Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-products', templateUrl: './saving-products.component.html', - styleUrls: ['./saving-products.component.scss'] + styleUrls: ['./saving-products.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class SavingProductsComponent implements OnInit, AfterViewInit { savingProductsData: any; diff --git a/src/app/products/saving-products/view-saving-product/saving-product-datatable-tab/saving-product-datatable-tab.component.ts b/src/app/products/saving-products/view-saving-product/saving-product-datatable-tab/saving-product-datatable-tab.component.ts index ee354bde8..d1d9c675e 100644 --- a/src/app/products/saving-products/view-saving-product/saving-product-datatable-tab/saving-product-datatable-tab.component.ts +++ b/src/app/products/saving-products/view-saving-product/saving-product-datatable-tab/saving-product-datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-datatable-tab', templateUrl: './saving-product-datatable-tab.component.html', - styleUrls: ['./saving-product-datatable-tab.component.scss'] + styleUrls: ['./saving-product-datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class SavingProductDatatableTabComponent { entityId: string; diff --git a/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.ts b/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.ts index 9f59bbf79..3c1e6be6d 100644 --- a/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.ts +++ b/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.ts @@ -1,11 +1,47 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { Accounting } from 'app/core/utils/accounting'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ViewSavingsAccountingDetailsComponent } from '../../../../shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-saving-product-general-tab', templateUrl: './saving-product-general-tab.component.html', - styleUrls: ['./saving-product-general-tab.component.scss'] + styleUrls: ['./saving-product-general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + ViewSavingsAccountingDetailsComponent, + FormatNumberPipe, + YesnoPipe + ] }) export class SavingProductGeneralTabComponent { savingProduct: any; diff --git a/src/app/products/saving-products/view-saving-product/view-saving-product.component.ts b/src/app/products/saving-products/view-saving-product/view-saving-product.component.ts index 804577300..702936a0b 100644 --- a/src/app/products/saving-products/view-saving-product/view-saving-product.component.ts +++ b/src/app/products/saving-products/view-saving-product/view-saving-product.component.ts @@ -1,10 +1,20 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-saving-product', templateUrl: './view-saving-product.component.html', - styleUrls: ['./view-saving-product.component.scss'] + styleUrls: ['./view-saving-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewSavingProductComponent { savingProductDatatables: any = []; diff --git a/src/app/products/share-products/create-dividend/create-dividend.component.ts b/src/app/products/share-products/create-dividend/create-dividend.component.ts index f9f239353..d8f325dff 100644 --- a/src/app/products/share-products/create-dividend/create-dividend.component.ts +++ b/src/app/products/share-products/create-dividend/create-dividend.component.ts @@ -1,12 +1,13 @@ /** Angular Imports. */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services. */ import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Dividend component. @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-create-dividend', templateUrl: './create-dividend.component.html', - styleUrls: ['./create-dividend.component.scss'] + styleUrls: ['./create-dividend.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateDividendComponent implements OnInit { /** Create Dividend Form. */ diff --git a/src/app/products/share-products/create-share-product/create-share-product.component.ts b/src/app/products/share-products/create-share-product/create-share-product.component.ts index e013ef557..552f4595b 100644 --- a/src/app/products/share-products/create-share-product/create-share-product.component.ts +++ b/src/app/products/share-products/create-share-product/create-share-product.component.ts @@ -15,11 +15,31 @@ import { ShareProductAccountingStepComponent } from '../share-product-stepper/sh import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ShareProductPreviewStepComponent } from '../share-product-stepper/share-product-preview-step/share-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-share-product', templateUrl: './create-share-product.component.html', - styleUrls: ['./create-share-product.component.scss'] + styleUrls: ['./create-share-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + ShareProductDetailsStepComponent, + ShareProductCurrencyStepComponent, + ShareProductTermsStepComponent, + ShareProductSettingsStepComponent, + ShareProductMarketPriceStepComponent, + ShareProductChargesStepComponent, + ShareProductAccountingStepComponent, + ShareProductPreviewStepComponent + ] }) export class CreateShareProductComponent { @ViewChild(ShareProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/share-products/dividends-share-product/dividends.components.ts b/src/app/products/share-products/dividends-share-product/dividends.components.ts index f3cd33c70..ade7fc7cc 100644 --- a/src/app/products/share-products/dividends-share-product/dividends.components.ts +++ b/src/app/products/share-products/dividends-share-product/dividends.components.ts @@ -1,9 +1,28 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { HasPermissionDirective } from '../../../directives/has-permission/has-permission.directive'; +import { MatButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatFormField, MatLabel } from '@angular/material/form-field'; +import { MatInput } from '@angular/material/input'; +import { TranslatePipe as NgxTranslatePipe } from '@ngx-translate/core'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; /** * Dividends component. @@ -11,7 +30,31 @@ import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'mifosx-dividends-share-product', templateUrl: './dividends.component.html', - styleUrls: ['./dividends.component.scss'] + styleUrls: ['./dividends.component.scss'], + imports: [ + HasPermissionDirective, + MatButton, + RouterLink, + FaIconComponent, + MatFormField, + MatLabel, + MatInput, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + NgxTranslatePipe + ] }) export class ShareProductsDividendsComponent implements OnInit { /** Dividends data. */ diff --git a/src/app/products/share-products/edit-share-product/edit-share-product.component.ts b/src/app/products/share-products/edit-share-product/edit-share-product.component.ts index 4619c7a8e..c8d20c2ab 100644 --- a/src/app/products/share-products/edit-share-product/edit-share-product.component.ts +++ b/src/app/products/share-products/edit-share-product/edit-share-product.component.ts @@ -15,11 +15,31 @@ import { ShareProductAccountingStepComponent } from '../share-product-stepper/sh import { ProductsService } from 'app/products/products.service'; import { SettingsService } from 'app/settings/settings.service'; import { Accounting } from 'app/core/utils/accounting'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ShareProductPreviewStepComponent } from '../share-product-stepper/share-product-preview-step/share-product-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-edit-share-product', templateUrl: './edit-share-product.component.html', - styleUrls: ['./edit-share-product.component.scss'] + styleUrls: ['./edit-share-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + ShareProductDetailsStepComponent, + ShareProductCurrencyStepComponent, + ShareProductTermsStepComponent, + ShareProductSettingsStepComponent, + ShareProductMarketPriceStepComponent, + ShareProductChargesStepComponent, + ShareProductAccountingStepComponent, + ShareProductPreviewStepComponent + ] }) export class EditShareProductComponent { @ViewChild(ShareProductDetailsStepComponent, { static: true }) diff --git a/src/app/products/share-products/share-product-stepper/share-product-accounting-step/share-product-accounting-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-accounting-step/share-product-accounting-step.component.ts index 8dac94abc..4f228235d 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-accounting-step/share-product-accounting-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-accounting-step/share-product-accounting-step.component.ts @@ -1,10 +1,32 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { MatRadioGroup, MatRadioButton } from '@angular/material/radio'; +import { MatDivider } from '@angular/material/divider'; +import { GlAccountSelectorComponent } from '../../../../shared/accounting/gl-account-selector/gl-account-selector.component'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-accounting-step', templateUrl: './share-product-accounting-step.component.html', - styleUrls: ['./share-product-accounting-step.component.scss'] + styleUrls: ['./share-product-accounting-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatRadioGroup, + MatRadioButton, + MatDivider, + GlAccountSelectorComponent, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ShareProductAccountingStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.ts index 2d6406273..73bc5ccf1 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.ts @@ -4,11 +4,48 @@ import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../../pipes/charges-filter.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-charges-step', templateUrl: './share-product-charges-step.component.html', - styleUrls: ['./share-product-charges-step.component.scss'] + styleUrls: ['./share-product-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe, + FormatNumberPipe + ] }) export class ShareProductChargesStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-currency-step/share-product-currency-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-currency-step/share-product-currency-step.component.ts index df3acb678..7d821466a 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-currency-step/share-product-currency-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-currency-step/share-product-currency-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-currency-step', templateUrl: './share-product-currency-step.component.html', - styleUrls: ['./share-product-currency-step.component.scss'] + styleUrls: ['./share-product-currency-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ShareProductCurrencyStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-details-step/share-product-details-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-details-step/share-product-details-step.component.ts index ad74f416a..f07d32199 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-details-step/share-product-details-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-details-step/share-product-details-step.component.ts @@ -1,10 +1,21 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-details-step', templateUrl: './share-product-details-step.component.html', - styleUrls: ['./share-product-details-step.component.scss'] + styleUrls: ['./share-product-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ShareProductDetailsStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-market-price-step/share-product-market-price-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-market-price-step/share-product-market-price-step.component.ts index 2c96901a4..34cc97b41 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-market-price-step/share-product-market-price-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-market-price-step/share-product-market-price-step.component.ts @@ -14,11 +14,48 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-market-price-step', templateUrl: './share-product-market-price-step.component.html', - styleUrls: ['./share-product-market-price-step.component.scss'] + styleUrls: ['./share-product-market-price-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + DateFormatPipe + ] }) export class ShareProductMarketPriceStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.ts index 8d3d96659..a34c92379 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.ts @@ -1,9 +1,49 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; +import { MatDivider } from '@angular/material/divider'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-preview-step', templateUrl: './share-product-preview-step.component.html', - styleUrls: ['./share-product-preview-step.component.scss'] + styleUrls: ['./share-product-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + FaIconComponent, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class ShareProductPreviewStepComponent { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.ts index 20504f4c1..b054d33c6 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.ts @@ -1,10 +1,23 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, FormControl, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, FormControl, Validators, ReactiveFormsModule } from '@angular/forms'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-settings-step', templateUrl: './share-product-settings-step.component.html', - styleUrls: ['./share-product-settings-step.component.scss'] + styleUrls: ['./share-product-settings-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ShareProductSettingsStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-product-stepper/share-product-terms-step/share-product-terms-step.component.ts b/src/app/products/share-products/share-product-stepper/share-product-terms-step/share-product-terms-step.component.ts index 5aea24cc2..174accbe8 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-terms-step/share-product-terms-step.component.ts +++ b/src/app/products/share-products/share-product-stepper/share-product-terms-step/share-product-terms-step.component.ts @@ -1,11 +1,24 @@ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { combineLatest } from 'rxjs'; +import { MatFormField, MatLabel, MatError, MatHint } from '@angular/material/form-field'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-terms-step', templateUrl: './share-product-terms-step.component.html', - styleUrls: ['./share-product-terms-step.component.scss'] + styleUrls: ['./share-product-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTooltip, + MatHint, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class ShareProductTermsStepComponent implements OnInit { @Input() shareProductsTemplate: any; diff --git a/src/app/products/share-products/share-products.component.ts b/src/app/products/share-products/share-products.component.ts index 0809f765f..3c42ee60a 100644 --- a/src/app/products/share-products/share-products.component.ts +++ b/src/app/products/share-products/share-products.component.ts @@ -1,18 +1,49 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-products', templateUrl: './share-products.component.html', - styleUrls: ['./share-products.component.scss'] + styleUrls: ['./share-products.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ShareProductsComponent implements OnInit, AfterViewInit { shareProductsData: any; diff --git a/src/app/products/share-products/view-dividend/view-dividend.component.ts b/src/app/products/share-products/view-dividend/view-dividend.component.ts index 9acfee9b5..cd2c79018 100644 --- a/src/app/products/share-products/view-dividend/view-dividend.component.ts +++ b/src/app/products/share-products/view-dividend/view-dividend.component.ts @@ -1,14 +1,45 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ProductsService } from 'app/products/products.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-dividend', templateUrl: './view-dividend.component.html', - styleUrls: ['./view-dividend.component.scss'] + styleUrls: ['./view-dividend.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ViewDividendComponent implements OnInit { dividendData: any; diff --git a/src/app/products/share-products/view-share-product/share-product-datatable-tab/share-product-datatable-tab.component.ts b/src/app/products/share-products/view-share-product/share-product-datatable-tab/share-product-datatable-tab.component.ts index 80ee1edbf..1d964d524 100644 --- a/src/app/products/share-products/view-share-product/share-product-datatable-tab/share-product-datatable-tab.component.ts +++ b/src/app/products/share-products/view-share-product/share-product-datatable-tab/share-product-datatable-tab.component.ts @@ -1,10 +1,16 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-datatable-tab', templateUrl: './share-product-datatable-tab.component.html', - styleUrls: ['./share-product-datatable-tab.component.scss'] + styleUrls: ['./share-product-datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class ShareProductDatatableTabComponent { entityId: string; diff --git a/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.ts b/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.ts index 637bbb3ee..1b5b08b18 100644 --- a/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.ts +++ b/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.ts @@ -1,11 +1,49 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { Accounting } from 'app/core/utils/accounting'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { GlAccountDisplayComponent } from '../../../../shared/accounting/gl-account-display/gl-account-display.component'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-share-product-general-tab', templateUrl: './share-product-general-tab.component.html', - styleUrls: ['./share-product-general-tab.component.scss'] + styleUrls: ['./share-product-general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + GlAccountDisplayComponent, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class ShareProductGeneralTabComponent { shareProduct: any; diff --git a/src/app/products/share-products/view-share-product/view-share-product.component.ts b/src/app/products/share-products/view-share-product/view-share-product.component.ts index 729b5dac5..9f2298498 100644 --- a/src/app/products/share-products/view-share-product/view-share-product.component.ts +++ b/src/app/products/share-products/view-share-product/view-share-product.component.ts @@ -1,10 +1,20 @@ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-share-product', templateUrl: './view-share-product.component.html', - styleUrls: ['./view-share-product.component.scss'] + styleUrls: ['./view-share-product.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewShareProductComponent { shareProductDatatables: any = []; diff --git a/src/app/profile/profile.component.ts b/src/app/profile/profile.component.ts index f7091d95d..3c11986b8 100644 --- a/src/app/profile/profile.component.ts +++ b/src/app/profile/profile.component.ts @@ -1,13 +1,27 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource } from '@angular/material/table'; -import { Router } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { Router, RouterLink } from '@angular/router'; /** Custom Services */ import { AuthenticationService } from 'app/core/authentication/authentication.service'; import { ChangePasswordDialogComponent } from 'app/shared/change-password-dialog/change-password-dialog.component'; import { SettingsService } from 'app/settings/settings.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Profile Component. @@ -15,7 +29,21 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-profile', templateUrl: './profile.component.html', - styleUrls: ['./profile.component.scss'] + styleUrls: ['./profile.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class ProfileComponent implements OnInit { /** Profile Data */ diff --git a/src/app/profile/profile.module.ts b/src/app/profile/profile.module.ts index 8d6b0bdaf..f95fbdc6d 100644 --- a/src/app/profile/profile.module.ts +++ b/src/app/profile/profile.module.ts @@ -12,10 +12,10 @@ import { ProfileComponent } from './profile.component'; * Profile Module */ @NgModule({ - declarations: [ProfileComponent], imports: [ SharedModule, - ProfileRoutingModule + ProfileRoutingModule, + ProfileComponent ] }) export class ProfileModule {} diff --git a/src/app/reports/reports.component.ts b/src/app/reports/reports.component.ts index f09cea59b..b2057414f 100644 --- a/src/app/reports/reports.component.ts +++ b/src/app/reports/reports.component.ts @@ -1,9 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reports component. @@ -11,7 +24,23 @@ import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'mifosx-reports', templateUrl: './reports.component.html', - styleUrls: ['./reports.component.scss'] + styleUrls: ['./reports.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ReportsComponent implements OnInit { /** Reports data. */ diff --git a/src/app/reports/reports.module.ts b/src/app/reports/reports.module.ts index 5cf8e5d8f..f7d50b419 100644 --- a/src/app/reports/reports.module.ts +++ b/src/app/reports/reports.module.ts @@ -21,9 +21,7 @@ import { PentahoComponent } from './run-report/pentaho/pentaho.component'; @NgModule({ imports: [ SharedModule, - ReportsRoutingModule - ], - declarations: [ + ReportsRoutingModule, ReportsComponent, RunReportComponent, TableAndSmsComponent, diff --git a/src/app/reports/run-report/chart/chart.component.ts b/src/app/reports/run-report/chart/chart.component.ts index dbdd4b134..0379ed8f1 100644 --- a/src/app/reports/run-report/chart/chart.component.ts +++ b/src/app/reports/run-report/chart/chart.component.ts @@ -9,6 +9,9 @@ import { ChartData } from '../../common-models/chart-data.model'; /** Charting Imports */ import Chart from 'chart.js'; +import { MatButtonToggleGroup, MatButtonToggle } from '@angular/material/button-toggle'; +import { NgStyle } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Chart Component @@ -16,7 +19,13 @@ import Chart from 'chart.js'; @Component({ selector: 'mifosx-chart', templateUrl: './chart.component.html', - styleUrls: ['./chart.component.scss'] + styleUrls: ['./chart.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatButtonToggleGroup, + MatButtonToggle, + NgStyle + ] }) export class ChartComponent implements OnChanges { /** Run Report Data */ diff --git a/src/app/reports/run-report/pentaho/pentaho.component.ts b/src/app/reports/run-report/pentaho/pentaho.component.ts index 3878d8399..2bf2a6afd 100644 --- a/src/app/reports/run-report/pentaho/pentaho.component.ts +++ b/src/app/reports/run-report/pentaho/pentaho.component.ts @@ -6,6 +6,7 @@ import { DomSanitizer } from '@angular/platform-browser'; import { ReportsService } from '../../reports.service'; import { SettingsService } from 'app/settings/settings.service'; import { ProgressBarService } from 'app/core/progress-bar/progress-bar.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Pentaho Component @@ -13,7 +14,10 @@ import { ProgressBarService } from 'app/core/progress-bar/progress-bar.service'; @Component({ selector: 'mifosx-pentaho', templateUrl: './pentaho.component.html', - styleUrls: ['./pentaho.component.scss'] + styleUrls: ['./pentaho.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class PentahoComponent implements OnChanges { /** Run Report Data */ diff --git a/src/app/reports/run-report/run-report.component.ts b/src/app/reports/run-report/run-report.component.ts index 8a3476757..d6818b014 100644 --- a/src/app/reports/run-report/run-report.component.ts +++ b/src/app/reports/run-report/run-report.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { UntypedFormControl, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { ReportsService } from '../reports.service'; @@ -15,6 +15,13 @@ import { GlobalConfiguration } from 'app/system/configurations/global-configurat import * as ExcelJS from 'exceljs'; import { AlertService } from 'app/core/alert/alert.service'; +import { NgIf, NgFor, NgSwitch, NgSwitchCase } from '@angular/common'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { TableAndSmsComponent } from './table-and-sms/table-and-sms.component'; +import { ChartComponent } from './chart/chart.component'; +import { PentahoComponent } from './pentaho/pentaho.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Run report component. @@ -22,7 +29,17 @@ import { AlertService } from 'app/core/alert/alert.service'; @Component({ selector: 'mifosx-run-report', templateUrl: './run-report.component.html', - styleUrls: ['./run-report.component.scss'] + styleUrls: ['./run-report.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgSwitch, + NgSwitchCase, + MatCheckbox, + FaIconComponent, + TableAndSmsComponent, + ChartComponent, + PentahoComponent + ] }) export class RunReportComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/reports/run-report/table-and-sms/table-and-sms.component.ts b/src/app/reports/run-report/table-and-sms/table-and-sms.component.ts index e20128ff9..88cdddc31 100644 --- a/src/app/reports/run-report/table-and-sms/table-and-sms.component.ts +++ b/src/app/reports/run-report/table-and-sms/table-and-sms.component.ts @@ -1,8 +1,20 @@ /** Angular Imports */ import { Component, Input, ViewChild, OnChanges } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; -import { DecimalPipe } from '@angular/common'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { DecimalPipe, NgIf, NgFor } from '@angular/common'; /** Custom Servies */ import { ReportsService } from '../../reports.service'; @@ -11,10 +23,12 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; -import { environment } from 'environments/environment'; +import { environment } from '../../../../environments/environment'; import { ProgressBarService } from 'app/core/progress-bar/progress-bar.service'; import * as ExcelJS from 'exceljs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Table and SMS Component @@ -22,7 +36,22 @@ import * as ExcelJS from 'exceljs'; @Component({ selector: 'mifosx-table-and-sms', templateUrl: './table-and-sms.component.html', - styleUrls: ['./table-and-sms.component.scss'] + styleUrls: ['./table-and-sms.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + FaIconComponent + ] }) export class TableAndSmsComponent implements OnChanges { /** Run Report Data */ diff --git a/src/app/savings/create-savings-account/create-savings-account.component.ts b/src/app/savings/create-savings-account/create-savings-account.component.ts index 30426e665..e1511acd3 100644 --- a/src/app/savings/create-savings-account/create-savings-account.component.ts +++ b/src/app/savings/create-savings-account/create-savings-account.component.ts @@ -11,6 +11,10 @@ import { SavingsAccountChargesStepComponent } from '../savings-account-stepper/s import { SavingsService } from '../savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SavingsAccountPreviewStepComponent } from '../savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Savings Account Component @@ -18,7 +22,19 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-savings-account', templateUrl: './create-savings-account.component.html', - styleUrls: ['./create-savings-account.component.scss'] + styleUrls: ['./create-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SavingsAccountDetailsStepComponent, + SavingsAccountTermsStepComponent, + SavingsAccountChargesStepComponent, + SavingsAccountPreviewStepComponent + ] }) export class CreateSavingsAccountComponent { /** Savings Account Template */ diff --git a/src/app/savings/edit-savings-account/edit-savings-account.component.ts b/src/app/savings/edit-savings-account/edit-savings-account.component.ts index c3bee9384..015288e35 100644 --- a/src/app/savings/edit-savings-account/edit-savings-account.component.ts +++ b/src/app/savings/edit-savings-account/edit-savings-account.component.ts @@ -11,6 +11,10 @@ import { SavingsAccountChargesStepComponent } from '../savings-account-stepper/s import { SavingsService } from '../savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SavingsAccountPreviewStepComponent } from '../savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Savings Account Component @@ -18,7 +22,19 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-savings-account', templateUrl: './edit-savings-account.component.html', - styleUrls: ['./edit-savings-account.component.scss'] + styleUrls: ['./edit-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SavingsAccountDetailsStepComponent, + SavingsAccountTermsStepComponent, + SavingsAccountChargesStepComponent, + SavingsAccountPreviewStepComponent + ] }) export class EditSavingsAccountComponent { /** Savings Account Template */ diff --git a/src/app/savings/gsim-account/create-gsim-account/create-gsim-account.component.ts b/src/app/savings/gsim-account/create-gsim-account/create-gsim-account.component.ts index 2c04f1bb8..654b120bb 100644 --- a/src/app/savings/gsim-account/create-gsim-account/create-gsim-account.component.ts +++ b/src/app/savings/gsim-account/create-gsim-account/create-gsim-account.component.ts @@ -12,6 +12,10 @@ import { SavingsActiveClientMembersComponent } from '../../savings-account-stepp import { SavingsService } from '../../savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SavingsAccountPreviewStepComponent } from '../../savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create GSIM Account Component @@ -19,7 +23,20 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-gsim-account', templateUrl: './create-gsim-account.component.html', - styleUrls: ['./create-gsim-account.component.scss'] + styleUrls: ['./create-gsim-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SavingsAccountDetailsStepComponent, + SavingsAccountTermsStepComponent, + SavingsAccountChargesStepComponent, + SavingsActiveClientMembersComponent, + SavingsAccountPreviewStepComponent + ] }) export class CreateGsimAccountComponent { /** Savings Account Template */ diff --git a/src/app/savings/gsim-account/gsim-account.component.ts b/src/app/savings/gsim-account/gsim-account.component.ts index c76019c5f..25be3c355 100644 --- a/src/app/savings/gsim-account/gsim-account.component.ts +++ b/src/app/savings/gsim-account/gsim-account.component.ts @@ -1,8 +1,24 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { NgClass, NgIf } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * GSIM Accounts Overview component. @@ -10,7 +26,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-gsim-account', templateUrl: './gsim-account.component.html', - styleUrls: ['./gsim-account.component.scss'] + styleUrls: ['./gsim-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + NgClass, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe + ] }) export class GsimAccountComponent implements OnInit { /** Columns to be displayed in charge overview table. */ diff --git a/src/app/savings/saving-account-actions/activate-savings-account/activate-savings-account.component.ts b/src/app/savings/saving-account-actions/activate-savings-account/activate-savings-account.component.ts index 6e1e48221..e5b96869e 100644 --- a/src/app/savings/saving-account-actions/activate-savings-account/activate-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/activate-savings-account/activate-savings-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Savings Account Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-activate-savings-account', templateUrl: './activate-savings-account.component.html', - styleUrls: ['./activate-savings-account.component.scss'] + styleUrls: ['./activate-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/add-charge-savings-account/add-charge-savings-account.component.ts b/src/app/savings/saving-account-actions/add-charge-savings-account/add-charge-savings-account.component.ts index 07dd9c033..aee8073fe 100644 --- a/src/app/savings/saving-account-actions/add-charge-savings-account/add-charge-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/add-charge-savings-account/add-charge-savings-account.component.ts @@ -1,12 +1,19 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { SavingsService } from '../../savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Savings Charge component. @@ -14,7 +21,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-add-charge-savings-account', templateUrl: './add-charge-savings-account.component.html', - styleUrls: ['./add-charge-savings-account.component.scss'] + styleUrls: ['./add-charge-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddChargeSavingsAccountComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/savings/saving-account-actions/apply-annual-fees-savings-account/apply-annual-fees-savings-account.component.ts b/src/app/savings/saving-account-actions/apply-annual-fees-savings-account/apply-annual-fees-savings-account.component.ts index e54a9feea..a2e195ca0 100644 --- a/src/app/savings/saving-account-actions/apply-annual-fees-savings-account/apply-annual-fees-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/apply-annual-fees-savings-account/apply-annual-fees-savings-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Apply Annual Fees Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-apply-annual-fees-savings-account', templateUrl: './apply-annual-fees-savings-account.component.html', - styleUrls: ['./apply-annual-fees-savings-account.component.scss'] + styleUrls: ['./apply-annual-fees-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ApplyAnnualFeesSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/approve-savings-account/approve-savings-account.component.ts b/src/app/savings/saving-account-actions/approve-savings-account/approve-savings-account.component.ts index 89965d230..9a3c59b9c 100644 --- a/src/app/savings/saving-account-actions/approve-savings-account/approve-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/approve-savings-account/approve-savings-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve Savings Account Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-approve-savings-account', templateUrl: './approve-savings-account.component.html', - styleUrls: ['./approve-savings-account.component.scss'] + styleUrls: ['./approve-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class ApproveSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/close-savings-account/close-savings-account.component.ts b/src/app/savings/saving-account-actions/close-savings-account/close-savings-account.component.ts index dc965dc25..b0e0761d2 100644 --- a/src/app/savings/saving-account-actions/close-savings-account/close-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/close-savings-account/close-savings-account.component.ts @@ -1,12 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close Savings Account Component @@ -14,7 +24,13 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-close-savings-account', templateUrl: './close-savings-account.component.html', - styleUrls: ['./close-savings-account.component.scss'] + styleUrls: ['./close-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class CloseSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts b/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts index d4ef8e4da..1c544b260 100644 --- a/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts @@ -1,11 +1,14 @@ import { Component, Input, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; import { SystemService } from 'app/system/system.service'; +import { MatCard, MatCardTitle, MatCardContent, MatCardActions } from '@angular/material/card'; +import { InputAmountComponent } from '../../../shared/input-amount/input-amount.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; type TransactionCommandType = 'holdamount' | 'blockaccount' | 'blockdeposit' | 'blockwithdrawal'; @@ -19,7 +22,12 @@ interface TransactionType { @Component({ selector: 'mifosx-manage-savings-account', templateUrl: './manage-savings-account.component.html', - styleUrls: ['./manage-savings-account.component.scss'] + styleUrls: ['./manage-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardTitle, + InputAmountComponent + ] }) export class ManageSavingsAccountComponent implements OnInit { @Input() currency: Currency; diff --git a/src/app/savings/saving-account-actions/post-interest-as-on-savings-account/post-interest-as-on-savings-account.component.ts b/src/app/savings/saving-account-actions/post-interest-as-on-savings-account/post-interest-as-on-savings-account.component.ts index 48b979da9..23d11d8ff 100644 --- a/src/app/savings/saving-account-actions/post-interest-as-on-savings-account/post-interest-as-on-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/post-interest-as-on-savings-account/post-interest-as-on-savings-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Post Interest Savings Account Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-post-interest-as-on-savings-account', templateUrl: './post-interest-as-on-savings-account.component.html', - styleUrls: ['./post-interest-as-on-savings-account.component.scss'] + styleUrls: ['./post-interest-as-on-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class PostInterestAsOnSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/reject-savings-account/reject-savings-account.component.ts b/src/app/savings/saving-account-actions/reject-savings-account/reject-savings-account.component.ts index fc07b1ee9..82526ca86 100644 --- a/src/app/savings/saving-account-actions/reject-savings-account/reject-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/reject-savings-account/reject-savings-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Savings Account Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-reject-savings-account', templateUrl: './reject-savings-account.component.html', - styleUrls: ['./reject-savings-account.component.scss'] + styleUrls: ['./reject-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class RejectSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/saving-account-actions.component.ts b/src/app/savings/saving-account-actions/saving-account-actions.component.ts index 1b29ad5c0..e5f6fa8c4 100644 --- a/src/app/savings/saving-account-actions/saving-account-actions.component.ts +++ b/src/app/savings/saving-account-actions/saving-account-actions.component.ts @@ -2,6 +2,20 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Currency } from 'app/shared/models/general.model'; +import { ApproveSavingsAccountComponent } from './approve-savings-account/approve-savings-account.component'; +import { RejectSavingsAccountComponent } from './reject-savings-account/reject-savings-account.component'; +import { ActivateSavingsAccountComponent } from './activate-savings-account/activate-savings-account.component'; +import { UndoApprovalSavingsAccountComponent } from './undo-approval-savings-account/undo-approval-savings-account.component'; +import { PostInterestAsOnSavingsAccountComponent } from './post-interest-as-on-savings-account/post-interest-as-on-savings-account.component'; +import { SavingsAccountAssignStaffComponent } from './savings-account-assign-staff/savings-account-assign-staff.component'; +import { SavingsAccountUnassignStaffComponent } from './savings-account-unassign-staff/savings-account-unassign-staff.component'; +import { WithdrawByClientSavingsAccountComponent } from './withdraw-by-client-savings-account/withdraw-by-client-savings-account.component'; +import { AddChargeSavingsAccountComponent } from './add-charge-savings-account/add-charge-savings-account.component'; +import { SavingsAccountTransactionsComponent } from './savings-account-transactions/savings-account-transactions.component'; +import { CloseSavingsAccountComponent } from './close-savings-account/close-savings-account.component'; +import { ApplyAnnualFeesSavingsAccountComponent } from './apply-annual-fees-savings-account/apply-annual-fees-savings-account.component'; +import { ManageSavingsAccountComponent } from './manage-savings-account/manage-savings-account.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings account actions component. @@ -9,7 +23,23 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-saving-account-actions', templateUrl: './saving-account-actions.component.html', - styleUrls: ['./saving-account-actions.component.scss'] + styleUrls: ['./saving-account-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ApproveSavingsAccountComponent, + RejectSavingsAccountComponent, + ActivateSavingsAccountComponent, + UndoApprovalSavingsAccountComponent, + PostInterestAsOnSavingsAccountComponent, + SavingsAccountAssignStaffComponent, + SavingsAccountUnassignStaffComponent, + WithdrawByClientSavingsAccountComponent, + AddChargeSavingsAccountComponent, + SavingsAccountTransactionsComponent, + CloseSavingsAccountComponent, + ApplyAnnualFeesSavingsAccountComponent, + ManageSavingsAccountComponent + ] }) export class SavingAccountActionsComponent { /** Flag object to store possible actions and render appropriate UI to the user */ diff --git a/src/app/savings/saving-account-actions/savings-account-assign-staff/savings-account-assign-staff.component.ts b/src/app/savings/saving-account-actions/savings-account-assign-staff/savings-account-assign-staff.component.ts index 9120f9bd2..510c86992 100644 --- a/src/app/savings/saving-account-actions/savings-account-assign-staff/savings-account-assign-staff.component.ts +++ b/src/app/savings/saving-account-actions/savings-account-assign-staff/savings-account-assign-staff.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Account Assign Staff Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-savings-account-assign-staff', templateUrl: './savings-account-assign-staff.component.html', - styleUrls: ['./savings-account-assign-staff.component.scss'] + styleUrls: ['./savings-account-assign-staff.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class SavingsAccountAssignStaffComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/savings-account-transactions/savings-account-transactions.component.ts b/src/app/savings/saving-account-actions/savings-account-transactions/savings-account-transactions.component.ts index 2403793cf..fd754247a 100644 --- a/src/app/savings/saving-account-actions/savings-account-transactions/savings-account-transactions.component.ts +++ b/src/app/savings/saving-account-actions/savings-account-transactions/savings-account-transactions.component.ts @@ -1,13 +1,23 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { SavingsService } from '../../savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create savings account transactions component. @@ -15,7 +25,13 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-savings-transactions', templateUrl: './savings-account-transactions.component.html', - styleUrls: ['./savings-account-transactions.component.scss'] + styleUrls: ['./savings-account-transactions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle, + CdkTextareaAutosize + ] }) export class SavingsAccountTransactionsComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/savings/saving-account-actions/savings-account-unassign-staff/savings-account-unassign-staff.component.ts b/src/app/savings/saving-account-actions/savings-account-unassign-staff/savings-account-unassign-staff.component.ts index b880c9ffc..9f75abb96 100644 --- a/src/app/savings/saving-account-actions/savings-account-unassign-staff/savings-account-unassign-staff.component.ts +++ b/src/app/savings/saving-account-actions/savings-account-unassign-staff/savings-account-unassign-staff.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Account Unassign Staff Component @@ -14,7 +15,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-savings-account-unassign-staff', templateUrl: './savings-account-unassign-staff.component.html', - styleUrls: ['./savings-account-unassign-staff.component.scss'] + styleUrls: ['./savings-account-unassign-staff.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class SavingsAccountUnassignStaffComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/saving-account-actions/undo-approval-savings-account/undo-approval-savings-account.component.ts b/src/app/savings/saving-account-actions/undo-approval-savings-account/undo-approval-savings-account.component.ts index 376a22706..d033837c5 100644 --- a/src/app/savings/saving-account-actions/undo-approval-savings-account/undo-approval-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/undo-approval-savings-account/undo-approval-savings-account.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Approval Savings Account Component @@ -12,7 +14,11 @@ import { SavingsService } from 'app/savings/savings.service'; @Component({ selector: 'mifosx-undo-approval-savings-account', templateUrl: './undo-approval-savings-account.component.html', - styleUrls: ['./undo-approval-savings-account.component.scss'] + styleUrls: ['./undo-approval-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class UndoApprovalSavingsAccountComponent implements OnInit { /** Undo Approval Savings Account form. */ diff --git a/src/app/savings/saving-account-actions/withdraw-by-client-savings-account/withdraw-by-client-savings-account.component.ts b/src/app/savings/saving-account-actions/withdraw-by-client-savings-account/withdraw-by-client-savings-account.component.ts index c3f901843..defefd0a5 100644 --- a/src/app/savings/saving-account-actions/withdraw-by-client-savings-account/withdraw-by-client-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/withdraw-by-client-savings-account/withdraw-by-client-savings-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Withdrawn by Client Savings Account Component @@ -14,7 +16,11 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-withdraw-by-client-savings-account', templateUrl: './withdraw-by-client-savings-account.component.html', - styleUrls: ['./withdraw-by-client-savings-account.component.scss'] + styleUrls: ['./withdraw-by-client-savings-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class WithdrawByClientSavingsAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.ts b/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.ts index c30d38fa7..aae05c099 100644 --- a/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.ts +++ b/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.ts @@ -11,8 +11,27 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { Dates } from 'app/core/utils/dates'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { TranslateService } from '@ngx-translate/core'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../pipes/charges-filter.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Account Charges Step @@ -20,7 +39,27 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-savings-account-charges-step', templateUrl: './savings-account-charges-step.component.html', - styleUrls: ['./savings-account-charges-step.component.scss'] + styleUrls: ['./savings-account-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe, + DateFormatPipe, + FormatNumberPipe + ] }) export class SavingsAccountChargesStepComponent implements OnInit, OnChanges { /** Savings Account Product Template */ diff --git a/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.ts b/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.ts index 881137dd2..ebc1230cf 100644 --- a/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.ts +++ b/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Account Details Step @@ -12,7 +15,13 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-savings-account-details-step', templateUrl: './savings-account-details-step.component.html', - styleUrls: ['./savings-account-details-step.component.scss'] + styleUrls: ['./savings-account-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingsAccountDetailsStepComponent implements OnInit { /** Savings Account Template */ diff --git a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts index d4c4e13eb..fd60c70ca 100644 --- a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts +++ b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts @@ -1,7 +1,28 @@ /** Angular Imports */ import { Component, Input, Output, EventEmitter, OnChanges } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatDivider } from '@angular/material/divider'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings account preview step @@ -9,7 +30,28 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-savings-account-preview-step', templateUrl: './savings-account-preview-step.component.html', - styleUrls: ['./savings-account-preview-step.component.scss'] + styleUrls: ['./savings-account-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + ExternalIdentifierComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + FaIconComponent, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class SavingsAccountPreviewStepComponent implements OnChanges { /** Savings Account Product Template */ diff --git a/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.ts b/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.ts index 5dc773f4b..d218f68a6 100644 --- a/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.ts +++ b/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.ts @@ -1,7 +1,18 @@ /** Angular Imports */ import { Component, OnChanges, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Account Terms Step @@ -9,7 +20,15 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-savings-account-terms-step', templateUrl: './savings-account-terms-step.component.html', - styleUrls: ['./savings-account-terms-step.component.scss'] + styleUrls: ['./savings-account-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatDivider, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingsAccountTermsStepComponent implements OnChanges, OnInit { /** Savings Account and Product Template */ diff --git a/src/app/savings/savings-account-stepper/savings-active-client-members/savings-active-client-members.component.ts b/src/app/savings/savings-account-stepper/savings-active-client-members/savings-active-client-members.component.ts index 8cb4af522..f254a90b8 100644 --- a/src/app/savings/savings-account-stepper/savings-active-client-members/savings-active-client-members.component.ts +++ b/src/app/savings/savings-account-stepper/savings-active-client-members/savings-active-client-members.component.ts @@ -1,10 +1,45 @@ import { Component, OnInit, OnChanges, Input } from '@angular/core'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-savings-active-client-members', templateUrl: './savings-active-client-members.component.html', - styleUrls: ['./savings-active-client-members.component.scss'] + styleUrls: ['./savings-active-client-members.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + FormsModule, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SavingsActiveClientMembersComponent implements OnInit { @Input() activeClientMembers?: any; diff --git a/src/app/savings/savings-account-view/charges-tab/charges-tab.component.ts b/src/app/savings/savings-account-view/charges-tab/charges-tab.component.ts index 5307d1be3..e784122c9 100644 --- a/src/app/savings/savings-account-view/charges-tab/charges-tab.component.ts +++ b/src/app/savings/savings-account-view/charges-tab/charges-tab.component.ts @@ -1,8 +1,20 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; @@ -20,6 +32,10 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Charges Tab Component @@ -27,7 +43,23 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-charges-tab', templateUrl: './charges-tab.component.html', - styleUrls: ['./charges-tab.component.scss'] + styleUrls: ['./charges-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + CurrencyPipe, + DateFormatPipe + ] }) export class ChargesTabComponent implements OnInit { /** Savings Account Data */ diff --git a/src/app/savings/savings-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts index 228b51f6f..3c269b931 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/calculate-interest-dialog/calculate-interest-dialog.component.ts @@ -1,6 +1,14 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Calculate interest dialog component. @@ -8,7 +16,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-calculate-interest-dialog', templateUrl: './calculate-interest-dialog.component.html', - styleUrls: ['./calculate-interest-dialog.component.scss'] + styleUrls: ['./calculate-interest-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class CalculateInterestDialogComponent { /** diff --git a/src/app/savings/savings-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts index c4e8420f2..f228f6323 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/inactivate-charge-dialog/inactivate-charge-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Inactivate charge dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-inactivate-charge-dialog', templateUrl: './inactivate-charge-dialog.component.html', - styleUrls: ['./inactivate-charge-dialog.component.scss'] + styleUrls: ['./inactivate-charge-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class InactivateChargeDialogComponent { /** diff --git a/src/app/savings/savings-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts index 4cf7d3c3a..894cf6df9 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/post-interest-dialog/post-interest-dialog.component.ts @@ -1,6 +1,14 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Post interest dialog component. @@ -8,7 +16,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-post-interest-dialog', templateUrl: './post-interest-dialog.component.html', - styleUrls: ['./post-interest-dialog.component.scss'] + styleUrls: ['./post-interest-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class PostInterestDialogComponent { /** diff --git a/src/app/savings/savings-account-view/custom-dialogs/release-amount-dialog/release-amount-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/release-amount-dialog/release-amount-dialog.component.ts index 5dfa7957d..bade3f592 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/release-amount-dialog/release-amount-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/release-amount-dialog/release-amount-dialog.component.ts @@ -1,10 +1,26 @@ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-release-amount-dialog', templateUrl: './release-amount-dialog.component.html', - styleUrls: ['./release-amount-dialog.component.scss'] + styleUrls: ['./release-amount-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ReleaseAmountDialogComponent { /** diff --git a/src/app/savings/savings-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts index 7ad9b6505..d53f653f1 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/toggle-withhold-tax-dialog/toggle-withhold-tax-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Toggle withhold tax dialog dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-toggle-withhold-tax-dialog', templateUrl: './toggle-withhold-tax-dialog.component.html', - styleUrls: ['./toggle-withhold-tax-dialog.component.scss'] + styleUrls: ['./toggle-withhold-tax-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ToggleWithholdTaxDialogComponent { /** diff --git a/src/app/savings/savings-account-view/custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component.ts index 94423a123..e04e0c33b 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component.ts @@ -1,14 +1,29 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { MatDialogRef } from '@angular/material/dialog'; - +import { + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo transaction dialog component. */ @Component({ selector: 'mifosx-undo-transaction-dialog', templateUrl: './undo-transaction-dialog.component.html', - styleUrls: ['./undo-transaction-dialog.component.scss'] + styleUrls: ['./undo-transaction-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class UndoTransactionDialogComponent { /** diff --git a/src/app/savings/savings-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts b/src/app/savings/savings-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts index 2d7577ba7..df4e9b488 100644 --- a/src/app/savings/savings-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts +++ b/src/app/savings/savings-account-view/custom-dialogs/waive-charge-dialog/waive-charge-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Waive charge dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-waive-charge-dialog', templateUrl: './waive-charge-dialog.component.html', - styleUrls: ['./waive-charge-dialog.component.scss'] + styleUrls: ['./waive-charge-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class WaiveChargeDialogComponent { /** diff --git a/src/app/savings/savings-account-view/datatable-tabs/datatable-tabs.component.ts b/src/app/savings/savings-account-view/datatable-tabs/datatable-tabs.component.ts index 77a7434c9..c067dc759 100644 --- a/src/app/savings/savings-account-view/datatable-tabs/datatable-tabs.component.ts +++ b/src/app/savings/savings-account-view/datatable-tabs/datatable-tabs.component.ts @@ -1,6 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Datatable Tabs Component @@ -8,7 +10,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-datatable-tabs', templateUrl: './datatable-tabs.component.html', - styleUrls: ['./datatable-tabs.component.scss'] + styleUrls: ['./datatable-tabs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTabsComponent { entityId: string; diff --git a/src/app/savings/savings-account-view/general-tab/general-tab.component.ts b/src/app/savings/savings-account-view/general-tab/general-tab.component.ts index 3f10d83e9..a13cdffa1 100644 --- a/src/app/savings/savings-account-view/general-tab/general-tab.component.ts +++ b/src/app/savings/savings-account-view/general-tab/general-tab.component.ts @@ -1,11 +1,25 @@ import { Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Currency } from 'app/shared/models/general.model'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ExternalIdentifierComponent, + CurrencyPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class GeneralTabComponent { isLoading = true; diff --git a/src/app/savings/savings-account-view/notes-tab/notes-tab.component.ts b/src/app/savings/savings-account-view/notes-tab/notes-tab.component.ts index e348575db..d63c551e2 100644 --- a/src/app/savings/savings-account-view/notes-tab/notes-tab.component.ts +++ b/src/app/savings/savings-account-view/notes-tab/notes-tab.component.ts @@ -2,11 +2,17 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { AuthenticationService } from 'app/core/authentication/authentication.service'; import { SavingsService } from 'app/savings/savings.service'; +import { EntityNotesTabComponent } from '../../../shared/tabs/entity-notes-tab/entity-notes-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-notes-tab', templateUrl: './notes-tab.component.html', - styleUrls: ['./notes-tab.component.scss'] + styleUrls: ['./notes-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityNotesTabComponent + ] }) export class NotesTabComponent { entityId: string; diff --git a/src/app/savings/savings-account-view/savings-account-view.component.ts b/src/app/savings/savings-account-view/savings-account-view.component.ts index a72795e57..3a65074d8 100644 --- a/src/app/savings/savings-account-view/savings-account-view.component.ts +++ b/src/app/savings/savings-account-view/savings-account-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Dialogs */ @@ -17,7 +17,26 @@ import { Currency } from 'app/shared/models/general.model'; import { TranslateService } from '@ngx-translate/core'; /** Environment Configuration */ -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardContent +} from '@angular/material/card'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgIf, NgClass, NgFor, CurrencyPipe } from '@angular/common'; +import { LongTextComponent } from '../../shared/long-text/long-text.component'; +import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Account View Component @@ -25,7 +44,31 @@ import { environment } from 'environments/environment'; @Component({ selector: 'mifosx-savings-account-view', templateUrl: './savings-account-view.component.html', - styleUrls: ['./savings-account-view.component.scss'] + styleUrls: ['./savings-account-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatTooltip, + MatCardTitle, + NgClass, + LongTextComponent, + AccountNumberComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + CurrencyPipe, + StatusLookupPipe + ] }) export class SavingsAccountViewComponent implements OnInit { /** Savings Account Data */ diff --git a/src/app/savings/savings-account-view/savings-documents-tab/savings-documents-tab.component.ts b/src/app/savings/savings-account-view/savings-documents-tab/savings-documents-tab.component.ts index 820e4a7f3..45d1349b0 100644 --- a/src/app/savings/savings-account-view/savings-documents-tab/savings-documents-tab.component.ts +++ b/src/app/savings/savings-account-view/savings-documents-tab/savings-documents-tab.component.ts @@ -3,12 +3,18 @@ import { MatDialog } from '@angular/material/dialog'; import { ActivatedRoute } from '@angular/router'; import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; -import { environment } from 'environments/environment'; +import { environment } from '../../../../environments/environment'; +import { EntityDocumentsTabComponent } from '../../../shared/tabs/entity-documents-tab/entity-documents-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-savings-documents-tab', templateUrl: './savings-documents-tab.component.html', - styleUrls: ['./savings-documents-tab.component.scss'] + styleUrls: ['./savings-documents-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDocumentsTabComponent + ] }) export class SavingsDocumentsTabComponent { /** Stores the resolved savings documents data */ diff --git a/src/app/savings/savings-account-view/standing-instructions-tab/standing-instructions-tab.component.ts b/src/app/savings/savings-account-view/standing-instructions-tab/standing-instructions-tab.component.ts index 30dcf416d..5c6fb5385 100644 --- a/src/app/savings/savings-account-view/standing-instructions-tab/standing-instructions-tab.component.ts +++ b/src/app/savings/savings-account-view/standing-instructions-tab/standing-instructions-tab.component.ts @@ -1,7 +1,19 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { MatTableDataSource, MatTable } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ @@ -11,6 +23,9 @@ import { SettingsService } from 'app/settings/settings.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Savings Standing Instructions Tab @@ -18,7 +33,22 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-standing-instructions-tab', templateUrl: './standing-instructions-tab.component.html', - styleUrls: ['./standing-instructions-tab.component.scss'] + styleUrls: ['./standing-instructions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class StandingInstructionsTabComponent implements OnInit { /** Savings Data */ diff --git a/src/app/savings/savings-account-view/transactions-tab/export-transactions/export-transactions.component.ts b/src/app/savings/savings-account-view/transactions-tab/export-transactions/export-transactions.component.ts index ad65d8ce9..54de7fad6 100644 --- a/src/app/savings/savings-account-view/transactions-tab/export-transactions/export-transactions.component.ts +++ b/src/app/savings/savings-account-view/transactions-tab/export-transactions/export-transactions.component.ts @@ -1,13 +1,15 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { ReportsService } from 'app/reports/reports.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Export Client Savings Transactions Component @@ -15,7 +17,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-export-transactions', templateUrl: './export-transactions.component.html', - styleUrls: ['./export-transactions.component.scss'] + styleUrls: ['./export-transactions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ExportTransactionsComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.ts b/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.ts index cbff00972..d3ad3636c 100644 --- a/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.ts +++ b/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.ts @@ -1,10 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { SavingsAccountTransaction, @@ -14,6 +26,16 @@ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { UndoTransactionDialogComponent } from '../custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component'; import { MatDialog } from '@angular/material/dialog'; +import { NgIf, NgClass } from '@angular/common'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Transactions Tab Component. @@ -21,7 +43,34 @@ import { MatDialog } from '@angular/material/dialog'; @Component({ selector: 'mifosx-transactions-tab', templateUrl: './transactions-tab.component.html', - styleUrls: ['./transactions-tab.component.scss'] + styleUrls: ['./transactions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + NgClass, + ExternalIdentifierComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + MatMenu, + MatMenuItem, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe, + FormatNumberPipe + ] }) export class TransactionsTabComponent implements OnInit { /** Savings Account Status */ diff --git a/src/app/savings/savings-account-view/transactions/edit-transaction/edit-transaction.component.ts b/src/app/savings/savings-account-view/transactions/edit-transaction/edit-transaction.component.ts index a8bf89203..ed3ed9866 100644 --- a/src/app/savings/savings-account-view/transactions/edit-transaction/edit-transaction.component.ts +++ b/src/app/savings/savings-account-view/transactions/edit-transaction/edit-transaction.component.ts @@ -1,13 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + Validators, + UntypedFormControl, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; /** Custom Services */ import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { InputAmountComponent } from '../../../../shared/input-amount/input-amount.component'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Transaction component. @@ -15,7 +24,12 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-edit-transaction', templateUrl: './edit-transaction.component.html', - styleUrls: ['./edit-transaction.component.scss'] + styleUrls: ['./edit-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + InputAmountComponent, + MatSlideToggle + ] }) export class EditTransactionComponent implements OnInit { /** Minimum Due Date allowed. */ diff --git a/src/app/savings/savings-account-view/transactions/view-reciept/view-reciept.component.ts b/src/app/savings/savings-account-view/transactions/view-reciept/view-reciept.component.ts index 443a0550b..8fb92db62 100644 --- a/src/app/savings/savings-account-view/transactions/view-reciept/view-reciept.component.ts +++ b/src/app/savings/savings-account-view/transactions/view-reciept/view-reciept.component.ts @@ -1,7 +1,9 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Transaction Reciept Component @@ -9,7 +11,11 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-reciept', templateUrl: './view-reciept.component.html', - styleUrls: ['./view-reciept.component.scss'] + styleUrls: ['./view-reciept.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewRecieptComponent implements OnInit { /** trusted resource url for pentaho output */ diff --git a/src/app/savings/savings-account-view/transactions/view-transaction/datatable-transaction-tab/datatable-transaction-tab.component.ts b/src/app/savings/savings-account-view/transactions/view-transaction/datatable-transaction-tab/datatable-transaction-tab.component.ts index a37f14771..ad7a9a680 100644 --- a/src/app/savings/savings-account-view/transactions/view-transaction/datatable-transaction-tab/datatable-transaction-tab.component.ts +++ b/src/app/savings/savings-account-view/transactions/view-transaction/datatable-transaction-tab/datatable-transaction-tab.component.ts @@ -1,10 +1,16 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { EntityDatatableTabComponent } from '../../../../../shared/tabs/entity-datatable-tab/entity-datatable-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-transaction-tab', templateUrl: './datatable-transaction-tab.component.html', - styleUrls: ['./datatable-transaction-tab.component.scss'] + styleUrls: ['./datatable-transaction-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + EntityDatatableTabComponent + ] }) export class DatatableTransactionTabComponent { /** Transaction Id */ diff --git a/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-datatable-tab/savings-transaction-datatable-tab.component.ts b/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-datatable-tab/savings-transaction-datatable-tab.component.ts index 737017f7b..aabe2f78a 100644 --- a/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-datatable-tab/savings-transaction-datatable-tab.component.ts +++ b/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-datatable-tab/savings-transaction-datatable-tab.component.ts @@ -1,9 +1,13 @@ import { Component } from '@angular/core'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-savings-transaction-datatable-tab', templateUrl: './savings-transaction-datatable-tab.component.html', - styleUrls: ['./savings-transaction-datatable-tab.component.scss'] + styleUrls: ['./savings-transaction-datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class SavingsTransactionDatatableTabComponent { constructor() {} diff --git a/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-general-tab/savings-transaction-general-tab.component.ts b/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-general-tab/savings-transaction-general-tab.component.ts index 1ef102231..a428dbe9a 100644 --- a/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-general-tab/savings-transaction-general-tab.component.ts +++ b/src/app/savings/savings-account-view/transactions/view-transaction/savings-transaction-general-tab/savings-transaction-general-tab.component.ts @@ -1,16 +1,29 @@ import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { Dates } from 'app/core/utils/dates'; import { ReleaseAmountDialogComponent } from 'app/savings/savings-account-view/custom-dialogs/release-amount-dialog/release-amount-dialog.component'; import { UndoTransactionDialogComponent } from 'app/savings/savings-account-view/custom-dialogs/undo-transaction-dialog/undo-transaction-dialog.component'; import { SavingsService } from 'app/savings/savings.service'; import { SettingsService } from 'app/settings/settings.service'; +import { NgIf, NgClass, CurrencyPipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { TransactionPaymentDetailComponent } from '../../../../../shared/transaction-payment-detail/transaction-payment-detail.component'; +import { DateFormatPipe } from '../../../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-savings-transaction-general-tab', templateUrl: './savings-transaction-general-tab.component.html', - styleUrls: ['./savings-transaction-general-tab.component.scss'] + styleUrls: ['./savings-transaction-general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + NgClass, + TransactionPaymentDetailComponent, + CurrencyPipe, + DateFormatPipe + ] }) export class SavingsTransactionGeneralTabComponent { accountId: string; diff --git a/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.ts b/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.ts index 8d61cacf0..e7ede7f03 100644 --- a/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.ts +++ b/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.ts @@ -1,12 +1,22 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-transaction', templateUrl: './view-transaction.component.html', - styleUrls: ['./view-transaction.component.scss'] + styleUrls: ['./view-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class ViewTransactionComponent { /** Transaction data. */ diff --git a/src/app/savings/savings-account-view/view-charge/view-charge.component.ts b/src/app/savings/savings-account-view/view-charge/view-charge.component.ts index 08812bbdf..823482a9b 100644 --- a/src/app/savings/savings-account-view/view-charge/view-charge.component.ts +++ b/src/app/savings/savings-account-view/view-charge/view-charge.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -18,6 +18,10 @@ import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield- import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicker-base'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Charge Component. @@ -25,7 +29,13 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-view-charge', templateUrl: './view-charge.component.html', - styleUrls: ['./view-charge.component.scss'] + styleUrls: ['./view-charge.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe, + FormatNumberPipe + ] }) export class ViewChargeComponent { /** Charge data. */ diff --git a/src/app/savings/savings.module.ts b/src/app/savings/savings.module.ts index 191bf8e69..c8fb9d322 100644 --- a/src/app/savings/savings.module.ts +++ b/src/app/savings/savings.module.ts @@ -65,9 +65,7 @@ import { SavingsActiveClientMembersComponent } from './savings-account-stepper/s SharedModule, PipesModule, DirectivesModule, - SavingsRoutingModule - ], - declarations: [ + SavingsRoutingModule, SavingAccountActionsComponent, SavingsAccountTransactionsComponent, TransactionsTabComponent, diff --git a/src/app/search/search-page/search-page.component.ts b/src/app/search/search-page/search-page.component.ts index 241854d19..d4b3722be 100644 --- a/src/app/search/search-page/search-page.component.ts +++ b/src/app/search/search-page/search-page.component.ts @@ -1,9 +1,27 @@ /** Angular Imports */ import { Component, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { Router, ActivatedRoute } from '@angular/router'; import { SearchData } from '../search.model'; +import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; +import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Search Page Component @@ -11,7 +29,26 @@ import { SearchData } from '../search.model'; @Component({ selector: 'mifosx-search-page', templateUrl: './search-page.component.html', - styleUrls: ['./search-page.component.scss'] + styleUrls: ['./search-page.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + AccountNumberComponent, + ExternalIdentifierComponent, + MatIconButton, + MatTooltip, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class SearchPageComponent { /** Flags if number of search results exceed 200 */ diff --git a/src/app/search/search.module.ts b/src/app/search/search.module.ts index de8c9755b..ffc6400e4 100644 --- a/src/app/search/search.module.ts +++ b/src/app/search/search.module.ts @@ -13,11 +13,11 @@ import { PipesModule } from 'app/pipes/pipes.module'; * Search Module */ @NgModule({ - declarations: [SearchPageComponent], imports: [ SharedModule, PipesModule, - SearchRoutingModule + SearchRoutingModule, + SearchPageComponent ] }) export class SearchModule {} diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts index e044d373f..d9218afab 100644 --- a/src/app/settings/settings.component.ts +++ b/src/app/settings/settings.component.ts @@ -3,7 +3,16 @@ import { Component, OnInit } from '@angular/core'; /** Custom Service */ import { SettingsService } from './settings.service'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle +} from '@angular/material/expansion'; +import { FileUploadComponent } from '../shared/file-upload/file-upload.component'; +import { ThemePickerComponent } from '../shared/theme-picker/theme-picker.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Settings component. @@ -11,7 +20,16 @@ import { UntypedFormControl } from '@angular/forms'; @Component({ selector: 'mifosx-settings', templateUrl: './settings.component.html', - styleUrls: ['./settings.component.scss'] + styleUrls: ['./settings.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle, + FileUploadComponent, + ThemePickerComponent + ] }) export class SettingsComponent implements OnInit { /** Placeholder for languages. update once translations are set up */ diff --git a/src/app/settings/settings.module.ts b/src/app/settings/settings.module.ts index 893bd6a52..4251fe485 100644 --- a/src/app/settings/settings.module.ts +++ b/src/app/settings/settings.module.ts @@ -16,8 +16,8 @@ import { SettingsComponent } from './settings.component'; @NgModule({ imports: [ SharedModule, - SettingsRoutingModule - ], - declarations: [SettingsComponent] + SettingsRoutingModule, + SettingsComponent + ] }) export class SettingsModule {} diff --git a/src/app/shared/account-number/account-number.component.ts b/src/app/shared/account-number/account-number.component.ts index 96687b52f..631841155 100644 --- a/src/app/shared/account-number/account-number.component.ts +++ b/src/app/shared/account-number/account-number.component.ts @@ -1,10 +1,16 @@ import { Component, Input, OnInit } from '@angular/core'; import { Clipboard } from '@angular/cdk/clipboard'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-account-number', templateUrl: './account-number.component.html', - styleUrls: ['./account-number.component.scss'] + styleUrls: ['./account-number.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class AccountNumberComponent implements OnInit { @Input() accountNo: string; diff --git a/src/app/shared/accounting/gl-account-display/gl-account-display.component.ts b/src/app/shared/accounting/gl-account-display/gl-account-display.component.ts index 1fae0465d..5d8aa6c75 100644 --- a/src/app/shared/accounting/gl-account-display/gl-account-display.component.ts +++ b/src/app/shared/accounting/gl-account-display/gl-account-display.component.ts @@ -1,10 +1,16 @@ import { Component, Input } from '@angular/core'; import { GLAccount } from 'app/shared/models/general.model'; +import { NgIf, NgClass } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-gl-account-display', templateUrl: './gl-account-display.component.html', - styleUrls: ['./gl-account-display.component.scss'] + styleUrls: ['./gl-account-display.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgClass + ] }) export class GlAccountDisplayComponent { @Input() glAccount: GLAccount | null = null; diff --git a/src/app/shared/accounting/gl-account-selector/gl-account-selector.component.ts b/src/app/shared/accounting/gl-account-selector/gl-account-selector.component.ts index bae314aa5..f5528438a 100644 --- a/src/app/shared/accounting/gl-account-selector/gl-account-selector.component.ts +++ b/src/app/shared/accounting/gl-account-selector/gl-account-selector.component.ts @@ -1,14 +1,22 @@ import { Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; import { GLAccount } from 'app/shared/models/general.model'; import { ReplaySubject, Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; +import { NgIf, NgFor, AsyncPipe } from '@angular/common'; +import { NgxMatSelectSearchModule } from 'ngx-mat-select-search'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-gl-account-selector', templateUrl: './gl-account-selector.component.html', - styleUrls: ['./gl-account-selector.component.scss'] + styleUrls: ['./gl-account-selector.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgxMatSelectSearchModule, + AsyncPipe + ] }) export class GlAccountSelectorComponent implements OnInit, OnChanges, OnDestroy { @Input() inputFormControl: UntypedFormControl; diff --git a/src/app/shared/accounting/view-journal-entry-transaction/view-journal-entry-transaction.component.ts b/src/app/shared/accounting/view-journal-entry-transaction/view-journal-entry-transaction.component.ts index d4bb0bb1d..57f838dce 100644 --- a/src/app/shared/accounting/view-journal-entry-transaction/view-journal-entry-transaction.component.ts +++ b/src/app/shared/accounting/view-journal-entry-transaction/view-journal-entry-transaction.component.ts @@ -4,15 +4,51 @@ import { RevertTransactionComponent } from 'app/accounting/revert-transaction/re import { AccountingService } from 'app/accounting/accounting.service'; import { MatDialog } from '@angular/material/dialog'; import { ActivatedRoute, Router } from '@angular/router'; -import { MatSort } from '@angular/material/sort'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; -import { Location } from '@angular/common'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { Location, NgIf } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { DatetimeFormatPipe } from '../../../pipes/datetime-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-journal-entry-transaction', templateUrl: './view-journal-entry-transaction.component.html', - styleUrls: ['./view-journal-entry-transaction.component.scss'] + styleUrls: ['./view-journal-entry-transaction.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe, + DatetimeFormatPipe, + FormatNumberPipe + ] }) export class ViewJournalEntryTransactionComponent implements OnInit { title: string; diff --git a/src/app/shared/accounting/view-journal-entry/view-journal-entry.component.ts b/src/app/shared/accounting/view-journal-entry/view-journal-entry.component.ts index e015386bc..69e20b13d 100644 --- a/src/app/shared/accounting/view-journal-entry/view-journal-entry.component.ts +++ b/src/app/shared/accounting/view-journal-entry/view-journal-entry.component.ts @@ -1,6 +1,18 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { DatetimeFormatPipe } from '../../../pipes/datetime-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View journal entry dialog component. @@ -8,7 +20,18 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-view-journal-entry', templateUrl: './view-journal-entry.component.html', - styleUrls: ['./view-journal-entry.component.scss'] + styleUrls: ['./view-journal-entry.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose, + DateFormatPipe, + DatetimeFormatPipe, + FormatNumberPipe + ] }) export class ViewJournalEntryComponent { existsPaymentDetails = false; diff --git a/src/app/shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component.ts b/src/app/shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component.ts index a1067624b..5785a5b74 100644 --- a/src/app/shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component.ts +++ b/src/app/shared/accounting/view-savings-accounting-details/view-savings-accounting-details.component.ts @@ -1,11 +1,17 @@ import { Component, Input } from '@angular/core'; import { Accounting } from 'app/core/utils/accounting'; import { OptionData } from 'app/shared/models/option-data.model'; +import { GlAccountDisplayComponent } from '../gl-account-display/gl-account-display.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-savings-accounting-details', templateUrl: './view-savings-accounting-details.component.html', - styleUrls: ['./view-savings-accounting-details.component.scss'] + styleUrls: ['./view-savings-accounting-details.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GlAccountDisplayComponent + ] }) export class ViewSavingsAccountingDetailsComponent { @Input() accountingRule: OptionData; diff --git a/src/app/shared/cancel-dialog/cancel-dialog.component.ts b/src/app/shared/cancel-dialog/cancel-dialog.component.ts index 440476139..f57908075 100644 --- a/src/app/shared/cancel-dialog/cancel-dialog.component.ts +++ b/src/app/shared/cancel-dialog/cancel-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { + MAT_DIALOG_DATA, + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Cancel dialog component. @@ -8,7 +17,15 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'mifosx-cancel-dialog', templateUrl: './cancel-dialog.component.html', - styleUrls: ['./cancel-dialog.component.scss'] + styleUrls: ['./cancel-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class CancelDialogComponent { /** diff --git a/src/app/shared/change-password-dialog/change-password-dialog.component.ts b/src/app/shared/change-password-dialog/change-password-dialog.component.ts index 97d354e48..feb7b1fff 100644 --- a/src/app/shared/change-password-dialog/change-password-dialog.component.ts +++ b/src/app/shared/change-password-dialog/change-password-dialog.component.ts @@ -1,10 +1,27 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormBuilder, Validators, ValidatorFn, AbstractControl, ValidationErrors } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { + UntypedFormBuilder, + Validators, + ValidatorFn, + AbstractControl, + ValidationErrors, + ReactiveFormsModule +} from '@angular/forms'; import { Subscription } from 'rxjs'; import { PasswordsUtility } from 'app/core/utils/passwords-utility'; -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { InputPasswordComponent } from '../input-password/input-password.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Change Password Dialog component. @@ -12,7 +29,16 @@ import { environment } from 'environments/environment'; @Component({ selector: 'mifosx-change-password-dialog', templateUrl: './change-password-dialog.component.html', - styleUrls: ['./change-password-dialog.component.scss'] + styleUrls: ['./change-password-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + InputPasswordComponent, + MatDialogActions, + MatDialogClose + ] }) export class ChangePasswordDialogComponent implements OnInit { minPasswordLength: number = environment.minPasswordLength | 12; diff --git a/src/app/shared/confirmation-dialog/confirmation-dialog.component.ts b/src/app/shared/confirmation-dialog/confirmation-dialog.component.ts index 6933d5b64..53c569942 100644 --- a/src/app/shared/confirmation-dialog/confirmation-dialog.component.ts +++ b/src/app/shared/confirmation-dialog/confirmation-dialog.component.ts @@ -1,8 +1,17 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; import { DialogData } from 'app/core/dialogs/dialog-data.model'; import { Dialogs } from 'app/core/dialogs/dialogs'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Delete dialog component. @@ -10,7 +19,15 @@ import { Dialogs } from 'app/core/dialogs/dialogs'; @Component({ selector: 'mifosx-confirmation-dialog', templateUrl: './confirmation-dialog.component.html', - styleUrls: ['./confirmation-dialog.component.scss'] + styleUrls: ['./confirmation-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ConfirmationDialogComponent implements OnInit { color: string; diff --git a/src/app/shared/datetime-picker-stub/datetime-picker-stub.component.ts b/src/app/shared/datetime-picker-stub/datetime-picker-stub.component.ts index df3afd7a8..36cea67cb 100644 --- a/src/app/shared/datetime-picker-stub/datetime-picker-stub.component.ts +++ b/src/app/shared/datetime-picker-stub/datetime-picker-stub.component.ts @@ -1,4 +1,5 @@ import { Component, Input } from '@angular/core'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /* eslint-disable @angular-eslint/component-selector */ /* eslint-disable @angular-eslint/prefer-standalone */ @@ -8,7 +9,9 @@ import { Component, Input } from '@angular/core'; `, - standalone: false + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class DatetimePickerStubComponent { @Input() enableMeridian: boolean = true; diff --git a/src/app/shared/delete-dialog/delete-dialog.component.ts b/src/app/shared/delete-dialog/delete-dialog.component.ts index 0771a3c0d..17d6ef77c 100644 --- a/src/app/shared/delete-dialog/delete-dialog.component.ts +++ b/src/app/shared/delete-dialog/delete-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Delete dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-delete-dialog', templateUrl: './delete-dialog.component.html', - styleUrls: ['./delete-dialog.component.scss'] + styleUrls: ['./delete-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class DeleteDialogComponent { /** diff --git a/src/app/shared/disable-dialog/disable-dialog.component.ts b/src/app/shared/disable-dialog/disable-dialog.component.ts index f69892efd..7836d3ed3 100644 --- a/src/app/shared/disable-dialog/disable-dialog.component.ts +++ b/src/app/shared/disable-dialog/disable-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Disable dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-disable-dialog', templateUrl: './disable-dialog.component.html', - styleUrls: ['./disable-dialog.component.scss'] + styleUrls: ['./disable-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class DisableDialogComponent { /** diff --git a/src/app/shared/dropdown/dropdown.component.ts b/src/app/shared/dropdown/dropdown.component.ts index 4c55f8281..fbe98e3a4 100644 --- a/src/app/shared/dropdown/dropdown.component.ts +++ b/src/app/shared/dropdown/dropdown.component.ts @@ -1,11 +1,19 @@ import { Component, Input } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; +import { MatIconButton } from '@angular/material/button'; +import { MatIcon } from '@angular/material/icon'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-dropdown', templateUrl: './dropdown.component.html', - styleUrls: ['./dropdown.component.scss'] + styleUrls: ['./dropdown.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + MatIcon + ] }) export class DropdownComponent { @Input() placeHolderText: string; diff --git a/src/app/shared/enable-dialog/enable-dialog.component.ts b/src/app/shared/enable-dialog/enable-dialog.component.ts index 9a70eb109..4974c15dc 100644 --- a/src/app/shared/enable-dialog/enable-dialog.component.ts +++ b/src/app/shared/enable-dialog/enable-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Enable dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-enable-dialog', templateUrl: './enable-dialog.component.html', - styleUrls: ['./enable-dialog.component.scss'] + styleUrls: ['./enable-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class EnableDialogComponent { /** diff --git a/src/app/shared/entity-name/entity-name.component.ts b/src/app/shared/entity-name/entity-name.component.ts index 7b31b017b..a98177507 100644 --- a/src/app/shared/entity-name/entity-name.component.ts +++ b/src/app/shared/entity-name/entity-name.component.ts @@ -1,10 +1,16 @@ import { Component, Input, OnInit } from '@angular/core'; import { Clipboard } from '@angular/cdk/clipboard'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-entity-name', templateUrl: './entity-name.component.html', - styleUrls: ['./entity-name.component.scss'] + styleUrls: ['./entity-name.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class EntityNameComponent implements OnInit { @Input() entityName: string; diff --git a/src/app/shared/error-dialog/error-dialog.component.ts b/src/app/shared/error-dialog/error-dialog.component.ts index ea692a245..4b41417f0 100644 --- a/src/app/shared/error-dialog/error-dialog.component.ts +++ b/src/app/shared/error-dialog/error-dialog.component.ts @@ -1,11 +1,28 @@ /** Angular Imports. */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-error-dialog', templateUrl: './error-dialog.component.html', - styleUrls: ['./error-dialog.component.scss'] + styleUrls: ['./error-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ErrorDialogComponent { showAsCode = false; diff --git a/src/app/shared/external-identifier/external-identifier.component.ts b/src/app/shared/external-identifier/external-identifier.component.ts index fd6003d1c..2f5f6b758 100644 --- a/src/app/shared/external-identifier/external-identifier.component.ts +++ b/src/app/shared/external-identifier/external-identifier.component.ts @@ -1,11 +1,19 @@ import { Component, Input, OnInit } from '@angular/core'; import { Clipboard } from '@angular/cdk/clipboard'; import { AlertService } from 'app/core/alert/alert.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { ExternalIdentifierPipe } from '../../pipes/external-identifier.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-external-identifier', templateUrl: './external-identifier.component.html', - styleUrls: ['./external-identifier.component.scss'] + styleUrls: ['./external-identifier.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + ExternalIdentifierPipe + ] }) export class ExternalIdentifierComponent implements OnInit { @Input() externalId: string; diff --git a/src/app/shared/file-upload/file-upload.component.ts b/src/app/shared/file-upload/file-upload.component.ts index 695ffd3b9..f53571f33 100644 --- a/src/app/shared/file-upload/file-upload.component.ts +++ b/src/app/shared/file-upload/file-upload.component.ts @@ -1,5 +1,8 @@ /** Angular Imports */ import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core'; +import { NgStyle } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Custom file upload component based on angular material. @@ -7,7 +10,12 @@ import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core'; @Component({ selector: 'mifosx-file-upload', templateUrl: './file-upload.component.html', - styleUrls: ['./file-upload.component.scss'] + styleUrls: ['./file-upload.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgStyle, + FaIconComponent + ] }) export class FileUploadComponent implements OnInit { /** Form field flex dimension */ diff --git a/src/app/shared/footer/footer.component.ts b/src/app/shared/footer/footer.component.ts index a8b11980a..36d21b3ae 100644 --- a/src/app/shared/footer/footer.component.ts +++ b/src/app/shared/footer/footer.component.ts @@ -9,8 +9,11 @@ import { SystemService } from 'app/system/system.service'; import { VersionService } from 'app/system/version.service'; /** Environment Configuration */ -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; import { Subscription } from 'rxjs'; +import { NgIf, NgClass, DatePipe } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Footer component. @@ -18,7 +21,13 @@ import { Subscription } from 'rxjs'; @Component({ selector: 'mifosx-footer', templateUrl: './footer.component.html', - styleUrls: ['./footer.component.scss'] + styleUrls: ['./footer.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgClass, + MatDivider, + DatePipe + ] }) export class FooterComponent implements OnInit, OnDestroy { @Input() styleClass: string = ''; diff --git a/src/app/shared/form-dialog/form-dialog.component.ts b/src/app/shared/form-dialog/form-dialog.component.ts index 6d55152c7..88177e9bf 100644 --- a/src/app/shared/form-dialog/form-dialog.component.ts +++ b/src/app/shared/form-dialog/form-dialog.component.ts @@ -1,17 +1,38 @@ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormGroup } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, ReactiveFormsModule } from '@angular/forms'; import { FormfieldBase } from './formfield/model/formfield-base'; import { FormGroupService } from './form-group.service'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { NgClass, NgFor } from '@angular/common'; +import { FormfieldComponent } from './formfield/formfield.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; const layoutGap = 2; @Component({ selector: 'mifosx-form-dialog', templateUrl: './form-dialog.component.html', - styleUrls: ['./form-dialog.component.scss'] + styleUrls: ['./form-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + NgClass, + FormfieldComponent, + MatDialogActions, + MatDialogClose + ] }) export class FormDialogComponent implements OnInit { layout: { diff --git a/src/app/shared/form-dialog/formfield/formfield.component.ts b/src/app/shared/form-dialog/formfield/formfield.component.ts index 1bd9f7d92..405040ddf 100644 --- a/src/app/shared/form-dialog/formfield/formfield.component.ts +++ b/src/app/shared/form-dialog/formfield/formfield.component.ts @@ -1,12 +1,18 @@ import { Component, Input } from '@angular/core'; -import { UntypedFormGroup } from '@angular/forms'; +import { UntypedFormGroup, ReactiveFormsModule } from '@angular/forms'; import { FormfieldBase } from './model/formfield-base'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-formfield', templateUrl: './formfield.component.html', - styleUrls: ['./formfield.component.scss'] + styleUrls: ['./formfield.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class FormfieldComponent { @Input() form: UntypedFormGroup; diff --git a/src/app/shared/input-amount/input-amount.component.ts b/src/app/shared/input-amount/input-amount.component.ts index 083befbee..3a4eb6881 100644 --- a/src/app/shared/input-amount/input-amount.component.ts +++ b/src/app/shared/input-amount/input-amount.component.ts @@ -1,11 +1,21 @@ import { Component, Input } from '@angular/core'; import { Currency } from '../models/general.model'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { MatFormField, MatLabel, MatError, MatHint, MatSuffix } from '@angular/material/form-field'; +import { FormatAmountDirective } from '../../directives/format-amount.directive'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-input-amount', templateUrl: './input-amount.component.html', - styleUrls: ['./input-amount.component.scss'] + styleUrls: ['./input-amount.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FormatAmountDirective, + MatHint, + CurrencyPipe + ] }) export class InputAmountComponent { @Input() isRequired = false; diff --git a/src/app/shared/input-password/input-password.component.ts b/src/app/shared/input-password/input-password.component.ts index c94761b2b..fefa12f2e 100644 --- a/src/app/shared/input-password/input-password.component.ts +++ b/src/app/shared/input-password/input-password.component.ts @@ -9,11 +9,17 @@ import { } from '@angular/forms'; import { MatInput } from '@angular/material/input'; import { ErrorStateMatcher } from '@angular/material/core'; +import { MatIcon } from '@angular/material/icon'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-input-password', templateUrl: './input-password.component.html', - styleUrls: ['./input-password.component.scss'] + styleUrls: ['./input-password.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIcon + ] }) export class InputPasswordComponent implements ControlValueAccessor, ErrorStateMatcher { disabled = false; diff --git a/src/app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component.ts b/src/app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component.ts index 4b2f0b4db..acba005c7 100644 --- a/src/app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component.ts +++ b/src/app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component.ts @@ -1,14 +1,24 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { MatDialogRef, MAT_DIALOG_DATA, MatDialogTitle, MatDialogContent } from '@angular/material/dialog'; import { KeyboardShortcutsConfiguration } from '../../keyboards-shortcut-config'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatDivider } from '@angular/material/divider'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Delete dialog component. */ @Component({ selector: 'mifosx-keyboard-shortcuts-dialog', templateUrl: './keyboard-shortcuts-dialog.component.html', - styleUrls: ['./keyboard-shortcuts-dialog.component.scss'] + styleUrls: ['./keyboard-shortcuts-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDivider + ] }) export class KeyboardShortcutsDialogComponent implements OnInit { buttonConfig: KeyboardShortcutsConfiguration; diff --git a/src/app/shared/language-selector/language-selector.component.ts b/src/app/shared/language-selector/language-selector.component.ts index bfbe4f609..6a56a5a2a 100644 --- a/src/app/shared/language-selector/language-selector.component.ts +++ b/src/app/shared/language-selector/language-selector.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { TranslateService } from '@ngx-translate/core'; import { SettingsService } from 'app/settings/settings.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Language selector component. @@ -15,7 +16,10 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-language-selector', templateUrl: './language-selector.component.html', - styleUrls: ['./language-selector.component.scss'] + styleUrls: ['./language-selector.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class LanguageSelectorComponent { /** Language selector form control. */ diff --git a/src/app/shared/long-text/long-text.component.ts b/src/app/shared/long-text/long-text.component.ts index 2d739a6c2..1e43a1ff4 100644 --- a/src/app/shared/long-text/long-text.component.ts +++ b/src/app/shared/long-text/long-text.component.ts @@ -1,9 +1,17 @@ import { Component, Input, OnInit } from '@angular/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { TruncateTextPipe } from '../../pipes/truncate-text.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-long-text', templateUrl: './long-text.component.html', - styleUrls: ['./long-text.component.scss'] + styleUrls: ['./long-text.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + TruncateTextPipe + ] }) export class LongTextComponent implements OnInit { @Input() textValue: string; diff --git a/src/app/shared/notifications-tray/notifications-tray.component.ts b/src/app/shared/notifications-tray/notifications-tray.component.ts index f17d1152d..53a175dc9 100644 --- a/src/app/shared/notifications-tray/notifications-tray.component.ts +++ b/src/app/shared/notifications-tray/notifications-tray.component.ts @@ -6,7 +6,14 @@ import { forkJoin } from 'rxjs'; /** Custom Services */ import { NotificationsService } from 'app/notifications/notifications.service'; -import { environment } from 'environments/environment'; +import { environment } from '../../../environments/environment'; +import { MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatBadge } from '@angular/material/badge'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatIcon } from '@angular/material/icon'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Notifications Tray Component @@ -15,7 +22,18 @@ import { environment } from 'environments/environment'; selector: 'mifosx-notifications-tray', templateUrl: './notifications-tray.component.html', styleUrls: ['./notifications-tray.component.scss'], - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + MatTooltip, + MatMenuTrigger, + MatBadge, + FaIconComponent, + MatMenu, + MatIcon, + MatMenuItem + ] }) export class NotificationsTrayComponent implements OnInit, OnDestroy { /** Wait time between API status calls 60 seg */ diff --git a/src/app/shared/search-tool/search-tool.component.ts b/src/app/shared/search-tool/search-tool.component.ts index 36300b53a..452da202e 100644 --- a/src/app/shared/search-tool/search-tool.component.ts +++ b/src/app/shared/search-tool/search-tool.component.ts @@ -2,7 +2,11 @@ import { Component } from '@angular/core'; import { style, animate, transition, trigger } from '@angular/animations'; import { Router } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; +import { MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Search Tool Component @@ -21,6 +25,12 @@ import { UntypedFormControl } from '@angular/forms'; ]) + ], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + FaIconComponent, + MatTooltip ] }) export class SearchToolComponent { diff --git a/src/app/shared/server-selector/server-selector.component.ts b/src/app/shared/server-selector/server-selector.component.ts index 87a47f390..cf7dcb119 100644 --- a/src/app/shared/server-selector/server-selector.component.ts +++ b/src/app/shared/server-selector/server-selector.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { UntypedFormBuilder, Validators } from '@angular/forms'; /** Custom Services */ import { SettingsService } from 'app/settings/settings.service'; +import { MatFormField, MatLabel, MatPrefix, MatError } from '@angular/material/form-field'; +import { MatIcon } from '@angular/material/icon'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Server Selector Component @@ -12,7 +15,12 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-server-selector', templateUrl: './server-selector.component.html', - styleUrls: ['./server-selector.component.scss'] + styleUrls: ['./server-selector.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatPrefix, + MatIcon + ] }) export class ServerSelectorComponent implements OnInit { /** Input server. */ diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts index 6eac6c50d..42d265e27 100644 --- a/src/app/shared/shared.module.ts +++ b/src/app/shared/shared.module.ts @@ -66,11 +66,9 @@ import { DatetimePickerStubComponent } from './datetime-picker-stub/datetime-pic ReactiveFormsModule, TranslateModule, PipesModule, - DirectivesModule + DirectivesModule, // NgxMatDatetimePickerModule, // NgxMatNativeDateModule - ], - declarations: [ FormfieldComponent, FormDialogComponent, DeleteDialogComponent, @@ -111,7 +109,6 @@ import { DatetimePickerStubComponent } from './datetime-picker-stub/datetime-pic InputAmountComponent, InputPasswordComponent, DatetimePickerStubComponent // temporarily added stub for datetime picker - ], exports: [ FileUploadComponent, diff --git a/src/app/shared/steppers/stepper-buttons/stepper-buttons.component.ts b/src/app/shared/steppers/stepper-buttons/stepper-buttons.component.ts index 7f5b76e13..dd1017d2b 100644 --- a/src/app/shared/steppers/stepper-buttons/stepper-buttons.component.ts +++ b/src/app/shared/steppers/stepper-buttons/stepper-buttons.component.ts @@ -1,9 +1,18 @@ import { Component, Input, OnInit } from '@angular/core'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-stepper-buttons', templateUrl: './stepper-buttons.component.html', - styleUrls: ['./stepper-buttons.component.scss'] + styleUrls: ['./stepper-buttons.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class StepperButtonsComponent { @Input() disablePrevious = false; diff --git a/src/app/shared/svg-icon/svg-icon.component.ts b/src/app/shared/svg-icon/svg-icon.component.ts index fa67bffea..05aacf94c 100644 --- a/src/app/shared/svg-icon/svg-icon.component.ts +++ b/src/app/shared/svg-icon/svg-icon.component.ts @@ -1,9 +1,15 @@ import { Component, Input } from '@angular/core'; +import { NgClass } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-svg-icon', templateUrl: './svg-icon.component.html', - styleUrls: ['./svg-icon.component.scss'] + styleUrls: ['./svg-icon.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + NgClass + ] }) export class SvgIconComponent { @Input() iconFile: string; diff --git a/src/app/shared/tabs/entity-datatable-tab/datatable-multi-row/datatable-multi-row.component.ts b/src/app/shared/tabs/entity-datatable-tab/datatable-multi-row/datatable-multi-row.component.ts index fa6af37bd..3d77caca3 100644 --- a/src/app/shared/tabs/entity-datatable-tab/datatable-multi-row/datatable-multi-row.component.ts +++ b/src/app/shared/tabs/entity-datatable-tab/datatable-multi-row/datatable-multi-row.component.ts @@ -1,9 +1,20 @@ import { SelectionModel } from '@angular/cdk/collections'; -import { DecimalPipe } from '@angular/common'; +import { DecimalPipe, NgIf, NgFor, NgClass } from '@angular/common'; import { Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core'; -import { MatCheckboxChange as MatCheckboxChange } from '@angular/material/checkbox'; +import { MatCheckboxChange as MatCheckboxChange, MatCheckbox } from '@angular/material/checkbox'; import { MatDialog } from '@angular/material/dialog'; -import { MatTable } from '@angular/material/table'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; import { Datatables } from 'app/core/utils/datatables'; import { Dates } from 'app/core/utils/dates'; @@ -15,11 +26,29 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SystemService } from 'app/system/system.service'; import * as _ from 'lodash'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-multi-row', templateUrl: './datatable-multi-row.component.html', - styleUrls: ['./datatable-multi-row.component.scss'] + styleUrls: ['./datatable-multi-row.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatCheckbox, + NgClass, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class DatatableMultiRowComponent implements OnInit, OnDestroy, OnChanges { SELECT_NAME_FIELD = 'select'; diff --git a/src/app/shared/tabs/entity-datatable-tab/datatable-single-row/datatable-single-row.component.ts b/src/app/shared/tabs/entity-datatable-tab/datatable-single-row/datatable-single-row.component.ts index 4447a7025..c76f9c270 100644 --- a/src/app/shared/tabs/entity-datatable-tab/datatable-single-row/datatable-single-row.component.ts +++ b/src/app/shared/tabs/entity-datatable-tab/datatable-single-row/datatable-single-row.component.ts @@ -8,11 +8,38 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SystemService } from 'app/system/system.service'; +import { NgIf, NgFor, NgClass, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DateFormatPipe } from '../../../../pipes/date-format.pipe'; +import { DatetimeFormatPipe } from '../../../../pipes/datetime-format.pipe'; +import { FormatNumberPipe } from '../../../../pipes/format-number.pipe'; +import { PrettyPrintPipe } from '../../../../pipes/pretty-print.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-datatable-single-row', templateUrl: './datatable-single-row.component.html', - styleUrls: ['./datatable-single-row.component.scss'] + styleUrls: ['./datatable-single-row.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + NgClass, + NgSwitch, + NgSwitchCase, + CdkTextareaAutosize, + NgSwitchDefault, + MatIconButton, + MatTooltip, + DateFormatPipe, + DatetimeFormatPipe, + FormatNumberPipe, + PrettyPrintPipe + ] }) export class DatatableSingleRowComponent implements OnInit { @Input() dataObject: any; diff --git a/src/app/shared/tabs/entity-datatable-tab/entity-datatable-tab.component.ts b/src/app/shared/tabs/entity-datatable-tab/entity-datatable-tab.component.ts index 2128a65f6..3ff362c2a 100644 --- a/src/app/shared/tabs/entity-datatable-tab/entity-datatable-tab.component.ts +++ b/src/app/shared/tabs/entity-datatable-tab/entity-datatable-tab.component.ts @@ -1,9 +1,17 @@ import { Component, Input } from '@angular/core'; +import { DatatableMultiRowComponent } from './datatable-multi-row/datatable-multi-row.component'; +import { DatatableSingleRowComponent } from './datatable-single-row/datatable-single-row.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-entity-datatable-tab', templateUrl: './entity-datatable-tab.component.html', - styleUrls: ['./entity-datatable-tab.component.scss'] + styleUrls: ['./entity-datatable-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + DatatableMultiRowComponent, + DatatableSingleRowComponent + ] }) export class EntityDatatableTabComponent { @Input() multiRowDatatableFlag = false; diff --git a/src/app/shared/tabs/entity-documents-tab/entity-documents-tab.component.ts b/src/app/shared/tabs/entity-documents-tab/entity-documents-tab.component.ts index 2807f15eb..ecff9021e 100644 --- a/src/app/shared/tabs/entity-documents-tab/entity-documents-tab.component.ts +++ b/src/app/shared/tabs/entity-documents-tab/entity-documents-tab.component.ts @@ -1,19 +1,50 @@ import { Component, Input, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTable, MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTable, + MatTableDataSource, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { UploadDocumentDialogComponent } from 'app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component'; import { ClientsService } from 'app/clients/clients.service'; import { LoansService } from 'app/loans/loans.service'; import { SavingsService } from 'app/savings/savings.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { Observable } from 'rxjs'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-entity-documents-tab', templateUrl: './entity-documents-tab.component.html', - styleUrls: ['./entity-documents-tab.component.scss'] + styleUrls: ['./entity-documents-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class EntityDocumentsTabComponent implements OnInit { @ViewChild('documentsTable', { static: true }) documentsTable: MatTable; diff --git a/src/app/shared/tabs/entity-notes-tab/entity-notes-tab.component.ts b/src/app/shared/tabs/entity-notes-tab/entity-notes-tab.component.ts index b4861f6f5..6749f39d3 100644 --- a/src/app/shared/tabs/entity-notes-tab/entity-notes-tab.component.ts +++ b/src/app/shared/tabs/entity-notes-tab/entity-notes-tab.component.ts @@ -1,5 +1,5 @@ import { Component, Input, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { ClientsService } from 'app/clients/clients.service'; import { GroupsService } from 'app/groups/groups.service'; @@ -7,11 +7,24 @@ import { LoansService } from 'app/loans/loans.service'; import { SavingsService } from 'app/savings/savings.service'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatList, MatListItem } from '@angular/material/list'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-entity-notes-tab', templateUrl: './entity-notes-tab.component.html', - styleUrls: ['./entity-notes-tab.component.scss'] + styleUrls: ['./entity-notes-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize, + FaIconComponent, + MatList, + MatListItem, + DateFormatPipe + ] }) export class EntityNotesTabComponent implements OnInit { @ViewChild('formRef', { static: true }) formRef: any; diff --git a/src/app/shared/tenant-selector/tenant-selector.component.ts b/src/app/shared/tenant-selector/tenant-selector.component.ts index 35ada51fc..e139303cc 100644 --- a/src/app/shared/tenant-selector/tenant-selector.component.ts +++ b/src/app/shared/tenant-selector/tenant-selector.component.ts @@ -1,11 +1,19 @@ import { Component, OnInit } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; +import { MatFormField, MatPrefix, MatLabel } from '@angular/material/form-field'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-tenant-selector', templateUrl: './tenant-selector.component.html', - styleUrls: ['./tenant-selector.component.scss'] + styleUrls: ['./tenant-selector.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatPrefix, + FaIconComponent + ] }) export class TenantSelectorComponent implements OnInit { /** Tenant selector form control. */ diff --git a/src/app/shared/theme-picker/theme-picker.component.ts b/src/app/shared/theme-picker/theme-picker.component.ts index 29135de08..a585cb363 100644 --- a/src/app/shared/theme-picker/theme-picker.component.ts +++ b/src/app/shared/theme-picker/theme-picker.component.ts @@ -6,6 +6,12 @@ import { Theme } from './theme.model'; /** Custom Services */ import { ThemeStorageService } from './theme-storage.service'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatGridList, MatGridTile } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Theme picker component. @@ -16,7 +22,18 @@ import { ThemeStorageService } from './theme-storage.service'; selector: 'mifosx-theme-picker', templateUrl: './theme-picker.component.html', styleUrls: ['./theme-picker.component.scss'], - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + MatMenuTrigger, + MatTooltip, + FaIconComponent, + MatMenu, + MatGridList, + MatGridTile, + MatMenuItem + ] }) export class ThemePickerComponent implements OnInit { /** Default theme for the application. */ diff --git a/src/app/shared/theme-toggle/theme-toggle.component.ts b/src/app/shared/theme-toggle/theme-toggle.component.ts index c0f041dd9..b32b285bc 100644 --- a/src/app/shared/theme-toggle/theme-toggle.component.ts +++ b/src/app/shared/theme-toggle/theme-toggle.component.ts @@ -1,11 +1,19 @@ import { Component, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ThemingService } from './theming.service'; import { SettingsService } from 'app/settings/settings.service'; +import { MatIconButton } from '@angular/material/button'; +import { MatIcon } from '@angular/material/icon'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-theme-toggle', templateUrl: './theme-toggle.component.html', - styleUrls: ['./theme-toggle.component.scss'] + styleUrls: ['./theme-toggle.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + MatIcon + ] }) export class ThemeToggleComponent implements OnInit, OnChanges { darkModeOn: boolean; diff --git a/src/app/shared/transaction-payment-detail/transaction-payment-detail.component.ts b/src/app/shared/transaction-payment-detail/transaction-payment-detail.component.ts index ce5948491..83edbcea9 100644 --- a/src/app/shared/transaction-payment-detail/transaction-payment-detail.component.ts +++ b/src/app/shared/transaction-payment-detail/transaction-payment-detail.component.ts @@ -1,10 +1,14 @@ import { Component, Input } from '@angular/core'; import { PaymentDetail } from './payment-detail-model'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-transaction-payment-detail', templateUrl: './transaction-payment-detail.component.html', - styleUrls: ['./transaction-payment-detail.component.scss'] + styleUrls: ['./transaction-payment-detail.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class TransactionPaymentDetailComponent { @Input() paymentDetailData: PaymentDetail; diff --git a/src/app/shares/create-shares-account/create-shares-account.component.ts b/src/app/shares/create-shares-account/create-shares-account.component.ts index 2c5b8efd5..eb599490b 100644 --- a/src/app/shares/create-shares-account/create-shares-account.component.ts +++ b/src/app/shares/create-shares-account/create-shares-account.component.ts @@ -11,6 +11,10 @@ import { SharesAccountChargesStepComponent } from '../shares-account-stepper/sha import { SharesService } from '../shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SharesAccountPreviewStepComponent } from '../shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Shares Account Component @@ -18,7 +22,19 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-create-shares-account', templateUrl: './create-shares-account.component.html', - styleUrls: ['./create-shares-account.component.scss'] + styleUrls: ['./create-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SharesAccountDetailsStepComponent, + SharesAccountTermsStepComponent, + SharesAccountChargesStepComponent, + SharesAccountPreviewStepComponent + ] }) export class CreateSharesAccountComponent { /** Shares Account Template */ diff --git a/src/app/shares/edit-shares-account/edit-shares-account.component.ts b/src/app/shares/edit-shares-account/edit-shares-account.component.ts index da5a06fd0..8c45a7268 100644 --- a/src/app/shares/edit-shares-account/edit-shares-account.component.ts +++ b/src/app/shares/edit-shares-account/edit-shares-account.component.ts @@ -11,6 +11,10 @@ import { SharesAccountChargesStepComponent } from '../shares-account-stepper/sha import { SharesService } from '../shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { SharesAccountPreviewStepComponent } from '../shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Shares Account Component @@ -18,7 +22,19 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-edit-shares-account', templateUrl: './edit-shares-account.component.html', - styleUrls: ['./edit-shares-account.component.scss'] + styleUrls: ['./edit-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepper, + MatStepperIcon, + FaIconComponent, + MatStep, + MatStepLabel, + SharesAccountDetailsStepComponent, + SharesAccountTermsStepComponent, + SharesAccountChargesStepComponent, + SharesAccountPreviewStepComponent + ] }) export class EditSharesAccountComponent { /** Shares Account and Template */ diff --git a/src/app/shares/shares-account-actions/activate-shares-account/activate-shares-account.component.ts b/src/app/shares/shares-account-actions/activate-shares-account/activate-shares-account.component.ts index 3907c2e19..5de245df7 100644 --- a/src/app/shares/shares-account-actions/activate-shares-account/activate-shares-account.component.ts +++ b/src/app/shares/shares-account-actions/activate-shares-account/activate-shares-account.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Activate Shares Account Component @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-activate-shares-account', templateUrl: './activate-shares-account.component.html', - styleUrls: ['./activate-shares-account.component.scss'] + styleUrls: ['./activate-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ActivateSharesAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/shares/shares-account-actions/apply-shares/apply-shares.component.ts b/src/app/shares/shares-account-actions/apply-shares/apply-shares.component.ts index ba465d136..304ae1d50 100644 --- a/src/app/shares/shares-account-actions/apply-shares/apply-shares.component.ts +++ b/src/app/shares/shares-account-actions/apply-shares/apply-shares.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Apply Shares Component @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-apply-shares', templateUrl: './apply-shares.component.html', - styleUrls: ['./apply-shares.component.scss'] + styleUrls: ['./apply-shares.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class ApplySharesComponent implements OnInit { /** Shares account data. */ diff --git a/src/app/shares/shares-account-actions/approve-shares-account/approve-shares-account.component.ts b/src/app/shares/shares-account-actions/approve-shares-account/approve-shares-account.component.ts index 498a1aee9..a7be39961 100644 --- a/src/app/shares/shares-account-actions/approve-shares-account/approve-shares-account.component.ts +++ b/src/app/shares/shares-account-actions/approve-shares-account/approve-shares-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve Shares Account Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-approve-shares-account', templateUrl: './approve-shares-account.component.html', - styleUrls: ['./approve-shares-account.component.scss'] + styleUrls: ['./approve-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class ApproveSharesAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/shares/shares-account-actions/approve-shares/approve-share-dialog/approve-share-dialog.component.ts b/src/app/shares/shares-account-actions/approve-shares/approve-share-dialog/approve-share-dialog.component.ts index a6824aa42..67886ceea 100644 --- a/src/app/shares/shares-account-actions/approve-shares/approve-share-dialog/approve-share-dialog.component.ts +++ b/src/app/shares/shares-account-actions/approve-shares/approve-share-dialog/approve-share-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve share dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-approve-share-dialog', templateUrl: './approve-share-dialog.component.html', - styleUrls: ['./approve-share-dialog.component.scss'] + styleUrls: ['./approve-share-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ApproveShareDialogComponent { /** diff --git a/src/app/shares/shares-account-actions/approve-shares/approve-shares.component.ts b/src/app/shares/shares-account-actions/approve-shares/approve-shares.component.ts index a3945318e..cf0c2eeb8 100644 --- a/src/app/shares/shares-account-actions/approve-shares/approve-shares.component.ts +++ b/src/app/shares/shares-account-actions/approve-shares/approve-shares.component.ts @@ -1,8 +1,19 @@ /** Angular Imports */ import { Component, OnInit, ViewChild, Input } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; import { MatTable } from '@angular/material/table'; @@ -13,6 +24,11 @@ import { ApproveShareDialogComponent } from './approve-share-dialog/approve-shar /** Custom Serices */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; +import { NgClass } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Approve shares component. @@ -20,7 +36,27 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-approve-shares', templateUrl: './approve-shares.component.html', - styleUrls: ['./approve-shares.component.scss'] + styleUrls: ['./approve-shares.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + NgClass, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe, + DateFormatPipe + ] }) export class ApproveSharesComponent implements OnInit { /** Shares account data. */ diff --git a/src/app/shares/shares-account-actions/close-shares-account/close-shares-account.component.ts b/src/app/shares/shares-account-actions/close-shares-account/close-shares-account.component.ts index f1478600c..81eabd366 100644 --- a/src/app/shares/shares-account-actions/close-shares-account/close-shares-account.component.ts +++ b/src/app/shares/shares-account-actions/close-shares-account/close-shares-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Close Shares Account Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-close-shares-account', templateUrl: './close-shares-account.component.html', - styleUrls: ['./close-shares-account.component.scss'] + styleUrls: ['./close-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class CloseSharesAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/shares/shares-account-actions/redeem-shares/redeem-shares.component.ts b/src/app/shares/shares-account-actions/redeem-shares/redeem-shares.component.ts index 92561ad4c..c3c860647 100644 --- a/src/app/shares/shares-account-actions/redeem-shares/redeem-shares.component.ts +++ b/src/app/shares/shares-account-actions/redeem-shares/redeem-shares.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Redeem Shares Component @@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-redeem-shares', templateUrl: './redeem-shares.component.html', - styleUrls: ['./redeem-shares.component.scss'] + styleUrls: ['./redeem-shares.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class RedeemSharesComponent implements OnInit { /** Shares account data. */ diff --git a/src/app/shares/shares-account-actions/reject-shares-account/reject-shares-account.component.ts b/src/app/shares/shares-account-actions/reject-shares-account/reject-shares-account.component.ts index cb25e4aa1..7a68cacb6 100644 --- a/src/app/shares/shares-account-actions/reject-shares-account/reject-shares-account.component.ts +++ b/src/app/shares/shares-account-actions/reject-shares-account/reject-shares-account.component.ts @@ -1,12 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject Shares Account Component @@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-reject-shares-account', templateUrl: './reject-shares-account.component.html', - styleUrls: ['./reject-shares-account.component.scss'] + styleUrls: ['./reject-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class RejectSharesAccountComponent implements OnInit { /** Minimum date allowed. */ diff --git a/src/app/shares/shares-account-actions/reject-shares/reject-share-dialog/reject-share-dialog.component.ts b/src/app/shares/shares-account-actions/reject-shares/reject-share-dialog/reject-share-dialog.component.ts index 76c175e50..959607f53 100644 --- a/src/app/shares/shares-account-actions/reject-shares/reject-share-dialog/reject-share-dialog.component.ts +++ b/src/app/shares/shares-account-actions/reject-shares/reject-share-dialog/reject-share-dialog.component.ts @@ -1,6 +1,15 @@ /** Angular Imports */ import { Component, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject share dialog component. @@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'mifosx-reject-share-dialog', templateUrl: './reject-share-dialog.component.html', - styleUrls: ['./reject-share-dialog.component.scss'] + styleUrls: ['./reject-share-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class RejectShareDialogComponent { /** diff --git a/src/app/shares/shares-account-actions/reject-shares/reject-shares.component.ts b/src/app/shares/shares-account-actions/reject-shares/reject-shares.component.ts index b78b3e7b0..8ba231020 100644 --- a/src/app/shares/shares-account-actions/reject-shares/reject-shares.component.ts +++ b/src/app/shares/shares-account-actions/reject-shares/reject-shares.component.ts @@ -1,8 +1,19 @@ /** Angular Imports */ import { Component, OnInit, ViewChild, Input } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; import { MatTable } from '@angular/material/table'; @@ -13,6 +24,11 @@ import { RejectShareDialogComponent } from './reject-share-dialog/reject-share-d /** Custom Serices */ import { SharesService } from 'app/shares/shares.service'; import { SettingsService } from 'app/settings/settings.service'; +import { NgClass } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Reject shares component. @@ -20,7 +36,27 @@ import { SettingsService } from 'app/settings/settings.service'; @Component({ selector: 'mifosx-reject-shares', templateUrl: './reject-shares.component.html', - styleUrls: ['./reject-shares.component.scss'] + styleUrls: ['./reject-shares.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + NgClass, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + StatusLookupPipe, + DateFormatPipe + ] }) export class RejectSharesComponent implements OnInit { /** Shares account data. */ diff --git a/src/app/shares/shares-account-actions/shares-account-actions.component.ts b/src/app/shares/shares-account-actions/shares-account-actions.component.ts index 31405770b..0f5bc984f 100644 --- a/src/app/shares/shares-account-actions/shares-account-actions.component.ts +++ b/src/app/shares/shares-account-actions/shares-account-actions.component.ts @@ -4,6 +4,16 @@ import { ActivatedRoute } from '@angular/router'; /** Custom Services */ import { SharesService } from '../shares.service'; +import { ApproveSharesAccountComponent } from './approve-shares-account/approve-shares-account.component'; +import { RejectSharesAccountComponent } from './reject-shares-account/reject-shares-account.component'; +import { CloseSharesAccountComponent } from './close-shares-account/close-shares-account.component'; +import { ActivateSharesAccountComponent } from './activate-shares-account/activate-shares-account.component'; +import { UndoApprovalSharesAccountComponent } from './undo-approval-shares-account/undo-approval-shares-account.component'; +import { ApplySharesComponent } from './apply-shares/apply-shares.component'; +import { RedeemSharesComponent } from './redeem-shares/redeem-shares.component'; +import { ApproveSharesComponent } from './approve-shares/approve-shares.component'; +import { RejectSharesComponent } from './reject-shares/reject-shares.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shares Account Actions Component @@ -11,7 +21,19 @@ import { SharesService } from '../shares.service'; @Component({ selector: 'mifosx-shares-account-actions', templateUrl: './shares-account-actions.component.html', - styleUrls: ['./shares-account-actions.component.scss'] + styleUrls: ['./shares-account-actions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ApproveSharesAccountComponent, + RejectSharesAccountComponent, + CloseSharesAccountComponent, + ActivateSharesAccountComponent, + UndoApprovalSharesAccountComponent, + ApplySharesComponent, + RedeemSharesComponent, + ApproveSharesComponent, + RejectSharesComponent + ] }) export class SharesAccountActionsComponent { /** Shares Account Data */ diff --git a/src/app/shares/shares-account-actions/undo-approval-shares-account/undo-approval-shares-account.component.ts b/src/app/shares/shares-account-actions/undo-approval-shares-account/undo-approval-shares-account.component.ts index 9b958f11c..d32cd9f30 100644 --- a/src/app/shares/shares-account-actions/undo-approval-shares-account/undo-approval-shares-account.component.ts +++ b/src/app/shares/shares-account-actions/undo-approval-shares-account/undo-approval-shares-account.component.ts @@ -1,9 +1,11 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Undo Approval Shares Account Component @@ -11,7 +13,11 @@ import { SharesService } from 'app/shares/shares.service'; @Component({ selector: 'mifosx-undo-approval-shares-account', templateUrl: './undo-approval-shares-account.component.html', - styleUrls: ['./undo-approval-shares-account.component.scss'] + styleUrls: ['./undo-approval-shares-account.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FormsModule + ] }) export class UndoApprovalSharesAccountComponent { /** Shares Account Id */ diff --git a/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.ts b/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.ts index 1a0cd3496..1bbd29494 100644 --- a/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.ts +++ b/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.ts @@ -11,6 +11,23 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base'; import { TranslateService } from '@ngx-translate/core'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { ChargesFilterPipe } from '../../../pipes/charges-filter.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shares Account Charges Step @@ -18,7 +35,25 @@ import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'mifosx-shares-account-charges-step', templateUrl: './shares-account-charges-step.component.html', - styleUrls: ['./shares-account-charges-step.component.scss'] + styleUrls: ['./shares-account-charges-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + MatStepperNext, + ChargesFilterPipe + ] }) export class SharesAccountChargesStepComponent implements OnInit, OnChanges { /** Shares Account Product Template */ diff --git a/src/app/shares/shares-account-stepper/shares-account-details-step/shares-account-details-step.component.ts b/src/app/shares/shares-account-stepper/shares-account-details-step/shares-account-details-step.component.ts index 8d3e2ec50..b904b9a7c 100644 --- a/src/app/shares/shares-account-stepper/shares-account-details-step/shares-account-details-step.component.ts +++ b/src/app/shares/shares-account-stepper/shares-account-details-step/shares-account-details-step.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; /** Custom Services */ import { SharesService } from 'app/shares/shares.service'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shares Account Details Step @@ -12,7 +15,13 @@ import { SharesService } from 'app/shares/shares.service'; @Component({ selector: 'mifosx-shares-account-details-step', templateUrl: './shares-account-details-step.component.html', - styleUrls: ['./shares-account-details-step.component.scss'] + styleUrls: ['./shares-account-details-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatStepperPrevious, + FaIconComponent, + MatStepperNext + ] }) export class SharesAccountDetailsStepComponent implements OnInit { /** Shares Account Template */ diff --git a/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.ts b/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.ts index 42c75c15e..5fe61e39f 100644 --- a/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.ts +++ b/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.ts @@ -1,5 +1,26 @@ /** Angular Imports */ import { Component, Input, Output, EventEmitter } from '@angular/core'; +import { MatDivider } from '@angular/material/divider'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatStepperPrevious } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { FindPipe } from '../../../pipes/find.pipe'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shares account preview step @@ -7,7 +28,28 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'mifosx-shares-account-preview-step', templateUrl: './shares-account-preview-step.component.html', - styleUrls: ['./shares-account-preview-step.component.scss'] + styleUrls: ['./shares-account-preview-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDivider, + ExternalIdentifierComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatStepperPrevious, + FaIconComponent, + FindPipe, + DateFormatPipe, + FormatNumberPipe, + YesnoPipe + ] }) export class SharesAccountPreviewStepComponent { /** Shares Account Product Template */ diff --git a/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.ts b/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.ts index 3d4e725cc..bc07c5e37 100644 --- a/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.ts +++ b/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.ts @@ -1,8 +1,13 @@ /** Angular Imports */ import { Component, OnChanges, OnInit, Input } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; import { Currency } from 'app/shared/models/general.model'; +import { NgIf, NgFor, CurrencyPipe } from '@angular/common'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shares Account Terms Step @@ -10,7 +15,15 @@ import { Currency } from 'app/shared/models/general.model'; @Component({ selector: 'mifosx-shares-account-terms-step', templateUrl: './shares-account-terms-step.component.html', - styleUrls: ['./shares-account-terms-step.component.scss'] + styleUrls: ['./shares-account-terms-step.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatStepperPrevious, + FaIconComponent, + MatStepperNext, + CurrencyPipe + ] }) export class SharesAccountTermsStepComponent implements OnChanges, OnInit { /** Shares Account and Product Template */ diff --git a/src/app/shares/shares-account-view/charges-tab/charges-tab.component.ts b/src/app/shares/shares-account-view/charges-tab/charges-tab.component.ts index 088bad81a..ac2b53505 100644 --- a/src/app/shares/shares-account-view/charges-tab/charges-tab.component.ts +++ b/src/app/shares/shares-account-view/charges-tab/charges-tab.component.ts @@ -1,7 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; +import { NgIf, CurrencyPipe } from '@angular/common'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Charges Tab Component @@ -9,7 +24,22 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-charges-tab', templateUrl: './charges-tab.component.html', - styleUrls: ['./charges-tab.component.scss'] + styleUrls: ['./charges-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + CurrencyPipe + ] }) export class ChargesTabComponent implements OnInit { /** Shares Account Data */ diff --git a/src/app/shares/shares-account-view/dividends-tab/dividends-tab.component.ts b/src/app/shares/shares-account-view/dividends-tab/dividends-tab.component.ts index 9e1ab3797..02496e9ca 100644 --- a/src/app/shares/shares-account-view/dividends-tab/dividends-tab.component.ts +++ b/src/app/shares/shares-account-view/dividends-tab/dividends-tab.component.ts @@ -1,7 +1,22 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; +import { CurrencyPipe } from '@angular/common'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Dividends Tab Component. @@ -9,7 +24,22 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-dividends-tab', templateUrl: './dividends-tab.component.html', - styleUrls: ['./dividends-tab.component.scss'] + styleUrls: ['./dividends-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + CurrencyPipe, + DateFormatPipe + ] }) export class DividendsTabComponent implements OnInit { /** Shares Account Data */ diff --git a/src/app/shares/shares-account-view/general-tab/general-tab.component.ts b/src/app/shares/shares-account-view/general-tab/general-tab.component.ts index 4ca00c74c..b090ddb82 100644 --- a/src/app/shares/shares-account-view/general-tab/general-tab.component.ts +++ b/src/app/shares/shares-account-view/general-tab/general-tab.component.ts @@ -1,10 +1,22 @@ import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; +import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component'; +import { AccountNumberComponent } from '../../../shared/account-number/account-number.component'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-general-tab', templateUrl: './general-tab.component.html', - styleUrls: ['./general-tab.component.scss'] + styleUrls: ['./general-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + ExternalIdentifierComponent, + AccountNumberComponent, + DateFormatPipe, + FormatNumberPipe + ] }) export class GeneralTabComponent { /** Shares Account Data */ diff --git a/src/app/shares/shares-account-view/shares-account-view.component.ts b/src/app/shares/shares-account-view/shares-account-view.component.ts index 84492cdec..51b3b9527 100644 --- a/src/app/shares/shares-account-view/shares-account-view.component.ts +++ b/src/app/shares/shares-account-view/shares-account-view.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Dialogs */ @@ -11,6 +11,26 @@ import { SharesService } from '../shares.service'; /** Custom Buttons Configuration */ import { SharesButtonsConfiguration } from './shares-buttons.config'; +import { + MatCard, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatCardTitle, + MatCardContent +} from '@angular/material/card'; +import { MatTooltip } from '@angular/material/tooltip'; +import { NgClass, NgIf, NgFor } from '@angular/common'; +import { LongTextComponent } from '../../shared/long-text/long-text.component'; +import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; +import { MatIconButton } from '@angular/material/button'; +import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; +import { FormatNumberPipe } from '../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Shares Account View @@ -18,7 +38,31 @@ import { SharesButtonsConfiguration } from './shares-buttons.config'; @Component({ selector: 'mifosx-shares-account-view', templateUrl: './shares-account-view.component.html', - styleUrls: ['./shares-account-view.component.scss'] + styleUrls: ['./shares-account-view.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCardHeader, + MatCardTitleGroup, + MatCardMdImage, + MatTooltip, + MatCardTitle, + NgClass, + LongTextComponent, + AccountNumberComponent, + MatIconButton, + MatMenuTrigger, + MatIcon, + FaIconComponent, + MatMenu, + MatMenuItem, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet, + StatusLookupPipe, + FormatNumberPipe + ] }) export class SharesAccountViewComponent implements OnInit { /** Shares Account Data */ diff --git a/src/app/shares/shares-account-view/transactions-tab/transactions-tab.component.ts b/src/app/shares/shares-account-view/transactions-tab/transactions-tab.component.ts index 15776d2d0..fdd28c943 100644 --- a/src/app/shares/shares-account-view/transactions-tab/transactions-tab.component.ts +++ b/src/app/shares/shares-account-view/transactions-tab/transactions-tab.component.ts @@ -1,7 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Transactions Tab Component. @@ -9,7 +23,21 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-transactions-tab', templateUrl: './transactions-tab.component.html', - styleUrls: ['./transactions-tab.component.scss'] + styleUrls: ['./transactions-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class TransactionsTabComponent implements OnInit { /** Shares Account Data */ diff --git a/src/app/shares/shares.module.ts b/src/app/shares/shares.module.ts index a03d9aebe..15df4c710 100644 --- a/src/app/shares/shares.module.ts +++ b/src/app/shares/shares.module.ts @@ -40,9 +40,7 @@ import { GeneralTabComponent } from './shares-account-view/general-tab/general-t SharedModule, PipesModule, DirectivesModule, - SharesRoutingModule - ], - declarations: [ + SharesRoutingModule, SharesAccountViewComponent, TransactionsTabComponent, DividendsTabComponent, diff --git a/src/app/standalone-shared.module.ts b/src/app/standalone-shared.module.ts new file mode 100644 index 000000000..b4967c052 --- /dev/null +++ b/src/app/standalone-shared.module.ts @@ -0,0 +1,49 @@ +// src/app/shared/standalone-shared.module.ts + +import { CommonModule } from '@angular/common'; +import { ReactiveFormsModule } from '@angular/forms'; +import { RouterLink } from '@angular/router'; +import { NgIf, NgFor } from '@angular/common'; + +import { MatCard, MatCardContent, MatCardActions } from '@angular/material/card'; +import { MatFormField, MatLabel, MatError, MatSuffix } from '@angular/material/form-field'; +import { MatInput } from '@angular/material/input'; +import { MatSelect } from '@angular/material/select'; +import { MatOption } from '@angular/material/core'; +import { MatDatepickerInput, MatDatepickerToggle, MatDatepicker } from '@angular/material/datepicker'; +import { MatButton } from '@angular/material/button'; +import { DateFormatPipe } from '@pipes/date-format.pipe'; +import { TranslatePipe as NgxTranslatePipe } from '@ngx-translate/core'; +import { TranslatePipe } from '@pipes/translate.pipe'; +import { HasPermissionDirective } from './directives/has-permission/has-permission.directive'; + +export const STANDALONE_SHARED_IMPORTS = [ + CommonModule, + ReactiveFormsModule, + RouterLink, + NgIf, + NgFor, + + // Angular Material + MatCard, + MatCardContent, + MatCardActions, + MatFormField, + MatLabel, + MatError, + MatSuffix, + MatInput, + MatSelect, + MatOption, + MatDatepickerInput, + MatDatepickerToggle, + MatDatepicker, + MatButton, + DateFormatPipe, + HasPermissionDirective, + + // Pipes and Directives + NgxTranslatePipe, + TranslatePipe +]; +export { HasPermissionDirective } from './directives/has-permission/has-permission.directive'; diff --git a/src/app/system/account-number-preferences/account-number-preferences.component.ts b/src/app/system/account-number-preferences/account-number-preferences.component.ts index 5a46723fb..6b9db27ed 100644 --- a/src/app/system/account-number-preferences/account-number-preferences.component.ts +++ b/src/app/system/account-number-preferences/account-number-preferences.component.ts @@ -1,9 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Account Number Preferences Component. @@ -11,7 +25,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-account-number-preferences', templateUrl: './account-number-preferences.component.html', - styleUrls: ['./account-number-preferences.component.scss'] + styleUrls: ['./account-number-preferences.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class AccountNumberPreferencesComponent implements OnInit { /** Account Number Preferences data. */ diff --git a/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.ts b/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.ts index b1b810e67..02bf01f01 100644 --- a/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.ts +++ b/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Account Number Preference Component. @@ -12,7 +13,10 @@ import { SystemService } from '../../system.service'; @Component({ selector: 'mifosx-create-account-number-preference', templateUrl: './create-account-number-preference.component.html', - styleUrls: ['./create-account-number-preference.component.scss'] + styleUrls: ['./create-account-number-preference.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateAccountNumberPreferenceComponent implements OnInit { /** Account Number Preferences Form */ diff --git a/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.ts b/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.ts index 6386a28a7..0a74f9e31 100644 --- a/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.ts +++ b/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Account Number Preference Component. @@ -12,7 +13,10 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-edit-account-number-preference', templateUrl: './edit-account-number-preference.component.html', - styleUrls: ['./edit-account-number-preference.component.scss'] + styleUrls: ['./edit-account-number-preference.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditAccountNumberPreferenceComponent implements OnInit { /** Account Number Preference Form */ diff --git a/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts b/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts index 3c43798bd..8b6030c12 100644 --- a/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts +++ b/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; @@ -9,6 +9,8 @@ import { SystemService } from '../../system.service'; /** Custom Components */ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Account Number Preference Component. @@ -16,7 +18,11 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-account-number-preference', templateUrl: './view-account-number-preference.component.html', - styleUrls: ['./view-account-number-preference.component.scss'] + styleUrls: ['./view-account-number-preference.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewAccountNumberPreferenceComponent { /** Account Number Preference Data */ diff --git a/src/app/system/audit-trails/audit-trails.component.ts b/src/app/system/audit-trails/audit-trails.component.ts index 896e19994..be02131dc 100644 --- a/src/app/system/audit-trails/audit-trails.component.ts +++ b/src/app/system/audit-trails/audit-trails.component.ts @@ -1,9 +1,9 @@ /** Angular Imports */ import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { ActivatedRoute } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms'; /** Custom Data Source */ import { AuditTrailsDataSource } from './audit-trail.datasource'; @@ -16,6 +16,24 @@ import { SettingsService } from 'app/settings/settings.service'; import { merge } from 'rxjs'; import { tap, debounceTime, distinctUntilChanged, startWith, map } from 'rxjs/operators'; import { Dates } from 'app/core/utils/dates'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgFor, NgIf, AsyncPipe } from '@angular/common'; +import { MatOption, MatAutocompleteTrigger, MatAutocomplete } from '@angular/material/autocomplete'; +import { MatProgressBar } from '@angular/material/progress-bar'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Audit Trails Component. @@ -23,7 +41,29 @@ import { Dates } from 'app/core/utils/dates'; @Component({ selector: 'mifosx-audit-trails', templateUrl: './audit-trails.component.html', - styleUrls: ['./audit-trails.component.scss'] + styleUrls: ['./audit-trails.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatAutocompleteTrigger, + MatAutocomplete, + MatProgressBar, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + AsyncPipe, + DateFormatPipe + ] }) export class AuditTrailsComponent implements OnInit, AfterViewInit { /** Minimum date allowed. */ diff --git a/src/app/system/audit-trails/view-audit/view-audit.component.ts b/src/app/system/audit-trails/view-audit/view-audit.component.ts index c91ac6aad..4821db813 100644 --- a/src/app/system/audit-trails/view-audit/view-audit.component.ts +++ b/src/app/system/audit-trails/view-audit/view-audit.component.ts @@ -1,9 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Audit Component. @@ -11,7 +25,23 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-view-audit', templateUrl: './view-audit.component.html', - styleUrls: ['./view-audit.component.scss'] + styleUrls: ['./view-audit.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class ViewAuditComponent implements OnInit { /** Audit Trail Data. */ diff --git a/src/app/system/codes/codes.component.ts b/src/app/system/codes/codes.component.ts index 10635ede0..487d37235 100644 --- a/src/app/system/codes/codes.component.ts +++ b/src/app/system/codes/codes.component.ts @@ -1,18 +1,51 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-codes', templateUrl: './codes.component.html', - styleUrls: ['./codes.component.scss'] + styleUrls: ['./codes.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class CodesComponent implements OnInit, AfterViewInit { /** Codes data. */ diff --git a/src/app/system/codes/create-code/create-code.component.ts b/src/app/system/codes/create-code/create-code.component.ts index 741d20f79..b5babaa63 100644 --- a/src/app/system/codes/create-code/create-code.component.ts +++ b/src/app/system/codes/create-code/create-code.component.ts @@ -1,18 +1,22 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; import { PopoverService } from '../../../configuration-wizard/popover/popover.service'; import { PopoverRef } from '../../../configuration-wizard/popover/popover-ref'; import { ConfigurationWizardService } from '../../../configuration-wizard/configuration-wizard.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-create-code', templateUrl: './create-code.component.html', - styleUrls: ['./create-code.component.scss'] + styleUrls: ['./create-code.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class CreateCodeComponent implements OnInit, AfterViewInit { /** Code form. */ diff --git a/src/app/system/codes/edit-code/edit-code.component.ts b/src/app/system/codes/edit-code/edit-code.component.ts index 4b59f091f..228cd0e22 100644 --- a/src/app/system/codes/edit-code/edit-code.component.ts +++ b/src/app/system/codes/edit-code/edit-code.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Code Component. @@ -12,7 +13,10 @@ import { SystemService } from '../../system.service'; @Component({ selector: 'mifosx-edit-code', templateUrl: './edit-code.component.html', - styleUrls: ['./edit-code.component.scss'] + styleUrls: ['./edit-code.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditCodeComponent implements OnInit { /** Code Form */ diff --git a/src/app/system/codes/view-code/view-code.component.ts b/src/app/system/codes/view-code/view-code.component.ts index 73e5d33fc..f3683e992 100644 --- a/src/app/system/codes/view-code/view-code.component.ts +++ b/src/app/system/codes/view-code/view-code.component.ts @@ -1,8 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { + UntypedFormArray, + UntypedFormBuilder, + UntypedFormGroup, + Validators, + ReactiveFormsModule +} from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; @@ -10,6 +16,12 @@ import { SystemService } from 'app/system/system.service'; /** Custom Components */ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCard, MatCardTitle, MatCardContent } from '@angular/material/card'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Code Component. @@ -17,7 +29,15 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-code', templateUrl: './view-code.component.html', - styleUrls: ['./view-code.component.scss'] + styleUrls: ['./view-code.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatCardTitle, + MatCheckbox, + MatIconButton, + MatTooltip + ] }) export class ViewCodeComponent implements OnInit { /** Code Data */ diff --git a/src/app/system/configurations/business-date-tab/business-date-tab.component.ts b/src/app/system/configurations/business-date-tab/business-date-tab.component.ts index ccf95a8ec..0fbbd7d98 100644 --- a/src/app/system/configurations/business-date-tab/business-date-tab.component.ts +++ b/src/app/system/configurations/business-date-tab/business-date-tab.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { Alert } from 'app/core/alert/alert.model'; import { AlertService } from 'app/core/alert/alert.service'; @@ -10,11 +10,23 @@ import { Subscription } from 'rxjs'; /** Custom Services */ import { SystemService } from '../../system.service'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-business-date-tab', templateUrl: './business-date-tab.component.html', - styleUrls: ['./business-date-tab.component.scss'] + styleUrls: ['./business-date-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + MatTooltip, + FaIconComponent, + DateFormatPipe + ] }) export class BusinessDateTabComponent implements OnInit { /** Subscription to alerts. */ diff --git a/src/app/system/configurations/configurations.component.ts b/src/app/system/configurations/configurations.component.ts index 5790d0f72..b718e3047 100644 --- a/src/app/system/configurations/configurations.component.ts +++ b/src/app/system/configurations/configurations.component.ts @@ -4,11 +4,22 @@ import { AlertService } from 'app/core/alert/alert.service'; import { SettingsService } from 'app/settings/settings.service'; import { Subscription } from 'rxjs'; import { SystemService } from '../system.service'; +import { MatTabGroup, MatTab } from '@angular/material/tabs'; +import { GlobalConfigurationsTabComponent } from './global-configurations-tab/global-configurations-tab.component'; +import { BusinessDateTabComponent } from './business-date-tab/business-date-tab.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-configurations', templateUrl: './configurations.component.html', - styleUrls: ['./configurations.component.scss'] + styleUrls: ['./configurations.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabGroup, + MatTab, + GlobalConfigurationsTabComponent, + BusinessDateTabComponent + ] }) export class ConfigurationsComponent implements OnInit { /** Subscription to alerts. */ diff --git a/src/app/system/configurations/global-configurations-tab/edit-configuration/edit-configuration.component.ts b/src/app/system/configurations/global-configurations-tab/edit-configuration/edit-configuration.component.ts index 238ee007d..a5db5ed60 100644 --- a/src/app/system/configurations/global-configurations-tab/edit-configuration/edit-configuration.component.ts +++ b/src/app/system/configurations/global-configurations-tab/edit-configuration/edit-configuration.component.ts @@ -1,11 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SettingsService } from 'app/settings/settings.service'; /** Custom Services */ import { SystemService } from '../../../system.service'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Configuration Component @@ -13,7 +15,11 @@ import { SystemService } from '../../../system.service'; @Component({ selector: 'mifosx-edit-configuration', templateUrl: './edit-configuration.component.html', - styleUrls: ['./edit-configuration.component.scss'] + styleUrls: ['./edit-configuration.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize + ] }) export class EditConfigurationComponent implements OnInit { /** Minimum transaction date allowed. */ diff --git a/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts b/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts index 7855f9439..9805828d2 100644 --- a/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts +++ b/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts @@ -1,21 +1,60 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { AlertService } from 'app/core/alert/alert.service'; import { SettingsService } from 'app/settings/settings.service'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; import { PopoverService } from '../../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-global-configurations-tab', templateUrl: './global-configurations-tab.component.html', - styleUrls: ['./global-configurations-tab.component.scss'] + styleUrls: ['./global-configurations-tab.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + FaIconComponent, + MatTooltip, + MatSlideToggle, + FormsModule, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DateFormatPipe + ] }) export class GlobalConfigurationsTabComponent implements OnInit, AfterViewInit { /** Configuration data. */ diff --git a/src/app/system/configure-maker-checker-tasks/configure-maker-checker-tasks.component.ts b/src/app/system/configure-maker-checker-tasks/configure-maker-checker-tasks.component.ts index 241870c4b..f1fa64182 100644 --- a/src/app/system/configure-maker-checker-tasks/configure-maker-checker-tasks.component.ts +++ b/src/app/system/configure-maker-checker-tasks/configure-maker-checker-tasks.component.ts @@ -1,12 +1,18 @@ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import * as _ from 'lodash'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; import { SystemService } from '../system.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatList, MatListItem } from '@angular/material/list'; +import { NgFor, NgClass, NgIf } from '@angular/common'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface Permission { code: string; @@ -32,7 +38,16 @@ interface SubmitPermissionData { @Component({ selector: 'mifosx-configure-maker-checker-tasks', templateUrl: './configure-maker-checker-tasks.component.html', - styleUrls: ['./configure-maker-checker-tasks.component.scss'] + styleUrls: ['./configure-maker-checker-tasks.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatList, + MatListItem, + NgClass, + MatDivider, + MatCheckbox + ] }) export class ConfigureMakerCheckerTasksComponent implements OnInit, AfterViewInit { permissionsData: Permission[] = []; diff --git a/src/app/system/entity-to-entity-mapping/entity-to-entity-mapping.component.ts b/src/app/system/entity-to-entity-mapping/entity-to-entity-mapping.component.ts index c0a534a50..156320552 100644 --- a/src/app/system/entity-to-entity-mapping/entity-to-entity-mapping.component.ts +++ b/src/app/system/entity-to-entity-mapping/entity-to-entity-mapping.component.ts @@ -3,11 +3,23 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; /** Custom Services */ -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { SettingsService } from 'app/settings/settings.service'; import { SystemService } from 'app/system/system.service'; @@ -19,6 +31,12 @@ import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicke import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog.component'; +import { MatCard, MatCardTitle, MatCardContent, MatCardActions } from '@angular/material/card'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Entity to Entity Mapping Component @@ -26,7 +44,26 @@ import { DeleteDialogComponent } from '../../shared/delete-dialog/delete-dialog. @Component({ selector: 'mifosx-entity-to-entity-mapping', templateUrl: './entity-to-entity-mapping.component.html', - styleUrls: ['./entity-to-entity-mapping.component.scss'] + styleUrls: ['./entity-to-entity-mapping.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatCardTitle, + MatIconButton, + MatTooltip, + FaIconComponent, + MatPaginator, + DateFormatPipe + ] }) export class EntityToEntityMappingComponent implements OnInit { /** Stores entity to entity mapping data */ diff --git a/src/app/system/external-services/amazon-s3/amazon-s3.component.ts b/src/app/system/external-services/amazon-s3/amazon-s3.component.ts index 4dfb97d1f..378d4ec7b 100644 --- a/src/app/system/external-services/amazon-s3/amazon-s3.component.ts +++ b/src/app/system/external-services/amazon-s3/amazon-s3.component.ts @@ -1,8 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Amazon S3 Component. @@ -10,7 +24,23 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-amazon-s3', templateUrl: './amazon-s3.component.html', - styleUrls: ['./amazon-s3.component.scss'] + styleUrls: ['./amazon-s3.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class AmazonS3Component implements OnInit { /** Amazon S3 configuration data. */ diff --git a/src/app/system/external-services/amazon-s3/edit-amazon-s3/edit-amazon-s3.component.ts b/src/app/system/external-services/amazon-s3/edit-amazon-s3/edit-amazon-s3.component.ts index b90170924..d5a83653b 100644 --- a/src/app/system/external-services/amazon-s3/edit-amazon-s3/edit-amazon-s3.component.ts +++ b/src/app/system/external-services/amazon-s3/edit-amazon-s3/edit-amazon-s3.component.ts @@ -1,10 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Amazon S3 Component. @@ -12,7 +15,12 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-edit-amazon-s3', templateUrl: './edit-amazon-s3.component.html', - styleUrls: ['./edit-amazon-s3.component.scss'] + styleUrls: ['./edit-amazon-s3.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + FaIconComponent + ] }) export class EditAmazonS3Component implements OnInit { /** Amazon S3 Configuration data */ diff --git a/src/app/system/external-services/email/edit-email/edit-email.component.ts b/src/app/system/external-services/email/edit-email/edit-email.component.ts index 6daf08e43..86c8cb1e5 100644 --- a/src/app/system/external-services/email/edit-email/edit-email.component.ts +++ b/src/app/system/external-services/email/edit-email/edit-email.component.ts @@ -1,10 +1,14 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Email Configuration Component. @@ -12,7 +16,13 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-edit-email', templateUrl: './edit-email.component.html', - styleUrls: ['./edit-email.component.scss'] + styleUrls: ['./edit-email.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatIconButton, + FaIconComponent, + MatCheckbox + ] }) export class EditEmailComponent implements OnInit { /** Password input field type. */ diff --git a/src/app/system/external-services/email/email.component.ts b/src/app/system/external-services/email/email.component.ts index 00c135ab5..faf1c4d51 100644 --- a/src/app/system/external-services/email/email.component.ts +++ b/src/app/system/external-services/email/email.component.ts @@ -1,8 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Email Configuration Component. @@ -10,7 +24,23 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-email', templateUrl: './email.component.html', - styleUrls: ['./email.component.scss'] + styleUrls: ['./email.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class EmailComponent implements OnInit { /** Email configuration data. */ diff --git a/src/app/system/external-services/external-services.component.ts b/src/app/system/external-services/external-services.component.ts index cf619e700..146cc266a 100644 --- a/src/app/system/external-services/external-services.component.ts +++ b/src/app/system/external-services/external-services.component.ts @@ -1,12 +1,25 @@ /** Angular Imports */ import { Component } from '@angular/core'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * External Services component. */ @Component({ selector: 'mifosx-external-services', - templateUrl: './external-services.component.html' + templateUrl: './external-services.component.html', + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine + ] }) export class ExternalServicesComponent { // Initialize an array of 4 boolean values, all set to false diff --git a/src/app/system/external-services/notification/edit-notification/edit-notification.component.ts b/src/app/system/external-services/notification/edit-notification/edit-notification.component.ts index 8f7c05c97..ab24de9fe 100644 --- a/src/app/system/external-services/notification/edit-notification/edit-notification.component.ts +++ b/src/app/system/external-services/notification/edit-notification/edit-notification.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Notification Configuration Component. @@ -12,7 +13,10 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-edit-notification', templateUrl: './edit-notification.component.html', - styleUrls: ['./edit-notification.component.scss'] + styleUrls: ['./edit-notification.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditNotificationComponent implements OnInit { /** Notification Configuration data */ diff --git a/src/app/system/external-services/notification/notification.component.ts b/src/app/system/external-services/notification/notification.component.ts index cdc539c33..317405fbf 100644 --- a/src/app/system/external-services/notification/notification.component.ts +++ b/src/app/system/external-services/notification/notification.component.ts @@ -1,8 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Notification Configuration Component. @@ -10,7 +24,23 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-notification', templateUrl: './notification.component.html', - styleUrls: ['./notification.component.scss'] + styleUrls: ['./notification.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class NotificationComponent implements OnInit { /** Notification configuration data. */ diff --git a/src/app/system/external-services/sms/edit-sms/edit-sms.component.ts b/src/app/system/external-services/sms/edit-sms/edit-sms.component.ts index 2ccbc0283..2e0728401 100644 --- a/src/app/system/external-services/sms/edit-sms/edit-sms.component.ts +++ b/src/app/system/external-services/sms/edit-sms/edit-sms.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit SMS Configuration Component. @@ -12,7 +13,10 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-edit-sms', templateUrl: './edit-sms.component.html', - styleUrls: ['./edit-sms.component.scss'] + styleUrls: ['./edit-sms.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditSMSComponent implements OnInit { /** SMS Configuration data */ diff --git a/src/app/system/external-services/sms/sms.component.ts b/src/app/system/external-services/sms/sms.component.ts index 2f0a49210..50094931f 100644 --- a/src/app/system/external-services/sms/sms.component.ts +++ b/src/app/system/external-services/sms/sms.component.ts @@ -1,8 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * SMS Configuration Component. @@ -10,7 +24,23 @@ import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'mifosx-sms', templateUrl: './sms.component.html', - styleUrls: ['./sms.component.scss'] + styleUrls: ['./sms.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class SMSComponent implements OnInit { /** SMS configuration data. */ diff --git a/src/app/system/manage-data-tables/column-dialog/column-dialog.component.ts b/src/app/system/manage-data-tables/column-dialog/column-dialog.component.ts index 0ee432d1b..4fa3934a1 100644 --- a/src/app/system/manage-data-tables/column-dialog/column-dialog.component.ts +++ b/src/app/system/manage-data-tables/column-dialog/column-dialog.component.ts @@ -1,10 +1,20 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { + MAT_DIALOG_DATA, + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Data Imports */ import { columnTypeData } from '../column-type-data'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Column Dialog Component. @@ -12,7 +22,16 @@ import { columnTypeData } from '../column-type-data'; @Component({ selector: 'mifosx-column-dialog', templateUrl: './column-dialog.component.html', - styleUrls: ['./column-dialog.component.scss'] + styleUrls: ['./column-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatCheckbox, + MatDialogActions, + MatDialogClose + ] }) export class ColumnDialogComponent implements OnInit { /** Column Form. */ diff --git a/src/app/system/manage-data-tables/create-data-table/create-data-table.component.ts b/src/app/system/manage-data-tables/create-data-table/create-data-table.component.ts index 751b7e6ad..5894f3bf9 100644 --- a/src/app/system/manage-data-tables/create-data-table/create-data-table.component.ts +++ b/src/app/system/manage-data-tables/create-data-table/create-data-table.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { AfterViewInit, Component, ElementRef, OnInit, TemplateRef, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ConfigurationWizardService } from '../../../configuration-wizard/configuration-wizard.service'; @@ -23,6 +35,11 @@ import { ColumnDialogComponent } from '../column-dialog/column-dialog.component' import { TranslateService } from '@ngx-translate/core'; import { ContinueSetupDialogComponent } from '../../../configuration-wizard/continue-setup-dialog/continue-setup-dialog.component'; import { DatatableColumn } from '../datatable-column.model'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Data Table Component. @@ -30,7 +47,27 @@ import { DatatableColumn } from '../datatable-column.model'; @Component({ selector: 'mifosx-create-data-table', templateUrl: './create-data-table.component.html', - styleUrls: ['./create-data-table.component.scss'] + styleUrls: ['./create-data-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class CreateDataTableComponent implements OnInit, AfterViewInit { /** Data Table Form */ diff --git a/src/app/system/manage-data-tables/edit-data-table/edit-data-table.component.ts b/src/app/system/manage-data-tables/edit-data-table/edit-data-table.component.ts index 4212a6d15..adf9068ef 100644 --- a/src/app/system/manage-data-tables/edit-data-table/edit-data-table.component.ts +++ b/src/app/system/manage-data-tables/edit-data-table/edit-data-table.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; @@ -18,6 +30,10 @@ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { ColumnDialogComponent } from '../column-dialog/column-dialog.component'; import { DatatableColumn } from '../datatable-column.model'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Data Table Component. @@ -25,7 +41,26 @@ import { DatatableColumn } from '../datatable-column.model'; @Component({ selector: 'mifosx-edit-data-table', templateUrl: './edit-data-table.component.html', - styleUrls: ['./edit-data-table.component.scss'] + styleUrls: ['./edit-data-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class EditDataTableComponent implements OnInit { /** Data Table Form. */ diff --git a/src/app/system/manage-data-tables/manage-data-tables.component.ts b/src/app/system/manage-data-tables/manage-data-tables.component.ts index 6b662c4e8..18c2d47ce 100644 --- a/src/app/system/manage-data-tables/manage-data-tables.component.ts +++ b/src/app/system/manage-data-tables/manage-data-tables.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,6 +23,8 @@ import { of } from 'rxjs'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Data Tables component. @@ -18,7 +32,24 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-manage-data-tables', templateUrl: './manage-data-tables.component.html', - styleUrls: ['./manage-data-tables.component.scss'] + styleUrls: ['./manage-data-tables.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageDataTablesComponent implements OnInit, AfterViewInit { /** Data table data. */ diff --git a/src/app/system/manage-data-tables/view-data-table/view-data-table.component.ts b/src/app/system/manage-data-tables/view-data-table/view-data-table.component.ts index 5de4c6d3c..1e999d14f 100644 --- a/src/app/system/manage-data-tables/view-data-table/view-data-table.component.ts +++ b/src/app/system/manage-data-tables/view-data-table/view-data-table.component.ts @@ -2,9 +2,21 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; @@ -12,6 +24,9 @@ import { SystemService } from '../../system.service'; /** Custom Components */ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Data Table Component @@ -19,7 +34,25 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-data-table', templateUrl: './view-data-table.component.html', - styleUrls: ['./view-data-table.component.scss'] + styleUrls: ['./view-data-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ViewDataTableComponent implements OnInit { /** Data Table Data */ diff --git a/src/app/system/manage-external-events/manage-external-events.component.ts b/src/app/system/manage-external-events/manage-external-events.component.ts index adb36b3f8..c74b8c9fd 100644 --- a/src/app/system/manage-external-events/manage-external-events.component.ts +++ b/src/app/system/manage-external-events/manage-external-events.component.ts @@ -1,14 +1,47 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute } from '@angular/router'; import { SystemService } from '../system.service'; +import { MatSlideToggle } from '@angular/material/slide-toggle'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-manage-external-events', templateUrl: './manage-external-events.component.html', - styleUrls: ['./manage-external-events.component.scss'] + styleUrls: ['./manage-external-events.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatSlideToggle, + FormsModule, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageExternalEventsComponent implements OnInit { /** Events Data. */ diff --git a/src/app/system/manage-hooks/add-event-dialog/add-event-dialog.component.ts b/src/app/system/manage-hooks/add-event-dialog/add-event-dialog.component.ts index 37663b459..134430683 100644 --- a/src/app/system/manage-hooks/add-event-dialog/add-event-dialog.component.ts +++ b/src/app/system/manage-hooks/add-event-dialog/add-event-dialog.component.ts @@ -1,7 +1,16 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { + MatDialogRef, + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Event Dialog Component. @@ -9,7 +18,15 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms @Component({ selector: 'mifosx-add-event-dialog', templateUrl: './add-event-dialog.component.html', - styleUrls: ['./add-event-dialog.component.scss'] + styleUrls: ['./add-event-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class AddEventDialogComponent implements OnInit { /** Event Form. */ diff --git a/src/app/system/manage-hooks/create-hook/create-hook.component.ts b/src/app/system/manage-hooks/create-hook/create-hook.component.ts index dba4452ed..5d72a9f41 100644 --- a/src/app/system/manage-hooks/create-hook/create-hook.component.ts +++ b/src/app/system/manage-hooks/create-hook/create-hook.component.ts @@ -1,10 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; @@ -13,6 +25,11 @@ import { SystemService } from '../../system.service'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { AddEventDialogComponent } from '../add-event-dialog/add-event-dialog.component'; +import { MatFormField, MatLabel, MatError, MatHint } from '@angular/material/form-field'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Hook Component. @@ -20,7 +37,26 @@ import { AddEventDialogComponent } from '../add-event-dialog/add-event-dialog.co @Component({ selector: 'mifosx-create-hook', templateUrl: './create-hook.component.html', - styleUrls: ['./create-hook.component.scss'] + styleUrls: ['./create-hook.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatHint, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class CreateHookComponent implements OnInit { /** Hooks Template Data. */ diff --git a/src/app/system/manage-hooks/edit-hook/edit-hook.component.ts b/src/app/system/manage-hooks/edit-hook/edit-hook.component.ts index ac4ab9aef..e7e1b5dd2 100644 --- a/src/app/system/manage-hooks/edit-hook/edit-hook.component.ts +++ b/src/app/system/manage-hooks/edit-hook/edit-hook.component.ts @@ -1,10 +1,22 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatSnackBarModule } from '@angular/material/snack-bar'; import { NgModule } from '@angular/core'; import { MatSnackBar } from '@angular/material/snack-bar'; @@ -18,6 +30,12 @@ import { SystemService } from '../../system.service'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { AddEventDialogComponent } from '../add-event-dialog/add-event-dialog.component'; +import { MatFormField, MatLabel, MatError, MatHint } from '@angular/material/form-field'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatDivider } from '@angular/material/divider'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Hook Component. @@ -26,7 +44,27 @@ import { AddEventDialogComponent } from '../add-event-dialog/add-event-dialog.co @Component({ selector: 'mifosx-edit-hook', templateUrl: './edit-hook.component.html', - styleUrls: ['./edit-hook.component.scss'] + styleUrls: ['./edit-hook.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + MatHint, + MatDivider, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class EditHookComponent implements OnInit { @NgModule({ diff --git a/src/app/system/manage-hooks/manage-hooks.component.ts b/src/app/system/manage-hooks/manage-hooks.component.ts index 16d9d7d93..903bc77d1 100644 --- a/src/app/system/manage-hooks/manage-hooks.component.ts +++ b/src/app/system/manage-hooks/manage-hooks.component.ts @@ -1,9 +1,24 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Hooks Component. @@ -11,7 +26,25 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-manage-hooks', templateUrl: './manage-hooks.component.html', - styleUrls: ['./manage-hooks.component.scss'] + styleUrls: ['./manage-hooks.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageHooksComponent implements OnInit { /** Hook data. */ diff --git a/src/app/system/manage-hooks/view-hook/view-hook.component.ts b/src/app/system/manage-hooks/view-hook/view-hook.component.ts index 252bef005..b8a459f1f 100644 --- a/src/app/system/manage-hooks/view-hook/view-hook.component.ts +++ b/src/app/system/manage-hooks/view-hook/view-hook.component.ts @@ -1,7 +1,7 @@ /** Angular Imports */ import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Components */ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; @@ -9,6 +9,9 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial /** Custom Services */ import { TranslateService } from '@ngx-translate/core'; import { SystemService } from '../../system.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Hook Component. @@ -16,7 +19,12 @@ import { SystemService } from '../../system.service'; @Component({ selector: 'mifosx-view-hook', templateUrl: './view-hook.component.html', - styleUrls: ['./view-hook.component.scss'] + styleUrls: ['./view-hook.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + DateFormatPipe + ] }) export class ViewHookComponent { /** Hook Data. */ diff --git a/src/app/system/manage-jobs/cob-workflow/cob-workflow.component.ts b/src/app/system/manage-jobs/cob-workflow/cob-workflow.component.ts index 639aaa0a4..28f4fd43a 100644 --- a/src/app/system/manage-jobs/cob-workflow/cob-workflow.component.ts +++ b/src/app/system/manage-jobs/cob-workflow/cob-workflow.component.ts @@ -1,11 +1,19 @@ import { Component, Input, OnDestroy, OnInit } from '@angular/core'; import { SystemService } from 'app/system/system.service'; -import { environment } from 'environments/environment'; +import { environment } from '../../../../environments/environment'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { LoanLockedComponent } from './loan-locked/loan-locked.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-cob-workflow', templateUrl: './cob-workflow.component.html', - styleUrls: ['./cob-workflow.component.scss'] + styleUrls: ['./cob-workflow.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + LoanLockedComponent + ] }) export class CobWorkflowComponent implements OnInit, OnDestroy { /** Wait time between API status calls 30 seg */ diff --git a/src/app/system/manage-jobs/cob-workflow/loan-locked/loan-locked.component.ts b/src/app/system/manage-jobs/cob-workflow/loan-locked/loan-locked.component.ts index c05f10ad1..12fea69ce 100644 --- a/src/app/system/manage-jobs/cob-workflow/loan-locked/loan-locked.component.ts +++ b/src/app/system/manage-jobs/cob-workflow/loan-locked/loan-locked.component.ts @@ -2,18 +2,55 @@ import { SelectionModel } from '@angular/cdk/collections'; import { Component, OnInit, ViewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { ActivatedRoute, Router } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { LoansService } from 'app/loans/loans.service'; import { ErrorDialogComponent } from 'app/shared/error-dialog/error-dialog.component'; import { SystemService } from 'app/system/system.service'; import { TasksService } from 'app/tasks/tasks.service'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DatetimeFormatPipe } from '../../../../pipes/datetime-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-locked', templateUrl: './loan-locked.component.html', - styleUrls: ['./loan-locked.component.scss'] + styleUrls: ['./loan-locked.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DatetimeFormatPipe + ] }) export class LoanLockedComponent implements OnInit { /** Loans Data */ diff --git a/src/app/system/manage-jobs/manage-jobs.component.ts b/src/app/system/manage-jobs/manage-jobs.component.ts index ced2ab4e0..c3dfa436f 100644 --- a/src/app/system/manage-jobs/manage-jobs.component.ts +++ b/src/app/system/manage-jobs/manage-jobs.component.ts @@ -1,12 +1,24 @@ import { Component } from '@angular/core'; -import { MatTabChangeEvent } from '@angular/material/tabs'; +import { MatTabChangeEvent, MatTabGroup, MatTab } from '@angular/material/tabs'; import { SystemService } from '../system.service'; import { TranslateService } from '@ngx-translate/core'; +import { ManageSchedulerJobsComponent } from './scheduler-jobs/manage-scheduler-jobs.component'; +import { WorkflowJobsComponent } from './workflow-jobs/workflow-jobs.component'; +import { CobWorkflowComponent } from './cob-workflow/cob-workflow.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-manage-jobs', templateUrl: './manage-jobs.component.html', - styleUrls: ['./manage-jobs.component.scss'] + styleUrls: ['./manage-jobs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabGroup, + MatTab, + ManageSchedulerJobsComponent, + WorkflowJobsComponent, + CobWorkflowComponent + ] }) export class ManageJobsComponent { /** Process running flag */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-popover.component.ts b/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-popover.component.ts index 0dcb8f00a..01b3e1b16 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-popover.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-popover.component.ts @@ -1,8 +1,19 @@ import { SelectionModel } from '@angular/cdk/collections'; import { Component, Inject, OnInit, QueryList, ViewChildren } from '@angular/core'; -import { MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; import { CustomParametersTableComponent } from './custom-parameters-table/custom-parameters-table.component'; import { SystemService } from 'app/system/system.service'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { NgFor, NgClass } from '@angular/common'; +import { MatList, MatListItem } from '@angular/material/list'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface SelectedJobsDataType { selectedJobs: SelectionModel; @@ -44,7 +55,20 @@ interface JobDataType { @Component({ selector: 'mifosx-custom-parameters-popover', templateUrl: './custom-parameters-popover.component.html', - styleUrls: ['./custom-parameters-popover.component.scss'] + styleUrls: ['./custom-parameters-popover.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + CustomParametersTableComponent, + MatList, + MatListItem, + NgClass, + MatDialogActions, + FaIconComponent, + MatDialogClose + ] }) export class CustomParametersPopoverComponent implements OnInit { /* Job table childer */ @@ -65,7 +89,7 @@ export class CustomParametersPopoverComponent implements OnInit { ngOnInit(): void { this.selectedJobs = this.data.selectedJobs.selected.map((jobJSON) => ({ ...jobJSON, - jobParameters: [] + jobParameters: [] as JobParameterType[] })); } diff --git a/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-table/custom-parameters-table.component.ts b/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-table/custom-parameters-table.component.ts index 6a9c99fba..b9afd5bb7 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-table/custom-parameters-table.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/custom-parameters-popover/custom-parameters-table/custom-parameters-table.component.ts @@ -1,10 +1,44 @@ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { JobIdAndParameterType, JobParameterType } from '../custom-parameters-popover.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-custom-parameters-table', templateUrl: './custom-parameters-table.component.html', - styleUrls: ['./custom-parameters-table.component.scss'] + styleUrls: ['./custom-parameters-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + FormsModule, + MatIconButton, + MatTooltip, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class CustomParametersTableComponent implements OnInit { /* Job name for table title */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/edit-scheduler-job/edit-scheduler-job.component.ts b/src/app/system/manage-jobs/scheduler-jobs/edit-scheduler-job/edit-scheduler-job.component.ts index c3918c245..c9388a54d 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/edit-scheduler-job/edit-scheduler-job.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/edit-scheduler-job/edit-scheduler-job.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit scheduler job component. @@ -12,7 +14,11 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-edit-scheduler-job', templateUrl: './edit-scheduler-job.component.html', - styleUrls: ['./edit-scheduler-job.component.scss'] + styleUrls: ['./edit-scheduler-job.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class EditSchedulerJobComponent implements OnInit { /** Job Data. */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/error-log-popover/error-log-popover.component.ts b/src/app/system/manage-jobs/scheduler-jobs/error-log-popover/error-log-popover.component.ts index 50244d24c..ed9eb9644 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/error-log-popover/error-log-popover.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/error-log-popover/error-log-popover.component.ts @@ -1,7 +1,16 @@ import { Component, Inject, OnInit } from '@angular/core'; -import { MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { SchedulerJob } from '../models/scheduler-job.model'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { DatetimeFormatPipe } from '../../../../pipes/datetime-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface ErrorJobDataType { job: SchedulerJob; @@ -10,7 +19,16 @@ interface ErrorJobDataType { @Component({ selector: 'mifosx-error-log-popover', templateUrl: './error-log-popover.component.html', - styleUrls: ['./error-log-popover.component.scss'] + styleUrls: ['./error-log-popover.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose, + DatetimeFormatPipe + ] }) export class ErrorLogPopoverComponent implements OnInit { show = false; diff --git a/src/app/system/manage-jobs/scheduler-jobs/manage-scheduler-jobs.component.ts b/src/app/system/manage-jobs/scheduler-jobs/manage-scheduler-jobs.component.ts index 11e6f68ba..c7f35200f 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/manage-scheduler-jobs.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/manage-scheduler-jobs.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SelectionModel } from '@angular/cdk/collections'; import { MatDialog } from '@angular/material/dialog'; @@ -20,6 +32,14 @@ import { CustomParametersPopoverComponent } from './custom-parameters-popover/cu import { SchedulerJob } from './models/scheduler-job.model'; import { ErrorLogPopoverComponent } from './error-log-popover/error-log-popover.component'; import { RunSelectedJobsPopoverComponent } from './run-selected-jobs-popover/run-selected-jobs-popover.component'; +import { NgIf, NgClass } from '@angular/common'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { MatTooltip } from '@angular/material/tooltip'; +import { DatetimeFormatPipe } from '../../../pipes/datetime-format.pipe'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage scheduler jobs component. @@ -27,7 +47,30 @@ import { RunSelectedJobsPopoverComponent } from './run-selected-jobs-popover/run @Component({ selector: 'mifosx-manage-scheduler-jobs', templateUrl: './manage-scheduler-jobs.component.html', - styleUrls: ['./manage-scheduler-jobs.component.scss'] + styleUrls: ['./manage-scheduler-jobs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatSortHeader, + MatTooltip, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + NgClass, + MatPaginator, + DatetimeFormatPipe, + YesnoPipe + ] }) export class ManageSchedulerJobsComponent implements OnInit, AfterViewInit { /** Jobs data. */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-popover.component.ts b/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-popover.component.ts index b139449dc..71b25ff15 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-popover.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-popover.component.ts @@ -1,8 +1,18 @@ import { SelectionModel } from '@angular/cdk/collections'; import { Component, EventEmitter, Inject, OnInit, Output, QueryList, ViewChildren } from '@angular/core'; -import { MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { + MAT_DIALOG_DATA, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; import { SystemService } from 'app/system/system.service'; import { RunSelectedJobsTableComponent } from './run-selected-jobs-table/run-selected-jobs-table.component'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { MatList, MatListItem } from '@angular/material/list'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface SelectedJobsDataType { selectedJobs: SelectionModel; @@ -27,7 +37,19 @@ export interface JobDataType { @Component({ selector: 'mifosx-run-selected-jobs-popover', templateUrl: './run-selected-jobs-popover.component.html', - styleUrls: ['./run-selected-jobs-popover.component.scss'] + styleUrls: ['./run-selected-jobs-popover.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + RunSelectedJobsTableComponent, + MatList, + MatListItem, + MatDialogActions, + FaIconComponent, + MatDialogClose + ] }) export class RunSelectedJobsPopoverComponent implements OnInit { /** Confirmed jobs event emitter */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-table/run-selected-jobs-table.component.ts b/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-table/run-selected-jobs-table.component.ts index 66196d74b..44c9cc070 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-table/run-selected-jobs-table.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/run-selected-jobs-popover/run-selected-jobs-table/run-selected-jobs-table.component.ts @@ -1,5 +1,21 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { JobDataType } from '../run-selected-jobs-popover.component'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatIconButton } from '@angular/material/button'; +import { MatTooltip } from '@angular/material/tooltip'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Run Selected Jobs Table Component @@ -7,7 +23,23 @@ import { JobDataType } from '../run-selected-jobs-popover.component'; @Component({ selector: 'mifosx-run-selected-jobs-table', templateUrl: './run-selected-jobs-table.component.html', - styleUrls: ['./run-selected-jobs-table.component.scss'] + styleUrls: ['./run-selected-jobs-table.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + FaIconComponent, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow + ] }) export class RunSelectedJobsTableComponent { /** Selected Jobs For Table */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.ts b/src/app/system/manage-jobs/scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.ts index 3dbc7a284..8cc8aadd2 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.ts @@ -1,16 +1,53 @@ /** Angular Imports. */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; -import { MatSort } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; import { MatDialog } from '@angular/material/dialog'; import { ErrorDialogComponent } from 'app/shared/error-dialog/error-dialog.component'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { MatIconButton, MatButton } from '@angular/material/button'; +import { DatetimeFormatPipe } from '../../../../pipes/datetime-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-history-scheduler-job', templateUrl: './view-history-scheduler-job.component.html', - styleUrls: ['./view-history-scheduler-job.component.scss'] + styleUrls: ['./view-history-scheduler-job.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + FaIconComponent, + MatTooltip, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator, + DatetimeFormatPipe + ] }) export class ViewHistorySchedulerJobComponent implements OnInit { /** Job History data. */ diff --git a/src/app/system/manage-jobs/scheduler-jobs/view-scheduler-job/view-scheduler-job.component.ts b/src/app/system/manage-jobs/scheduler-jobs/view-scheduler-job/view-scheduler-job.component.ts index 6d2fcad90..7c79c74c0 100644 --- a/src/app/system/manage-jobs/scheduler-jobs/view-scheduler-job/view-scheduler-job.component.ts +++ b/src/app/system/manage-jobs/scheduler-jobs/view-scheduler-job/view-scheduler-job.component.ts @@ -1,6 +1,9 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { YesnoPipe } from '../../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Scheduler Job component. @@ -8,7 +11,12 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-view-scheduler-job', templateUrl: './view-scheduler-job.component.html', - styleUrls: ['./view-scheduler-job.component.scss'] + styleUrls: ['./view-scheduler-job.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + YesnoPipe + ] }) export class ViewSchedulerJobComponent { /** Job Data. */ diff --git a/src/app/system/manage-jobs/workflow-jobs/workflow-diagram/workflow-diagram.component.ts b/src/app/system/manage-jobs/workflow-jobs/workflow-diagram/workflow-diagram.component.ts index 3d5958382..93c4b530c 100644 --- a/src/app/system/manage-jobs/workflow-jobs/workflow-diagram/workflow-diagram.component.ts +++ b/src/app/system/manage-jobs/workflow-jobs/workflow-diagram/workflow-diagram.component.ts @@ -1,7 +1,8 @@ import { Component, Input, OnInit } from '@angular/core'; -import { DagreNodesOnlyLayout, Edge, Layout, Node } from '@swimlane/ngx-graph'; +import { DagreNodesOnlyLayout, Edge, Layout, Node, GraphModule } from '@swimlane/ngx-graph'; import * as shape from 'd3-shape'; import { Subject } from 'rxjs'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; export class JobStep { id: number; @@ -12,7 +13,11 @@ export class JobStep { @Component({ selector: 'mifosx-workflow-diagram', templateUrl: './workflow-diagram.component.html', - styleUrls: ['./workflow-diagram.component.scss'] + styleUrls: ['./workflow-diagram.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + GraphModule + ] }) export class WorkflowDiagramComponent implements OnInit { @Input() jobStepsData: JobStep[] = []; diff --git a/src/app/system/manage-jobs/workflow-jobs/workflow-jobs.component.ts b/src/app/system/manage-jobs/workflow-jobs/workflow-jobs.component.ts index eaf3e1ccf..c14d39be2 100644 --- a/src/app/system/manage-jobs/workflow-jobs/workflow-jobs.component.ts +++ b/src/app/system/manage-jobs/workflow-jobs/workflow-jobs.component.ts @@ -1,14 +1,30 @@ -import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop'; +import { CdkDragDrop, moveItemInArray, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop'; import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormControl, Validators } from '@angular/forms'; +import { UntypedFormControl, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; -import { MatTable } from '@angular/material/table'; +import { + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component'; import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base'; import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base'; import { SystemService } from 'app/system/system.service'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { WorkflowDiagramComponent } from './workflow-diagram/workflow-diagram.component'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; export interface JobStep { stepName: string; @@ -19,7 +35,26 @@ export interface JobStep { @Component({ selector: 'mifosx-workflow-jobs', templateUrl: './workflow-jobs.component.html', - styleUrls: ['./workflow-jobs.component.scss'] + styleUrls: ['./workflow-jobs.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + CdkDropList, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatIconButton, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + CdkDrag, + WorkflowDiagramComponent + ] }) export class WorkflowJobsComponent implements OnInit { stepOrderHasChanged = false; diff --git a/src/app/system/manage-reports/create-report/create-report.component.ts b/src/app/system/manage-reports/create-report/create-report.component.ts index db259cdd7..9ec6794fc 100644 --- a/src/app/system/manage-reports/create-report/create-report.component.ts +++ b/src/app/system/manage-reports/create-report/create-report.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; @@ -14,6 +26,11 @@ import { SystemService } from 'app/system/system.service'; import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { ReportParameterDialogComponent } from '../report-parameter-dialog/report-parameter-dialog.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Report Component. @@ -21,7 +38,27 @@ import { ReportParameterDialogComponent } from '../report-parameter-dialog/repor @Component({ selector: 'mifosx-create-report', templateUrl: './create-report.component.html', - styleUrls: ['./create-report.component.scss'] + styleUrls: ['./create-report.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + CdkTextareaAutosize, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class CreateReportComponent implements OnInit { /** Report Form. */ diff --git a/src/app/system/manage-reports/edit-report/edit-report.component.ts b/src/app/system/manage-reports/edit-report/edit-report.component.ts index dbcbbf499..ceb2b42d2 100644 --- a/src/app/system/manage-reports/edit-report/edit-report.component.ts +++ b/src/app/system/manage-reports/edit-report/edit-report.component.ts @@ -1,11 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; @@ -13,6 +25,11 @@ import { SystemService } from 'app/system/system.service'; /** Custom Components */ import { ReportParameterDialogComponent } from '../report-parameter-dialog/report-parameter-dialog.component'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Report Component. @@ -20,7 +37,27 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-edit-report', templateUrl: './edit-report.component.html', - styleUrls: ['./edit-report.component.scss'] + styleUrls: ['./edit-report.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox, + CdkTextareaAutosize, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class EditReportComponent implements OnInit { /** Report Data. */ diff --git a/src/app/system/manage-reports/manage-reports.component.ts b/src/app/system/manage-reports/manage-reports.component.ts index 1c0fd8909..6b92d9511 100644 --- a/src/app/system/manage-reports/manage-reports.component.ts +++ b/src/app/system/manage-reports/manage-reports.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /* Custom Services */ @@ -12,6 +24,9 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura /** Custom Dialog Component */ import { CompletionDialogComponent } from '../../configuration-wizard/completion-dialog/completion-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Reports Component. @@ -19,7 +34,25 @@ import { CompletionDialogComponent } from '../../configuration-wizard/completion @Component({ selector: 'mifosx-manage-reports', templateUrl: './manage-reports.component.html', - styleUrls: ['./manage-reports.component.scss'] + styleUrls: ['./manage-reports.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageReportsComponent implements OnInit, AfterViewInit { /** Reports Data. */ diff --git a/src/app/system/manage-reports/report-parameter-dialog/report-parameter-dialog.component.ts b/src/app/system/manage-reports/report-parameter-dialog/report-parameter-dialog.component.ts index 37744894a..84a0a8658 100644 --- a/src/app/system/manage-reports/report-parameter-dialog/report-parameter-dialog.component.ts +++ b/src/app/system/manage-reports/report-parameter-dialog/report-parameter-dialog.component.ts @@ -1,7 +1,16 @@ /** Angular Imports */ import { Component, OnInit, Inject } from '@angular/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { + MAT_DIALOG_DATA, + MatDialogRef, + MatDialogTitle, + MatDialogContent, + MatDialogActions, + MatDialogClose +} from '@angular/material/dialog'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Report Parameter Dialog Component. @@ -9,7 +18,15 @@ import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms @Component({ selector: 'mifosx-add-report-parameter-dialog', templateUrl: './report-parameter-dialog.component.html', - styleUrls: ['./report-parameter-dialog.component.scss'] + styleUrls: ['./report-parameter-dialog.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatDialogTitle, + CdkScrollable, + MatDialogContent, + MatDialogActions, + MatDialogClose + ] }) export class ReportParameterDialogComponent implements OnInit { /** Report Parameter Form. */ diff --git a/src/app/system/manage-reports/view-report/view-report.component.ts b/src/app/system/manage-reports/view-report/view-report.component.ts index 6191dec3e..f6d1b1f98 100644 --- a/src/app/system/manage-reports/view-report/view-report.component.ts +++ b/src/app/system/manage-reports/view-report/view-report.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -8,6 +8,10 @@ import { SystemService } from 'app/system/system.service'; /** Custom Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCard, MatCardTitle, MatCardContent } from '@angular/material/card'; +import { YesnoPipe } from '../../../pipes/yesno.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Report Component. @@ -15,7 +19,13 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-report', templateUrl: './view-report.component.html', - styleUrls: ['./view-report.component.scss'] + styleUrls: ['./view-report.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatCardTitle, + YesnoPipe + ] }) export class ViewReportComponent { /** Report Data. */ diff --git a/src/app/system/manage-surveys/create-survey/create-survey.component.ts b/src/app/system/manage-surveys/create-survey/create-survey.component.ts index ed7add93f..30b6a1f6d 100644 --- a/src/app/system/manage-surveys/create-survey/create-survey.component.ts +++ b/src/app/system/manage-surveys/create-survey/create-survey.component.ts @@ -1,15 +1,27 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormArray, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop'; +import { CdkDragDrop, moveItemInArray, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop'; /** Custom Services */ import { SystemService } from '../../system.service'; /** Custom Components */ import { CancelDialogComponent } from '../../../shared/cancel-dialog/cancel-dialog.component'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create survey component. @@ -17,7 +29,17 @@ import { CancelDialogComponent } from '../../../shared/cancel-dialog/cancel-dial @Component({ selector: 'mifosx-create-survey', templateUrl: './create-survey.component.html', - styleUrls: ['./create-survey.component.scss'] + styleUrls: ['./create-survey.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize, + CdkDropList, + CdkDrag, + FaIconComponent, + MatDivider, + MatIconButton, + MatTooltip + ] }) export class CreateSurveyComponent implements OnInit { /** Survey form. */ diff --git a/src/app/system/manage-surveys/edit-survey/edit-survey.component.ts b/src/app/system/manage-surveys/edit-survey/edit-survey.component.ts index 6b8a7e3eb..4b60874c5 100644 --- a/src/app/system/manage-surveys/edit-survey/edit-survey.component.ts +++ b/src/app/system/manage-surveys/edit-survey/edit-survey.component.ts @@ -1,9 +1,16 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, Validators, FormControl } from '@angular/forms'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormArray, + Validators, + FormControl, + ReactiveFormsModule +} from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; -import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop'; +import { CdkDragDrop, moveItemInArray, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop'; /** Custom Services */ import { SystemService } from '../../system.service'; @@ -13,6 +20,12 @@ import { CancelDialogComponent } from '../../../shared/cancel-dialog/cancel-dial /** Survey Models */ import { Survey, QuestionData, ResponseData } from './../survey.model'; +import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit survey component. @@ -20,7 +33,17 @@ import { Survey, QuestionData, ResponseData } from './../survey.model'; @Component({ selector: 'mifosx-edit-survey', templateUrl: './edit-survey.component.html', - styleUrls: ['./edit-survey.component.scss'] + styleUrls: ['./edit-survey.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + CdkTextareaAutosize, + CdkDropList, + CdkDrag, + FaIconComponent, + MatDivider, + MatIconButton, + MatTooltip + ] }) export class EditSurveyComponent { /** Survey form. */ diff --git a/src/app/system/manage-surveys/manage-surveys.component.ts b/src/app/system/manage-surveys/manage-surveys.component.ts index fde976464..7da6be00e 100644 --- a/src/app/system/manage-surveys/manage-surveys.component.ts +++ b/src/app/system/manage-surveys/manage-surveys.component.ts @@ -1,12 +1,27 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../system.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Manage Surveys component. @@ -14,7 +29,25 @@ import { SystemService } from '../system.service'; @Component({ selector: 'mifosx-manage-surveys', templateUrl: './manage-surveys.component.html', - styleUrls: ['./manage-surveys.component.scss'] + styleUrls: ['./manage-surveys.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class ManageSurveysComponent implements OnInit { /* Surveys data */ diff --git a/src/app/system/manage-surveys/view-survey/view-survey.component.ts b/src/app/system/manage-surveys/view-survey/view-survey.component.ts index 9bcfd4089..0c744ff48 100644 --- a/src/app/system/manage-surveys/view-survey/view-survey.component.ts +++ b/src/app/system/manage-surveys/view-survey/view-survey.component.ts @@ -5,6 +5,11 @@ import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ import { SystemService } from 'app/system/system.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCard, MatCardHeader, MatCardTitle, MatCardContent } from '@angular/material/card'; +import { MatDivider } from '@angular/material/divider'; +import { NgFor, TitleCasePipe } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Survey Component. @@ -12,7 +17,15 @@ import { SystemService } from 'app/system/system.service'; @Component({ selector: 'mifosx-view-survey', templateUrl: './view-survey.component.html', - styleUrls: ['./view-survey.component.scss'] + styleUrls: ['./view-survey.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatCardHeader, + MatCardTitle, + MatDivider, + TitleCasePipe + ] }) export class ViewSurveyComponent { /** Survey Data */ diff --git a/src/app/system/roles-and-permissions/add-role/add-role.component.ts b/src/app/system/roles-and-permissions/add-role/add-role.component.ts index d1cfedf81..0cf7fed0b 100644 --- a/src/app/system/roles-and-permissions/add-role/add-role.component.ts +++ b/src/app/system/roles-and-permissions/add-role/add-role.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Add Role Component. @@ -12,7 +13,10 @@ import { SystemService } from '../../system.service'; @Component({ selector: 'mifosx-add-role', templateUrl: './add-role.component.html', - styleUrls: ['./add-role.component.scss'] + styleUrls: ['./add-role.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class AddRoleComponent implements OnInit { /** Role form. */ diff --git a/src/app/system/roles-and-permissions/edit-role/edit-role.component.ts b/src/app/system/roles-and-permissions/edit-role/edit-role.component.ts index 8b554485e..539a75240 100644 --- a/src/app/system/roles-and-permissions/edit-role/edit-role.component.ts +++ b/src/app/system/roles-and-permissions/edit-role/edit-role.component.ts @@ -1,10 +1,11 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; -import { ActivatedRoute, Router } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit Role Description Component. @@ -12,7 +13,10 @@ import { SystemService } from '../../system.service'; @Component({ selector: 'mifosx-edit-role', templateUrl: './edit-role.component.html', - styleUrls: ['./edit-role.component.scss'] + styleUrls: ['./edit-role.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS + ] }) export class EditRoleComponent implements OnInit { /** Role Form */ diff --git a/src/app/system/roles-and-permissions/roles-and-permissions.component.ts b/src/app/system/roles-and-permissions/roles-and-permissions.component.ts index e8825a33c..ee5d792ad 100644 --- a/src/app/system/roles-and-permissions/roles-and-permissions.component.ts +++ b/src/app/system/roles-and-permissions/roles-and-permissions.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute, Router } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,6 +23,10 @@ import { of } from 'rxjs'; /** Custom Services */ import { PopoverService } from '../../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../../configuration-wizard/configuration-wizard.service'; +import { MatButton, MatIconButton } from '@angular/material/button'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatTooltip } from '@angular/material/tooltip'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Roles and Permissions component. @@ -18,7 +34,26 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura @Component({ selector: 'mifosx-roles-and-permissions', templateUrl: './roles-and-permissions.component.html', - styleUrls: ['./roles-and-permissions.component.scss'] + styleUrls: ['./roles-and-permissions.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatTooltip, + MatIconButton, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class RolesAndPermissionsComponent implements OnInit, AfterViewInit { /** Role data. */ diff --git a/src/app/system/roles-and-permissions/view-role/view-role.component.ts b/src/app/system/roles-and-permissions/view-role/view-role.component.ts index 936b5d11b..40b9ff976 100644 --- a/src/app/system/roles-and-permissions/view-role/view-role.component.ts +++ b/src/app/system/roles-and-permissions/view-role/view-role.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators, FormArray } from '@angular/forms'; +import { UntypedFormBuilder, UntypedFormGroup, Validators, FormArray, ReactiveFormsModule } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { ActivatedRoute, Router } from '@angular/router'; import * as _ from 'lodash'; @@ -11,6 +11,12 @@ import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component'; import { DisableDialogComponent } from '../../../shared/disable-dialog/disable-dialog.component'; import { EnableDialogComponent } from '../../../shared/enable-dialog/enable-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { NgIf, NgFor, NgClass } from '@angular/common'; +import { MatList, MatListItem } from '@angular/material/list'; +import { MatDivider } from '@angular/material/divider'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Role and Permissions Component @@ -18,7 +24,16 @@ import { EnableDialogComponent } from '../../../shared/enable-dialog/enable-dial @Component({ selector: 'mifosx-view-role', templateUrl: './view-role.component.html', - styleUrls: ['./view-role.component.scss'] + styleUrls: ['./view-role.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatList, + MatListItem, + NgClass, + MatDivider, + MatCheckbox + ] }) export class ViewRoleComponent implements OnInit { /** Role Permissions Data */ diff --git a/src/app/system/system.component.ts b/src/app/system/system.component.ts index 3a6041ae8..84dd99c3b 100644 --- a/src/app/system/system.component.ts +++ b/src/app/system/system.component.ts @@ -1,15 +1,30 @@ /** Angular Imports */ import { AfterViewInit, Component, ElementRef, TemplateRef, ViewChild } from '@angular/core'; -import { Router } from '@angular/router'; +import { Router, RouterLink } from '@angular/router'; /** Custom Services */ import { ConfigurationWizardService } from '../configuration-wizard/configuration-wizard.service'; import { PopoverService } from '../configuration-wizard/popover/popover.service'; +import { MatNavList, MatListItem } from '@angular/material/list'; +import { MatIcon } from '@angular/material/icon'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatLine } from '@angular/material/grid-list'; +import { NgIf, NgClass } from '@angular/common'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-system', templateUrl: './system.component.html', - styleUrls: ['./system.component.scss'] + styleUrls: ['./system.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatNavList, + MatListItem, + MatIcon, + FaIconComponent, + MatLine, + NgClass + ] }) export class SystemComponent implements AfterViewInit { /* Reference of manage datatables */ diff --git a/src/app/system/system.module.ts b/src/app/system/system.module.ts index ee172b2d7..ad70f842d 100644 --- a/src/app/system/system.module.ts +++ b/src/app/system/system.module.ts @@ -86,9 +86,7 @@ import { RunSelectedJobsTableComponent } from './manage-jobs/scheduler-jobs/run- NgxGraphModule, BrowserAnimationsModule, DragDropModule, - DirectivesModule - ], - declarations: [ + DirectivesModule, SystemComponent, CodesComponent, ViewCodeComponent, diff --git a/src/app/tasks/checker-inbox-and-tasks-tabs/checker-inbox/checker-inbox.component.ts b/src/app/tasks/checker-inbox-and-tasks-tabs/checker-inbox/checker-inbox.component.ts index 1ffa09f22..4bfd52dc6 100644 --- a/src/app/tasks/checker-inbox-and-tasks-tabs/checker-inbox/checker-inbox.component.ts +++ b/src/app/tasks/checker-inbox-and-tasks-tabs/checker-inbox/checker-inbox.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SelectionModel } from '@angular/cdk/collections'; -import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; -import { MatTableDataSource } from '@angular/material/table'; +import { UntypedFormBuilder, UntypedFormGroup, ReactiveFormsModule } from '@angular/forms'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -14,11 +26,31 @@ import { SettingsService } from 'app/settings/settings.service'; import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/confirmation-dialog.component'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-checker-inbox', templateUrl: './checker-inbox.component.html', - styleUrls: ['./checker-inbox.component.scss'] + styleUrls: ['./checker-inbox.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class CheckerInboxComponent implements OnInit { /** Data to be displayed */ diff --git a/src/app/tasks/checker-inbox-and-tasks-tabs/client-approval/client-approval.component.ts b/src/app/tasks/checker-inbox-and-tasks-tabs/client-approval/client-approval.component.ts index f2aa83733..f0fd0cb0e 100644 --- a/src/app/tasks/checker-inbox-and-tasks-tabs/client-approval/client-approval.component.ts +++ b/src/app/tasks/checker-inbox-and-tasks-tabs/client-approval/client-approval.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SelectionModel } from '@angular/cdk/collections'; import * as _ from 'lodash'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { MatDialog } from '@angular/material/dialog'; /** Dialog Imports */ @@ -15,11 +27,33 @@ import { DatepickerBase } from 'app/shared/form-dialog/formfield/model/datepicke import { TasksService } from '../../tasks.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; +import { NgIf, NgFor, KeyValuePipe } from '@angular/common'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { AccountsFilterPipe } from '../../../pipes/accounts-filter.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-client-approval', templateUrl: './client-approval.component.html', - styleUrls: ['./client-approval.component.scss'] + styleUrls: ['./client-approval.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + KeyValuePipe, + AccountsFilterPipe + ] }) export class ClientApprovalComponent { /** Grouped Clients Data */ diff --git a/src/app/tasks/checker-inbox-and-tasks-tabs/loan-approval/loan-approval.component.ts b/src/app/tasks/checker-inbox-and-tasks-tabs/loan-approval/loan-approval.component.ts index 2a8a4bbc0..4a129c9e7 100644 --- a/src/app/tasks/checker-inbox-and-tasks-tabs/loan-approval/loan-approval.component.ts +++ b/src/app/tasks/checker-inbox-and-tasks-tabs/loan-approval/loan-approval.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SelectionModel } from '@angular/cdk/collections'; import * as _ from 'lodash'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { MatDialog } from '@angular/material/dialog'; /** Dialog Imports */ @@ -14,6 +26,10 @@ import { TasksService } from '../../tasks.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface OfficeNode { id: number; @@ -24,7 +40,23 @@ interface OfficeNode { @Component({ selector: 'mifosx-loan-approval', templateUrl: './loan-approval.component.html', - styleUrls: ['./loan-approval.component.scss'] + styleUrls: ['./loan-approval.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FormatNumberPipe + ] }) export class LoanApprovalComponent { /** Offices Data */ diff --git a/src/app/tasks/checker-inbox-and-tasks-tabs/loan-disbursal/loan-disbursal.component.ts b/src/app/tasks/checker-inbox-and-tasks-tabs/loan-disbursal/loan-disbursal.component.ts index 38192e55f..ff3b5742a 100644 --- a/src/app/tasks/checker-inbox-and-tasks-tabs/loan-disbursal/loan-disbursal.component.ts +++ b/src/app/tasks/checker-inbox-and-tasks-tabs/loan-disbursal/loan-disbursal.component.ts @@ -1,8 +1,20 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SelectionModel } from '@angular/cdk/collections'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { MatDialog } from '@angular/material/dialog'; /** Dialog Imports */ @@ -13,11 +25,31 @@ import { TasksService } from '../../tasks.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { FormatNumberPipe } from '../../../pipes/format-number.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-loan-disbursal', templateUrl: './loan-disbursal.component.html', - styleUrls: ['./loan-disbursal.component.scss'] + styleUrls: ['./loan-disbursal.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + FormatNumberPipe + ] }) export class LoanDisbursalComponent { /** Loans Data */ diff --git a/src/app/tasks/checker-inbox-and-tasks-tabs/reschedule-loan/reschedule-loan.component.ts b/src/app/tasks/checker-inbox-and-tasks-tabs/reschedule-loan/reschedule-loan.component.ts index eb1c62c37..e9d10f298 100644 --- a/src/app/tasks/checker-inbox-and-tasks-tabs/reschedule-loan/reschedule-loan.component.ts +++ b/src/app/tasks/checker-inbox-and-tasks-tabs/reschedule-loan/reschedule-loan.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { SelectionModel } from '@angular/cdk/collections'; import * as _ from 'lodash'; -import { MatTableDataSource } from '@angular/material/table'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; import { MatDialog } from '@angular/material/dialog'; /** Dialog Imports */ @@ -14,6 +26,10 @@ import { TasksService } from '../../tasks.service'; import { SettingsService } from 'app/settings/settings.service'; import { Dates } from 'app/core/utils/dates'; import { TranslateService } from '@ngx-translate/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { DateFormatPipe } from '../../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; interface RescheduleFormData { dateFormat: string; @@ -25,7 +41,23 @@ interface RescheduleFormData { @Component({ selector: 'mifosx-reschedule-loan', templateUrl: './reschedule-loan.component.html', - styleUrls: ['./reschedule-loan.component.scss'] + styleUrls: ['./reschedule-loan.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCheckbox, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + DateFormatPipe + ] }) export class RescheduleLoanComponent { /** Loans Data */ diff --git a/src/app/tasks/checker-inbox-and-tasks/checker-inbox-and-tasks.component.ts b/src/app/tasks/checker-inbox-and-tasks/checker-inbox-and-tasks.component.ts index 04c62952d..7a5983763 100644 --- a/src/app/tasks/checker-inbox-and-tasks/checker-inbox-and-tasks.component.ts +++ b/src/app/tasks/checker-inbox-and-tasks/checker-inbox-and-tasks.component.ts @@ -1,5 +1,8 @@ /** Angular Imports */ import { Component } from '@angular/core'; +import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs'; +import { RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Checker Inbox and Tasks Component @@ -7,7 +10,15 @@ import { Component } from '@angular/core'; @Component({ selector: 'mifosx-checker-inbox-and-tasks', templateUrl: './checker-inbox-and-tasks.component.html', - styleUrls: ['./checker-inbox-and-tasks.component.scss'] + styleUrls: ['./checker-inbox-and-tasks.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatTabNav, + MatTabLink, + RouterLinkActive, + MatTabNavPanel, + RouterOutlet + ] }) export class CheckerInboxAndTasksComponent { constructor() {} diff --git a/src/app/tasks/tasks.module.ts b/src/app/tasks/tasks.module.ts index ec454bc25..b81e707ce 100644 --- a/src/app/tasks/tasks.module.ts +++ b/src/app/tasks/tasks.module.ts @@ -23,9 +23,7 @@ import { ViewCheckerInboxComponent } from './view-checker-inbox/view-checker-inb SharedModule, TasksRoutingModule, DirectivesModule, - PipesModule - ], - declarations: [ + PipesModule, CheckerInboxAndTasksComponent, CheckerInboxComponent, ClientApprovalComponent, diff --git a/src/app/tasks/view-checker-inbox/view-checker-inbox.component.ts b/src/app/tasks/view-checker-inbox/view-checker-inbox.component.ts index 61991dccd..627789eb4 100644 --- a/src/app/tasks/view-checker-inbox/view-checker-inbox.component.ts +++ b/src/app/tasks/view-checker-inbox/view-checker-inbox.component.ts @@ -10,11 +10,23 @@ import { TasksService } from '../tasks.service'; /** Dialog Components */ import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/confirmation-dialog.component'; import { TranslateService } from '@ngx-translate/core'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { MatDivider } from '@angular/material/divider'; +import { NgIf, NgFor, KeyValuePipe } from '@angular/common'; +import { DateFormatPipe } from '../../pipes/date-format.pipe'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-view-checker-inbox', templateUrl: './view-checker-inbox.component.html', - styleUrls: ['./view-checker-inbox.component.scss'] + styleUrls: ['./view-checker-inbox.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatDivider, + KeyValuePipe, + DateFormatPipe + ] }) export class ViewCheckerInboxComponent { /** Checker Inbox Details Data */ diff --git a/src/app/templates/create-edit-template/create-edit-template.component.ts b/src/app/templates/create-edit-template/create-edit-template.component.ts index 97b96d581..3637598f2 100644 --- a/src/app/templates/create-edit-template/create-edit-template.component.ts +++ b/src/app/templates/create-edit-template/create-edit-template.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; /** CKEditor5 Imports */ import * as ClassicEditor from '@ckeditor/ckeditor5-build-classic'; @@ -11,6 +17,15 @@ import { clientParameterLabels, loanParameterLabels, repaymentParameterLabels } /** Custom Services */ import { TemplatesService } from '../templates.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { CKEditorModule } from '@ckeditor/ckeditor5-angular'; +import { + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle +} from '@angular/material/expansion'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create Template Component. @@ -18,7 +33,16 @@ import { TemplatesService } from '../templates.service'; @Component({ selector: 'mifosx-create-edit-template', templateUrl: './create-edit-template.component.html', - styleUrls: ['./create-edit-template.component.scss'] + styleUrls: ['./create-edit-template.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + CKEditorModule, + MatAccordion, + MatExpansionPanel, + MatExpansionPanelHeader, + MatExpansionPanelTitle + ] }) export class CreateEditComponent implements OnInit { /** CKEditor5 */ diff --git a/src/app/templates/templates.component.ts b/src/app/templates/templates.component.ts index 6d99e2129..b41fb8a6e 100644 --- a/src/app/templates/templates.component.ts +++ b/src/app/templates/templates.component.ts @@ -1,9 +1,23 @@ /** Angular Imports */ import { Component, OnInit, ViewChild } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; -import { ActivatedRoute } from '@angular/router'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; +import { ActivatedRoute, RouterLink } from '@angular/router'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Templates component. @@ -11,7 +25,24 @@ import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'mifosx-templates', templateUrl: './templates.component.html', - styleUrls: ['./templates.component.scss'] + styleUrls: ['./templates.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class TemplatesComponent implements OnInit { /** Templates data. */ diff --git a/src/app/templates/templates.module.ts b/src/app/templates/templates.module.ts index bb1ce6bce..03ada4a8e 100644 --- a/src/app/templates/templates.module.ts +++ b/src/app/templates/templates.module.ts @@ -22,9 +22,7 @@ import { CreateEditComponent } from './create-edit-template/create-edit-template CKEditorModule, SharedModule, DirectivesModule, - TemplatesRoutingModule - ], - declarations: [ + TemplatesRoutingModule, TemplatesComponent, ViewTemplateComponent, CreateEditComponent diff --git a/src/app/templates/view-template/view-template.component.ts b/src/app/templates/view-template/view-template.component.ts index 5ea08a740..398bc8ed7 100644 --- a/src/app/templates/view-template/view-template.component.ts +++ b/src/app/templates/view-template/view-template.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -8,6 +8,8 @@ import { TemplatesService } from '../templates.service'; /** Custom Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View Template Component. @@ -15,7 +17,11 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co @Component({ selector: 'mifosx-view-template', templateUrl: './view-template.component.html', - styleUrls: ['./view-template.component.scss'] + styleUrls: ['./view-template.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewTemplateComponent { /** Template Data */ diff --git a/src/app/users/create-user/create-user.component.ts b/src/app/users/create-user/create-user.component.ts index b86148d25..97a5a48f3 100644 --- a/src/app/users/create-user/create-user.component.ts +++ b/src/app/users/create-user/create-user.component.ts @@ -1,7 +1,13 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; +import { + UntypedFormGroup, + UntypedFormBuilder, + UntypedFormControl, + Validators, + ReactiveFormsModule +} from '@angular/forms'; +import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -13,6 +19,8 @@ import { PasswordsUtility } from 'app/core/utils/passwords-utility'; import { confirmPasswordValidator } from 'app/login/reset-password/confirm-password.validator'; import { ConfigurationWizardService } from 'app/configuration-wizard/configuration-wizard.service'; import { ContinueSetupDialogComponent } from 'app/configuration-wizard/continue-setup-dialog/continue-setup-dialog.component'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Create user component. @@ -20,7 +28,11 @@ import { ContinueSetupDialogComponent } from 'app/configuration-wizard/continue- @Component({ selector: 'mifosx-create-user', templateUrl: './create-user.component.html', - styleUrls: ['./create-user.component.scss'] + styleUrls: ['./create-user.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class CreateUserComponent implements OnInit, AfterViewInit { /** User form. */ diff --git a/src/app/users/edit-user/edit-user.component.ts b/src/app/users/edit-user/edit-user.component.ts index 05fa2d047..a128f689a 100644 --- a/src/app/users/edit-user/edit-user.component.ts +++ b/src/app/users/edit-user/edit-user.component.ts @@ -1,10 +1,12 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; /** Custom Services */ import { UsersService } from '../users.service'; +import { MatCheckbox } from '@angular/material/checkbox'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Edit User Component. @@ -12,7 +14,11 @@ import { UsersService } from '../users.service'; @Component({ selector: 'mifosx-edit-user', templateUrl: './edit-user.component.html', - styleUrls: ['./edit-user.component.scss'] + styleUrls: ['./edit-user.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + MatCheckbox + ] }) export class EditUserComponent implements OnInit { /** User Data */ diff --git a/src/app/users/users.component.ts b/src/app/users/users.component.ts index a2ff89759..cda8e5a43 100644 --- a/src/app/users/users.component.ts +++ b/src/app/users/users.component.ts @@ -1,9 +1,21 @@ /** Angular Imports */ import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatSort, MatSortHeader } from '@angular/material/sort'; +import { + MatTableDataSource, + MatTable, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow +} from '@angular/material/table'; /** rxjs Imports */ import { of } from 'rxjs'; @@ -11,6 +23,8 @@ import { of } from 'rxjs'; /** Custom Services */ import { PopoverService } from '../configuration-wizard/popover/popover.service'; import { ConfigurationWizardService } from '../configuration-wizard/configuration-wizard.service'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * Users component. @@ -18,7 +32,24 @@ import { ConfigurationWizardService } from '../configuration-wizard/configuratio @Component({ selector: 'mifosx-users', templateUrl: './users.component.html', - styleUrls: ['./users.component.scss'] + styleUrls: ['./users.component.scss'], + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent, + MatTable, + MatSort, + MatColumnDef, + MatHeaderCellDef, + MatHeaderCell, + MatSortHeader, + MatCellDef, + MatCell, + MatHeaderRowDef, + MatHeaderRow, + MatRowDef, + MatRow, + MatPaginator + ] }) export class UsersComponent implements OnInit, AfterViewInit { /** Users data. */ diff --git a/src/app/users/users.module.ts b/src/app/users/users.module.ts index 2fd3af459..04621849d 100644 --- a/src/app/users/users.module.ts +++ b/src/app/users/users.module.ts @@ -19,9 +19,7 @@ import { EditUserComponent } from './edit-user/edit-user.component'; @NgModule({ imports: [ SharedModule, - UsersRoutingModule - ], - declarations: [ + UsersRoutingModule, UsersComponent, CreateUserComponent, ViewUserComponent, diff --git a/src/app/users/view-user/view-user.component.ts b/src/app/users/view-user/view-user.component.ts index c95881030..6816057c8 100644 --- a/src/app/users/view-user/view-user.component.ts +++ b/src/app/users/view-user/view-user.component.ts @@ -1,6 +1,6 @@ /** Angular Imports */ import { Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; /** Custom Services */ @@ -9,6 +9,8 @@ import { UsersService } from '../users.service'; /** Custom Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { ChangePasswordDialogComponent } from 'app/shared/change-password-dialog/change-password-dialog.component'; +import { FaIconComponent } from '@fortawesome/angular-fontawesome'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** * View user component. @@ -16,7 +18,12 @@ import { ChangePasswordDialogComponent } from 'app/shared/change-password-dialog @Component({ selector: 'mifosx-view-user', templateUrl: './view-user.component.html', - styleUrls: ['./view-user.component.scss'] + styleUrls: ['./view-user.component.scss'], + standalone: true, + imports: [ + ...STANDALONE_SHARED_IMPORTS, + FaIconComponent + ] }) export class ViewUserComponent { /** User Data. */ diff --git a/src/app/web-app.component.ts b/src/app/web-app.component.ts index e7e3fefc2..8670e6f4c 100644 --- a/src/app/web-app.component.ts +++ b/src/app/web-app.component.ts @@ -13,7 +13,7 @@ import { filter, map, mergeMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; /** Environment Configuration */ -import { environment } from 'environments/environment'; +import { environment } from '../environments/environment'; /** Custom Services */ import { Logger } from './core/logger/logger.service'; @@ -48,6 +48,7 @@ import localeLV from '@angular/common/locales/lv'; import localeNE from '@angular/common/locales/ne'; import localePT from '@angular/common/locales/pt'; import localeSW from '@angular/common/locales/sw'; +import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; registerLocaleData(localeCS); registerLocaleData(localeEN); registerLocaleData(localeES); @@ -79,7 +80,10 @@ registerLocaleData(localeSW); ]) - ] + ], + + // eslint-disable-next-line @angular-eslint/prefer-standalone + standalone: false }) export class WebAppComponent implements OnInit { buttonConfig: KeyboardShortcutsConfiguration; diff --git a/src/theme/mifosx-theme.scss b/src/theme/mifosx-theme.scss index e977445dc..ffaa8dbf8 100644 --- a/src/theme/mifosx-theme.scss +++ b/src/theme/mifosx-theme.scss @@ -21,7 +21,8 @@ $mifosx-typography-level: mat.m2-define-typography-level( $letter-spacing: normal ); -@include mat.core(); +@include mat.elevation-classes(); +@include mat.app-background(); /* ################################## Light theme ################################### */ diff --git a/src/tsconfig.app.json b/src/tsconfig.app.json index fb3e64c3a..207fb3cab 100644 --- a/src/tsconfig.app.json +++ b/src/tsconfig.app.json @@ -3,7 +3,11 @@ "compilerOptions": { "outDir": "../out-tsc/app", "baseUrl": "./", - "types": ["node"] + "types": ["node"], + "paths": { + "@pipes/*": ["app/pipes/*"], + "app/*": ["app/*"] + } }, "angularCompilerOptions": { "enableIvy": true, diff --git a/tsconfig.json b/tsconfig.json index cb57363ab..cbd94024c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compileOnSave": false, "compilerOptions": { - "baseUrl": "src", + "baseUrl": "./", + "paths": { + "@pipes/*": ["src/app/pipes/*"], + "app/*": ["src/app/*"] + }, "importHelpers": true, "module": "es2022", "esModuleInterop": true,