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 { |
| 53 | SdcSingleTabDirective, |
| 54 | InnerSdcSingleTabDirective |
| 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"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 69 | |
| 70 | let moduleName:string = 'Sdc.Directives'; |
| 71 | let directiveModule:ng.IModule = angular.module(moduleName, []); |
| 72 | |
| 73 | directiveModule.directive('clickedOutside', ClickedOutsideDirective.factory); |
| 74 | directiveModule.directive('loader', LoaderDirective.factory); |
| 75 | directiveModule.directive('userHeaderDetails', UserHeaderDetailsDirective.factory); |
| 76 | directiveModule.directive('ellipsis', EllipsisDirective.factory); |
| 77 | directiveModule.directive('downloadArtifact', DownloadArtifactDirective.factory); |
| 78 | directiveModule.directive('fileType', FileTypeDirective.factory); |
| 79 | directiveModule.directive('invalidCharacters', InvalidCharactersDirective.factory); |
| 80 | directiveModule.directive('perfectScrollbar', PerfectScrollerDirective.factory); |
| 81 | directiveModule.directive('expandCollapse', ExpandCollapseDirective.factory); |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 82 | directiveModule.directive('ng1Modal', SdcModalDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 83 | directiveModule.directive('fileOpener', FileOpenerDirective.factory); |
| 84 | directiveModule.directive('fileUpload', FileUploadDirective.factory); |
| 85 | directiveModule.directive('structureTree', StructureTreeDirective.factory); |
| 86 | directiveModule.directive('sdcSmartTooltip', SmartTooltipDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 87 | directiveModule.directive('sdcTag', TagDirective.factory); |
| 88 | directiveModule.directive('sdcTags', SdcTagsDirective.factory); |
| 89 | directiveModule.directive('sdcKeyboardEvents', SdcKeyboardEventsDirective.factory); |
| 90 | directiveModule.directive('expandCollapseMenuBox', ExpandCollapseMenuBoxDirective.factory); |
| 91 | directiveModule.directive('punchOut', PunchOutDirective.factory); |
| 92 | directiveModule.directive('customValidation', CustomValidationDirective.factory); |
| 93 | directiveModule.directive('ecompHeader', EcompHeaderDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 94 | directiveModule.directive('editNamePopover', EditNamePopoverDirective.factory); |
| 95 | directiveModule.directive('fieldsStructure', DataTypeFieldsStructureDirective.factory); |
| 96 | directiveModule.directive('typeMap', TypeMapDirective.factory); |
| 97 | directiveModule.directive('typeList', TypeListDirective.factory); |
| 98 | directiveModule.directive('selectFieldsStructure', SelectDataTypeFieldsStructureDirective.factory); |
| 99 | directiveModule.directive('selectTypeMap', SelectTypeMapDirective.factory); |
| 100 | directiveModule.directive('selectTypeList', SelectTypeListDirective.factory); |
| 101 | directiveModule.directive('infoTooltip', InfoTooltipDirective.factory); |
| 102 | directiveModule.directive('validationOnLoad', ValidationOnLoadDirective.factory); |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 103 | directiveModule.directive('ng1Tabs', SdcTabsDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 104 | directiveModule.directive('sdcSingleTab', SdcSingleTabDirective.factory); |
| 105 | directiveModule.directive('innerSdcSingleTab', InnerSdcSingleTabDirective.factory); |
| 106 | directiveModule.directive('jsonExportExcel', JsonExportExcelDirective.factory); |
| 107 | directiveModule.directive('expandCollapseListHeader', ExpandCollapseListHeaderDirective.factory); |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 108 | directiveModule.directive('preventDoubleClick', PreventDoubleClickDirective.factory); |
| 109 | // |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 110 | // |
| 111 | // // Layouts |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 112 | directiveModule.directive('topProgress', TopProgressDirective.factory); |
| 113 | // |
| 114 | // // Elements |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 115 | directiveModule.directive('ng1Checkbox', CheckboxElementDirective.factory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 116 | directiveModule.directive('sdcRadioButton', RadiobuttonElementDirective.factory); |
| 117 | // |
| 118 | // // Events |
| 119 | directiveModule.directive('onLastRepeat', OnLastRepeatDirective.factory); |
| 120 | // |
| 121 | // //Inputs & Properties |
| 122 | directiveModule.directive('inputRow', InputRowDirective.factory); |
| 123 | directiveModule.directive('propertyRow', PropertyRowDirective.factory); |
| 124 | // |
| 125 | // |
| 126 | // // ------------------------------------------- Composition & Deployment Graphs------------------------------------------// |
| 127 | // |
| 128 | // //Util service for Graph |
| 129 | directiveModule.service('NodesFactory', NodesFactory); |
| 130 | directiveModule.service('LinksFactory', LinksFactory); |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 131 | |
| 132 | |
| 133 | //Compoisiton right tab directives |
| 134 | directiveModule.directive('capabilitiesList', CapabilitiesListDirective.factory); |
| 135 | directiveModule.directive('requirementsList', RequirementsListDirective.factory); |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 136 | |
| 137 | |
| 138 | // *** NG2 Components (downgraded) *** // |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 139 | import {downgradeComponent} from "@angular/upgrade/static"; |
| 140 | import {MenuListNg2Component} from "../ng2/components/downgrade-wrappers/menu-list-ng2/menu-list-ng2.component"; |
| 141 | import {TopNavComponent} from "../ng2/components/layout/top-nav/top-nav.component"; |
| 142 | import {ZoneContainerComponent} from "../ng2/pages/composition/graph/canvas-zone/zone-container.component"; |
| 143 | import {ZoneInstanceComponent} from "../ng2/pages/composition/graph/canvas-zone/zone-instance/zone-instance.component"; |
| 144 | import {CompositionPanelComponent} from 'app/ng2/pages/composition/panel/composition-panel.component'; |
| 145 | import {PropertiesAssignmentComponent} from "../ng2/pages/properties-assignment/properties-assignment.page.component"; |
| 146 | import {SearchWithAutoCompleteComponent} from "../ng2/components/ui/search-with-autocomplete/search-with-autocomplete.component"; |
| 147 | import {PalettePopupPanelComponent} from "../ng2/pages/composition/palette/palette-popup-panel/palette-popup-panel.component"; |
| 148 | import {ServicePathSelectorComponent} from '../ng2/pages/composition/graph/service-path-selector/service-path-selector.component'; |
| 149 | import {MultilineEllipsisComponent} from "../ng2/shared/multiline-ellipsis/multiline-ellipsis.component"; |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 150 | import { InterfaceOperationComponent } from '../ng2/pages/interface-operation/interface-operation.page.component'; |
| 151 | import { PluginFrameComponent } from "../ng2/components/ui/plugin/plugin-frame.component"; |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 152 | import {TileComponent} from "../ng2/components/ui/tile/tile.component"; |
| 153 | import {CompositionPageComponent} from "../ng2/pages/composition/composition-page.component"; |
| 154 | import {CatalogComponent} from "../ng2/pages/catalog/catalog.component"; |
| 155 | import {HomeComponent} from "../ng2/pages/home/home.component"; |
| 156 | import {PluginContextViewPageComponent} from "../ng2/pages/plugins/plugin-context-view/plugin-context-view.page.component"; |
| 157 | import {PluginTabViewPageComponent} from "../ng2/pages/plugins/plugin-tab-view/plugin-tab-view.page.component"; |
| 158 | import {CompositionGraphComponent} from "../ng2/pages/composition/graph/composition-graph.component"; |
| 159 | import {DeploymentPageComponent} from "../ng2/pages/workspace/deployment/deployment-page.component"; |
| 160 | import {ActivityLogComponent} from "../ng2/pages/workspace/activity-log/activity-log.component"; |
| 161 | import {ToscaArtifactPageComponent} from "../ng2/pages/workspace/tosca-artifacts/tosca-artifact-page.component"; |
| 162 | import {InformationArtifactPageComponent} from "../ng2/pages/workspace/information-artifact/information-artifact-page.component"; |
| 163 | import {AttributesComponent} from "../ng2/pages/workspace/attributes/attributes.component"; |
| 164 | import {DeploymentArtifactsPageComponent} from "../ng2/pages/workspace/deployment-artifacts/deployment-artifacts-page.component"; |
| 165 | import { ReqAndCapabilitiesComponent } from "../ng2/pages/workspace/req-and-capabilities/req-and-capabilities.component"; |
| 166 | import { DistributionComponent } from '../ng2/pages/workspace/disribution/distribution.component'; |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 167 | |
| 168 | directiveModule.directive('menuListNg2', downgradeComponent({ |
| 169 | component: MenuListNg2Component, |
| 170 | inputs: ['props'] |
| 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({ |
| 174 | component: TopNavComponent, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 175 | inputs: ['version', 'menuModel', 'topLvlSelectedIndex', 'hideSearch', 'searchTerm', 'notificationIconCallback', 'unsavedChanges', 'unsavedChangesCallback'], |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 176 | outputs: ['searchTermChange'] |
| 177 | }) as ng.IDirectiveFactory); |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 178 | |
| 179 | directiveModule.directive('ng2ZoneContainer', downgradeComponent({ |
| 180 | component: ZoneContainerComponent, |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 181 | inputs: ['title', 'count', 'type', 'visible', 'minimized'], |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 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({ |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [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({ |
| 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({ |
| 197 | component: PropertiesAssignmentComponent |
| 198 | }) as angular.IDirectiveFactory); |
| 199 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 200 | directiveModule.directive('compositionPage', downgradeComponent({ |
| 201 | component: CompositionPageComponent |
| 202 | }) as angular.IDirectiveFactory); |
| 203 | |
| 204 | directiveModule.directive('activityLog', downgradeComponent({ |
| 205 | component: ActivityLogComponent |
| 206 | }) as angular.IDirectiveFactory); |
| 207 | |
| 208 | directiveModule.directive('distribution', downgradeComponent({ |
| 209 | component: DistributionComponent |
| 210 | }) as angular.IDirectiveFactory); |
| 211 | |
| 212 | directiveModule.directive('attributes', downgradeComponent({ |
| 213 | component: AttributesComponent |
| 214 | }) as angular.IDirectiveFactory); |
| 215 | |
| 216 | directiveModule.directive('reqAndCapabilities', downgradeComponent({ |
| 217 | component: ReqAndCapabilitiesComponent |
| 218 | }) as angular.IDirectiveFactory); |
| 219 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 220 | directiveModule.directive('ng2SearchWithAutocomplete', downgradeComponent({ |
| 221 | component: SearchWithAutoCompleteComponent, |
| 222 | inputs: ['searchPlaceholder', 'searchBarClass', 'autoCompleteValues'], |
| 223 | outputs: ['searchChanged', 'searchButtonClicked'] |
| 224 | }) as angular.IDirectiveFactory); |
| 225 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 226 | directiveModule.directive('ng2PalettePopupPanel', downgradeComponent({ |
| 227 | component: PalettePopupPanelComponent, |
| 228 | inputs: [], |
| 229 | outputs: [] |
| 230 | }) as angular.IDirectiveFactory); |
| 231 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 232 | directiveModule.directive('ng2ServicePathSelector', downgradeComponent({ |
| 233 | component: ServicePathSelectorComponent, |
| 234 | inputs: ['drawPath', 'deletePaths', 'service', 'selectedPathId'], |
| 235 | outputs: [] |
| 236 | }) as angular.IDirectiveFactory); |
Idan Amit | 7363f3d | 2018-03-21 12:04:57 +0200 | [diff] [blame] | 237 | |
Ofir Sonsino | 2c579cb | 2020-03-22 10:46:13 +0200 | [diff] [blame^] | 238 | directiveModule.directive('interfaceOperation', downgradeComponent({ |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 239 | component: InterfaceOperationComponent, |
Arielk | bce8986 | 2018-05-30 14:52:00 +0300 | [diff] [blame] | 240 | inputs: ['component', 'readonly'], |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 241 | outputs: [] |
| 242 | }) as angular.IDirectiveFactory); |
| 243 | |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 244 | directiveModule.directive('ng2MultilineEllipsis', downgradeComponent({ |
| 245 | component: MultilineEllipsisComponent, |
| 246 | inputs: ['lines', 'lineHeight', 'className'], |
| 247 | outputs: ['hasEllipsisChanged'] |
| 248 | }) as angular.IDirectiveFactory); |
| 249 | |
| 250 | directiveModule.directive('ng2UiTile', downgradeComponent({ |
| 251 | component: TileComponent, |
| 252 | inputs: ['component'], |
| 253 | outputs: ['onTileClick'] |
| 254 | }) as angular.IDirectiveFactory); |
| 255 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 256 | directiveModule.directive('pluginFrame', downgradeComponent({ |
Idan Amit | 7363f3d | 2018-03-21 12:04:57 +0200 | [diff] [blame] | 257 | component: PluginFrameComponent, |
| 258 | inputs: ['plugin', 'queryParams'], |
| 259 | outputs: ['onLoadingDone'] |
| 260 | }) as angular.IDirectiveFactory); |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 261 | |
| 262 | directiveModule.directive('catalogPage', downgradeComponent({ |
| 263 | component: CatalogComponent, |
| 264 | inputs: [], |
| 265 | outputs: [] |
| 266 | }) as angular.IDirectiveFactory); |
| 267 | |
| 268 | directiveModule.directive('homePage', downgradeComponent({ |
| 269 | component: HomeComponent, |
| 270 | inputs: [], |
| 271 | outputs: [] |
| 272 | }) as angular.IDirectiveFactory); |
| 273 | |
| 274 | directiveModule.directive('pluginContextView', downgradeComponent({ |
| 275 | component: PluginContextViewPageComponent, |
| 276 | inputs: [], |
| 277 | outputs: [] |
| 278 | }) as angular.IDirectiveFactory); |
| 279 | |
| 280 | directiveModule.directive('pluginTabView', downgradeComponent({ |
| 281 | component: PluginTabViewPageComponent, |
| 282 | inputs: [], |
| 283 | outputs: [] |
| 284 | }) as angular.IDirectiveFactory); |
| 285 | |
| 286 | directiveModule.directive('compositionGraph', downgradeComponent({ |
| 287 | component: CompositionGraphComponent, |
| 288 | inputs: ['topologyTemplate', 'isViewOnly'], |
| 289 | outputs: [] |
| 290 | }) as angular.IDirectiveFactory); |
| 291 | directiveModule.directive('toscaArtifactPage', downgradeComponent({ |
| 292 | component: ToscaArtifactPageComponent, |
| 293 | inputs: [], |
| 294 | outputs: [] |
| 295 | }) as angular.IDirectiveFactory); |
| 296 | |
| 297 | directiveModule.directive('deploymentPage', downgradeComponent({ |
| 298 | component: DeploymentPageComponent, |
| 299 | inputs: [], |
| 300 | outputs: [] |
| 301 | }) as angular.IDirectiveFactory); |
| 302 | |
| 303 | directiveModule.directive('informationArtifactPage', downgradeComponent({ |
| 304 | component: InformationArtifactPageComponent, |
| 305 | inputs: [], |
| 306 | outputs: [] |
| 307 | }) as angular.IDirectiveFactory); |
| 308 | directiveModule.directive('deploymentArtifactPage', downgradeComponent({ |
| 309 | component: DeploymentArtifactsPageComponent, |
| 310 | inputs: [], |
| 311 | outputs: [] |
| 312 | }) as angular.IDirectiveFactory); |