@rolatech/angular-authorization 20.1.0 → 20.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/fesm2022/{rolatech-angular-authorization-clients.routes-EJd1He3H.mjs → rolatech-angular-authorization-clients.routes-CUhnGT3n.mjs} +19 -19
  2. package/fesm2022/{rolatech-angular-authorization-clients.routes-EJd1He3H.mjs.map → rolatech-angular-authorization-clients.routes-CUhnGT3n.mjs.map} +1 -1
  3. package/fesm2022/{rolatech-angular-authorization-endpoint.service-zCv1Qt6c.mjs → rolatech-angular-authorization-endpoint.service-Bb2Q9peT.mjs} +4 -4
  4. package/fesm2022/{rolatech-angular-authorization-endpoint.service-zCv1Qt6c.mjs.map → rolatech-angular-authorization-endpoint.service-Bb2Q9peT.mjs.map} +1 -1
  5. package/fesm2022/{rolatech-angular-authorization-endpoints.routes-DJhKN0f-.mjs → rolatech-angular-authorization-endpoints.routes-C2H0ELRe.mjs} +8 -8
  6. package/fesm2022/{rolatech-angular-authorization-endpoints.routes-DJhKN0f-.mjs.map → rolatech-angular-authorization-endpoints.routes-C2H0ELRe.mjs.map} +1 -1
  7. package/fesm2022/{rolatech-angular-authorization-permission.service-CYkQV6fu.mjs → rolatech-angular-authorization-permission.service-C67beh-B.mjs} +4 -4
  8. package/fesm2022/{rolatech-angular-authorization-permission.service-CYkQV6fu.mjs.map → rolatech-angular-authorization-permission.service-C67beh-B.mjs.map} +1 -1
  9. package/fesm2022/{rolatech-angular-authorization-permissions.routes-BWD8qNZd.mjs → rolatech-angular-authorization-permissions.routes-DrLSLkzq.mjs} +15 -15
  10. package/fesm2022/{rolatech-angular-authorization-permissions.routes-BWD8qNZd.mjs.map → rolatech-angular-authorization-permissions.routes-DrLSLkzq.mjs.map} +1 -1
  11. package/fesm2022/{rolatech-angular-authorization-role.service-CiHCsVrk.mjs → rolatech-angular-authorization-role.service-CJ9OWfn-.mjs} +4 -4
  12. package/fesm2022/{rolatech-angular-authorization-role.service-CiHCsVrk.mjs.map → rolatech-angular-authorization-role.service-CJ9OWfn-.mjs.map} +1 -1
  13. package/fesm2022/{rolatech-angular-authorization-roles.routes-DfgNTM9G.mjs → rolatech-angular-authorization-roles.routes-7viqa6ZE.mjs} +27 -21
  14. package/fesm2022/rolatech-angular-authorization-roles.routes-7viqa6ZE.mjs.map +1 -0
  15. package/fesm2022/{rolatech-angular-authorization-settings.routes-DWV4kdWt.mjs → rolatech-angular-authorization-settings.routes-CALsjEEv.mjs} +4 -4
  16. package/fesm2022/{rolatech-angular-authorization-settings.routes-DWV4kdWt.mjs.map → rolatech-angular-authorization-settings.routes-CALsjEEv.mjs.map} +1 -1
  17. package/fesm2022/{rolatech-angular-authorization-users.routes-BDeCVnTe.mjs → rolatech-angular-authorization-users.routes-BJPW9u0u.mjs} +17 -17
  18. package/fesm2022/{rolatech-angular-authorization-users.routes-BDeCVnTe.mjs.map → rolatech-angular-authorization-users.routes-BJPW9u0u.mjs.map} +1 -1
  19. package/fesm2022/rolatech-angular-authorization.mjs +9 -9
  20. package/fesm2022/rolatech-angular-authorization.mjs.map +1 -1
  21. package/package.json +1 -1
  22. package/fesm2022/rolatech-angular-authorization-roles.routes-DfgNTM9G.mjs.map +0 -1
@@ -28,10 +28,10 @@ class EndpointService extends BaseService {
28
28
  .set('Content-Type', 'application/json');
29
29
  return httpHeaders;
30
30
  }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: EndpointService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
32
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: EndpointService, providedIn: 'root' });
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: EndpointService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
32
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: EndpointService, providedIn: 'root' });
33
33
  }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: EndpointService, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: EndpointService, decorators: [{
35
35
  type: Injectable,
36
36
  args: [{
37
37
  providedIn: 'root',
@@ -39,4 +39,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImpor
39
39
  }] });
40
40
 
41
41
  export { EndpointService as E };
42
- //# sourceMappingURL=rolatech-angular-authorization-endpoint.service-zCv1Qt6c.mjs.map
42
+ //# sourceMappingURL=rolatech-angular-authorization-endpoint.service-Bb2Q9peT.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rolatech-angular-authorization-endpoint.service-zCv1Qt6c.mjs","sources":["../tmp-esm2022/lib/services/endpoint.service.js"],"sourcesContent":["import { HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { BaseService } from '@rolatech/angular-services';\nimport * as i0 from \"@angular/core\";\nexport class EndpointService extends BaseService {\n init() {\n this.endpoint = 'auth/endpoints';\n super.init();\n }\n findByUrl(url) {\n return this.http.get(url, {\n withCredentials: false,\n headers: this.buildHeaders(),\n });\n }\n findByResource(resource) {\n return this.http.get(`${this.environment.baseUrl}/${resource}/.well-known/endpoints`, {\n withCredentials: false,\n headers: this.buildHeaders(),\n });\n }\n buildHeaders() {\n const username = this.environment.endpoint.username;\n const password = this.environment.endpoint.password;\n const httpHeaders = new HttpHeaders()\n .set('Authorization', 'Basic ' + btoa(`${username}:${password}`))\n .set('Content-Type', 'application/json');\n return httpHeaders;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: EndpointService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: EndpointService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: EndpointService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3NlcnZpY2VzL2VuZHBvaW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQU16RCxNQUFNLE9BQU8sZUFBZ0IsU0FBUSxXQUFXO0lBQ3JDLElBQUk7UUFDWCxJQUFJLENBQUMsUUFBUSxHQUFHLGdCQUFnQixDQUFDO1FBQ2pDLEtBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNmLENBQUM7SUFDRCxTQUFTLENBQUMsR0FBVztRQUNuQixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRTtZQUN4QixlQUFlLEVBQUUsS0FBSztZQUN0QixPQUFPLEVBQUUsSUFBSSxDQUFDLFlBQVksRUFBRTtTQUM3QixDQUFDLENBQUM7SUFDTCxDQUFDO0lBQ0QsY0FBYyxDQUFDLFFBQWdCO1FBQzdCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsR0F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J,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC;AAC5K,IAAI,OAAO,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;AACjJ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
1
+ {"version":3,"file":"rolatech-angular-authorization-endpoint.service-Bb2Q9peT.mjs","sources":["../tmp-esm2022/lib/services/endpoint.service.js"],"sourcesContent":["import { HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { BaseService } from '@rolatech/angular-services';\nimport * as i0 from \"@angular/core\";\nexport class EndpointService extends BaseService {\n init() {\n this.endpoint = 'auth/endpoints';\n super.init();\n }\n findByUrl(url) {\n return this.http.get(url, {\n withCredentials: false,\n headers: this.buildHeaders(),\n });\n }\n findByResource(resource) {\n return this.http.get(`${this.environment.baseUrl}/${resource}/.well-known/endpoints`, {\n withCredentials: false,\n headers: this.buildHeaders(),\n });\n }\n buildHeaders() {\n const username = this.environment.endpoint.username;\n const password = this.environment.endpoint.password;\n const httpHeaders = new HttpHeaders()\n .set('Authorization', 'Basic ' + btoa(`${username}:${password}`))\n .set('Content-Type', 'application/json');\n return httpHeaders;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: EndpointService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: EndpointService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: EndpointService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3NlcnZpY2VzL2VuZHBvaW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQU16RCxNQUFNLE9BQU8sZUFBZ0IsU0FBUSxXQUFXO0lBQ3JDLElBQUk7UUFDWCxJQUFJLENBQUMsUUFBUSxHQUFHLGdCQUFnQixDQUFDO1FBQ2pDLEtBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNmLENBQUM7SUFDRCxTQUFTLENBQUMsR0FBVztRQUNuQixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRTtZQUN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AAW;AAC3C,aAAa,GAAG,CAAC,eAAe,EAAE,QAAQ,GAAG,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC5E,aAAa,GAAG,CAAC,cAAc,EAAE,kBAAkB,CAAC;AACpD,QAAQ,OAAO,WAAW;AAC1B,IAAI;AACJ,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC;AAC5K,IAAI,OAAO,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;AACjJ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component } from '@angular/core';
3
3
  import * as i2 from '@angular/material/snack-bar';
4
- import { E as EndpointService } from './rolatech-angular-authorization-endpoint.service-zCv1Qt6c.mjs';
4
+ import { E as EndpointService } from './rolatech-angular-authorization-endpoint.service-Bb2Q9peT.mjs';
5
5
  import { AngularCommonModule, PrettyjsonPipe } from '@rolatech/angular-common';
6
6
  import { AngularComponentsModule, ToolbarComponent } from '@rolatech/angular-components';
7
7
  import * as i4 from '@angular/material/list';
@@ -9,10 +9,10 @@ import * as i4 from '@angular/material/list';
9
9
  class DetailsComponent {
10
10
  constructor() { }
11
11
  ngOnInit() { }
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.2", type: DetailsComponent, isStandalone: true, selector: "rolatech-authorization-details", ngImport: i0, template: "<p>details works!</p>\n", styles: [""] });
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: DetailsComponent, isStandalone: true, selector: "rolatech-authorization-details", ngImport: i0, template: "<p>details works!</p>\n", styles: [""] });
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: DetailsComponent, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: DetailsComponent, decorators: [{
16
16
  type: Component,
17
17
  args: [{ imports: [], selector: 'rolatech-authorization-details', template: "<p>details works!</p>\n" }]
18
18
  }], ctorParameters: () => [] });
@@ -84,10 +84,10 @@ class IndexComponent {
84
84
  },
85
85
  });
86
86
  }
87
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: IndexComponent, deps: [{ token: EndpointService }, { token: i2.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
88
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.2", type: IndexComponent, isStandalone: true, selector: "rolatech-authorization-index", ngImport: i0, template: "<rolatech-toolbar title=\"Endpoints\"></rolatech-toolbar>\n<div class=\"flex flex-row gap-2 px-3\">\n <div class=\"w-[256px]\">\n <mat-selection-list #endpoint [multiple]=\"false\" (selectionChange)=\"selectionChange($event)\">\n @for (endpoint of endpoints; track endpoint; let i = $index) {\n <mat-list-option [value]=\"endpoint\" [selected]=\"endpoint && i === 0\">\n {{ endpoint.resource }}\n </mat-list-option>\n }\n </mat-selection-list>\n </div>\n <div\n class=\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\"\n [innerHTML]=\"obj | prettyjson\"\n ></div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: i4.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }, { kind: "pipe", type: PrettyjsonPipe, name: "prettyjson" }] });
87
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: IndexComponent, deps: [{ token: EndpointService }, { token: i2.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
88
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: IndexComponent, isStandalone: true, selector: "rolatech-authorization-index", ngImport: i0, template: "<rolatech-toolbar title=\"Endpoints\"></rolatech-toolbar>\n<div class=\"flex flex-row gap-2 px-3\">\n <div class=\"w-[256px]\">\n <mat-selection-list #endpoint [multiple]=\"false\" (selectionChange)=\"selectionChange($event)\">\n @for (endpoint of endpoints; track endpoint; let i = $index) {\n <mat-list-option [value]=\"endpoint\" [selected]=\"endpoint && i === 0\">\n {{ endpoint.resource }}\n </mat-list-option>\n }\n </mat-selection-list>\n </div>\n <div\n class=\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\"\n [innerHTML]=\"obj | prettyjson\"\n ></div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: i4.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }, { kind: "pipe", type: PrettyjsonPipe, name: "prettyjson" }] });
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: IndexComponent, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: IndexComponent, decorators: [{
91
91
  type: Component,
92
92
  args: [{ selector: 'rolatech-authorization-index', imports: [AngularCommonModule, AngularComponentsModule, PrettyjsonPipe, ToolbarComponent], template: "<rolatech-toolbar title=\"Endpoints\"></rolatech-toolbar>\n<div class=\"flex flex-row gap-2 px-3\">\n <div class=\"w-[256px]\">\n <mat-selection-list #endpoint [multiple]=\"false\" (selectionChange)=\"selectionChange($event)\">\n @for (endpoint of endpoints; track endpoint; let i = $index) {\n <mat-list-option [value]=\"endpoint\" [selected]=\"endpoint && i === 0\">\n {{ endpoint.resource }}\n </mat-list-option>\n }\n </mat-selection-list>\n </div>\n <div\n class=\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\"\n [innerHTML]=\"obj | prettyjson\"\n ></div>\n</div>\n" }]
93
93
  }], ctorParameters: () => [{ type: EndpointService }, { type: i2.MatSnackBar }] });
@@ -104,4 +104,4 @@ const endpointsRoutes = [
104
104
  ];
105
105
 
106
106
  export { endpointsRoutes as default };
107
- //# sourceMappingURL=rolatech-angular-authorization-endpoints.routes-DJhKN0f-.mjs.map
107
+ //# sourceMappingURL=rolatech-angular-authorization-endpoints.routes-C2H0ELRe.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rolatech-angular-authorization-endpoints.routes-DJhKN0f-.mjs","sources":["../tmp-esm2022/lib/pages/endpoints/details/details.component.js","../tmp-esm2022/lib/pages/endpoints/index/index.component.js","../tmp-esm2022/lib/pages/endpoints/endpoints.routes.js"],"sourcesContent":["import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class DetailsComponent {\n constructor() { }\n ngOnInit() { }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.3.2\", type: DetailsComponent, isStandalone: true, selector: \"rolatech-authorization-details\", ngImport: i0, template: \"<p>details works!</p>\\n\", styles: [\"\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: DetailsComponent, decorators: [{\n type: Component,\n args: [{ imports: [], selector: 'rolatech-authorization-details', template: \"<p>details works!</p>\\n\" }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlscy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi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'@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { EndpointService } from '../../../services/endpoint.service';\nimport { AngularCommonModule, PrettyjsonPipe } from '@rolatech/angular-common';\nimport { AngularComponentsModule, ToolbarComponent } from '@rolatech/angular-components';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../../services/endpoint.service\";\nimport * as i2 from \"@angular/material/snack-bar\";\nimport * as i3 from \"@angular/material/list\";\nexport class IndexComponent {\n endpointService;\n snackBar;\n endpoints = [];\n orderOptions = [\n {\n key: 'createdAt',\n value: '创建时间',\n icon: 'arrow_upward',\n sort: 'asc',\n },\n {\n key: 'createdAt',\n value: '创建时间',\n icon: 'arrow_downward',\n sort: 'desc',\n },\n {\n key: 'status',\n value: '状态',\n icon: 'arrow_upward',\n sort: 'asc',\n },\n {\n key: 'status',\n value: '状态',\n icon: 'arrow_downward',\n sort: 'desc',\n },\n ];\n orderString = 'createdAt desc';\n obj = {};\n constructor(endpointService, snackBar) {\n this.endpointService = endpointService;\n this.snackBar = snackBar;\n }\n ngOnInit() {\n this.findAllEndpoints();\n }\n findAllEndpoints() {\n this.endpointService.find({}).subscribe({\n next: (res) => {\n this.endpoints = res.data;\n this.selectionChange(null);\n },\n error: (error) => {\n this.snackBar.open(error.message);\n },\n });\n }\n selectionChange(event) {\n let url;\n if (event) {\n url = event.options[0].value.endpointUrl;\n }\n else {\n url = this.endpoints[0].endpointUrl;\n }\n this.endpointService.findByUrl(url).subscribe({\n next: (res) => {\n this.obj = res;\n },\n error: (error) => {\n this.snackBar.open(error.message);\n },\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: IndexComponent, deps: [{ token: i1.EndpointService }, { token: i2.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.2\", type: IndexComponent, isStandalone: true, selector: \"rolatech-authorization-index\", ngImport: i0, template: \"<rolatech-toolbar title=\\\"Endpoints\\\"></rolatech-toolbar>\\n<div class=\\\"flex flex-row gap-2 px-3\\\">\\n <div class=\\\"w-[256px]\\\">\\n <mat-selection-list #endpoint [multiple]=\\\"false\\\" (selectionChange)=\\\"selectionChange($event)\\\">\\n @for (endpoint of endpoints; track endpoint; let i = $index) {\\n <mat-list-option [value]=\\\"endpoint\\\" [selected]=\\\"endpoint && i === 0\\\">\\n {{ endpoint.resource }}\\n </mat-list-option>\\n }\\n </mat-selection-list>\\n </div>\\n <div\\n class=\\\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\\\"\\n [innerHTML]=\\\"obj | prettyjson\\\"\\n ></div>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"ngmodule\", type: AngularCommonModule }, { kind: \"ngmodule\", type: AngularComponentsModule }, { kind: \"component\", type: i3.MatSelectionList, selector: \"mat-selection-list\", inputs: [\"color\", \"compareWith\", \"multiple\", \"hideSingleSelectionIndicator\", \"disabled\"], outputs: [\"selectionChange\"], exportAs: [\"matSelectionList\"] }, { kind: \"component\", type: i3.MatListOption, selector: \"mat-list-option\", inputs: [\"togglePosition\", \"checkboxPosition\", \"color\", \"value\", \"selected\"], outputs: [\"selectedChange\"], exportAs: [\"matListOption\"] }, { kind: \"component\", type: ToolbarComponent, selector: \"rolatech-toolbar\", inputs: [\"title\", \"subtitle\", \"back\", \"link\", \"large\", \"divider\"] }, { kind: \"pipe\", type: PrettyjsonPipe, name: \"prettyjson\" }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: IndexComponent, decorators: [{\n type: Component,\n args: [{ selector: 'rolatech-authorization-index', imports: [AngularCommonModule, AngularComponentsModule, PrettyjsonPipe, ToolbarComponent], template: \"<rolatech-toolbar title=\\\"Endpoints\\\"></rolatech-toolbar>\\n<div class=\\\"flex flex-row gap-2 px-3\\\">\\n <div class=\\\"w-[256px]\\\">\\n <mat-selection-list #endpoint [multiple]=\\\"false\\\" (selectionChange)=\\\"selectionChange($event)\\\">\\n @for (endpoint of endpoints; track endpoint; let i = $index) {\\n <mat-list-option [value]=\\\"endpoint\\\" [selected]=\\\"endpoint && i === 0\\\">\\n {{ endpoint.resource }}\\n </mat-list-option>\\n }\\n </mat-selection-list>\\n </div>\\n <div\\n class=\\\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\\\"\\n [innerHTML]=\\\"obj | prettyjson\\\"\\n ></div>\\n</div>\\n\" }]\n }], ctorParameters: () => [{ type: i1.EndpointService }, { type: i2.MatSnackBar }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci1hdXRob3JpemF0aW9uL3NyYy9saWIvcGFnZXMvZW5kcG9pbnRzL2luZGV4L2luZGV4LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9pbmRleC9pbmRleC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLGNBQWMsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQy9FLE9BQU8sRUFBRSx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iAgICAgIEBmb3IgKGVuZHBvaW50IG9mIGVuZHBvaW50czsgdHJhY2sgZW5kcG9pbnQ7IGxldCBpID0gJGluZGV4KSB7XG4gICAgICAgIDxtYXQtbGlzdC1vcHRpb24gW3ZhbHVlXT1cImVuZHBvaW50XCIgW3NlbGVjdGVkXT1cImVuZHBvaW50ICYmIGkgPT09IDBcIj5cbiAgICAgICAgICB7eyBlbmRwb2ludC5yZXNvdXJjZSB9fVxuICAgICAgICA8L21hdC1saXN0LW9wdGlvbj5cbiAgICAgIH1cbiAgICA8L21hdC1zZWxlY3Rpb24tbGlzdD5cbiAgPC9kaXY+XG4gIDxkaXZcbiAgICBjbGFzcz1cInAtMyB3LWZ1bGwgYmctWy0tcnQtcmFpc2VkLWJhY2tncm91bmRdIGgtW2NhbGMoMTAwdmgtMTByZW0pXSB0ZXh0LVstLXJ0LXRleHQtcHJpbWFyeV0gb3ZlcmZsb3ctc2Nyb2xsXCJcbiAgICBbaW5uZXJIVE1MXT1cIm9iaiB8IHByZXR0eWpzb25cIlxuICA+PC9kaXY+XG48L2Rpdj5cbiJdfQ==","import { DetailsComponent } from './details/details.component';\nimport { IndexComponent } from './index/index.component';\nconst endpointsRoutes = [\n {\n path: '',\n component: IndexComponent,\n },\n {\n path: ':id',\n component: DetailsComponent,\n },\n];\nexport default endpointsRoutes;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnRzLnJvdXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9lbmRwb2ludHMucm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE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EAAE,cAAc;AACjC,KAAK;AACL,IAAI;AACJ,QAAQ,IAAI,EAAE,KAAK;AACnB,QAAQ,SAAS,EAAE,gBAAgB;AACnC,KAAK;AACL;;;;"}
1
+ {"version":3,"file":"rolatech-angular-authorization-endpoints.routes-C2H0ELRe.mjs","sources":["../tmp-esm2022/lib/pages/endpoints/details/details.component.js","../tmp-esm2022/lib/pages/endpoints/index/index.component.js","../tmp-esm2022/lib/pages/endpoints/endpoints.routes.js"],"sourcesContent":["import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class DetailsComponent {\n constructor() { }\n ngOnInit() { }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.3.4\", type: DetailsComponent, isStandalone: true, selector: \"rolatech-authorization-details\", ngImport: i0, template: \"<p>details works!</p>\\n\", styles: [\"\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: DetailsComponent, decorators: [{\n type: Component,\n args: [{ imports: [], selector: 'rolatech-authorization-details', template: \"<p>details works!</p>\\n\" }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlscy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyLWF1dGhvcml6YXRpb24vc3JjL2xpYi9wYWdlcy9lbmRwb2ludHMvZGV0YWlscy9kZXRhaWxzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9kZXRhaWxzL2RldGFpbHMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQzs7QUFRbEQsTUFBTSxPQUFPLGdCQUFnQjtJQUMzQixnQkFBZ0IsQ0FBQztJQUVqQixRQUFRLEtBQVcsQ0FBQzt1R0FIVCxnQkFBZ0I7MkZBQWhCLGdCQUFnQiwwRkNSN0IseUJBQ0E7OzJGRE9hLGdCQUFnQjtrQkFONUIsU0FBUzs4QkFDQyxFQUFFLFlBQ0QsZ0NBQWdDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIGltcG9ydHM6IFtdLFxuICBzZWxlY3RvcjogJ3JvbGF0ZWNoLWF1dGhvcml6YXRpb24tZGV0YWlscycsXG4gIHRlbXBsYXRlVXJsOiAnLi9kZXRhaWxzLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vZGV0YWlscy5jb21wb25lbnQuc2NzcyddLFxufSlcbmV4cG9ydCBjbGFzcyBEZXRhaWxzQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgY29uc3RydWN0b3IoKSB7IH1cblxuICBuZ09uSW5pdCgpOiB2b2lkIHsgfVxufVxuIiwiPHA+ZGV0YWlscyB3b3JrcyE8L3A+XG4iXX0=","import { Component } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { EndpointService } from '../../../services/endpoint.service';\nimport { AngularCommonModule, PrettyjsonPipe } from '@rolatech/angular-common';\nimport { AngularComponentsModule, ToolbarComponent } from '@rolatech/angular-components';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../../services/endpoint.service\";\nimport * as i2 from \"@angular/material/snack-bar\";\nimport * as i3 from \"@angular/material/list\";\nexport class IndexComponent {\n endpointService;\n snackBar;\n endpoints = [];\n orderOptions = [\n {\n key: 'createdAt',\n value: '创建时间',\n icon: 'arrow_upward',\n sort: 'asc',\n },\n {\n key: 'createdAt',\n value: '创建时间',\n icon: 'arrow_downward',\n sort: 'desc',\n },\n {\n key: 'status',\n value: '状态',\n icon: 'arrow_upward',\n sort: 'asc',\n },\n {\n key: 'status',\n value: '状态',\n icon: 'arrow_downward',\n sort: 'desc',\n },\n ];\n orderString = 'createdAt desc';\n obj = {};\n constructor(endpointService, snackBar) {\n this.endpointService = endpointService;\n this.snackBar = snackBar;\n }\n ngOnInit() {\n this.findAllEndpoints();\n }\n findAllEndpoints() {\n this.endpointService.find({}).subscribe({\n next: (res) => {\n this.endpoints = res.data;\n this.selectionChange(null);\n },\n error: (error) => {\n this.snackBar.open(error.message);\n },\n });\n }\n selectionChange(event) {\n let url;\n if (event) {\n url = event.options[0].value.endpointUrl;\n }\n else {\n url = this.endpoints[0].endpointUrl;\n }\n this.endpointService.findByUrl(url).subscribe({\n next: (res) => {\n this.obj = res;\n },\n error: (error) => {\n this.snackBar.open(error.message);\n },\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: IndexComponent, deps: [{ token: i1.EndpointService }, { token: i2.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.4\", type: IndexComponent, isStandalone: true, selector: \"rolatech-authorization-index\", ngImport: i0, template: \"<rolatech-toolbar title=\\\"Endpoints\\\"></rolatech-toolbar>\\n<div class=\\\"flex flex-row gap-2 px-3\\\">\\n <div class=\\\"w-[256px]\\\">\\n <mat-selection-list #endpoint [multiple]=\\\"false\\\" (selectionChange)=\\\"selectionChange($event)\\\">\\n @for (endpoint of endpoints; track endpoint; let i = $index) {\\n <mat-list-option [value]=\\\"endpoint\\\" [selected]=\\\"endpoint && i === 0\\\">\\n {{ endpoint.resource }}\\n </mat-list-option>\\n }\\n </mat-selection-list>\\n </div>\\n <div\\n class=\\\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\\\"\\n [innerHTML]=\\\"obj | prettyjson\\\"\\n ></div>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"ngmodule\", type: AngularCommonModule }, { kind: \"ngmodule\", type: AngularComponentsModule }, { kind: \"component\", type: i3.MatSelectionList, selector: \"mat-selection-list\", inputs: [\"color\", \"compareWith\", \"multiple\", \"hideSingleSelectionIndicator\", \"disabled\"], outputs: [\"selectionChange\"], exportAs: [\"matSelectionList\"] }, { kind: \"component\", type: i3.MatListOption, selector: \"mat-list-option\", inputs: [\"togglePosition\", \"checkboxPosition\", \"color\", \"value\", \"selected\"], outputs: [\"selectedChange\"], exportAs: [\"matListOption\"] }, { kind: \"component\", type: ToolbarComponent, selector: \"rolatech-toolbar\", inputs: [\"title\", \"subtitle\", \"back\", \"link\", \"large\", \"divider\"] }, { kind: \"pipe\", type: PrettyjsonPipe, name: \"prettyjson\" }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: IndexComponent, decorators: [{\n type: Component,\n args: [{ selector: 'rolatech-authorization-index', imports: [AngularCommonModule, AngularComponentsModule, PrettyjsonPipe, ToolbarComponent], template: \"<rolatech-toolbar title=\\\"Endpoints\\\"></rolatech-toolbar>\\n<div class=\\\"flex flex-row gap-2 px-3\\\">\\n <div class=\\\"w-[256px]\\\">\\n <mat-selection-list #endpoint [multiple]=\\\"false\\\" (selectionChange)=\\\"selectionChange($event)\\\">\\n @for (endpoint of endpoints; track endpoint; let i = $index) {\\n <mat-list-option [value]=\\\"endpoint\\\" [selected]=\\\"endpoint && i === 0\\\">\\n {{ endpoint.resource }}\\n </mat-list-option>\\n }\\n </mat-selection-list>\\n </div>\\n <div\\n class=\\\"p-3 w-full bg-[--rt-raised-background] h-[calc(100vh-10rem)] text-[--rt-text-primary] overflow-scroll\\\"\\n [innerHTML]=\\\"obj | prettyjson\\\"\\n ></div>\\n</div>\\n\" }]\n }], ctorParameters: () => [{ type: i1.EndpointService }, { type: i2.MatSnackBar }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci1hdXRob3JpemF0aW9uL3NyYy9saWIvcGFnZXMvZW5kcG9pbnRzL2luZGV4L2luZGV4LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9pbmRleC9pbmRleC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLGNBQWMsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQy9FLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7OztBQVF6RixNQUFNLE9BQU8sY0FBYztJQStCZjtJQUNBO0lBL0JWLFNBQVMsR0FBUSxFQUFFLENBQUM7SUFDcEIsWUFBWSxHQUFHO1FBQ2I7WUFDRSxHQUFHLEVBQUUsV0FBVztZQUNoQixLQUFLLEVBQUUsTU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Rwb2ludC5yZXNvdXJjZSB9fVxuICAgICAgICA8L21hdC1saXN0LW9wdGlvbj5cbiAgICAgIH1cbiAgICA8L21hdC1zZWxlY3Rpb24tbGlzdD5cbiAgPC9kaXY+XG4gIDxkaXZcbiAgICBjbGFzcz1cInAtMyB3LWZ1bGwgYmctWy0tcnQtcmFpc2VkLWJhY2tncm91bmRdIGgtW2NhbGMoMTAwdmgtMTByZW0pXSB0ZXh0LVstLXJ0LXRleHQtcHJpbWFyeV0gb3ZlcmZsb3ctc2Nyb2xsXCJcbiAgICBbaW5uZXJIVE1MXT1cIm9iaiB8IHByZXR0eWpzb25cIlxuICA+PC9kaXY+XG48L2Rpdj5cbiJdfQ==","import { DetailsComponent } from './details/details.component';\nimport { IndexComponent } from './index/index.component';\nconst endpointsRoutes = [\n {\n path: '',\n component: IndexComponent,\n },\n {\n path: ':id',\n component: DetailsComponent,\n },\n];\nexport default endpointsRoutes;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnRzLnJvdXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9lbmRwb2ludHMucm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUV6RCxNQUFNLGVBQWUsR0FBVztJQUM5QjtRQUNFLElBQUksRUFBRSxFQUFFO1FBQ1IsU0FBUyxFQUFFLGNBQWM7S0FDMUI7SUFDRDtRQUNFLElBQUksRUFBRSxLQUFLO1FBQ1gsU0FBUyxFQUFFLGdCQUFnQjtLQU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.0", version: "20.3.2", ngImport: i0, type: PermissionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: PermissionService, providedIn: 'root' });
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: PermissionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: PermissionService, providedIn: 'root' });
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: PermissionService, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: PermissionService, decorators: [{
14
14
  type: Injectable,
15
15
  args: [{
16
16
  providedIn: 'root',
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImpor
18
18
  }] });
19
19
 
20
20
  export { PermissionService as P };
21
- //# sourceMappingURL=rolatech-angular-authorization-permission.service-CYkQV6fu.mjs.map
21
+ //# sourceMappingURL=rolatech-angular-authorization-permission.service-C67beh-B.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rolatech-angular-authorization-permission.service-CYkQV6fu.mjs","sources":["../tmp-esm2022/lib/services/permission.service.js"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseService } from '@rolatech/angular-services';\nimport * as i0 from \"@angular/core\";\nexport class PermissionService extends BaseService {\n init() {\n this.endpoint = 'auth/permissions';\n super.init();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: PermissionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: PermissionService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.2\", ngImport: i0, type: PermissionService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci1hdXRob3JpemF0aW9uL3NyYy9saWIvc2VydmljZXMvcGVybWlzc2lvbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQUt6RCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsV0FBVztJQUN2QyxJQUFJO1FBQ1gsSUFBSSxDQUFDLFFBQVEsR0FBRyxrQkFBa0IsQ0FBQztRQUNuQyxLQUFLLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDZixDQUFDO3VHQUpVLGlCQUFpQjsyR0FBakIsaUJBQWlCLGNBRmhCLE1BQU07OzJGQUVQLGlCQUFpQjtrQkFIN0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBCYXNlU2VydmljZSB9IGZyb20gJ0Byb2xhdGVjaC9hbmd1bGFyLXNlcnZpY2VzJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIFBlcm1pc3Npb25TZXJ2aWNlIGV4dGVuZHMgQmFzZVNlcnZpY2Uge1xuICBvdmVycmlkZSBpbml0KCkge1xuICAgIHRoaXMuZW5kcG9pbnQgPSAnYXV0aC9wZXJtaXNzaW9ucyc7XG4gICAgc3VwZXIuaW5pdCgpO1xuICB9XG59XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,iBAAiB,SAAS,WAAW,CAAC;AACnD,IAAI,IAAI,GAAG;AACX,QAAQ,IAAI,CAAC,QAAQ,GAAG,kBAAkB;AAC1C,QAAQ,KAAK,CAAC,IAAI,EAAE;AACpB,IAAI;AACJ,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC;AAC9K,IAAI,OAAO,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;AACnJ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3H,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
1
+ {"version":3,"file":"rolatech-angular-authorization-permission.service-C67beh-B.mjs","sources":["../tmp-esm2022/lib/services/permission.service.js"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseService } from '@rolatech/angular-services';\nimport * as i0 from \"@angular/core\";\nexport class PermissionService extends BaseService {\n init() {\n this.endpoint = 'auth/permissions';\n super.init();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: PermissionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: PermissionService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.4\", ngImport: i0, type: PermissionService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci1hdXRob3JpemF0aW9uL3NyYy9saWIvc2VydmljZXMvcGVybWlzc2lvbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQUt6RCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsV0FBVztJQUN2QyxJQUFJO1FBQ1gsSUFBSSxDQUFDLFFBQVEsR0FBRyxrQkFBa0IsQ0FBQztRQUNuQyxLQUFLLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDZixDQUFDO3VHQUpVLGlCQUFpQjsyR0FBakIsaUJBQWlCLGNBRmhCLE1BQU07OzJGQUVQLGlCQUFpQjtrQkFIN0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3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,UAAU,EAAE,CAAC;AAC3H,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { Component, inject, viewChild } from '@angular/core';
3
3
  import { AngularCommonModule } from '@rolatech/angular-common';
4
4
  import { AngularComponentsModule, ToolbarComponent, SpinnerComponent } from '@rolatech/angular-components';
5
- import { P as PermissionService } from './rolatech-angular-authorization-permission.service-CYkQV6fu.mjs';
5
+ import { P as PermissionService } from './rolatech-angular-authorization-permission.service-C67beh-B.mjs';
6
6
  import * as i7 from '@angular/material/paginator';
7
7
  import { MatPaginator } from '@angular/material/paginator';
8
8
  import { MatSnackBar } from '@angular/material/snack-bar';
@@ -16,17 +16,17 @@ import * as i5 from '@angular/material/input';
16
16
  import * as i6 from '@angular/material/menu';
17
17
  import { SelectionModel } from '@angular/cdk/collections';
18
18
  import { sortBy, differenceBy, findIndex } from 'lodash';
19
- import { E as EndpointService } from './rolatech-angular-authorization-endpoint.service-zCv1Qt6c.mjs';
19
+ import { E as EndpointService } from './rolatech-angular-authorization-endpoint.service-Bb2Q9peT.mjs';
20
20
  import * as i5$1 from '@angular/common';
21
21
  import * as i4 from '@angular/material/list';
22
22
 
23
23
  class CreateComponent {
24
24
  constructor() { }
25
25
  ngOnInit() { }
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CreateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.2", type: CreateComponent, isStandalone: true, selector: "rolatech-authorization-create", ngImport: i0, template: "<rolatech-toolbar title=\"\u6743\u9650\u521B\u5EFA\"></rolatech-toolbar>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: CreateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: CreateComponent, isStandalone: true, selector: "rolatech-authorization-create", ngImport: i0, template: "<rolatech-toolbar title=\"\u6743\u9650\u521B\u5EFA\"></rolatech-toolbar>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CreateComponent, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: CreateComponent, decorators: [{
30
30
  type: Component,
31
31
  args: [{ imports: [AngularCommonModule, AngularComponentsModule, ToolbarComponent], selector: 'rolatech-authorization-create', template: "<rolatech-toolbar title=\"\u6743\u9650\u521B\u5EFA\"></rolatech-toolbar>\n" }]
32
32
  }], ctorParameters: () => [] });
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImpor
34
34
  class DetailsComponent {
35
35
  constructor() { }
36
36
  ngOnInit() { }
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.2", type: DetailsComponent, isStandalone: true, selector: "rolatech-authorization-details", ngImport: i0, template: "<rolatech-toolbar title=\"Permission details\"></rolatech-toolbar>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: DetailsComponent, isStandalone: true, selector: "rolatech-authorization-details", ngImport: i0, template: "<rolatech-toolbar title=\"Permission details\"></rolatech-toolbar>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: DetailsComponent, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: DetailsComponent, decorators: [{
41
41
  type: Component,
42
42
  args: [{ imports: [AngularCommonModule, AngularComponentsModule, ToolbarComponent], selector: 'rolatech-authorization-details', template: "<rolatech-toolbar title=\"Permission details\"></rolatech-toolbar>\n" }]
43
43
  }], ctorParameters: () => [] });
@@ -122,10 +122,10 @@ class IndexComponent {
122
122
  },
123
123
  });
124
124
  }
125
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: IndexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
126
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.2", type: IndexComponent, isStandalone: true, selector: "rolatech-authorization-index", viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, isSignal: true }], ngImport: i0, template: "<rolatech-toolbar title=\"Permissions\">\n <button mat-icon-button routerLink=\"./create\">\n <mat-icon>add</mat-icon>\n </button>\n <button mat-icon-button (click)=\"isSearch = true\">\n <mat-icon>search</mat-icon>\n </button>\n <button mat-icon-button [matMenuTriggerFor]=\"beforeMenu\">\n <mat-icon>reorder</mat-icon>\n </button>\n <mat-menu #beforeMenu=\"matMenu\" xPosition=\"before\">\n @for (item of orderOptions; track item) {\n <button mat-menu-item (click)=\"onClick(item)\">\n <span>{{ item.value }}</span>\n <mat-icon>{{ item.icon }}</mat-icon>\n </button>\n }\n </mat-menu>\n</rolatech-toolbar>\n@if (isSearch) {\n <mat-form-field floatLabel=\"auto\">\n <input type=\"text\" matInput placeholder=\"Phone\" (keyup.enter)=\"search($event)\" />\n <button matSuffix mat-icon-button (click)=\"findAll(null); isSearch = false\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n}\n<div class=\"py-3\">\n <rolatech-spinner></rolatech-spinner>\n <table mat-table [dataSource]=\"dataSource\">\n <!-- name Column -->\n <ng-container matColumnDef=\"name\" sticky>\n <th mat-header-cell *matHeaderCellDef>Name</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.name }}</td>\n </ng-container>\n\n <!-- description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>description</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.description }}</td>\n </ng-container>\n\n <!-- resource Column -->\n <ng-container matColumnDef=\"resource\">\n <th mat-header-cell *matHeaderCellDef>resource</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.resource }}</td>\n </ng-container>\n\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\"></th>\n <td mat-cell *matCellDef=\"let item\" class=\"actions\">\n <mat-icon>navigate_next</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: displayedColumns\"\n class=\"cursor-pointer hover:bg-[--rt-raised-background]\"\n [routerLink]=\"['./', row.id]\"\n ></tr>\n </table>\n</div>\n<mat-paginator\n #paginator\n [length]=\"length\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageEvent = findAll($event)\"\n hidePageSize\n showFirstLastButtons\n>\n</mat-paginator>\n", styles: ["mat-form-field{width:100%}table{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i6.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: i7.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i8.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i8.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i8.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i8.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i8.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i8.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i8.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i8.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i8.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i8.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: SpinnerComponent, selector: "rolatech-spinner", inputs: ["title"] }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
125
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: IndexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
126
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: IndexComponent, isStandalone: true, selector: "rolatech-authorization-index", viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, isSignal: true }], ngImport: i0, template: "<rolatech-toolbar title=\"Permissions\">\n <button mat-icon-button routerLink=\"./create\">\n <mat-icon>add</mat-icon>\n </button>\n <button mat-icon-button (click)=\"isSearch = true\">\n <mat-icon>search</mat-icon>\n </button>\n <button mat-icon-button [matMenuTriggerFor]=\"beforeMenu\">\n <mat-icon>reorder</mat-icon>\n </button>\n <mat-menu #beforeMenu=\"matMenu\" xPosition=\"before\">\n @for (item of orderOptions; track item) {\n <button mat-menu-item (click)=\"onClick(item)\">\n <span>{{ item.value }}</span>\n <mat-icon>{{ item.icon }}</mat-icon>\n </button>\n }\n </mat-menu>\n</rolatech-toolbar>\n@if (isSearch) {\n <mat-form-field floatLabel=\"auto\">\n <input type=\"text\" matInput placeholder=\"Phone\" (keyup.enter)=\"search($event)\" />\n <button matSuffix mat-icon-button (click)=\"findAll(null); isSearch = false\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n}\n<div class=\"py-3\">\n <rolatech-spinner></rolatech-spinner>\n <table mat-table [dataSource]=\"dataSource\">\n <!-- name Column -->\n <ng-container matColumnDef=\"name\" sticky>\n <th mat-header-cell *matHeaderCellDef>Name</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.name }}</td>\n </ng-container>\n\n <!-- description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>description</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.description }}</td>\n </ng-container>\n\n <!-- resource Column -->\n <ng-container matColumnDef=\"resource\">\n <th mat-header-cell *matHeaderCellDef>resource</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.resource }}</td>\n </ng-container>\n\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\"></th>\n <td mat-cell *matCellDef=\"let item\" class=\"actions\">\n <mat-icon>navigate_next</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: displayedColumns\"\n class=\"cursor-pointer hover:bg-[--rt-raised-background]\"\n [routerLink]=\"['./', row.id]\"\n ></tr>\n </table>\n</div>\n<mat-paginator\n #paginator\n [length]=\"length\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageEvent = findAll($event)\"\n hidePageSize\n showFirstLastButtons\n>\n</mat-paginator>\n", styles: ["mat-form-field{width:100%}table{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i6.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: i7.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i8.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i8.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i8.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i8.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i8.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i8.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i8.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i8.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i8.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i8.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: SpinnerComponent, selector: "rolatech-spinner", inputs: ["title"] }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: IndexComponent, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: IndexComponent, decorators: [{
129
129
  type: Component,
130
130
  args: [{ imports: [AngularCommonModule, AngularComponentsModule, SpinnerComponent, ToolbarComponent], selector: 'rolatech-authorization-index', template: "<rolatech-toolbar title=\"Permissions\">\n <button mat-icon-button routerLink=\"./create\">\n <mat-icon>add</mat-icon>\n </button>\n <button mat-icon-button (click)=\"isSearch = true\">\n <mat-icon>search</mat-icon>\n </button>\n <button mat-icon-button [matMenuTriggerFor]=\"beforeMenu\">\n <mat-icon>reorder</mat-icon>\n </button>\n <mat-menu #beforeMenu=\"matMenu\" xPosition=\"before\">\n @for (item of orderOptions; track item) {\n <button mat-menu-item (click)=\"onClick(item)\">\n <span>{{ item.value }}</span>\n <mat-icon>{{ item.icon }}</mat-icon>\n </button>\n }\n </mat-menu>\n</rolatech-toolbar>\n@if (isSearch) {\n <mat-form-field floatLabel=\"auto\">\n <input type=\"text\" matInput placeholder=\"Phone\" (keyup.enter)=\"search($event)\" />\n <button matSuffix mat-icon-button (click)=\"findAll(null); isSearch = false\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n}\n<div class=\"py-3\">\n <rolatech-spinner></rolatech-spinner>\n <table mat-table [dataSource]=\"dataSource\">\n <!-- name Column -->\n <ng-container matColumnDef=\"name\" sticky>\n <th mat-header-cell *matHeaderCellDef>Name</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.name }}</td>\n </ng-container>\n\n <!-- description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>description</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.description }}</td>\n </ng-container>\n\n <!-- resource Column -->\n <ng-container matColumnDef=\"resource\">\n <th mat-header-cell *matHeaderCellDef>resource</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.resource }}</td>\n </ng-container>\n\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\"></th>\n <td mat-cell *matCellDef=\"let item\" class=\"actions\">\n <mat-icon>navigate_next</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: displayedColumns\"\n class=\"cursor-pointer hover:bg-[--rt-raised-background]\"\n [routerLink]=\"['./', row.id]\"\n ></tr>\n </table>\n</div>\n<mat-paginator\n #paginator\n [length]=\"length\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageEvent = findAll($event)\"\n hidePageSize\n showFirstLastButtons\n>\n</mat-paginator>\n", styles: ["mat-form-field{width:100%}table{width:100%}\n"] }]
131
131
  }] });
@@ -281,10 +281,10 @@ class UpdateComponent {
281
281
  },
282
282
  });
283
283
  }
284
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: UpdateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
285
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.2", type: UpdateComponent, isStandalone: true, selector: "rolatech-authorization-update", ngImport: i0, template: "<rolatech-toolbar title=\"Permissions update\">\n <button mat-flat-button (click)=\"updateAll()\">\n <mat-icon>sync</mat-icon>\n Sync\n </button>\n</rolatech-toolbar>\n<div class=\"flex flex-row gap-2 pr-3\">\n <div class=\"w-[256px]\">\n <div class=\"text-lg font-bold p-3\">Endpoints</div>\n <mat-selection-list #endpoint [multiple]=\"false\" (selectionChange)=\"selectionChange($event)\">\n @for (endpoint of endpoints; track endpoint; let i = $index) {\n <mat-list-option [value]=\"endpoint\" [selected]=\"endpoint && i === 0\">\n {{ endpoint.resource }}\n </mat-list-option>\n }\n </mat-selection-list>\n </div>\n <div class=\"flex gap-2 w-full overflow-hidden\">\n <div class=\"w-1/2 p-3\">\n <div class=\"flex flex-col justify-between\">\n <div class=\"text-lg font-bold\">Server version</div>\n <div class=\"text-sm opacity-70\">\n Total {{ sourceDataSource.data.length }}, New {{ sourceNewLength }}, Deprecated {{ sourceDeprecatedLength }}\n </div>\n </div>\n <div class=\"h-[calc(100vh-190px)] overflow-scroll\">\n <table mat-table [dataSource]=\"sourceDataSource\">\n <!-- name Column -->\n <!-- <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef>\u540D\u79F0</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.name }}</td>\n </ng-container> -->\n\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\">Actions</th>\n <td mat-cell *matCellDef=\"let item; let i = index\" class=\"actions\">\n <!-- <mat-icon>more_vert</mat-icon> -->\n <a class=\"cursor-pointer\" (click)=\"insert(item, i)\"> Insert </a>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"sourceDisplayedColumns; sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: sourceDisplayedColumns\"\n [ngClass]=\"sourceSelection.isSelected(row) ? 'bg-[--rt-brand-color] important' : ''\"\n ></tr>\n </table>\n </div>\n </div>\n\n <div class=\"w-1/2 p-3\">\n <div class=\"flex flex-col\">\n <div class=\"text-lg font-bold\">Database version</div>\n <div class=\"text-sm opacity-70\">Total {{ targetDataSource.data.length }}</div>\n </div>\n\n <div class=\"h-[calc(100vh-190px)] overflow-scroll\">\n <table mat-table [dataSource]=\"targetDataSource\">\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\">Actions</th>\n <td mat-cell *matCellDef=\"let item; let i = index\" class=\"actions\">\n <a class=\"cursor-pointer\" (click)=\"delete(item.id, i)\"> Delete </a>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"targetDisplayedColumns; sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: targetDisplayedColumns\"\n [ngClass]=\"targetSelection.isSelected(row) ? 'line-through bg-[--rt-raised-background]' : ''\"\n ></tr>\n </table>\n </div>\n </div>\n </div>\n</div>\n", styles: ["mat-form-field{width:100%}table{width:100%}td.mat-column-actions{text-align:right;min-width:80px;font-size:.8rem;padding:0 28px}.mat-mdc-header-cell.actions{text-align:right;max-width:120px;width:120px;padding:0 28px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{text-align:right;padding-right:8px!important}.selected{background:#000;color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "directive", type: i5$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i8.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i8.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i8.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i8.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i8.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i8.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i8.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i8.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i8.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i8.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
284
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: UpdateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
285
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: UpdateComponent, isStandalone: true, selector: "rolatech-authorization-update", ngImport: i0, template: "<rolatech-toolbar title=\"Permissions update\">\n <button mat-flat-button (click)=\"updateAll()\">\n <mat-icon>sync</mat-icon>\n Sync\n </button>\n</rolatech-toolbar>\n<div class=\"flex flex-row gap-2 pr-3\">\n <div class=\"w-[256px]\">\n <div class=\"text-lg font-bold p-3\">Endpoints</div>\n <mat-selection-list #endpoint [multiple]=\"false\" (selectionChange)=\"selectionChange($event)\">\n @for (endpoint of endpoints; track endpoint; let i = $index) {\n <mat-list-option [value]=\"endpoint\" [selected]=\"endpoint && i === 0\">\n {{ endpoint.resource }}\n </mat-list-option>\n }\n </mat-selection-list>\n </div>\n <div class=\"flex gap-2 w-full overflow-hidden\">\n <div class=\"w-1/2 p-3\">\n <div class=\"flex flex-col justify-between\">\n <div class=\"text-lg font-bold\">Server version</div>\n <div class=\"text-sm opacity-70\">\n Total {{ sourceDataSource.data.length }}, New {{ sourceNewLength }}, Deprecated {{ sourceDeprecatedLength }}\n </div>\n </div>\n <div class=\"h-[calc(100vh-190px)] overflow-scroll\">\n <table mat-table [dataSource]=\"sourceDataSource\">\n <!-- name Column -->\n <!-- <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef>\u540D\u79F0</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.name }}</td>\n </ng-container> -->\n\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\">Actions</th>\n <td mat-cell *matCellDef=\"let item; let i = index\" class=\"actions\">\n <!-- <mat-icon>more_vert</mat-icon> -->\n <a class=\"cursor-pointer\" (click)=\"insert(item, i)\"> Insert </a>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"sourceDisplayedColumns; sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: sourceDisplayedColumns\"\n [ngClass]=\"sourceSelection.isSelected(row) ? 'bg-[--rt-brand-color] important' : ''\"\n ></tr>\n </table>\n </div>\n </div>\n\n <div class=\"w-1/2 p-3\">\n <div class=\"flex flex-col\">\n <div class=\"text-lg font-bold\">Database version</div>\n <div class=\"text-sm opacity-70\">Total {{ targetDataSource.data.length }}</div>\n </div>\n\n <div class=\"h-[calc(100vh-190px)] overflow-scroll\">\n <table mat-table [dataSource]=\"targetDataSource\">\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\">Actions</th>\n <td mat-cell *matCellDef=\"let item; let i = index\" class=\"actions\">\n <a class=\"cursor-pointer\" (click)=\"delete(item.id, i)\"> Delete </a>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"targetDisplayedColumns; sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: targetDisplayedColumns\"\n [ngClass]=\"targetSelection.isSelected(row) ? 'line-through bg-[--rt-raised-background]' : ''\"\n ></tr>\n </table>\n </div>\n </div>\n </div>\n</div>\n", styles: ["mat-form-field{width:100%}table{width:100%}td.mat-column-actions{text-align:right;min-width:80px;font-size:.8rem;padding:0 28px}.mat-mdc-header-cell.actions{text-align:right;max-width:120px;width:120px;padding:0 28px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{text-align:right;padding-right:8px!important}.selected{background:#000;color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "directive", type: i5$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AngularComponentsModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i8.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i8.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i8.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i8.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i8.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i8.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i8.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i8.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i8.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i8.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: ToolbarComponent, selector: "rolatech-toolbar", inputs: ["title", "subtitle", "back", "link", "large", "divider"] }] });
286
286
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: UpdateComponent, decorators: [{
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: UpdateComponent, decorators: [{
288
288
  type: Component,
289
289
  args: [{ imports: [AngularCommonModule, AngularComponentsModule, ToolbarComponent], selector: 'rolatech-authorization-update', template: "<rolatech-toolbar title=\"Permissions update\">\n <button mat-flat-button (click)=\"updateAll()\">\n <mat-icon>sync</mat-icon>\n Sync\n </button>\n</rolatech-toolbar>\n<div class=\"flex flex-row gap-2 pr-3\">\n <div class=\"w-[256px]\">\n <div class=\"text-lg font-bold p-3\">Endpoints</div>\n <mat-selection-list #endpoint [multiple]=\"false\" (selectionChange)=\"selectionChange($event)\">\n @for (endpoint of endpoints; track endpoint; let i = $index) {\n <mat-list-option [value]=\"endpoint\" [selected]=\"endpoint && i === 0\">\n {{ endpoint.resource }}\n </mat-list-option>\n }\n </mat-selection-list>\n </div>\n <div class=\"flex gap-2 w-full overflow-hidden\">\n <div class=\"w-1/2 p-3\">\n <div class=\"flex flex-col justify-between\">\n <div class=\"text-lg font-bold\">Server version</div>\n <div class=\"text-sm opacity-70\">\n Total {{ sourceDataSource.data.length }}, New {{ sourceNewLength }}, Deprecated {{ sourceDeprecatedLength }}\n </div>\n </div>\n <div class=\"h-[calc(100vh-190px)] overflow-scroll\">\n <table mat-table [dataSource]=\"sourceDataSource\">\n <!-- name Column -->\n <!-- <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef>\u540D\u79F0</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.name }}</td>\n </ng-container> -->\n\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\">Actions</th>\n <td mat-cell *matCellDef=\"let item; let i = index\" class=\"actions\">\n <!-- <mat-icon>more_vert</mat-icon> -->\n <a class=\"cursor-pointer\" (click)=\"insert(item, i)\"> Insert </a>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"sourceDisplayedColumns; sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: sourceDisplayedColumns\"\n [ngClass]=\"sourceSelection.isSelected(row) ? 'bg-[--rt-brand-color] important' : ''\"\n ></tr>\n </table>\n </div>\n </div>\n\n <div class=\"w-1/2 p-3\">\n <div class=\"flex flex-col\">\n <div class=\"text-lg font-bold\">Database version</div>\n <div class=\"text-sm opacity-70\">Total {{ targetDataSource.data.length }}</div>\n </div>\n\n <div class=\"h-[calc(100vh-190px)] overflow-scroll\">\n <table mat-table [dataSource]=\"targetDataSource\">\n <!-- code Column -->\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef>code</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.code }}</td>\n </ng-container>\n\n <!-- pattern Column -->\n <ng-container matColumnDef=\"pattern\">\n <th mat-header-cell *matHeaderCellDef>pattern</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.pattern }}</td>\n </ng-container>\n\n <!-- method Column -->\n <ng-container matColumnDef=\"method\">\n <th mat-header-cell *matHeaderCellDef>method</th>\n <td mat-cell *matCellDef=\"let item\">{{ item.method }}</td>\n </ng-container>\n\n <!-- actions Column -->\n <ng-container matColumnDef=\"actions\" stickyEnd>\n <th mat-header-cell *matHeaderCellDef class=\"actions\">Actions</th>\n <td mat-cell *matCellDef=\"let item; let i = index\" class=\"actions\">\n <a class=\"cursor-pointer\" (click)=\"delete(item.id, i)\"> Delete </a>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"targetDisplayedColumns; sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: targetDisplayedColumns\"\n [ngClass]=\"targetSelection.isSelected(row) ? 'line-through bg-[--rt-raised-background]' : ''\"\n ></tr>\n </table>\n </div>\n </div>\n </div>\n</div>\n", styles: ["mat-form-field{width:100%}table{width:100%}td.mat-column-actions{text-align:right;min-width:80px;font-size:.8rem;padding:0 28px}.mat-mdc-header-cell.actions{text-align:right;max-width:120px;width:120px;padding:0 28px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{text-align:right;padding-right:8px!important}.selected{background:#000;color:#fff}\n"] }]
290
290
  }] });
@@ -309,4 +309,4 @@ const routes = [
309
309
  ];
310
310
 
311
311
  export { routes as default };
312
- //# sourceMappingURL=rolatech-angular-authorization-permissions.routes-BWD8qNZd.mjs.map
312
+ //# sourceMappingURL=rolatech-angular-authorization-permissions.routes-DrLSLkzq.mjs.map