Skip to content

Commit

Permalink
v16
Browse files Browse the repository at this point in the history
Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Jan 24, 2024
1 parent 29ac663 commit e76c394
Show file tree
Hide file tree
Showing 11 changed files with 4,749 additions and 13,964 deletions.
18,598 changes: 4,692 additions & 13,906 deletions package-lock.json

Large diffs are not rendered by default.

79 changes: 39 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,19 @@
"public-search_extract_messages": "ngx-translate-extract -k -c -s -i ./projects/public-search/src -o ./projects/public-search/src/assets/rero-ils-ui/public-search/i18n/en_US.json --fi ' '",
"public-search_update_catalog": "ngx-translate-extract -k -c -s -i ./projects/public-search/src -o ./projects/public-search/src/assets/rero-ils-ui/public-search/i18n/{de,en,es,fr,it,nl,ar}.json --fi ' '",
"extract_messages": "npm run shared_extract_messages && npm run public-search_extract_messages && npm run admin_extract_messages",
"update_catalog": "npm run shared_update_catalog && npm run public-search_update_catalog && npm run admin_update_catalog",
"postinstall": "ngcc"
"update_catalog": "npm run shared_update_catalog && npm run public-search_update_catalog && npm run admin_update_catalog"
},
"dependencies": {
"@angular/animations": "^15.2.10",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/elements": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.13",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/elements": "^16.2.12",
"@angular/forms": "^16.2.12",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@bartholomej/ngx-translate-extract": "^8.0.0",
"@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
"@ngneat/hotkeys": "^1.3.0",
Expand All @@ -98,40 +97,40 @@
"luxon": "^3.3.0",
"marked": "^4.3.0",
"moment": "^2.29.1",
"ngx-bootstrap": "^10.0.0",
"ngx-spinner": "^15.0.0",
"ngx-toastr": "^15.2.2",
"ngx-bootstrap": "^11.0.0",
"ngx-spinner": "^16.0.0",
"ngx-toastr": "^17.0.2",
"primeicons": "^6.0.1",
"primeng": "^15.0.0",
"rxjs": "~6.6.7",
"primeng": "^16.9.0",
"rxjs": "^7.8.1",
"simple-isbn": "^1.1.5",
"tslib": "^2.5.0",
"zone.js": "~0.11.4"
"tslib": "^2.6.0",
"zone.js": "~0.13.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.10",
"@angular-eslint/builder": "^15.2.1",
"@angular-eslint/eslint-plugin": "^15.2.1",
"@angular-eslint/eslint-plugin-template": "^15.2.1",
"@angular-eslint/schematics": "^15.2.1",
"@angular-eslint/template-parser": "^15.2.1",
"@angular/cli": "^15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/language-service": "^15.2.10",
"@ngx-formly/schematics": "^5.12.7",
"@types/jasmine": "^4.3.1",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@angular-devkit/build-angular": "^16.2.11",
"@angular-eslint/builder": "^16.3.0",
"@angular-eslint/eslint-plugin": "^16.3.0",
"@angular-eslint/eslint-plugin-template": "^16.3.0",
"@angular-eslint/schematics": "^16.3.0",
"@angular-eslint/template-parser": "^16.3.0",
"@angular/cli": "^16.2.11",
"@angular/compiler-cli": "^16.2.12",
"@angular/language-service": "^16.2.12",
"@ngx-formly/schematics": "^6.2.2",
"@types/jasmine": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.36.0",
"jasmine-core": "^4.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.4.0",
"jasmine-core": "^5.1.1",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.2",
"karma-chrome-launcher": "~3.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.5.4",
"karma-spec-reporter": "0.0.32",
"ng-packagr": "^15.2.2",
"typescript": "~4.8.4"
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"karma-spec-reporter": "0.0.36",
"ng-packagr": "^16.2.3",
"typescript": "~5.1.6"
},
"files": [
"dist"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { RecordService } from '@rero/ng-core';
import { Observable, of } from 'rxjs';
import { AbstractCanAddGuard } from './abstract-can-add.guard';

@Injectable({
providedIn: 'root'
})
export class CanAddAccountGuard extends AbstractCanAddGuard implements CanActivate {
export class CanAddAccountGuard extends AbstractCanAddGuard {

/**
* Constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { RecordService } from '@rero/ng-core';
import { Observable, of } from 'rxjs';
import { AbstractCanAddGuard } from './abstract-can-add.guard';

@Injectable({
providedIn: 'root'
})
export class CanAddOrderLineGuard extends AbstractCanAddGuard implements CanActivate {
export class CanAddOrderLineGuard extends AbstractCanAddGuard {

/**
* Constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { extractIdOnRef } from '@rero/ng-core';
import { UserService } from '@rero/shared';
import { combineLatest, Observable, of } from 'rxjs';
Expand All @@ -28,7 +28,7 @@ import { IAcqReceipt } from '../../classes/receipt';
@Injectable({
providedIn: 'root'
})
export class CanOrderReceiptGuard implements CanActivate {
export class CanOrderReceiptGuard {

/**
* Constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { RecordService } from '@rero/ng-core';
import { BaseApi } from '@rero/shared';
import { Observable, of } from 'rxjs';
Expand All @@ -24,7 +24,7 @@ import { map } from 'rxjs/operators';
@Injectable({
providedIn: 'root'
})
export class IsBudgetActiveGuard implements CanActivate {
export class IsBudgetActiveGuard {

/**
* Constructor
Expand Down
4 changes: 2 additions & 2 deletions projects/admin/src/app/guard/can-access.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { Observable, of } from 'rxjs';
import { map } from 'rxjs/operators';
import { RecordPermissions } from '../classes/permissions';
Expand All @@ -24,7 +24,7 @@ import { RecordPermissionService } from '../service/record-permission.service';
@Injectable({
providedIn: 'root'
})
export class CanAccessGuard implements CanActivate {
export class CanAccessGuard {

private _mandatoryParams = [
'type',
Expand Down
4 changes: 2 additions & 2 deletions projects/admin/src/app/guard/can-add-local-fields.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { UserService } from '@rero/shared';
import { Observable, of } from 'rxjs';
import { map } from 'rxjs/operators';
Expand All @@ -25,7 +25,7 @@ import { LocalFieldApiService } from '../api/local-field-api.service';
@Injectable({
providedIn: 'root'
})
export class CanAddLocalFieldsGuard implements CanActivate {
export class CanAddLocalFieldsGuard {
/**
* This guards allows to control the existence of the resource
* for the current organization. If a record exists, it blocks
Expand Down
4 changes: 2 additions & 2 deletions projects/admin/src/app/guard/library.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { RecordService } from '@rero/ng-core';
import { UserService } from '@rero/shared';
import { Observable, of } from 'rxjs';
Expand All @@ -25,7 +25,7 @@ import { catchError, map } from 'rxjs/operators';
@Injectable({
providedIn: 'root'
})
export class LibraryGuard implements CanActivate {
export class LibraryGuard {

/**
* Constructor
Expand Down
4 changes: 2 additions & 2 deletions projects/admin/src/app/guard/permission.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { PermissionsService, PERMISSION_OPERATOR } from '@rero/shared';
import { Observable, of } from 'rxjs';

Expand All @@ -39,7 +39,7 @@ import { Observable, of } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class PermissionGuard implements CanActivate {
export class PermissionGuard {

/**
* Constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
*/

import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router, UrlTree } from '@angular/router';
import { ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router';
import { Observable } from 'rxjs';
import { AppConfigService } from '../app-config.service';

@Injectable({
providedIn: 'root'
})
export class CollectionAccessGuard implements CanActivate {
export class CollectionAccessGuard {

constructor(
private _appConfigService: AppConfigService,
Expand Down

0 comments on commit e76c394

Please sign in to comment.