From d4d6ea8734ab0e247c92daaf3966c60c96658528 Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Mon, 12 Feb 2024 12:39:50 +0100 Subject: [PATCH] chore: angular 17 new syntax * Fixes order pid extract. * Fixes bucket name button. * Fixes request button. * Simplifies eslint configuration files. Co-Authored-by: Bertrand Zuchuat Co-Authored-by: Bertrand Zuchuat --- .eslintrc.json | 7 - .github/workflows/main.yml | 8 +- angular.json | 20 +- package-lock.json | 4 +- package.json | 2 +- projects/admin/.eslintrc.json | 6 - projects/admin/e2e/tsconfig.json | 2 +- .../account-brief-view.component.html | 140 ++-- .../account-brief-view.component.ts | 41 +- .../account-detail-view.component.html | 22 +- .../account-detail-view.component.ts | 18 +- .../account-list/account-list.component.html | 32 +- .../account-list/account-list.component.ts | 38 +- .../account-transfer.component.html | 168 ++-- .../account-transfer.component.ts | 65 +- .../budgets-brief-view.component.ts | 12 +- .../budget-detail-view.component.html | 10 +- .../budget-detail-view.component.ts | 16 +- ...elect-account-editor-widget.component.html | 50 +- .../select-account-editor-widget.component.ts | 30 +- .../order-brief-view.component.html | 68 +- .../order-brief-view.component.ts | 10 +- .../order-detail-view.component.html | 165 ++-- .../order-detail-view.component.ts | 67 +- .../order-line/order-line.component.html | 71 +- .../order-line/order-line.component.ts | 40 +- .../order-lines/order-lines.component.html | 52 +- .../order-lines/order-lines.component.ts | 28 +- .../order-email-form.component.html | 41 +- .../order-email-form.component.ts | 40 +- .../order-summary.component.html | 82 +- .../order-summary/order-summary.component.ts | 26 +- .../receipt-detail-view.component.html | 187 +++-- .../receipt-detail-view.component.ts | 50 +- .../order-receipt-view.component.html | 88 +- .../order-receipt-view.component.ts | 95 ++- .../receipt-list/receipt-list.component.html | 51 +- .../receipt-list/receipt-list.component.ts | 38 +- .../receipt-summary.component.html | 168 ++-- .../receipt-summary.component.ts | 46 +- .../type/field-document-brief-view.type.ts | 21 +- .../formly/type/repeat-section.type.ts | 81 +- .../select-account.component.html | 50 +- .../select-account.component.ts | 16 +- .../formly/wrapper/input-no-label.wrapper.ts | 10 +- .../pipes/note-badge-color.pipe.ts | 2 +- .../app/acquisition/routes/accounts-route.ts | 2 +- .../routes/guards/abstract-can-add.guard.ts | 16 +- .../routes/guards/can-add-account.guard.ts | 14 +- .../routes/guards/can-add-order-line.guard.ts | 14 +- .../routes/guards/can-order-receipt.guard.ts | 32 +- .../routes/guards/is-budget-active.guard.ts | 17 +- .../acquisition/routes/order-lines-route.ts | 2 +- .../acquisition/routes/receipt-lines-route.ts | 2 +- projects/admin/src/app/app.component.html | 44 +- .../checkin-action.component.ts | 8 +- .../circulation/checkin/checkin.component.ts | 128 +-- .../app/circulation/item/item.component.html | 505 +++++------ .../app/circulation/item/item.component.ts | 44 +- .../items-list/items-list.component.html | 52 +- .../main-request/main-request.component.html | 17 +- .../main-request/main-request.component.ts | 80 +- .../requested-item.component.html | 141 ++-- .../requested-item.component.ts | 12 +- .../requested-items-list.component.html | 31 +- .../requested-items-list.component.ts | 8 +- .../patron/cancel-request-button.component.ts | 39 +- .../patron/card/card.component.html | 133 +-- .../circulation/patron/card/card.component.ts | 15 +- .../change-password-form.component.html | 38 +- .../change-password-form.component.ts | 38 +- .../history-log-library.component.html | 9 +- .../history-log/history-log.component.html | 126 +-- .../history-log/history-log.component.ts | 10 +- .../patron/history/history.component.html | 37 +- .../patron/history/history.component.ts | 14 +- .../ill-request-item.component.html | 131 +-- .../ill-request-item.component.ts | 10 +- .../ill-request/ill-request.component.html | 37 +- .../ill-request/ill-request.component.ts | 14 +- .../fixed-date-form.component.html | 24 +- .../fixed-date-form.component.ts | 42 +- .../patron/loan/loan.component.html | 23 +- .../circulation/patron/loan/loan.component.ts | 178 ++-- .../patron/main/main.component.html | 68 +- .../circulation/patron/main/main.component.ts | 138 ++- .../overdue-transaction.component.html | 111 +-- .../overdue-transaction.component.ts | 22 +- .../patron-fee/patron-fee.component.html | 34 +- .../patron-fee/patron-fee.component.ts | 65 +- ...tron-transaction-event-form.component.html | 42 +- ...patron-transaction-event-form.component.ts | 48 +- .../patron-transaction-event.component.html | 148 ++-- ...patron-transaction-event.component.spec.ts | 16 + .../patron-transaction-event.component.ts | 30 +- .../default-transaction-detail.component.html | 22 +- .../default-transaction-detail.component.ts | 16 + .../overdue-transaction-detail.component.html | 57 +- .../overdue-transaction-detail.component.ts | 18 +- .../patron-transaction.component.html | 82 +- .../patron-transaction.component.ts | 30 +- .../patron-transactions.component.html | 66 +- .../patron-transactions.component.ts | 76 +- .../pending-item/pending-item.component.html | 48 +- .../pending-item/pending-item.component.ts | 14 +- .../patron/pending/pending.component.html | 44 +- .../patron/pending/pending.component.ts | 15 +- .../pickup-item/pickup-item.component.html | 21 +- .../pickup-item/pickup-item.component.ts | 14 +- .../patron/pickup/pickup.component.html | 41 +- .../patron/pickup/pickup.component.ts | 16 +- .../patron/profile/profile.component.html | 442 +++++----- .../patron/profile/profile.component.ts | 38 +- .../issue-email/issue-email.component.html | 41 +- ...-switch-location-standalone.component.html | 12 +- .../error/error-page/error-page.component.ts | 12 +- .../menu-dashboard.component.html | 56 +- .../sub-menu/sub-menu.component.html | 58 +- .../menu-switch-library.component.html | 13 +- .../admin/src/app/menu/menu.component.html | 19 +- .../circ-policies-brief-view.component.ts | 27 +- .../collection-brief-view.component.ts | 33 +- .../documents-brief-view.component.html | 58 +- .../ill-requests-brief-view.component.html | 24 +- .../ill-requests-brief-view.component.ts | 12 +- .../issues-brief-view.component.html | 142 ++-- .../item-types-brief-view.component.ts | 15 +- .../items-brief-view.component.html | 42 +- .../items-brief-view.component.ts | 24 +- .../libraries-brief-view.component.ts | 15 +- .../loans-brief-view.component.html | 52 +- .../loans-brief-view.component.ts | 19 +- ...n-transaction-event-default.component.html | 10 +- ...n-transaction-event-overdue.component.html | 27 +- ...ansaction-events-brief-view.component.html | 49 +- ...transaction-events-brief-view.component.ts | 14 +- .../patron-types-brief-view.component.ts | 15 +- .../patrons-brief-view.component.html | 53 +- .../patrons-brief-view.component.scss | 5 +- .../patrons-brief-view.component.ts | 8 +- .../statistics-cfg-brief-view-component.ts | 15 +- .../templates-brief-view.component.ts | 43 +- .../brief-view/vendor-brief-view.component.ts | 35 +- .../circulation-log-loan.component.html | 60 +- ...irculation-log-notification.component.html | 37 +- .../circulation-log-notification.component.ts | 12 +- .../circulation-log.component.html | 26 +- .../circulation-log.component.ts | 8 +- .../circulation-logs-dialog.component.ts | 8 +- .../circulation-logs.component.html | 98 ++- .../circulation-logs.component.ts | 14 +- .../circulation-stats.component.html | 34 +- .../circulation-stats.component.ts | 8 +- .../document-editor.component.ts | 48 +- .../holding-editor.component.html | 66 +- .../holding-editor.component.ts | 16 +- .../exception-dates-edit.component.html | 296 ++++--- .../exception-dates-edit.component.ts | 13 +- .../exception-dates-list.component.html | 97 ++- .../exception-dates-list.component.ts | 7 +- .../libraries/library.component.html | 303 ++++--- .../user-id-editor.component.ts | 60 +- .../address-type/address-type.component.html | 32 +- .../acquisition-account.component.html | 45 - .../circ-policy-detail-view.component.html | 285 ++++--- .../circ-policy-detail-view.component.ts | 14 +- .../collection-detail-view.component.html | 118 ++- .../collection-detail-view.component.ts | 11 +- .../collection-items.component.html | 72 +- .../dialog-import.component.html | 28 +- .../dialog-import/dialog-import.component.ts | 8 +- .../document-description.component.html | 785 ++++++++++-------- .../other-edition.component.html | 47 +- .../document-detail-view.component.html | 410 ++++----- .../document-detail-view.component.ts | 56 +- .../document-detail.component.html | 50 +- .../entities-related.component.html | 32 +- .../holding-detail.component.html | 125 +-- .../holding-organisation.component.html | 14 +- .../holding-organisation.component.ts | 20 +- .../holding-shared-view.component.html | 57 +- .../default-holding-item.component.html | 255 +++--- .../default-holding-item.component.ts | 45 +- .../holding-item-note.component.ts | 12 +- ...ding-item-temporary-item-type.component.ts | 14 +- .../holding/holding.component.html | 245 +++--- .../holding/holding.component.ts | 60 +- .../serial-holding-item.component.html | 210 ++--- .../holdings/holdings.component.html | 91 +- .../holdings/holdings.component.ts | 48 +- .../item-request/item-request.component.html | 120 +-- .../item-request/item-request.component.ts | 88 +- .../related-resource.component.html | 22 +- .../entities-local-detail-view.component.html | 85 +- .../entities-local-detail-view.component.ts | 32 +- .../local/entities-local-global.component.ts | 26 +- ...al-organisation-detail-view.component.html | 54 +- .../local-person-detail-view.component.html | 50 +- .../local-place-detail-view.component.html | 15 +- .../local-topic-detail-view.component.html | 35 +- .../local-work-detail-view.component.html | 11 +- ...entities-remote-detail-view.component.html | 80 +- .../entities-remote-detail-view.component.ts | 36 +- ...es-organisation-detail-view.component.html | 52 +- ...entities-person-detail-view.component.html | 59 +- .../remote-topic-detail-view.component.html | 75 +- .../holding-detail-view.component.html | 14 +- .../holding-detail-view.component.ts | 16 +- .../received-issue.component.html | 139 ++-- .../received-issue.component.ts | 46 +- .../serial-holding-detail-view.component.html | 172 ++-- .../serial-holding-detail-view.component.ts | 68 +- .../ill-request-detail-view.component.html | 137 +-- .../ill-request-detail-view.component.ts | 14 +- .../item-detail-view.component.html | 433 +++++----- .../item-detail-view.component.ts | 56 +- .../item-transaction.component.html | 62 +- .../item-transaction.component.ts | 52 +- .../item-transactions.component.html | 75 +- .../item-transactions.component.ts | 50 +- .../item-type-detail-view.component.html | 52 +- .../item-type-detail-view.component.ts | 4 +- .../day-opening-hours.component.ts | 15 +- .../exception-date.component.html | 52 +- .../library-detail-view.component.html | 271 +++--- .../library-detail-view.component.ts | 20 +- .../location/location.component.html | 48 +- .../location/location.component.ts | 16 +- .../local-field/local-field.component.html | 91 +- .../local-field/local-field.component.ts | 28 +- .../location-detail-view.component.html | 146 ++-- .../location-detail-view.component.ts | 5 +- .../organisation-detail-view.component.html | 38 +- .../organisation-detail-view.component.ts | 10 +- .../patron-detail-view.component.html | 178 ++-- .../patron-detail-view.component.ts | 20 +- .../patron-permission.component.html | 29 +- .../patron-permissions.component.html | 16 +- .../patron-permissions.component.ts | 14 +- .../patron-types-detail-view.component.html | 182 ++-- .../patron-types-detail-view.component.ts | 22 +- .../permission-detail-view.component.html | 93 ++- .../permission-detail-view.component.scss | 8 +- .../permission-detail-view.component.ts | 10 +- .../record-masked/record-masked.component.ts | 44 +- .../report-data/report-data.component.html | 24 +- .../reports-list/reports-list.component.html | 43 +- .../reports-list/reports-list.component.ts | 16 +- .../statistics-cfg-detail-view.component.html | 56 +- .../statistics-cfg-detail-view.component.ts | 20 +- .../template-detail-view.component.html | 30 +- .../template-detail-view.component.ts | 22 +- .../vendor-detail-view.component.html | 77 +- .../vendor-detail-view.component.ts | 14 +- .../record/editor/type/field-custom.type.ts | 23 +- .../record/editor/type/repeat-section.type.ts | 26 +- .../wrappers/identifiedby-value.component.ts | 22 +- .../wrappers/user-id/user-id.component.html | 21 +- .../cipo-patron-type-item-type.component.html | 42 +- .../cipo-patron-type-item-type.component.ts | 18 +- .../class/settings.ts | 10 +- .../add-entity-local-form.component.html | 46 +- .../add-entity-local-form.component.ts | 2 +- .../add-entity-local.component.ts | 12 +- .../entity-typeahead.component.html | 141 ++-- .../entity-typeahead.component.ts | 2 +- .../operation-logs.component.html | 51 +- .../operation-logs.component.ts | 2 +- ...cument-advanced-search-form.component.html | 32 +- ...document-advanced-search-form.component.ts | 2 +- .../document-advanced-search.component.ts | 12 +- .../document-record-search.component.html | 23 +- .../payments-data.component.html | 34 +- .../pie/payment-data-pie.component.ts | 14 +- .../table/payments-data-table.component.html | 16 +- .../table/payments-data-table.component.ts | 8 +- .../admin/src/app/routes/templates-route.ts | 2 +- projects/admin/src/app/scss/styles.scss | 2 +- .../src/app/service/bucket-name.service.ts | 5 +- .../preview-email.component.html | 47 +- .../custom-shortcut-help.component.html | 42 +- .../custom-shortcut-help.component.ts | 22 +- projects/admin/tsconfig.eslint.json | 14 - projects/admin/tslint.json | 17 - projects/public-holdings-items/.eslintrc.json | 8 - .../public-holdings-items/e2e/tsconfig.json | 2 +- .../src/app/app.module.ts | 6 +- .../tsconfig.eslint.json | 14 - projects/public-holdings-items/tslint.json | 17 - projects/public-patron-profile/.eslintrc.json | 8 - .../public-patron-profile/e2e/tsconfig.json | 2 +- .../tsconfig.eslint.json | 14 - projects/public-patron-profile/tslint.json | 17 - projects/public-search/.eslintrc.json | 8 - projects/public-search/e2e/tsconfig.json | 3 +- .../collection-brief.component.html | 30 +- .../document-brief.component.html | 86 +- .../holdings/holding/holding.component.html | 121 ++- .../holdings/holding/holding.component.ts | 6 +- .../holdings/holdings.component.html | 25 +- .../holdings/holdings.component.ts | 20 +- .../holdings/items/items.component.html | 27 +- .../holdings/items/items.component.ts | 20 +- .../document-detail/item/item.component.html | 57 +- .../document-detail/item/item.component.ts | 10 +- .../pickup-location.component.html | 42 +- .../pickup-location.component.ts | 34 +- .../request/request.component.html | 41 +- .../request/request.component.ts | 40 +- .../document-record-search.component.html | 10 +- .../src/app/error/error-page.component.ts | 16 +- .../patron-profile-document.component.html | 39 +- .../patron-profile-document.component.ts | 12 +- .../patron-profile-fee.component.html | 175 ++-- .../patron-profile-fee.component.ts | 20 +- .../patron-profile-fees.component.html | 39 +- .../patron-profile-fees.component.ts | 53 +- .../patron-profile-histories.component.html | 32 +- .../patron-profile-histories.component.ts | 55 +- .../patron-profile-history.component.html | 38 +- .../patron-profile-history.component.ts | 10 +- .../patron-profile-ill-request.component.html | 75 +- ...patron-profile-ill-requests.component.html | 39 +- .../patron-profile-ill-requests.component.ts | 39 +- .../patron-profile-loan.component.html | 64 +- .../patron-profile-loan.component.ts | 48 +- .../patron-profile-loans.component.html | 65 +- .../patron-profile-loans.component.ts | 45 +- .../patron-profile-menu.component.html | 20 +- .../patron-profile-menu.component.ts | 14 +- .../patron-profile-message.component.ts | 27 +- .../patron-profile-password.component.ts | 50 +- ...ron-profile-personal-editor.component.html | 32 +- ...atron-profile-personal-editor.component.ts | 80 +- .../patron-profile-personal.component.html | 89 +- .../patron-profile-personal.component.ts | 10 +- .../patron-profile-request.component.html | 136 +-- .../patron-profile-request.component.ts | 42 +- .../patron-profile-requests.component.html | 44 +- .../patron-profile-requests.component.ts | 57 +- .../patron-profile.component.html | 29 +- .../patron-profile.component.ts | 84 +- .../patron-profile/patron-profile.service.ts | 20 +- .../src/app/pipe/array-translate.pipe.ts | 8 +- .../src/app/pipe/journal-volume.pipe.ts | 10 +- .../public-search/src/app/scss/styles.scss | 6 + .../app/search-bar/search-bar.component.ts | 18 +- projects/public-search/tsconfig.eslint.json | 14 - projects/public-search/tslint.json | 17 - .../.eslintrc.json | 8 - .../tsconfig.eslint.json | 14 - .../public-user-password-change/tslint.json | 17 - .../public-user-profile-edit/.eslintrc.json | 8 - .../e2e/tsconfig.json | 4 +- .../tsconfig.app.json | 1 - .../tsconfig.eslint.json | 14 - .../tsconfig.spec.json | 4 +- projects/public-user-profile-edit/tslint.json | 17 - projects/search-bar/.eslintrc.json | 8 - projects/search-bar/tsconfig.eslint.json | 14 - projects/search-bar/tslint.json | 17 - projects/shared/.eslintrc.json | 7 - .../shared/src/lib/api/user-api.service.ts | 15 +- projects/shared/src/lib/class/user.spec.ts | 2 +- .../action-button/action-button.component.ts | 18 +- .../core/brief-view/brief-view.component.html | 67 +- .../core/brief-view/brief-view.component.ts | 20 +- .../document-brief-view.component.html | 35 +- .../entity-brief-view.component.scss | 1 - .../entity-brief-view.component.ts | 10 +- .../entity-brief-view.organisation.ts | 31 +- .../entity-brief-view.person.ts | 33 +- .../directive/link-permissions.directive.ts | 24 +- .../lib/directive/permissions.directive.ts | 16 +- .../shared/src/lib/paginator/paginator.ts | 54 +- .../show-more-pager.component.html | 27 +- .../shared/src/lib/pipe/entity-label.pipe.ts | 12 +- .../src/lib/pipe/extract-source-field.pipe.ts | 14 +- .../src/lib/pipe/get-translated-label.pipe.ts | 12 +- .../pipe/item-holdings-call-number.pipe.ts | 10 +- .../src/lib/pipe/provision-activity.pipe.ts | 4 +- projects/shared/src/lib/pipe/safe-url.pipe.ts | 4 +- .../src/lib/service/app-settings.service.ts | 30 +- .../src/lib/service/permissions.service.ts | 16 +- .../lib/service/search-bar-config.service.ts | 34 +- .../shared/src/lib/service/user.service.ts | 22 +- .../availability/availability.component.html | 60 +- .../view/brief/part-of/part-of.component.html | 40 +- .../view/brief/part-of/part-of.component.ts | 22 +- .../contribution/contribution.component.html | 62 +- .../src/lib/view/entity-link.component.ts | 26 +- .../inherited-call-number.component.html | 50 +- .../view/thumbnail/thumbnail.component.html | 25 +- .../lib/view/thumbnail/thumbnail.component.ts | 10 +- projects/shared/src/scss/styles.scss | 16 + projects/shared/tsconfig.eslint.json | 14 - projects/shared/tsconfig.lib.prod.json | 4 +- projects/shared/tslint.json | 17 - 398 files changed, 10089 insertions(+), 9339 deletions(-) delete mode 100644 projects/admin/src/app/record/detail-view/budget-detail-view/acquisition-account/acquisition-account.component.html delete mode 100644 projects/admin/tsconfig.eslint.json delete mode 100644 projects/admin/tslint.json delete mode 100644 projects/public-holdings-items/tsconfig.eslint.json delete mode 100644 projects/public-holdings-items/tslint.json delete mode 100644 projects/public-patron-profile/tsconfig.eslint.json delete mode 100644 projects/public-patron-profile/tslint.json delete mode 100644 projects/public-search/tsconfig.eslint.json delete mode 100644 projects/public-search/tslint.json delete mode 100644 projects/public-user-password-change/tsconfig.eslint.json delete mode 100644 projects/public-user-password-change/tslint.json delete mode 100644 projects/public-user-profile-edit/tsconfig.eslint.json delete mode 100644 projects/public-user-profile-edit/tslint.json delete mode 100644 projects/search-bar/tsconfig.eslint.json delete mode 100644 projects/search-bar/tslint.json delete mode 100644 projects/shared/tsconfig.eslint.json delete mode 100644 projects/shared/tslint.json diff --git a/.eslintrc.json b/.eslintrc.json index 29db15082..6fbc9e423 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,13 +8,6 @@ "files": [ "*.ts" ], - "parserOptions": { - "project": [ - "tsconfig.json", - "e2e/tsconfig.json" - ], - "createDefaultProgram": true - }, "extends": [ "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/template/process-inline-templates" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9fceb0aca..a740a4355 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,17 +9,17 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [18.x, 20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: install package run: | - npm install -g @angular/cli@14 + npm install -g @angular/cli@17 npm ci - name: run tests run: | diff --git a/angular.json b/angular.json index 6d36290ac..a48e31676 100644 --- a/angular.json +++ b/angular.json @@ -157,7 +157,6 @@ "main": "projects/public-holdings-items/src/main.ts", "polyfills": "projects/public-holdings-items/src/polyfills.ts", "tsConfig": "projects/public-holdings-items/tsconfig.app.json", - "aot": true, "assets": [ { "glob": "**/*.json", @@ -171,6 +170,11 @@ } ], "styles": [ + "node_modules/primeng/resources/themes/lara-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" ], @@ -188,7 +192,6 @@ "outputHashing": "all", "sourceMap": false, "namedChunks": false, - "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, @@ -368,8 +371,8 @@ "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": [ - "projects/public-search/src/**/*.ts", - "projects/public-search/src/**/*.html" + "projects/public-search/**/*.ts", + "projects/public-search/**/*.html" ] } } @@ -391,7 +394,6 @@ "main": "projects/search-bar/src/main.ts", "polyfills": "projects/search-bar/src/polyfills.ts", "tsConfig": "projects/search-bar/tsconfig.app.json", - "aot": true, "assets": [ { "glob": "**/*.json", @@ -419,7 +421,6 @@ "outputHashing": "all", "sourceMap": false, "namedChunks": false, - "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, @@ -646,7 +647,6 @@ "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", - "aot": true, "assets": [ { "glob": "**/*.json", @@ -755,7 +755,6 @@ "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", - "aot": true, "assets": [ { "glob": "**/*.json", @@ -848,5 +847,10 @@ } } } + }, + "cli": { + "schematicCollections": [ + "@angular-eslint/schematics" + ] } } diff --git a/package-lock.json b/package-lock.json index 9c111d43c..0d047aa9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rero/rero-ils-ui", - "version": "14.8.0", + "version": "17.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rero/rero-ils-ui", - "version": "14.8.0", + "version": "17.2.0", "license": "AGPL-3.0-only", "dependencies": { "@angular/animations": "^17.1.0", diff --git a/package.json b/package.json index c51a80437..af15bdd2d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ { "name": "@rero/rero-ils-ui", - "version": "14.8.0", + "version": "17.2.0", "license": "AGPL-3.0-only", "author": { "name": "RERO", diff --git a/projects/admin/.eslintrc.json b/projects/admin/.eslintrc.json index f9a22fa0d..06595c7d7 100644 --- a/projects/admin/.eslintrc.json +++ b/projects/admin/.eslintrc.json @@ -8,12 +8,6 @@ "files": [ "*.ts" ], - "parserOptions": { - "project": [ - "projects/admin/tsconfig.eslint.json" - ], - "createDefaultProgram": false - }, "rules": { "@angular-eslint/directive-selector": [ "error", diff --git a/projects/admin/e2e/tsconfig.json b/projects/admin/e2e/tsconfig.json index 3d809e80f..9872ecac3 100644 --- a/projects/admin/e2e/tsconfig.json +++ b/projects/admin/e2e/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../../../out-tsc/e2e", "module": "commonjs", - "target": "es2018", + "target": "es2022", "types": [ "jasmine", "jasminewd2", diff --git a/projects/admin/src/app/acquisition/components/account/account-brief-view/account-brief-view.component.html b/projects/admin/src/app/acquisition/components/account/account-brief-view/account-brief-view.component.html index 2a31b2f21..40a4a6050 100644 --- a/projects/admin/src/app/acquisition/components/account/account-brief-view/account-brief-view.component.html +++ b/projects/admin/src/app/acquisition/components/account/account-brief-view/account-brief-view.component.html @@ -1,6 +1,6 @@ -