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 | 5197c8b | 2018-01-15 14:31:42 +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 | 5197c8b | 2018-01-15 14:31:42 +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 {AddCategoryModalViewModel} from "../view-models/admin-dashboard/add-category-modal/add-category-modal-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 22 | import {WorkspaceViewModel} from "../view-models/workspace/workspace-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 23 | import {PropertyFormBaseView} from "../view-models/forms/property-forms/base-property-form/property-form-base-model"; |
| 24 | import {PropertyFormViewModel} from "../view-models/forms/property-forms/component-property-form/property-form-view-model"; |
| 25 | import {ModulePropertyView} from "../view-models/forms/property-forms/module-property-modal/module-property-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 26 | import {SelectDataTypeViewModel} from "../view-models/forms/property-forms/select-datatype-modal/select-datatype-modal-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 27 | import {OnboardVendorViewModel} from "../view-models/onboard-vendor/onboard-vendor-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 28 | import {ErrorViewModel} from "../view-models/modals/error-modal/error-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 29 | import {AdminDashboardViewModel} from "../view-models/admin-dashboard/admin-dashboard-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 30 | import {UserManagementViewModel} from "../view-models/admin-dashboard/user-management/user-management-view-model"; |
| 31 | import {CategoryManagementViewModel} from "../view-models/admin-dashboard/category-management/category-management-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 32 | import {DcaeAppViewModel} from "../view-models/dcae-app/dcae-app-view-model"; |
| 33 | import {GeneralViewModel} from "../view-models/workspace/tabs/general/general-view-model"; |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 34 | import {IconsModalViewModel} from "../view-models/modals/icons-modal/icons-modal-view"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 35 | import {PropertiesViewModel} from "../view-models/workspace/tabs/properties/properties-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 36 | import {ManagementWorkflowViewModel} from "../view-models/workspace/tabs/management-workflow/management-workflow-view-model"; |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 37 | import {InterfaceOperationViewModel} from "../view-models/workspace/tabs/interface-operation/interface-operation-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 38 | import {NetworkCallFlowViewModel} from "../view-models/workspace/tabs/network-call-flow/network-call-flow-view-model"; |
aribeiro | c2fa1b7 | 2022-01-13 14:33:25 +0000 | [diff] [blame^] | 39 | import {InterfaceDefinitionViewModel} from "../view-models/workspace/tabs/interface-definition/interface-definition-view-model"; |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 40 | let moduleName:string = 'Sdc.ViewModels'; |
| 41 | let viewModelModule:ng.IModule = angular.module(moduleName, []); |
| 42 | |
| 43 | viewModelModule |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 44 | .controller(moduleName + '.PropertyFormBaseView', PropertyFormBaseView) |
| 45 | .controller(moduleName + '.PropertyFormViewModel', PropertyFormViewModel) |
| 46 | .controller(moduleName + '.ModulePropertyView', ModulePropertyView) |
| 47 | .controller(moduleName + '.SelectDataTypeViewModel', SelectDataTypeViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 48 | .controller(moduleName + '.OnboardVendorViewModel', OnboardVendorViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 49 | .controller(moduleName + '.ErrorViewModel', ErrorViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 50 | .controller(moduleName + '.AdminDashboardViewModel', AdminDashboardViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 51 | .controller(moduleName + '.AddCategoryModalViewModel', AddCategoryModalViewModel) |
| 52 | .controller(moduleName + '.UserManagementViewModel', UserManagementViewModel) |
| 53 | .controller(moduleName + '.CategoryManagementViewModel', CategoryManagementViewModel) |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 54 | .controller(moduleName + '.IconsModalViewModel', IconsModalViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 55 | .controller(moduleName + '.DcaeAppViewModel', DcaeAppViewModel) |
| 56 | // |
| 57 | // //NEW |
| 58 | .controller(moduleName + '.WorkspaceViewModel', WorkspaceViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 59 | .controller(moduleName + '.GeneralViewModel', GeneralViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 60 | .controller(moduleName + '.PropertiesViewModel', PropertiesViewModel) |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 61 | .controller(moduleName + '.ManagementWorkflowViewModel', ManagementWorkflowViewModel) |
Arielk | 802bd2a | 2018-04-16 15:37:39 +0300 | [diff] [blame] | 62 | .controller(moduleName + '.InterfaceOperationViewModel', InterfaceOperationViewModel) |
aribeiro | c2fa1b7 | 2022-01-13 14:33:25 +0000 | [diff] [blame^] | 63 | .controller(moduleName + '.InterfaceDefinitionViewModel', InterfaceDefinitionViewModel) |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 64 | .controller(moduleName + '.NetworkCallFlowViewModel', NetworkCallFlowViewModel); |