@gravitee/ui-policy-studio-angular 7.52.0-angular15-eac6eb7 → 7.52.0-angular15-85bd9b8
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.
- package/esm2020/lib/gio-policy-studio.module.mjs +2 -4
- package/esm2020/lib/gio-policy-studio.service.mjs +13 -9
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +12 -9
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +12 -9
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/gio-policy-studio.service.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Inject, Input, EventEmitter, Output, Pipe, NgModule } from '@angular/core';
|
|
2
|
+
import { Component, Inject, Input, Injectable, EventEmitter, Output, Pipe, NgModule } from '@angular/core';
|
|
3
3
|
import * as i3$1 from '@angular/material/legacy-button';
|
|
4
4
|
import { MatLegacyButtonModule } from '@angular/material/legacy-button';
|
|
5
5
|
import * as i10 from '@gravitee/ui-particles-angular';
|
|
@@ -31,7 +31,6 @@ import * as i8 from '@angular/material/legacy-core';
|
|
|
31
31
|
import * as i5$1 from '@angular/material/icon';
|
|
32
32
|
import { tap, map, takeUntil, startWith } from 'rxjs/operators';
|
|
33
33
|
import { BehaviorSubject, Subject, EMPTY, timer } from 'rxjs';
|
|
34
|
-
import { __decorate } from 'tslib';
|
|
35
34
|
|
|
36
35
|
/*
|
|
37
36
|
* Copyright (C) 2023 The Gravitee team (http://gravitee.io)
|
|
@@ -469,7 +468,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
469
468
|
* See the License for the specific language governing permissions and
|
|
470
469
|
* limitations under the License.
|
|
471
470
|
*/
|
|
472
|
-
|
|
471
|
+
class GioPolicyStudioService {
|
|
473
472
|
constructor() {
|
|
474
473
|
this.schemasCache = {};
|
|
475
474
|
this.documentationsCache = {};
|
|
@@ -514,10 +513,15 @@ let GioPolicyStudioService = class GioPolicyStudioService {
|
|
|
514
513
|
this.documentationsCache[policy.id] = new BehaviorSubject(documentation);
|
|
515
514
|
}));
|
|
516
515
|
}
|
|
517
|
-
}
|
|
518
|
-
GioPolicyStudioService =
|
|
519
|
-
|
|
520
|
-
|
|
516
|
+
}
|
|
517
|
+
GioPolicyStudioService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GioPolicyStudioService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
518
|
+
GioPolicyStudioService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GioPolicyStudioService, providedIn: 'root' });
|
|
519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GioPolicyStudioService, decorators: [{
|
|
520
|
+
type: Injectable,
|
|
521
|
+
args: [{
|
|
522
|
+
providedIn: 'root',
|
|
523
|
+
}]
|
|
524
|
+
}] });
|
|
521
525
|
|
|
522
526
|
/*
|
|
523
527
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1604,7 +1608,7 @@ GioPolicyStudioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", v
|
|
|
1604
1608
|
GioFormJsonSchemaModule,
|
|
1605
1609
|
GioAsciidoctorModule,
|
|
1606
1610
|
GioLoaderModule], exports: [GioPolicyStudioComponent] });
|
|
1607
|
-
GioPolicyStudioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GioPolicyStudioModule,
|
|
1611
|
+
GioPolicyStudioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GioPolicyStudioModule, imports: [CommonModule,
|
|
1608
1612
|
ReactiveFormsModule,
|
|
1609
1613
|
MatLegacyButtonModule,
|
|
1610
1614
|
MatLegacyTooltipModule,
|
|
@@ -1663,7 +1667,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1663
1667
|
GioLoaderModule,
|
|
1664
1668
|
],
|
|
1665
1669
|
exports: [GioPolicyStudioComponent],
|
|
1666
|
-
providers: [GioPolicyStudioService],
|
|
1667
1670
|
}]
|
|
1668
1671
|
}] });
|
|
1669
1672
|
|