diff options
author | Michael Lando <ml636r@att.com> | 2017-06-09 03:19:04 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2017-06-09 03:19:04 +0300 |
commit | ed64b5edff15e702493df21aa3230b81593e6133 (patch) | |
tree | a4cb01fdaccc34930a8db403a3097c0d1e40914b /catalog-ui/src/app/modules/view-model-module.ts | |
parent | 280f8015d06af1f41a3ef12e8300801c7a5e0d54 (diff) |
[SDC-29] catalog 1707 rebase commit.
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/src/app/modules/view-model-module.ts')
-rw-r--r-- | catalog-ui/src/app/modules/view-model-module.ts | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/catalog-ui/src/app/modules/view-model-module.ts b/catalog-ui/src/app/modules/view-model-module.ts new file mode 100644 index 0000000000..4060fe794e --- /dev/null +++ b/catalog-ui/src/app/modules/view-model-module.ts @@ -0,0 +1,125 @@ +import {AddCategoryModalViewModel} from "../view-models/admin-dashboard/add-category-modal/add-category-modal-view-model"; +import {DashboardViewModel} from "../view-models/dashboard/dashboard-view-model"; +import {WorkspaceViewModel} from "../view-models/workspace/workspace-view-model"; +import {CompositionViewModel} from "../view-models/workspace/tabs/composition/composition-view-model"; +import {DetailsViewModel} from "../view-models/workspace/tabs/composition/tabs/details/details-view-model"; +import {ResourceArtifactsViewModel} from "../view-models/workspace/tabs/composition/tabs/artifacts/artifacts-view-model"; +import {PropertyFormBaseView} from "../view-models/forms/property-forms/base-property-form/property-form-base-model"; +import {PropertyFormViewModel} from "../view-models/forms/property-forms/component-property-form/property-form-view-model"; +import {ModulePropertyView} from "../view-models/forms/property-forms/module-property-modal/module-property-model"; +import {ArtifactResourceFormViewModel} from "../view-models/forms/artifact-form/artifact-form-view-model"; +import {SelectDataTypeViewModel} from "../view-models/forms/property-forms/select-datatype-modal/select-datatype-modal-view-model"; +import {AttributeFormViewModel} from "../view-models/forms/attribute-form/attribute-from-view-model"; +import {ResourcePropertiesViewModel} from "../view-models/workspace/tabs/composition/tabs/properties-and-attributes/properties-view-model"; +import {CatalogViewModel} from "../view-models/catalog/catalog-view-model"; +import {OnboardVendorViewModel} from "../view-models/onboard-vendor/onboard-vendor-view-model"; +import {DistributionViewModel} from "../view-models/workspace/tabs/distribution/distribution-view-model"; +import {SupportViewModel} from "../view-models/support/support-view-model"; +import {ConfirmationModalViewModel} from "../view-models/modals/confirmation-modal/confirmation-modal-view-model"; +import {EmailModalViewModel} from "../view-models/modals/email-modal/email-modal-view-model"; +import {MessageModalViewModel} from "../view-models/modals/message-modal/message-base-modal-model"; +import {ServerMessageModalViewModel} from "../view-models/modals/message-modal/message-server-modal/server-message-modal-view-model"; +import {ClientMessageModalViewModel} from "../view-models/modals/message-modal/message-client-modal/client-message-modal-view-model"; +import {ErrorViewModel} from "../view-models/modals/error-modal/error-view-model"; +import {RelationsViewModel} from "../view-models/workspace/tabs/composition/tabs/relations/relations-view-model"; +import {ResourceInstanceNameViewModel} from "../view-models/forms/resource-instance-name-form/resource-instance-name-model"; +import {WelcomeViewModel} from "../view-models/welcome/welcome-view"; +import {PreLoadingViewModel} from "../view-models/preloading/preloading-view"; +import {TutorialEndViewModel} from "../view-models/tutorial-end/tutorial-end"; +import {AdminDashboardViewModel} from "../view-models/admin-dashboard/admin-dashboard-view-model"; +import {EnvParametersFormViewModel} from "../view-models/forms/env-parameters-form/env-parameters-form"; +import {StructureViewModel} from "../view-models/workspace/tabs/composition/tabs/structure/structure-view"; +import {UserManagementViewModel} from "../view-models/admin-dashboard/user-management/user-management-view-model"; +import {CategoryManagementViewModel} from "../view-models/admin-dashboard/category-management/category-management-view-model"; + +import {OnboardingModalViewModel} from "../view-models/modals/onboarding-modal/onboarding-modal-view-model"; +import {DistributionStatusModalViewModel} from "../view-models/workspace/tabs/distribution/disribution-status-modal/disribution-status-modal-view-model"; +import {DcaeAppViewModel} from "../view-models/dcae-app/dcae-app-view-model"; +import {GeneralViewModel} from "../view-models/workspace/tabs/general/general-view-model"; +import {IconsViewModel} from "../view-models/workspace/tabs/icons/icons-view-model"; +import {DeploymentArtifactsViewModel} from "../view-models/workspace/tabs/deployment-artifacts/deployment-artifacts-view-model"; +import {InformationArtifactsViewModel} from "../view-models/workspace/tabs/information-artifacts/information-artifacts-view-model"; +import {ToscaArtifactsViewModel} from "../view-models/workspace/tabs/tosca-artifacts/tosca-artifacts-view-model"; +import {PropertiesViewModel} from "../view-models/workspace/tabs/properties/properties-view-model"; +import {AttributesViewModel} from "../view-models/workspace/tabs/attributes/attributes-view-model"; +import {ProductHierarchyViewModel} from "../view-models/workspace/tabs/product-hierarchy/product-hierarchy-view-model"; +import {ActivityLogViewModel} from "../view-models/workspace/tabs/activity-log/activity-log"; +import {ManagementWorkflowViewModel} from "../view-models/workspace/tabs/management-workflow/management-workflow-view-model"; +import {NetworkCallFlowViewModel} from "../view-models/workspace/tabs/network-call-flow/network-call-flow-view-model"; +import {DeploymentViewModel} from "../view-models/workspace/tabs/deployment/deployment-view-model"; +import {ResourceInputsViewModel} from "../view-models/workspace/tabs/inputs/resource-input/resource-inputs-view-model"; +import {ServiceInputsViewModel} from "../view-models/workspace/tabs/inputs/service-input/service-inputs-view-model"; +import {ReqAndCapabilitiesViewModel} from "../view-models/workspace/tabs/req-and-capabilities/req-and-capabilities-view-model"; +import {InputFormViewModel} from "../view-models/forms/input-form/input-form-view-modal"; +import {HierarchyViewModel} from "../view-models/tabs/hierarchy/hierarchy-view-model"; +import {downgradeComponent} from "@angular/upgrade/static"; +import {ConformanceLevelModalViewModel} from "../view-models/workspace/conformance-level-modal/conformance-level-modal-view-model"; +// import {NG2ExampleComponent} from "../ng2/view-ng2/ng2.example.component/ng2.example.component"; +// import {upgradeAdapter} from "../ng2/app.module"; +// import { UpgradeAdapter } from '@angular/upgrade'; +let moduleName:string = 'Sdc.ViewModels'; +let viewModelModule:ng.IModule = angular.module(moduleName, []); + +viewModelModule + .controller(moduleName + '.DashboardViewModel', DashboardViewModel) + + .controller(moduleName + '.DetailsViewModel', DetailsViewModel) + .controller(moduleName + '.ResourceArtifactsViewModel', ResourceArtifactsViewModel) + .controller(moduleName + '.PropertyFormBaseView', PropertyFormBaseView) + .controller(moduleName + '.PropertyFormViewModel', PropertyFormViewModel) + .controller(moduleName + '.ModulePropertyView', ModulePropertyView) + .controller(moduleName + '.SelectDataTypeViewModel', SelectDataTypeViewModel) + .controller(moduleName + '.ArtifactResourceFormViewModel', ArtifactResourceFormViewModel) + .controller(moduleName + '.AttributeFormViewModel', AttributeFormViewModel) + .controller(moduleName + '.ResourcePropertiesViewModel', ResourcePropertiesViewModel) + .controller(moduleName + '.CatalogViewModel', CatalogViewModel) + .controller(moduleName + '.OnboardVendorViewModel', OnboardVendorViewModel) + .controller(moduleName + '.DistributionViewModel', DistributionViewModel) + .controller(moduleName + '.SupportViewModel', SupportViewModel) + .controller(moduleName + '.ConfirmationModalViewModel', ConfirmationModalViewModel) + .controller(moduleName + '.EmailModalViewModel', EmailModalViewModel) + .controller(moduleName + '.MessageModalViewModel', MessageModalViewModel) + .controller(moduleName + '.ServerMessageModalViewModel', ServerMessageModalViewModel) + .controller(moduleName + '.ClientMessageModalViewModel', ClientMessageModalViewModel) + .controller(moduleName + '.ErrorViewModel', ErrorViewModel) + .controller(moduleName + '.RelationsViewModel', RelationsViewModel) + .controller(moduleName + '.ResourceInstanceNameViewModel', ResourceInstanceNameViewModel) + .controller(moduleName + '.WelcomeViewModel', WelcomeViewModel) + .controller(moduleName + '.PreLoadingViewModel', PreLoadingViewModel) + .controller(moduleName + '.TutorialEndViewModel', TutorialEndViewModel) + .controller(moduleName + '.AdminDashboardViewModel', AdminDashboardViewModel) + .controller(moduleName + '.EnvParametersFormViewModel', EnvParametersFormViewModel) + .controller(moduleName + '.StructureViewModel', StructureViewModel) + .controller(moduleName + '.AddCategoryModalViewModel', AddCategoryModalViewModel) + .controller(moduleName + '.UserManagementViewModel', UserManagementViewModel) + .controller(moduleName + '.CategoryManagementViewModel', CategoryManagementViewModel) + .controller(moduleName + '.OnboardingModalViewModel', OnboardingModalViewModel) + .controller(moduleName + '.DistributionStatusModalViewModel', DistributionStatusModalViewModel) + .controller(moduleName + '.DcaeAppViewModel', DcaeAppViewModel) + // + // //NEW + .controller(moduleName + '.WorkspaceViewModel', WorkspaceViewModel) + .controller(moduleName + '.ConformanceLevelModalViewModel', ConformanceLevelModalViewModel) + .controller(moduleName + '.CompositionViewModel', CompositionViewModel) + .controller(moduleName + '.GeneralViewModel', GeneralViewModel) + .controller(moduleName + '.IconsViewModel', IconsViewModel) + .controller(moduleName + '.DeploymentArtifactsViewModel', DeploymentArtifactsViewModel) + .controller(moduleName + '.InformationArtifactsViewModel', InformationArtifactsViewModel) + .controller(moduleName + '.ToscaArtifactsViewModel', ToscaArtifactsViewModel) + .controller(moduleName + '.PropertiesViewModel', PropertiesViewModel) + .controller(moduleName + '.AttributesViewModel', AttributesViewModel) + .controller(moduleName + '.ProductHierarchyViewModel', ProductHierarchyViewModel) + .controller(moduleName + '.ActivityLogViewModel', ActivityLogViewModel) + .controller(moduleName + '.ManagementWorkflowViewModel', ManagementWorkflowViewModel) + .controller(moduleName + '.NetworkCallFlowViewModel', NetworkCallFlowViewModel) + .controller(moduleName + '.DeploymentViewModel', DeploymentViewModel) + .controller(moduleName + '.ResourceInputsViewModel', ResourceInputsViewModel) + .controller(moduleName + '.ServiceInputsViewModel', ServiceInputsViewModel) + .controller(moduleName + '.ReqAndCapabilitiesViewModel', ReqAndCapabilitiesViewModel) + .controller(moduleName + '.InputFormViewModel', InputFormViewModel) + // + // //TABS + .controller(moduleName + '.HierarchyViewModel', HierarchyViewModel) + + // NG2 + //.controller(moduleName + '.NG2Example', downgradeComponent({component: NG2Example2Component}) ); |