@gravitee/ui-policy-studio-angular 1.5.0-design-studio-angular-part2-ed6a516 → 1.5.0-design-studio-angular-part2-edd9eac
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 +3 -6
- 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/models/flow/index-testing.js +19 -0
- package/esm2015/lib/models/policy/index-testing.js +19 -0
- package/esm2015/lib/models/resource/index-testing.js +18 -0
- package/esm2015/lib/models/spel/index-testing.js +17 -0
- package/esm2015/lib/services/flow.service.fixture.js +2 -2
- package/esm2015/lib/services/policy.service.fixture.js +2 -2
- package/esm2015/lib/services/resource.service.fixture.js +2 -2
- package/esm2015/lib/services/spel.service.fixture.js +2 -2
- package/esm2015/testing/lib/models/flow/index-testing.js +19 -0
- package/esm2015/testing/lib/models/index-testing.js +20 -0
- package/esm2015/testing/lib/models/policy/index-testing.js +19 -0
- package/esm2015/testing/lib/models/resource/index-testing.js +18 -0
- package/esm2015/testing/lib/models/spel/index-testing.js +17 -0
- package/esm2015/testing/lib/services/flow.service.fixture.js +2 -2
- package/esm2015/testing/lib/{models/resource/testing.js → services/index-testing.js} +5 -3
- package/esm2015/testing/lib/services/policy.service.fixture.js +2 -2
- package/esm2015/testing/lib/services/resource.service.fixture.js +2 -2
- package/esm2015/testing/lib/services/spel.service.fixture.js +2 -2
- package/esm2015/testing/public-testing-api.js +3 -3
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.js.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.js +2 -4
- package/fesm2015/gravitee-ui-policy-studio-angular.js.map +1 -1
- package/lib/gio-policy-studio.component.d.ts +1 -1
- package/lib/models/flow/{testing.d.ts → index-testing.d.ts} +0 -0
- package/lib/models/policy/{testing.d.ts → index-testing.d.ts} +0 -0
- package/lib/models/resource/{testing.d.ts → index-testing.d.ts} +0 -0
- package/lib/models/spel/{testing.d.ts → index-testing.d.ts} +0 -0
- package/package.json +1 -1
- package/testing/lib/models/flow/{testing.d.ts → index-testing.d.ts} +0 -0
- package/testing/lib/models/index-testing.d.ts +4 -0
- package/testing/lib/models/policy/{testing.d.ts → index-testing.d.ts} +0 -0
- package/testing/lib/models/resource/{testing.d.ts → index-testing.d.ts} +0 -0
- package/testing/lib/models/spel/{testing.d.ts → index-testing.d.ts} +0 -0
- package/testing/lib/services/{testing.d.ts → index-testing.d.ts} +0 -0
- package/testing/public-testing-api.d.ts +2 -2
- package/esm2015/lib/models/flow/testing.js +0 -19
- package/esm2015/lib/models/policy/testing.js +0 -19
- package/esm2015/lib/models/resource/testing.js +0 -18
- package/esm2015/lib/models/spel/testing.js +0 -17
- package/esm2015/testing/lib/models/flow/testing.js +0 -19
- package/esm2015/testing/lib/models/policy/testing.js +0 -19
- package/esm2015/testing/lib/models/spel/testing.js +0 -17
- package/esm2015/testing/lib/models/testing.js +0 -20
- package/esm2015/testing/lib/services/testing.js +0 -20
- package/testing/lib/models/testing.d.ts +0 -4
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
return GioPolicyStudioComponent;
|
|
561
561
|
}());
|
|
562
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 });
|
|
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]=\"
|
|
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"] });
|
|
564
564
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioPolicyStudioComponent, decorators: [{
|
|
565
565
|
type: i0.Component,
|
|
566
566
|
args: [{
|
|
@@ -582,9 +582,7 @@
|
|
|
582
582
|
type: i0.Inject,
|
|
583
583
|
args: ['SpelService']
|
|
584
584
|
}] }];
|
|
585
|
-
}, propDecorators: {
|
|
586
|
-
// TODO: Remove ! and add init value ! for all
|
|
587
|
-
canAdd: [{
|
|
585
|
+
}, propDecorators: { canAdd: [{
|
|
588
586
|
type: i0.Input
|
|
589
587
|
}], canDebug: [{
|
|
590
588
|
type: i0.Input
|
|
@@ -622,8 +620,7 @@
|
|
|
622
620
|
type: i0.Input
|
|
623
621
|
}], save: [{
|
|
624
622
|
type: i0.Output
|
|
625
|
-
}]
|
|
626
|
-
} });
|
|
623
|
+
}] } });
|
|
627
624
|
|
|
628
625
|
function fakeFlowConfigurationSchema(attributes) {
|
|
629
626
|
var base = {
|