@rolatech/angular-authorization 20.0.5 → 20.0.7

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 (15) hide show
  1. package/fesm2022/{rolatech-angular-authorization-clients.routes-DHpYdtCv.mjs → rolatech-angular-authorization-clients.routes-kEMc6wBR.mjs} +12 -12
  2. package/fesm2022/{rolatech-angular-authorization-clients.routes-DHpYdtCv.mjs.map → rolatech-angular-authorization-clients.routes-kEMc6wBR.mjs.map} +1 -1
  3. package/fesm2022/{rolatech-angular-authorization-endpoints.routes-Cnsod_XI.mjs → rolatech-angular-authorization-endpoints.routes-DMOEhndY.mjs} +4 -4
  4. package/fesm2022/{rolatech-angular-authorization-endpoints.routes-Cnsod_XI.mjs.map → rolatech-angular-authorization-endpoints.routes-DMOEhndY.mjs.map} +1 -1
  5. package/fesm2022/{rolatech-angular-authorization-permissions.routes-Dv4sWYaz.mjs → rolatech-angular-authorization-permissions.routes-Di0MHJHq.mjs} +5 -5
  6. package/fesm2022/{rolatech-angular-authorization-permissions.routes-Dv4sWYaz.mjs.map → rolatech-angular-authorization-permissions.routes-Di0MHJHq.mjs.map} +1 -1
  7. package/fesm2022/{rolatech-angular-authorization-roles.routes-D0etCD7p.mjs → rolatech-angular-authorization-roles.routes-BmPpoHBF.mjs} +13 -18
  8. package/fesm2022/rolatech-angular-authorization-roles.routes-BmPpoHBF.mjs.map +1 -0
  9. package/fesm2022/rolatech-angular-authorization-users.routes-DGeI-_y0.mjs +361 -0
  10. package/fesm2022/rolatech-angular-authorization-users.routes-DGeI-_y0.mjs.map +1 -0
  11. package/fesm2022/rolatech-angular-authorization.mjs +5 -5
  12. package/package.json +1 -1
  13. package/fesm2022/rolatech-angular-authorization-roles.routes-D0etCD7p.mjs.map +0 -1
  14. package/fesm2022/rolatech-angular-authorization-users.routes-DVtcTaWv.mjs +0 -305
  15. package/fesm2022/rolatech-angular-authorization-users.routes-DVtcTaWv.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component } from '@angular/core';
3
- import * as i3 from '@angular/material/snack-bar';
3
+ import * as i2 from '@angular/material/snack-bar';
4
4
  import { E as EndpointService } from './rolatech-angular-authorization-endpoint.service-BudQs-wx.mjs';
5
5
  import { AngularCommonModule, PrettyjsonPipe } from '@rolatech/angular-common';
6
6
  import { AngularComponentsModule, ToolbarComponent } from '@rolatech/angular-components';
@@ -84,13 +84,13 @@ class IndexComponent {
84
84
  },
85
85
  });
86
86
  }
87
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: IndexComponent, deps: [{ token: EndpointService }, { token: i3.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
87
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: IndexComponent, deps: [{ token: EndpointService }, { token: i2.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
88
88
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0", 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
90
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", 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
- }], ctorParameters: () => [{ type: EndpointService }, { type: i3.MatSnackBar }] });
93
+ }], ctorParameters: () => [{ type: EndpointService }, { type: i2.MatSnackBar }] });
94
94
 
95
95
  const endpointsRoutes = [
96
96
  {
@@ -104,4 +104,4 @@ const endpointsRoutes = [
104
104
  ];
105
105
 
106
106
  export { endpointsRoutes as default };
107
- //# sourceMappingURL=rolatech-angular-authorization-endpoints.routes-Cnsod_XI.mjs.map
107
+ //# sourceMappingURL=rolatech-angular-authorization-endpoints.routes-DMOEhndY.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rolatech-angular-authorization-endpoints.routes-Cnsod_XI.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.2.0\", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.2.0\", 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.2.0\", 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.2.0\", 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.2.0\", 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.2.0\", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci1hdXRob3JpemF0aW9uL3NyYy9saWIvcGFnZXMvZW5kcG9pbnRzL2luZGV4L2luZGV4LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9pbmRleC9pbmRleC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLGNBQWMsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQy9FLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7OztBQVF6RixNQUFNLE9BQU8sY0FBYztJQStCZjtJQUNBO0lBL0JWLFNBQVMsR0FBUSxFQUFFLENBQUM7SUFDcEIsWUFBWSxHQUFHO1FBQ2I7WUFDRSxHQUFHLEVBQUUsV0FBVztZQUNoQixLQUFLLEVBQUUsTUFBTTtZQUNiLElBQUksRUFBRSxjQUFjO1lBQ3BCLElBQUksRUFBRSxLQUFLO1NBQ1o7UUFDRDtZQUNFLEdBQUc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xlY3Rpb24tbGlzdD5cbiAgPC9kaXY+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnRzLnJvdXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9lbmRwb2ludHMucm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUV6RCxNQUFNLGVBQWUsR0FBVztJQUM5QjtRQUNFLElBQUksRUFBRSxFQUFFO1FBQ1IsU0FBUyxFQUFFLGNBQWM7S0FDMUI7SUFDRDtRQUNFLElBQUksRUFBRSxLQUFLO1FBQ1gsU0FBUyxFQUFFLGdCQUFnQjtLQUM1QjtDQUNGLENBQUM7QUFDRixlQUFlLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJvdXR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AAE,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;AACznD;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC;AACxH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,8BAA8B,EAAE,OAAO,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAE,QAAQ,EAAE,uqBAAuqB,EAAE;AAC70B,SAAS,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,IAAI,EAAEF,eAAkB,EAAE,EAAE,EAAE,IAAI,EAAEC,EAAE,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;;AChFxF,MAAC,eAAe,GAAG;AACxB,IAAI;AACJ,QAAQ,IAAI,EAAE,EAAE;AAChB,QAAQ,SAAS,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-DMOEhndY.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.2.0\", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.2.0\", 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.2.0\", 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.2.0\", 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.2.0\", 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.2.0\", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci1hdXRob3JpemF0aW9uL3NyYy9saWIvcGFnZXMvZW5kcG9pbnR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fQ==","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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnRzLnJvdXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItYXV0aG9yaXphdGlvbi9zcmMvbGliL3BhZ2VzL2VuZHBvaW50cy9lbmRwb2ludHMucm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUV6RCxNQUFNLGVBQWUsR0FBVztJQUM5QjtRQUNFLElBQUksRUFBRSxFQUFFO1FBQ1IsU0FBUyxFQUFFLGNBQWM7S0FDMUI7SUFDRDtRQUNFLElBQUksRUFBRSxLQUFLO1FBQ1gsU0FBUyxFQUFFLGdCQUFnQjtLQUM1QjtDQUNGLENBQUM7QUFDRixlQUFlLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJvdXRlcyB9IGZyb20gJ0Bhbmd1bGFyL3JvdXRlcic7XG5pbXBvcnQgeyBEZXRhaWxzQ29tcG9uZW50IH0gZnJvbSAnLi9kZXRhaWxzL2RldGFpbHMuY29tcG9uZW50JztcbmltcG9ydCB7IEluZGV4Q29tcG9uZW50IH0gZnJvbSAnLi9pbmRleC9pbmRleC5jb21wb25lbnQnO1xuXG5jb25zdCBlbmRwb2ludHNSb3V0ZXM6IFJvdXRlcyA9IFtcbiAge1xuICAgIHBhdGg6ICcnLFxuICAgIG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AE,cAAc,EAAE,UAAU,EAAE,CAAC;AACxH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,8BAA8B,EAAE,OAAO,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAE,QAAQ,EAAE,uqBAAuqB,EAAE;AAC70B,SAAS,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,IAAI,EAAED,eAAkB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;;AChFxF,MAAC,eAAe,GAAG;AACxB,IAAI;AACJ,QAAQ,IAAI,EAAE,EAAE;AAChB,QAAQ,SAAS,EAAE,cAAc;AACjC,KAAK;AACL,IAAI;AACJ,QAAQ,IAAI,EAAE,KAAK;AACnB,QAAQ,SAAS,EAAE,gBAAgB;AACnC,KAAK;AACL;;;;"}
@@ -11,14 +11,14 @@ import { MatTableDataSource } from '@angular/material/table';
11
11
  import * as i1 from '@angular/router';
12
12
  import * as i2 from '@angular/material/button';
13
13
  import * as i3 from '@angular/material/icon';
14
- import * as i4 from '@angular/material/form-field';
14
+ import * as i3$1 from '@angular/material/form-field';
15
15
  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
19
  import { E as EndpointService } from './rolatech-angular-authorization-endpoint.service-BudQs-wx.mjs';
20
20
  import * as i5$1 from '@angular/common';
21
- import * as i4$1 from '@angular/material/list';
21
+ import * as i4 from '@angular/material/list';
22
22
 
23
23
  class CreateComponent {
24
24
  constructor() { }
@@ -123,7 +123,7 @@ class IndexComponent {
123
123
  });
124
124
  }
125
125
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: IndexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
126
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0", 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: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.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"] }] });
126
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0", 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
128
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: IndexComponent, decorators: [{
129
129
  type: Component,
@@ -282,7 +282,7 @@ class UpdateComponent {
282
282
  });
283
283
  }
284
284
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UpdateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
285
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0", 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$1.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4$1.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"] }] });
285
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0", 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
287
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UpdateComponent, decorators: [{
288
288
  type: Component,
@@ -309,4 +309,4 @@ const routes = [
309
309
  ];
310
310
 
311
311
  export { routes as default };
312
- //# sourceMappingURL=rolatech-angular-authorization-permissions.routes-Dv4sWYaz.mjs.map
312
+ //# sourceMappingURL=rolatech-angular-authorization-permissions.routes-Di0MHJHq.mjs.map