@gravitee/ui-policy-studio-angular 1.5.0-design-studio-angular-part2-5304ad0 → 1.5.0-design-studio-angular-part2-4da30fa
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/bundles/gravitee-ui-policy-studio-angular-testing.umd.js.map +1 -1
- package/bundles/gravitee-ui-policy-studio-angular.umd.js +47 -30
- package/bundles/gravitee-ui-policy-studio-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-policy-studio.component.js +3 -5
- package/esm2015/lib/gio-policy-studio.module.js +1 -1
- package/esm2015/lib/services/flow.service.fixture.js +1 -1
- package/esm2015/lib/services/index.js +20 -0
- package/esm2015/lib/services/policy.service.fixture.js +1 -1
- package/esm2015/lib/services/resource.service.fixture.js +1 -1
- package/esm2015/lib/services/spel.service.fixture.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/testing/lib/services/flow.service.fixture.js +1 -1
- package/esm2015/testing/lib/services/policy.service.fixture.js +1 -1
- package/esm2015/testing/lib/services/resource.service.fixture.js +1 -1
- package/esm2015/testing/lib/services/spel.service.fixture.js +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.js.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.js +19 -5
- package/fesm2015/gravitee-ui-policy-studio-angular.js.map +1 -1
- package/lib/gio-policy-studio.component.d.ts +1 -1
- package/lib/services/index.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -89,6 +89,46 @@
|
|
|
89
89
|
* limitations under the License.
|
|
90
90
|
*/
|
|
91
91
|
|
|
92
|
+
/*
|
|
93
|
+
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
94
|
+
*
|
|
95
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
96
|
+
* you may not use this file except in compliance with the License.
|
|
97
|
+
* You may obtain a copy of the License at
|
|
98
|
+
*
|
|
99
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
100
|
+
*
|
|
101
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
102
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
103
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
104
|
+
* See the License for the specific language governing permissions and
|
|
105
|
+
* limitations under the License.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
var FlowServiceAbstract = /** @class */ (function () {
|
|
109
|
+
function FlowServiceAbstract() {
|
|
110
|
+
}
|
|
111
|
+
return FlowServiceAbstract;
|
|
112
|
+
}());
|
|
113
|
+
|
|
114
|
+
var PolicyServiceAbstract = /** @class */ (function () {
|
|
115
|
+
function PolicyServiceAbstract() {
|
|
116
|
+
}
|
|
117
|
+
return PolicyServiceAbstract;
|
|
118
|
+
}());
|
|
119
|
+
|
|
120
|
+
var ResourceServiceAbstract = /** @class */ (function () {
|
|
121
|
+
function ResourceServiceAbstract() {
|
|
122
|
+
}
|
|
123
|
+
return ResourceServiceAbstract;
|
|
124
|
+
}());
|
|
125
|
+
|
|
126
|
+
var SpelServiceAbstract = /** @class */ (function () {
|
|
127
|
+
function SpelServiceAbstract() {
|
|
128
|
+
}
|
|
129
|
+
return SpelServiceAbstract;
|
|
130
|
+
}());
|
|
131
|
+
|
|
92
132
|
/*
|
|
93
133
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
94
134
|
*
|
|
@@ -423,30 +463,6 @@
|
|
|
423
463
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
424
464
|
}
|
|
425
465
|
|
|
426
|
-
var FlowServiceAbstract = /** @class */ (function () {
|
|
427
|
-
function FlowServiceAbstract() {
|
|
428
|
-
}
|
|
429
|
-
return FlowServiceAbstract;
|
|
430
|
-
}());
|
|
431
|
-
|
|
432
|
-
var PolicyServiceAbstract = /** @class */ (function () {
|
|
433
|
-
function PolicyServiceAbstract() {
|
|
434
|
-
}
|
|
435
|
-
return PolicyServiceAbstract;
|
|
436
|
-
}());
|
|
437
|
-
|
|
438
|
-
var ResourceServiceAbstract = /** @class */ (function () {
|
|
439
|
-
function ResourceServiceAbstract() {
|
|
440
|
-
}
|
|
441
|
-
return ResourceServiceAbstract;
|
|
442
|
-
}());
|
|
443
|
-
|
|
444
|
-
var SpelServiceAbstract = /** @class */ (function () {
|
|
445
|
-
function SpelServiceAbstract() {
|
|
446
|
-
}
|
|
447
|
-
return SpelServiceAbstract;
|
|
448
|
-
}());
|
|
449
|
-
|
|
450
466
|
var GioPolicyStudioComponent = /** @class */ (function () {
|
|
451
467
|
function GioPolicyStudioComponent(location, flowService, policyService, resourceService, spelService) {
|
|
452
468
|
this.location = location;
|
|
@@ -544,7 +560,7 @@
|
|
|
544
560
|
return GioPolicyStudioComponent;
|
|
545
561
|
}());
|
|
546
562
|
GioPolicyStudioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioPolicyStudioComponent, deps: [{ token: i1__namespace.Location }, { token: 'FlowService' }, { token: 'PolicyService' }, { token: 'ResourceService' }, { token: 'SpelService' }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
547
|
-
GioPolicyStudioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioPolicyStudioComponent, selector: "gio-policy-studio", inputs: { canAdd: "canAdd", canDebug: "canDebug", hasResources: "hasResources", hasProperties: "hasProperties", hasPolicyFilter: "hasPolicyFilter", sortable: "sortable", policies: "policies", definition: "definition", services: "services", flowSchema: "flowSchema", resourceTypes: "resourceTypes", propertyProviders: "propertyProviders", readonlyPlans: "readonlyPlans", dynamicPropertySchema: "dynamicPropertySchema", debugResponse: "debugResponse", flowsTitle: "flowsTitle", hasConditionalSteps: "hasConditionalSteps", configurationInformation: "configurationInformation" }, outputs: { save: "save" }, ngImport: i0__namespace, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"policy-studio-wrapper\">\n <gv-policy-studio\n [policies]=\"policies\"\n [services]=\"services\"\n [resourceTypes]=\"resourceTypes\"\n [propertyProviders]=\"propertyProviders\"\n [dynamicPropertySchema]=\"dynamicPropertySchema\"\n [definition]=\"definition\"\n [flowSchema]=\"flowSchema\"\n [configurationSchema]=\"configurationSchema\"\n [configurationInformation]=\"configurationInformation\"\n [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.can-debug]=\"canDebug ? canDebug : null\"\n [attr.has-resources]=\"hasResources ? hasResources : null\"\n [attr.has-properties]=\"hasProperties ? hasProperties : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.sortable]=\"sortable ? sortable : null\"\n [attr.readonly-plans]=\"readonlyPlans ? readonlyPlans : null\"\n [attr.flows-title]=\"flowsTitle\"\n [attr.has-conditional-steps]=\"
|
|
563
|
+
GioPolicyStudioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioPolicyStudioComponent, selector: "gio-policy-studio", inputs: { canAdd: "canAdd", canDebug: "canDebug", hasResources: "hasResources", hasProperties: "hasProperties", hasPolicyFilter: "hasPolicyFilter", sortable: "sortable", policies: "policies", definition: "definition", services: "services", flowSchema: "flowSchema", resourceTypes: "resourceTypes", propertyProviders: "propertyProviders", readonlyPlans: "readonlyPlans", dynamicPropertySchema: "dynamicPropertySchema", debugResponse: "debugResponse", flowsTitle: "flowsTitle", hasConditionalSteps: "hasConditionalSteps", configurationInformation: "configurationInformation" }, outputs: { save: "save" }, ngImport: i0__namespace, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"policy-studio-wrapper\">\n <gv-policy-studio\n [policies]=\"policies\"\n [services]=\"services\"\n [resourceTypes]=\"resourceTypes\"\n [propertyProviders]=\"propertyProviders\"\n [dynamicPropertySchema]=\"dynamicPropertySchema\"\n [definition]=\"definition\"\n [flowSchema]=\"flowSchema\"\n [configurationSchema]=\"configurationSchema\"\n [configurationInformation]=\"configurationInformation\"\n [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.can-debug]=\"canDebug ? canDebug : null\"\n [attr.has-resources]=\"hasResources ? hasResources : null\"\n [attr.has-properties]=\"hasProperties ? hasProperties : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.sortable]=\"sortable ? sortable : null\"\n [attr.readonly-plans]=\"readonlyPlans ? readonlyPlans : null\"\n [attr.flows-title]=\"flowsTitle\"\n [attr.has-conditional-steps]=\"hasConditionalSteps\"\n [debugResponse]=\"debugResponse\"\n [tabId]=\"tabId\"\n (:gv-policy-studio:change-tab)=\"onTabChanged($any($event).detail)\"\n [documentation]=\"policyDocumentation\"\n (:gv-policy-studio:fetch-documentation)=\"fetchPolicyDocumentation($any($event).detail)\"\n (:gv-resources:fetch-documentation)=\"fetchResourceDocumentation($any($event).detail)\"\n (:gv-expression-language:ready)=\"fetchSpelGrammar($any($event).detail)\"\n [attr.selected-flows-id]=\"selectedFlowsIds ? selectedFlowsIds : null\"\n (:gv-policy-studio:select-flows)=\"onFlowSelectionChanged($any($event).detail)\"\n (:gv-policy-studio:save)=\"save.emit($any($event).detail)\"\n >\n </gv-policy-studio>\n</div>\n", styles: [".policy-studio-wrapper{background-color:#fff}gv-policy-studio{--gv-policy-studio--h: calc(100vh - 75px);overflow:hidden;margin:2rem 0 1rem 1rem}\n"] });
|
|
548
564
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioPolicyStudioComponent, decorators: [{
|
|
549
565
|
type: i0.Component,
|
|
550
566
|
args: [{
|
|
@@ -566,9 +582,7 @@
|
|
|
566
582
|
type: i0.Inject,
|
|
567
583
|
args: ['SpelService']
|
|
568
584
|
}] }];
|
|
569
|
-
}, propDecorators: {
|
|
570
|
-
// TODO: Remove ! and add init value ! for all
|
|
571
|
-
canAdd: [{
|
|
585
|
+
}, propDecorators: { canAdd: [{
|
|
572
586
|
type: i0.Input
|
|
573
587
|
}], canDebug: [{
|
|
574
588
|
type: i0.Input
|
|
@@ -606,8 +620,7 @@
|
|
|
606
620
|
type: i0.Input
|
|
607
621
|
}], save: [{
|
|
608
622
|
type: i0.Output
|
|
609
|
-
}]
|
|
610
|
-
} });
|
|
623
|
+
}] } });
|
|
611
624
|
|
|
612
625
|
function fakeFlowConfigurationSchema(attributes) {
|
|
613
626
|
var base = {
|
|
@@ -4670,8 +4683,12 @@
|
|
|
4670
4683
|
* Generated bundle index. Do not edit.
|
|
4671
4684
|
*/
|
|
4672
4685
|
|
|
4686
|
+
exports.FlowServiceAbstract = FlowServiceAbstract;
|
|
4673
4687
|
exports.GioPolicyStudioComponent = GioPolicyStudioComponent;
|
|
4674
4688
|
exports.GioPolicyStudioModule = GioPolicyStudioModule;
|
|
4689
|
+
exports.PolicyServiceAbstract = PolicyServiceAbstract;
|
|
4690
|
+
exports.ResourceServiceAbstract = ResourceServiceAbstract;
|
|
4691
|
+
exports.SpelServiceAbstract = SpelServiceAbstract;
|
|
4675
4692
|
|
|
4676
4693
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4677
4694
|
|