Michael Lando | dd60339 | 2017-07-12 00:54:52 +0300 | [diff] [blame] | 1 | /*- |
| 2 | * ============LICENSE_START======================================================= |
| 3 | * SDC |
| 4 | * ================================================================================ |
| 5 | * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | * ================================================================================ |
| 7 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | * you may not use this file except in compliance with the License. |
| 9 | * You may obtain a copy of the License at |
Idan Amit | 7363f3d | 2018-03-21 12:04:57 +0200 | [diff] [blame] | 10 | * |
Michael Lando | dd60339 | 2017-07-12 00:54:52 +0300 | [diff] [blame] | 11 | * http://www.apache.org/licenses/LICENSE-2.0 |
Idan Amit | 7363f3d | 2018-03-21 12:04:57 +0200 | [diff] [blame] | 12 | * |
Michael Lando | dd60339 | 2017-07-12 00:54:52 +0300 | [diff] [blame] | 13 | * Unless required by applicable law or agreed to in writing, software |
| 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | * See the License for the specific language governing permissions and |
| 17 | * limitations under the License. |
| 18 | * ============LICENSE_END========================================================= |
| 19 | */ |
| 20 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 21 | import {ClickedOutsideDirective} from "../directives/clicked-outside/clicked-outside-directive"; |
| 22 | import {LoaderDirective} from "../directives/loader/loader-directive"; |
| 23 | import {UserHeaderDetailsDirective} from "../directives/user-header-details/user-header-details-directive"; |
| 24 | import {FileTypeDirective} from "../directives/file-type/file-type"; |
| 25 | import {DownloadArtifactDirective} from "../directives/download-artifact/download-artifact"; |
| 26 | import {EllipsisDirective} from "../directives/ellipsis/ellipsis-directive"; |
| 27 | import {InvalidCharactersDirective} from "../directives/invalid-characters/invalid-characters"; |
| 28 | import {ExpandCollapseDirective} from "../directives/utils/expand-collapse/expand-collapse"; |
| 29 | import {PerfectScrollerDirective} from "../directives/perfect-scrollbar/angular-perfect-scrollbar"; |
| 30 | import {SdcModalDirective} from "../directives/modal/sdc-modal"; |
| 31 | import {FileOpenerDirective} from "../directives/file-opener/file-opener"; |
| 32 | import {FileUploadDirective} from "../directives/file-upload/file-upload"; |
| 33 | import {StructureTreeDirective} from "../directives/structure-tree/structure-tree-directive"; |
| 34 | import {SmartTooltipDirective} from "../directives/utils/smart-tooltip/smart-tooltip"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 35 | import {TagDirective} from "../directives/tag/tag-directive"; |
| 36 | import {SdcTagsDirective} from "../directives/utils/sdc-tags/sdc-tags"; |
| 37 | import {SdcKeyboardEventsDirective} from "../directives/utils/sdc-keyboard-events/sdc-keyboard-events"; |
| 38 | import {ExpandCollapseMenuBoxDirective} from "../directives/utils/expand-collapse-menu-box/expand-collaps-menu-box"; |
| 39 | import {PunchOutDirective} from "../directives/punch-out/punch-out"; |
| 40 | import {CustomValidationDirective} from "../directives/custom-validation/custom-validation"; |
| 41 | import {EcompHeaderDirective} from "../directives/ecomp-header/ecomp-header"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 42 | import {EditNamePopoverDirective} from "../directives/edit-name-popover/edit-name-popover-directive"; |
| 43 | import {DataTypeFieldsStructureDirective} from "../directives/property-types/data-type-fields-structure/data-type-fields-structure"; |
| 44 | import {TypeMapDirective} from "../directives/property-types/type-map/type-map-directive"; |
| 45 | import {TypeListDirective} from "../directives/property-types/type-list/type-list-directive"; |
| 46 | import {SelectDataTypeFieldsStructureDirective} from "../directives/select-property-types/select-data-type-fields-structure/select-data-type-fields-structure"; |
| 47 | import {SelectTypeMapDirective} from "../directives/select-property-types/select-type-map/select-type-map-directive"; |
| 48 | import {SelectTypeListDirective} from "../directives/select-property-types/select-type-list/select-type-list-directive"; |
| 49 | import {ValidationOnLoadDirective} from "../directives/utils/validation-on-load/validation-on-load"; |
| 50 | import {InfoTooltipDirective} from "../directives/info-tooltip/info-tooltip"; |
| 51 | import {SdcTabsDirective} from "../directives/sdc-tabs/sdc-tabs-directive"; |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 52 | import { |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 53 | InnerSdcSingleTabDirective, |
| 54 | SdcSingleTabDirective |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 55 | } from "../directives/sdc-tabs/sdc-single-tab/sdc-single-tab-directive"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 56 | import {ExpandCollapseListHeaderDirective} from "../directives/utils/expand-collapse-list-header/expand-collapse-list-header"; |
| 57 | import {JsonExportExcelDirective} from "../directives/export-json-to-excel/export-json-to-excel"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 58 | import {TopProgressDirective} from "../directives/layout/top-progress/top-progress"; |
| 59 | import {CheckboxElementDirective} from "../directives/elements/checkbox/checkbox"; |
| 60 | import {RadiobuttonElementDirective} from "../directives/elements/radiobutton/radiobutton"; |
| 61 | import {OnLastRepeatDirective} from "../directives/events/on-last-repeat/on-last-repeat"; |
| 62 | import {InputRowDirective} from "../directives/inputs-and-properties/inputs/input-row-directive"; |
| 63 | import {PropertyRowDirective} from "../directives/inputs-and-properties/properties/property-row-directive"; |
| 64 | import {NodesFactory} from "../models/graph/nodes/nodes-factory"; |
| 65 | import {LinksFactory} from "../models/graph/graph-links/links-factory"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 66 | import {CapabilitiesListDirective} from "../directives/capabilities-and-requirements/capability/capabilities-list-directive"; |
| 67 | import {RequirementsListDirective} from "../directives/capabilities-and-requirements/requirement/requirements-list-directive"; |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 68 | import {PreventDoubleClickDirective} from "../directives/prevent-double-click/prevent-double-click"; |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 69 | // *** NG2 Components (downgraded) *** // |
| 70 | import {downgradeComponent} from "@angular/upgrade/static"; |
| 71 | import {MenuListNg2Component} from "../ng2/components/downgrade-wrappers/menu-list-ng2/menu-list-ng2.component"; |
| 72 | import {TopNavComponent} from "../ng2/components/layout/top-nav/top-nav.component"; |
| 73 | import {ZoneContainerComponent} from "../ng2/pages/composition/graph/canvas-zone/zone-container.component"; |
| 74 | import {ZoneInstanceComponent} from "../ng2/pages/composition/graph/canvas-zone/zone-instance/zone-instance.component"; |
| 75 | import {CompositionPanelComponent} from 'app/ng2/pages/composition/panel/composition-panel.component'; |
| 76 | import {PropertiesAssignmentComponent} from "../ng2/pages/properties-assignment/properties-assignment.page.component"; |
| 77 | import {SearchWithAutoCompleteComponent} from "../ng2/components/ui/search-with-autocomplete/search-with-autocomplete.component"; |
| 78 | import {PalettePopupPanelComponent} from "../ng2/pages/composition/palette/palette-popup-panel/palette-popup-panel.component"; |
| 79 | import {ServicePathSelectorComponent} from '../ng2/pages/composition/graph/service-path-selector/service-path-selector.component'; |
| 80 | import {MultilineEllipsisComponent} from "../ng2/shared/multiline-ellipsis/multiline-ellipsis.component"; |
| 81 | import {InterfaceOperationComponent} from '../ng2/pages/interface-operation/interface-operation.page.component'; |
| 82 | import {PluginFrameComponent} from "../ng2/components/ui/plugin/plugin-frame.component"; |
| 83 | import {TileComponent} from "../ng2/components/ui/tile/tile.component"; |
| 84 | import {CompositionPageComponent} from "../ng2/pages/composition/composition-page.component"; |
| 85 | import {CatalogComponent} from "../ng2/pages/catalog/catalog.component"; |
| 86 | import {HomeComponent} from "../ng2/pages/home/home.component"; |
| 87 | import {PluginContextViewPageComponent} from "../ng2/pages/plugins/plugin-context-view/plugin-context-view.page.component"; |
| 88 | import {PluginTabViewPageComponent} from "../ng2/pages/plugins/plugin-tab-view/plugin-tab-view.page.component"; |
| 89 | import {CompositionGraphComponent} from "../ng2/pages/composition/graph/composition-graph.component"; |
| 90 | import {DeploymentPageComponent} from "../ng2/pages/workspace/deployment/deployment-page.component"; |
| 91 | import {ActivityLogComponent} from "../ng2/pages/workspace/activity-log/activity-log.component"; |
| 92 | import {ToscaArtifactPageComponent} from "../ng2/pages/workspace/tosca-artifacts/tosca-artifact-page.component"; |
| 93 | import {InformationArtifactPageComponent} from "../ng2/pages/workspace/information-artifact/information-artifact-page.component"; |
| 94 | import {AttributesComponent} from "../view-models/workspace/tabs/attributes/attributes.component"; |
| 95 | import {DeploymentArtifactsPageComponent} from "../ng2/pages/workspace/deployment-artifacts/deployment-artifacts-page.component"; |
| 96 | import {ReqAndCapabilitiesComponent} from "../ng2/pages/workspace/req-and-capabilities/req-and-capabilities.component"; |
| 97 | import {DistributionComponent} from '../ng2/pages/workspace/disribution/distribution.component'; |
| 98 | import {AttributesOutputsComponent} from "../ng2/pages/attributes-outputs/attributes-outputs.page.component"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 99 | |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 100 | let moduleName: string = 'Sdc.Directives'; |
| 101 | let directiveModule: ng.IModule = angular.module(moduleName, []); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 102 | |
| 103 | directiveModule.directive('clickedOutside', ClickedOutsideDirective.factory); |
| 104 | directiveModule.directive('loader', LoaderDirective.factory); |
| 105 | directiveModule.directive('userHeaderDetails', UserHeaderDetailsDirective.factory); |
| 106 | directiveModule.directive('ellipsis', EllipsisDirective.factory); |
| 107 | directiveModule.directive('downloadArtifact', DownloadArtifactDirective.factory); |
| 108 | directiveModule.directive('fileType', FileTypeDirective.factory); |
| 109 | directiveModule.directive('invalidCharacters', InvalidCharactersDirective.factory); |
| 110 | directiveModule.directive('perfectScrollbar', PerfectScrollerDirective.factory); |
| 111 | directiveModule.directive('expandCollapse', ExpandCollapseDirective.factory); |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 112 | directiveModule.directive('ng1Modal', SdcModalDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 113 | directiveModule.directive('fileOpener', FileOpenerDirective.factory); |
| 114 | directiveModule.directive('fileUpload', FileUploadDirective.factory); |
| 115 | directiveModule.directive('structureTree', StructureTreeDirective.factory); |
| 116 | directiveModule.directive('sdcSmartTooltip', SmartTooltipDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 117 | directiveModule.directive('sdcTag', TagDirective.factory); |
| 118 | directiveModule.directive('sdcTags', SdcTagsDirective.factory); |
| 119 | directiveModule.directive('sdcKeyboardEvents', SdcKeyboardEventsDirective.factory); |
| 120 | directiveModule.directive('expandCollapseMenuBox', ExpandCollapseMenuBoxDirective.factory); |
| 121 | directiveModule.directive('punchOut', PunchOutDirective.factory); |
| 122 | directiveModule.directive('customValidation', CustomValidationDirective.factory); |
| 123 | directiveModule.directive('ecompHeader', EcompHeaderDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 124 | directiveModule.directive('editNamePopover', EditNamePopoverDirective.factory); |
| 125 | directiveModule.directive('fieldsStructure', DataTypeFieldsStructureDirective.factory); |
| 126 | directiveModule.directive('typeMap', TypeMapDirective.factory); |
| 127 | directiveModule.directive('typeList', TypeListDirective.factory); |
| 128 | directiveModule.directive('selectFieldsStructure', SelectDataTypeFieldsStructureDirective.factory); |
| 129 | directiveModule.directive('selectTypeMap', SelectTypeMapDirective.factory); |
| 130 | directiveModule.directive('selectTypeList', SelectTypeListDirective.factory); |
| 131 | directiveModule.directive('infoTooltip', InfoTooltipDirective.factory); |
| 132 | directiveModule.directive('validationOnLoad', ValidationOnLoadDirective.factory); |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 133 | directiveModule.directive('ng1Tabs', SdcTabsDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 134 | directiveModule.directive('sdcSingleTab', SdcSingleTabDirective.factory); |
| 135 | directiveModule.directive('innerSdcSingleTab', InnerSdcSingleTabDirective.factory); |
| 136 | directiveModule.directive('jsonExportExcel', JsonExportExcelDirective.factory); |
| 137 | directiveModule.directive('expandCollapseListHeader', ExpandCollapseListHeaderDirective.factory); |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 138 | directiveModule.directive('preventDoubleClick', PreventDoubleClickDirective.factory); |
| 139 | // |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 140 | // |
| 141 | // // Layouts |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 142 | directiveModule.directive('topProgress', TopProgressDirective.factory); |
| 143 | // |
| 144 | // // Elements |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 145 | directiveModule.directive('ng1Checkbox', CheckboxElementDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 146 | directiveModule.directive('sdcRadioButton', RadiobuttonElementDirective.factory); |
| 147 | // |
| 148 | // // Events |
| 149 | directiveModule.directive('onLastRepeat', OnLastRepeatDirective.factory); |
| 150 | // |
| 151 | // //Inputs & Properties |
| 152 | directiveModule.directive('inputRow', InputRowDirective.factory); |
| 153 | directiveModule.directive('propertyRow', PropertyRowDirective.factory); |
| 154 | // |
| 155 | // |
| 156 | // // ------------------------------------------- Composition & Deployment Graphs------------------------------------------// |
| 157 | // |
| 158 | // //Util service for Graph |
| 159 | directiveModule.service('NodesFactory', NodesFactory); |
| 160 | directiveModule.service('LinksFactory', LinksFactory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 161 | |
| 162 | |
| 163 | //Compoisiton right tab directives |
| 164 | directiveModule.directive('capabilitiesList', CapabilitiesListDirective.factory); |
| 165 | directiveModule.directive('requirementsList', RequirementsListDirective.factory); |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 166 | |
| 167 | |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 168 | directiveModule.directive('menuListNg2', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 169 | component: MenuListNg2Component, |
| 170 | inputs: ['props'] |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 171 | }) as angular.IDirectiveFactory); |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 172 | |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 173 | directiveModule.directive('topNav', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 174 | component: TopNavComponent, |
| 175 | inputs: ['version', 'menuModel', 'topLvlSelectedIndex', 'hideSearch', 'searchTerm', 'notificationIconCallback', 'unsavedChanges', 'unsavedChangesCallback'], |
| 176 | outputs: ['searchTermChange'] |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 177 | }) as ng.IDirectiveFactory); |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 178 | |
| 179 | directiveModule.directive('ng2ZoneContainer', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 180 | component: ZoneContainerComponent, |
| 181 | inputs: ['title', 'count', 'type', 'visible', 'minimized'], |
| 182 | outputs: ['minimize', 'backgroundClick'] |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 183 | }) as angular.IDirectiveFactory); |
| 184 | |
| 185 | directiveModule.directive('ng2ZoneInstance', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 186 | component: ZoneInstanceComponent, |
| 187 | inputs: ['zoneInstance', 'isActive', 'activeInstanceMode', 'defaultIconText', 'isViewOnly', 'hidden', 'forceSave'], |
| 188 | outputs: ['modeChange', 'tagHandleClick', 'assignmentSaveStart', 'assignmentSaveComplete'] |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 189 | }) as angular.IDirectiveFactory); |
| 190 | |
| 191 | directiveModule.directive('ng2CompositionPanel', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 192 | component: CompositionPanelComponent, |
| 193 | inputs: ['isViewOnly', 'isLoading', 'isCertified', 'selectedZoneInstanceId', 'selectedZoneInstanceType', 'selectedZoneInstanceName', 'topologyTemplate'], |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 194 | }) as angular.IDirectiveFactory); |
| 195 | |
| 196 | directiveModule.directive('propertiesAssignment', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 197 | component: PropertiesAssignmentComponent |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 198 | }) as angular.IDirectiveFactory); |
| 199 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 200 | directiveModule.directive('compositionPage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 201 | component: CompositionPageComponent |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 202 | }) as angular.IDirectiveFactory); |
| 203 | |
| 204 | directiveModule.directive('activityLog', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 205 | component: ActivityLogComponent |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 206 | }) as angular.IDirectiveFactory); |
| 207 | |
| 208 | directiveModule.directive('distribution', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 209 | component: DistributionComponent |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 210 | }) as angular.IDirectiveFactory); |
| 211 | |
| 212 | directiveModule.directive('attributes', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 213 | component: AttributesComponent |
| 214 | }) as angular.IDirectiveFactory); |
| 215 | |
| 216 | directiveModule.directive('attributesOutputs', downgradeComponent({ |
| 217 | component: AttributesOutputsComponent |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 218 | }) as angular.IDirectiveFactory); |
| 219 | |
| 220 | directiveModule.directive('reqAndCapabilities', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 221 | component: ReqAndCapabilitiesComponent |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 222 | }) as angular.IDirectiveFactory); |
| 223 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 224 | directiveModule.directive('ng2SearchWithAutocomplete', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 225 | component: SearchWithAutoCompleteComponent, |
| 226 | inputs: ['searchPlaceholder', 'searchBarClass', 'autoCompleteValues'], |
| 227 | outputs: ['searchChanged', 'searchButtonClicked'] |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 228 | }) as angular.IDirectiveFactory); |
| 229 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 230 | directiveModule.directive('ng2PalettePopupPanel', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 231 | component: PalettePopupPanelComponent, |
| 232 | inputs: [], |
| 233 | outputs: [] |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 234 | }) as angular.IDirectiveFactory); |
| 235 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 236 | directiveModule.directive('ng2ServicePathSelector', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 237 | component: ServicePathSelectorComponent, |
| 238 | inputs: ['drawPath', 'deletePaths', 'service', 'selectedPathId'], |
| 239 | outputs: [] |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 240 | }) as angular.IDirectiveFactory); |
Idan Amit | 7363f3d | 2018-03-21 12:04:57 +0200 | [diff] [blame] | 241 | |
Ofir Sonsino | 2c579cb | 2020-03-22 10:46:13 +0200 | [diff] [blame] | 242 | directiveModule.directive('interfaceOperation', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 243 | component: InterfaceOperationComponent, |
| 244 | inputs: ['component', 'readonly'], |
| 245 | outputs: [] |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 246 | }) as angular.IDirectiveFactory); |
| 247 | |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 248 | directiveModule.directive('ng2MultilineEllipsis', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 249 | component: MultilineEllipsisComponent, |
| 250 | inputs: ['lines', 'lineHeight', 'className'], |
| 251 | outputs: ['hasEllipsisChanged'] |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 252 | }) as angular.IDirectiveFactory); |
| 253 | |
| 254 | directiveModule.directive('ng2UiTile', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 255 | component: TileComponent, |
| 256 | inputs: ['component'], |
| 257 | outputs: ['onTileClick'] |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 258 | }) as angular.IDirectiveFactory); |
| 259 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 260 | directiveModule.directive('pluginFrame', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 261 | component: PluginFrameComponent, |
| 262 | inputs: ['plugin', 'queryParams'], |
| 263 | outputs: ['onLoadingDone'] |
Idan Amit | 7363f3d | 2018-03-21 12:04:57 +0200 | [diff] [blame] | 264 | }) as angular.IDirectiveFactory); |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 265 | |
| 266 | directiveModule.directive('catalogPage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 267 | component: CatalogComponent, |
| 268 | inputs: [], |
| 269 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 270 | }) as angular.IDirectiveFactory); |
| 271 | |
| 272 | directiveModule.directive('homePage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 273 | component: HomeComponent, |
| 274 | inputs: [], |
| 275 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 276 | }) as angular.IDirectiveFactory); |
| 277 | |
| 278 | directiveModule.directive('pluginContextView', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 279 | component: PluginContextViewPageComponent, |
| 280 | inputs: [], |
| 281 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 282 | }) as angular.IDirectiveFactory); |
| 283 | |
| 284 | directiveModule.directive('pluginTabView', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 285 | component: PluginTabViewPageComponent, |
| 286 | inputs: [], |
| 287 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 288 | }) as angular.IDirectiveFactory); |
| 289 | |
| 290 | directiveModule.directive('compositionGraph', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 291 | component: CompositionGraphComponent, |
| 292 | inputs: ['topologyTemplate', 'isViewOnly'], |
| 293 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 294 | }) as angular.IDirectiveFactory); |
| 295 | directiveModule.directive('toscaArtifactPage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 296 | component: ToscaArtifactPageComponent, |
| 297 | inputs: [], |
| 298 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 299 | }) as angular.IDirectiveFactory); |
| 300 | |
| 301 | directiveModule.directive('deploymentPage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 302 | component: DeploymentPageComponent, |
| 303 | inputs: [], |
| 304 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 305 | }) as angular.IDirectiveFactory); |
| 306 | |
| 307 | directiveModule.directive('informationArtifactPage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 308 | component: InformationArtifactPageComponent, |
| 309 | inputs: [], |
| 310 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 311 | }) as angular.IDirectiveFactory); |
| 312 | directiveModule.directive('deploymentArtifactPage', downgradeComponent({ |
vasraz | 26e5029 | 2021-02-16 17:37:57 +0000 | [diff] [blame] | 313 | component: DeploymentArtifactsPageComponent, |
| 314 | inputs: [], |
| 315 | outputs: [] |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 316 | }) as angular.IDirectiveFactory); |