summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/modules/view-model-module.ts
blob: 7bfc014c36c0bc406c6c151e09e76d81cfddceb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color
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/modals/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}) );