@gravitee/ui-policy-studio-angular 2.1.1 → 2.2.0-ps-add-menu-379e872

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.
@@ -473,7 +473,6 @@
473
473
  this.hasPlans = false;
474
474
  this.services = {};
475
475
  this.dynamicPropertySchema = {};
476
- this.configurationInformation = 'By default, the selection of a flow is based on the operator defined in the flow itself. This operator allows either to select a flow when the path matches exactly, or when the start of the path matches. The "Best match" option allows you to select the flow from the path that is closest.';
477
476
  this.save = new i0.EventEmitter();
478
477
  this.debug = new i0.EventEmitter();
479
478
  this.unknownPolicyCategory = 'others';
@@ -503,12 +502,8 @@
503
502
  }))
504
503
  .subscribe();
505
504
  var _b = this.parseUrl(), tabId = _b.tabId, flowsIds = _b.flowsIds;
506
- this.tabId = tabId;
507
505
  this.selectedFlowsIds = JSON.stringify(flowsIds);
508
506
  };
509
- GioPolicyStudioComponent.prototype.onTabChanged = function (tabId) {
510
- this.updateUrl(Object.assign(Object.assign({}, this.parseUrl()), { tabId: tabId }));
511
- };
512
507
  GioPolicyStudioComponent.prototype.onFlowSelectionChanged = function (_b) {
513
508
  var flows = _b.flows;
514
509
  this.updateUrl(Object.assign(Object.assign({}, this.parseUrl()), { flowsIds: flows }));
@@ -562,7 +557,7 @@
562
557
  return GioPolicyStudioComponent;
563
558
  }());
564
559
  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 });
565
- 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", hasConditionalSteps: "hasConditionalSteps", hasPlans: "hasPlans", sortable: "sortable", policies: "policies", definition: "definition", services: "services", flowSchema: "flowSchema", resourceTypes: "resourceTypes", propertyProviders: "propertyProviders", readonlyPlans: "readonlyPlans", dynamicPropertySchema: "dynamicPropertySchema", debugResponse: "debugResponse", flowsTitle: "flowsTitle", configurationInformation: "configurationInformation" }, outputs: { save: "save", debug: "debug" }, 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.has-plans]=\"hasPlans ? hasPlans : 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 (:gv-policy-studio:debug)=\"debug.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"] });
560
+ GioPolicyStudioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioPolicyStudioComponent, selector: "gio-policy-studio", inputs: { canAdd: "canAdd", hasPolicyFilter: "hasPolicyFilter", hasConditionalSteps: "hasConditionalSteps", hasPlans: "hasPlans", sortable: "sortable", policies: "policies", definition: "definition", services: "services", flowSchema: "flowSchema", resourceTypes: "resourceTypes", propertyProviders: "propertyProviders", readonlyPlans: "readonlyPlans", dynamicPropertySchema: "dynamicPropertySchema", debugResponse: "debugResponse", flowsTitle: "flowsTitle" }, outputs: { save: "save", debug: "debug" }, 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 [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.has-plans]=\"hasPlans ? hasPlans : 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 [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 (:gv-policy-studio:debug)=\"debug.emit($any($event).detail)\"\n hide-tabs\n hide-title\n hide-save\n >\n </gv-policy-studio>\n</div>\n", styles: [".policy-studio-wrapper{background-color:#fff}gv-policy-studio{overflow:hidden;margin:2rem 0 1rem 1rem}\n"] });
566
561
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioPolicyStudioComponent, decorators: [{
567
562
  type: i0.Component,
568
563
  args: [{
@@ -586,12 +581,6 @@
586
581
  }] }];
587
582
  }, propDecorators: { canAdd: [{
588
583
  type: i0.Input
589
- }], canDebug: [{
590
- type: i0.Input
591
- }], hasResources: [{
592
- type: i0.Input
593
- }], hasProperties: [{
594
- type: i0.Input
595
584
  }], hasPolicyFilter: [{
596
585
  type: i0.Input
597
586
  }], hasConditionalSteps: [{
@@ -620,8 +609,6 @@
620
609
  type: i0.Input
621
610
  }], flowsTitle: [{
622
611
  type: i0.Input
623
- }], configurationInformation: [{
624
- type: i0.Input
625
612
  }], save: [{
626
613
  type: i0.Output
627
614
  }], debug: [{