Skip to content

Commit

Permalink
public interface: refactoring primeng
Browse files Browse the repository at this point in the history
* Refactors the shared module.
* Refactors the holding items module.
* Refactors the user password module.
* Refactors the user profile edit module.
* Refactors the search bar module.
* Refactors the patron profile module.
* Adds layers to css styles.
* Merges public profiles applications into only one.
* All document detailed view tabs are now in angular.
* Updates dependencies.
* User profile application is not a webcomponent anymore.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
jma and Garfield-fr committed Dec 4, 2024
1 parent b8af302 commit 1b22af4
Show file tree
Hide file tree
Showing 162 changed files with 1,788 additions and 3,781 deletions.
275 changes: 27 additions & 248 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css",
"node_modules/ngx-spinner/animations/ball-zig-zag.css",
"projects/admin/src/app/scss/styles.scss",
"projects/shared/src/scss/styles.scss"
"projects/admin/src/app/scss/styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand Down Expand Up @@ -77,7 +71,7 @@
{
"type": "initial",
"maximumWarning": "2.5mb",
"maximumError": "7mb"
"maximumError": "9mb"
},
{
"type": "anyComponentStyle",
Expand Down Expand Up @@ -113,7 +107,6 @@
"tsConfig": "projects/admin/tsconfig.spec.json",
"karmaConfig": "projects/admin/karma.conf.js",
"assets": [],
"styles": ["projects/admin/src/app/scss/styles.scss"],
"scripts": []
}
},
Expand Down Expand Up @@ -169,15 +162,15 @@
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css",
"node_modules/ngx-spinner/animations/ball-zig-zag.css",
"projects/public-search/src/app/scss/styles.scss",
"projects/shared/src/scss/styles.scss"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -194,6 +187,9 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -277,11 +273,7 @@
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css",
"projects/shared/src/scss/styles.scss"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand All @@ -299,6 +291,9 @@
"with": "projects/public-search/src/environments/environment.prod.ts"
}
],
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
Expand Down Expand Up @@ -405,10 +400,7 @@
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand All @@ -433,6 +425,9 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -531,6 +526,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "/highlands/patrons/profile",
"allowedCommonJsDependencies": [
"crypto-js",
"easymde",
Expand All @@ -556,12 +552,7 @@
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css",
"projects/public-search/src/app/scss/styles.scss",
"projects/shared/src/scss/styles.scss"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand All @@ -586,7 +577,11 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"deployUrl": "/static/node_modules/@rero/rero-ils-ui/dist/public-patron-profile/",
"baseHref": "",
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -643,222 +638,6 @@
}
}
}
},
"public-user-profile-edit": {
"projectType": "application",
"schematics": {},
"root": "projects/public-user-profile-edit",
"sourceRoot": "projects/public-user-profile-edit/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": ["crypto-js", "easymde", "moment"],
"outputPath": "build/dist/public-user-profile-edit",
"index": "projects/public-user-profile-edit/src/index.html",
"main": "projects/public-user-profile-edit/src/main.ts",
"polyfills": "projects/public-user-profile-edit/src/polyfills.ts",
"tsConfig": "projects/public-user-profile-edit/tsconfig.app.json",
"assets": [
{
"glob": "**/*.json",
"input": "projects/public-search/src/assets",
"output": "/assets/"
},
{
"glob": "**/*.json",
"input": "projects/shared/src/assets",
"output": "/assets/"
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css",
"projects/shared/src/scss/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/public-user-profile-edit/src/environments/environment.ts",
"with": "projects/public-user-profile-edit/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"port": 4206,
"buildTarget": "public-user-profile-edit:build"
},
"configurations": {
"production": {
"buildTarget": "public-user-profile-edit:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "public-user-profile-edit:build"
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/public-user-profile-edit/e2e/protractor.conf.js",
"devServerTarget": "public-user-profile-edit:serve"
},
"configurations": {
"production": {
"devServerTarget": "public-user-profile-edit:serve:production"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/public-user-profile-edit/src/**/*.ts",
"projects/public-user-profile-edit/src/**/*.html"
]
}
}
}
},
"public-user-password-change": {
"projectType": "application",
"schematics": {},
"root": "projects/public-user-password-change",
"sourceRoot": "projects/public-user-password-change/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": ["crypto-js", "easymde", "moment"],
"outputPath": "build/dist/public-user-password-change",
"index": "projects/public-user-password-change/src/index.html",
"main": "projects/public-user-password-change/src/main.ts",
"polyfills": "projects/public-user-password-change/src/polyfills.ts",
"tsConfig": "projects/public-user-password-change/tsconfig.app.json",
"assets": [
{
"glob": "**/*.json",
"input": "projects/public-search/src/assets",
"output": "/assets/"
},
{
"glob": "**/*.json",
"input": "projects/shared/src/assets",
"output": "/assets/"
}
],
"styles": [
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.min.css",
"projects/shared/src/scss/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/public-user-password-change/src/environments/environment.ts",
"with": "projects/public-user-password-change/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"port": 4205,
"buildTarget": "public-user-password-change:build"
},
"configurations": {
"production": {
"buildTarget": "public-user-password-change:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "public-user-password-change:build"
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/public-user-password-change/e2e/protractor.conf.js",
"devServerTarget": "public-user-password-change:serve"
},
"configurations": {
"production": {
"devServerTarget": "public-user-password-change:serve:production"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/public-user-password-change/src/**/*.ts",
"projects/public-user-password-change/src/**/*.html"
]
}
}
}
}
},
"cli": {
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b22af4

Please sign in to comment.