blob: dd08135f3325b8ccc5ff191928f72d49bb11931a [file] [log] [blame]
Michael Landodd603392017-07-12 00:54:52 +03001/*-
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 Amit5197c8b2018-01-15 14:31:42 +020010 *
Michael Landodd603392017-07-12 00:54:52 +030011 * http://www.apache.org/licenses/LICENSE-2.0
Idan Amit5197c8b2018-01-15 14:31:42 +020012 *
Michael Landodd603392017-07-12 00:54:52 +030013 * 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 Landoed64b5e2017-06-09 03:19:04 +030021import {AddCategoryModalViewModel} from "../view-models/admin-dashboard/add-category-modal/add-category-modal-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030022import {WorkspaceViewModel} from "../view-models/workspace/workspace-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030023import {PropertyFormBaseView} from "../view-models/forms/property-forms/base-property-form/property-form-base-model";
24import {PropertyFormViewModel} from "../view-models/forms/property-forms/component-property-form/property-form-view-model";
25import {ModulePropertyView} from "../view-models/forms/property-forms/module-property-modal/module-property-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030026import {SelectDataTypeViewModel} from "../view-models/forms/property-forms/select-datatype-modal/select-datatype-modal-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030027import {OnboardVendorViewModel} from "../view-models/onboard-vendor/onboard-vendor-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030028import {ErrorViewModel} from "../view-models/modals/error-modal/error-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030029import {AdminDashboardViewModel} from "../view-models/admin-dashboard/admin-dashboard-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030030import {UserManagementViewModel} from "../view-models/admin-dashboard/user-management/user-management-view-model";
31import {CategoryManagementViewModel} from "../view-models/admin-dashboard/category-management/category-management-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030032import {DcaeAppViewModel} from "../view-models/dcae-app/dcae-app-view-model";
33import {GeneralViewModel} from "../view-models/workspace/tabs/general/general-view-model";
Michael Lando75aacbb2017-07-17 21:12:03 +030034import {IconsModalViewModel} from "../view-models/modals/icons-modal/icons-modal-view";
Michael Landoed64b5e2017-06-09 03:19:04 +030035import {PropertiesViewModel} from "../view-models/workspace/tabs/properties/properties-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030036import {ManagementWorkflowViewModel} from "../view-models/workspace/tabs/management-workflow/management-workflow-view-model";
Arielk802bd2a2018-04-16 15:37:39 +030037import {InterfaceOperationViewModel} from "../view-models/workspace/tabs/interface-operation/interface-operation-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030038import {NetworkCallFlowViewModel} from "../view-models/workspace/tabs/network-call-flow/network-call-flow-view-model";
aribeiroc2fa1b72022-01-13 14:33:25 +000039import {InterfaceDefinitionViewModel} from "../view-models/workspace/tabs/interface-definition/interface-definition-view-model";
Michael Landoed64b5e2017-06-09 03:19:04 +030040let moduleName:string = 'Sdc.ViewModels';
41let viewModelModule:ng.IModule = angular.module(moduleName, []);
42
43viewModelModule
Michael Landoed64b5e2017-06-09 03:19:04 +030044 .controller(moduleName + '.PropertyFormBaseView', PropertyFormBaseView)
45 .controller(moduleName + '.PropertyFormViewModel', PropertyFormViewModel)
46 .controller(moduleName + '.ModulePropertyView', ModulePropertyView)
47 .controller(moduleName + '.SelectDataTypeViewModel', SelectDataTypeViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030048 .controller(moduleName + '.OnboardVendorViewModel', OnboardVendorViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030049 .controller(moduleName + '.ErrorViewModel', ErrorViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030050 .controller(moduleName + '.AdminDashboardViewModel', AdminDashboardViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030051 .controller(moduleName + '.AddCategoryModalViewModel', AddCategoryModalViewModel)
52 .controller(moduleName + '.UserManagementViewModel', UserManagementViewModel)
53 .controller(moduleName + '.CategoryManagementViewModel', CategoryManagementViewModel)
Michael Lando75aacbb2017-07-17 21:12:03 +030054 .controller(moduleName + '.IconsModalViewModel', IconsModalViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030055 .controller(moduleName + '.DcaeAppViewModel', DcaeAppViewModel)
56 //
57 // //NEW
58 .controller(moduleName + '.WorkspaceViewModel', WorkspaceViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030059 .controller(moduleName + '.GeneralViewModel', GeneralViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030060 .controller(moduleName + '.PropertiesViewModel', PropertiesViewModel)
Michael Landoed64b5e2017-06-09 03:19:04 +030061 .controller(moduleName + '.ManagementWorkflowViewModel', ManagementWorkflowViewModel)
Arielk802bd2a2018-04-16 15:37:39 +030062 .controller(moduleName + '.InterfaceOperationViewModel', InterfaceOperationViewModel)
aribeiroc2fa1b72022-01-13 14:33:25 +000063 .controller(moduleName + '.InterfaceDefinitionViewModel', InterfaceDefinitionViewModel)
ys969316a9fce2020-01-19 13:50:02 +020064 .controller(moduleName + '.NetworkCallFlowViewModel', NetworkCallFlowViewModel);