@magic-xpa/cli 4.1201.0 → 4.1201.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/index.js.map +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/collection.json +75 -75
- package/src/public_api.js.map +1 -1
- package/src/public_api.ts +5 -5
- package/src/schematics/magic-utils/config.js.map +1 -1
- package/src/schematics/magic-utils/config.ts +68 -68
- package/src/schematics/magic-utils/env.js.map +1 -1
- package/src/schematics/magic-utils/env.ts +50 -50
- package/src/schematics/magic-utils/manifest.js.map +1 -1
- package/src/schematics/magic-utils/manifest.ts +46 -46
- package/src/schematics/magic-utils/metadata.class.js.map +1 -1
- package/src/schematics/magic-utils/metadata.class.ts +159 -159
- package/src/schematics/magic-utils/rules/generate.rule.js.map +1 -1
- package/src/schematics/magic-utils/rules/generate.rule.ts +61 -61
- package/src/schematics/magic-utils/rules/init-add-modules.rule.js.map +1 -1
- package/src/schematics/magic-utils/rules/init-add-modules.rule.ts +360 -360
- package/src/schematics/magic-utils/rules/init-magic-metadata.rule.js.map +1 -1
- package/src/schematics/magic-utils/rules/init-magic-metadata.rule.ts +19 -19
- package/src/schematics/magic-utils/rules/magic-option.scheme.js.map +1 -1
- package/src/schematics/magic-utils/rules/magic-option.scheme.ts +24 -24
- package/src/schematics/magic-utils/utils.js.map +1 -1
- package/src/schematics/magic-utils/utils.ts +134 -134
- package/src/schematics/mg-Install-prerequisites/index.js.map +1 -1
- package/src/schematics/mg-Install-prerequisites/index.ts +30 -30
- package/src/schematics/mg-Install-prerequisites/schema.json +14 -14
- package/src/schematics/mg-add/files/src/app/app.component.html +17 -17
- package/src/schematics/mg-add/files/src/app/app.routes.ts +14 -14
- package/src/schematics/mg-add/files/src/app/magic/component-list.g.ts +9 -9
- package/src/schematics/mg-add/files/src/magic-styles.css +131 -131
- package/src/schematics/mg-add/schema.json +29 -29
- package/src/schematics/mg-add/utils/add-declaration-to-root-module.js.map +1 -1
- package/src/schematics/mg-add/utils/add-declaration-to-root-module.ts +12 -12
- package/src/schematics/mg-add/webModule/app.routes.ts +14 -14
- package/src/schematics/mg-add-tasks/index.js.map +1 -1
- package/src/schematics/mg-add-tasks/index.ts +53 -53
- package/src/schematics/mg-add-tasks/schema.json +41 -41
- package/src/schematics/mg-delete-files/index.js.map +1 -1
- package/src/schematics/mg-delete-files/index.ts +12 -12
- package/src/schematics/mg-delete-files/schema.json +14 -14
- package/src/schematics/mg-gen-module/index.js.map +1 -1
- package/src/schematics/mg-gen-module/index.ts +14 -14
- package/src/schematics/mg-gen-module/schema.json +24 -24
- package/src/schematics/mg-generate/index.js.map +1 -1
- package/src/schematics/mg-generate/index.ts +12 -12
- package/src/schematics/mg-generate/schema.json +34 -34
- package/src/schematics/mg-install/index.js.map +1 -1
- package/src/schematics/mg-install/index.ts +37 -37
- package/src/schematics/mg-install/schema.json +24 -24
- package/src/schematics/mg-routes/schema.json +14 -14
- package/src/schematics/mg-single-control/schema.json +24 -24
- package/src/schematics/utils/ast.js.map +1 -1
- package/src/schematics/utils/ast.ts +103 -103
- package/src/schematics/utils/devkit-utils/README.md +1 -1
- package/src/schematics/utils/devkit-utils/ast-utils.js.map +1 -1
- package/src/schematics/utils/devkit-utils/ast-utils.ts +570 -570
- package/src/schematics/utils/devkit-utils/ast-utils_old.js.map +1 -1
- package/src/schematics/utils/devkit-utils/ast-utils_old.ts +478 -478
- package/src/schematics/utils/devkit-utils/change.js.map +1 -1
- package/src/schematics/utils/devkit-utils/change.ts +127 -127
- package/src/schematics/utils/devkit-utils/component.js.map +1 -1
- package/src/schematics/utils/devkit-utils/component.ts +136 -136
- package/src/schematics/utils/devkit-utils/config.js.map +1 -1
- package/src/schematics/utils/devkit-utils/config.ts +120 -120
- package/src/schematics/utils/devkit-utils/find-module.js.map +1 -1
- package/src/schematics/utils/devkit-utils/find-module.ts +108 -108
- package/src/schematics/utils/devkit-utils/ng-ast-utils.js.map +1 -1
- package/src/schematics/utils/devkit-utils/ng-ast-utils.ts +84 -84
- package/src/schematics/utils/devkit-utils/parse-name.js.map +1 -1
- package/src/schematics/utils/devkit-utils/parse-name.ts +24 -24
- package/src/schematics/utils/devkit-utils/route-utils.js.map +1 -1
- package/src/schematics/utils/devkit-utils/route-utils.ts +180 -180
- package/src/schematics/utils/devkit-utils/validation.js +1 -1
- package/src/schematics/utils/devkit-utils/validation.js.map +1 -1
- package/src/schematics/utils/devkit-utils/validation.ts +16 -16
- package/src/schematics/utils/html.js.map +1 -1
- package/src/schematics/utils/html.ts +63 -63
- package/src/schematics/utils/lib-versions.js.map +1 -1
- package/src/schematics/utils/lib-versions.ts +3 -3
- package/src/schematics/utils/package.js.map +1 -1
- package/src/schematics/utils/package.ts +22 -22
- package/src/schematics/utils/testing.js.map +1 -1
- package/src/schematics/utils/testing.ts +25 -25
- package/src/types/enums/Enums.js.map +1 -1
- package/src/types/enums/Enums.ts +2063 -2063
- package/src/types/enums/generated-file-types.enum.js.map +1 -1
- package/src/types/enums/generated-file-types.enum.ts +6 -6
- package/src/types/enums/horizontal-alignments.enum.js.map +1 -1
- package/src/types/enums/horizontal-alignments.enum.ts +6 -6
- package/src/types/enums/themes.enum.js.map +1 -1
- package/src/types/enums/themes.enum.ts +6 -6
- package/src/types/index.js.map +1 -1
- package/src/types/index.ts +8 -8
- package/src/types/interfaces/app.js.map +1 -1
- package/src/types/interfaces/app.ts +89 -89
- package/src/types/interfaces/control.js.map +1 -1
- package/src/types/interfaces/control.ts +106 -106
- package/src/types/interfaces/template.config.js.map +1 -1
- package/src/types/interfaces/template.config.ts +11 -11
- package/templates/angular/src/app/app.component.html.ejs +17 -17
- package/templates/angular/src/app/cmp-array.ejs +3 -3
- package/templates/angular/src/app/cmp-hash.ejs +3 -3
- package/templates/angular/src/app/component-list.g.ts +21 -21
- package/templates/angular/src/app.component.ts +16 -16
- package/templates/angular/src/app.module.ts +70 -70
- package/templates/angular/src/app.routes.ts +73 -73
- package/templates/angular/src/styles/app.css +5 -5
- package/templates/attributes/button_attributes.ejs +2 -2
- package/templates/attributes/common/base/class.ejs +6 -6
- package/templates/attributes/common/base/control_type.ejs +53 -53
- package/templates/attributes/common/base/enabled.ejs +9 -9
- package/templates/attributes/common/base/imageFileName.ejs +3 -3
- package/templates/attributes/common/base/no_control_class.ejs +3 -3
- package/templates/attributes/common/base/rtol.ejs +3 -3
- package/templates/attributes/common/base/tabindex.ejs +11 -11
- package/templates/attributes/common/base/testingId.ejs +8 -8
- package/templates/attributes/common/base/tooltip.ejs +7 -7
- package/templates/attributes/common/base/visible.ejs +6 -6
- package/templates/attributes/common/base/wallpaper.ejs +3 -3
- package/templates/attributes/common/base_attributes.ejs +10 -10
- package/templates/attributes/common/container_attributes.ejs +6 -6
- package/templates/attributes/common/control_attributes.ejs +3 -3
- package/templates/attributes/common/format.ejs +5 -5
- package/templates/attributes/common/input/hint.ejs +13 -13
- package/templates/attributes/common/input/multiline_edit.ejs +3 -3
- package/templates/attributes/common/input/must_input.ejs +8 -8
- package/templates/attributes/common/input/password_edit.ejs +7 -7
- package/templates/attributes/common/input/row_editing_input_attributes.ejs +6 -6
- package/templates/attributes/common/input/validation.ejs +5 -5
- package/templates/attributes/common/input_attributes.ejs +4 -4
- package/templates/attributes/common/no_control_base_attributes.ejs +4 -4
- package/templates/attributes/common/row_editing_button_attributes.ejs +10 -10
- package/templates/component/view.component.html +14 -14
- package/templates/component/view.component.ts +136 -136
- package/templates/themes/basicHTML/Code/theme.module.ts +10 -10
- package/templates/themes/basicHTML/combobox.ejs +37 -37
- package/templates/themes/basicHTML/edit.ejs +169 -169
- package/templates/themes/basicHTML/form.ejs +4 -4
- package/templates/themes/basicHTML/group.ejs +4 -4
- package/templates/themes/basicHTML/image.ejs +6 -6
- package/templates/themes/basicHTML/label.ejs +11 -11
- package/templates/themes/basicHTML/listbox.ejs +21 -21
- package/templates/themes/basicHTML/push-button.ejs +28 -28
- package/templates/themes/basicHTML/radio.ejs +20 -20
- package/templates/themes/basicHTML/subform.ejs +6 -6
- package/templates/themes/basicHTML/tab.ejs +31 -31
- package/templates/themes/basicHTML/tabpage.ejs +5 -5
- package/templates/themes/basicHiddenHTML/Code/theme.module.ts +10 -10
- package/templates/themes/basicHiddenHTML/combobox.ejs +5 -5
- package/templates/themes/basicHiddenHTML/form.ejs +3 -3
- package/templates/themes/basicHiddenHTML/group.ejs +2 -2
- package/templates/themes/basicHiddenHTML/image.ejs +4 -4
- package/templates/themes/basicHiddenHTML/label.ejs +1 -1
- package/templates/themes/basicHiddenHTML/listbox.ejs +8 -8
- package/templates/themes/basicHiddenHTML/push-button.ejs +26 -26
- package/templates/themes/basicHiddenHTML/radio.ejs +17 -17
- package/templates/themes/basicHiddenHTML/tab.ejs +13 -13
- package/templates/themes/basicHiddenHTML/table.ejs +18 -18
- package/templates/themes/basicHiddenHTML/tabpage.ejs +2 -2
- package/templates/themes/container.ejs +26 -26
- package/templates/themes/control.ejs +52 -52
- package/templates/themes/editTypeSelector.ejs +1 -1
- package/templates/themes/material/Code/theme.module.ts +68 -68
- package/templates/themes/material/base_attributes_date.ejs +8 -8
- package/templates/themes/material/combobox.ejs +58 -58
- package/templates/themes/material/edit.ejs +204 -204
- package/templates/themes/material/group.ejs +3 -3
- package/templates/themes/material/listbox.ejs +22 -22
- package/templates/themes/material/push-button.ejs +28 -28
- package/templates/themes/material/radio.ejs +22 -22
- package/templates/themes/material/subform.ejs +8 -8
- package/templates/themes/material/tab.ejs +19 -19
- package/templates/themes/router_outlet.ejs +5 -5
- package/templates/themes/table/HTMLTable/table.ejs +37 -37
- package/templates/themes/table/grid/additionalComponentCode.ejs +26 -26
- package/templates/themes/table/grid/additionalIncludes.ejs +1 -1
- package/templates/themes/table/grid/table.ejs +37 -37
- package/templates/themes/table/repeatable/column.ejs +11 -11
- package/templates/themes/table/repeatable/table.ejs +28 -28
- package/templates/themes/tableTypeSelector.ejs +21 -21
- package/tsconfig.json +36 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-file-types.enum.js","sourceRoot":"","sources":["generated-file-types.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,iCAAW,CAAA;IACV,yCAAmB,CAAA;AACrB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B","sourcesContent":["export enum GeneratedFileTypes{\
|
|
1
|
+
{"version":3,"file":"generated-file-types.enum.js","sourceRoot":"","sources":["generated-file-types.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,iCAAW,CAAA;IACV,yCAAmB,CAAA;AACrB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B","sourcesContent":["export enum GeneratedFileTypes{\n\tTS = \"TS\",\n\tHTML = \"HTML\",\n\tCSS = \"CSS\",\n HELPER = \"helperTS\"\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export enum GeneratedFileTypes{
|
|
2
|
-
TS = "TS",
|
|
3
|
-
HTML = "HTML",
|
|
4
|
-
CSS = "CSS",
|
|
5
|
-
HELPER = "helperTS"
|
|
6
|
-
}
|
|
1
|
+
export enum GeneratedFileTypes{
|
|
2
|
+
TS = "TS",
|
|
3
|
+
HTML = "HTML",
|
|
4
|
+
CSS = "CSS",
|
|
5
|
+
HELPER = "helperTS"
|
|
6
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"horizontal-alignments.enum.js","sourceRoot":"","sources":["horizontal-alignments.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAE/B,yCAAiB,CAAA;IACjB,uCAAgB,CAAA;IAChB,qCAAe,CAAA;AAChB,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B","sourcesContent":["export enum HorizontalAlignments\
|
|
1
|
+
{"version":3,"file":"horizontal-alignments.enum.js","sourceRoot":"","sources":["horizontal-alignments.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAE/B,yCAAiB,CAAA;IACjB,uCAAgB,CAAA;IAChB,qCAAe,CAAA;AAChB,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B","sourcesContent":["export enum HorizontalAlignments\n{\n\tCenter = 'center',\n\tRight = 'right',\n\tLeft = 'left'\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export enum HorizontalAlignments
|
|
2
|
-
{
|
|
3
|
-
Center = 'center',
|
|
4
|
-
Right = 'right',
|
|
5
|
-
Left = 'left'
|
|
6
|
-
}
|
|
1
|
+
export enum HorizontalAlignments
|
|
2
|
+
{
|
|
3
|
+
Center = 'center',
|
|
4
|
+
Right = 'right',
|
|
5
|
+
Left = 'left'
|
|
6
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.enum.js","sourceRoot":"","sources":["themes.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,MAKX;AALD,WAAY,MAAM;IACjB,iCAA0B,CAAA;IAC1B,mDAA4C,CAAA;IAC5C,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;AACtB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB","sourcesContent":["export enum Themes{\
|
|
1
|
+
{"version":3,"file":"themes.enum.js","sourceRoot":"","sources":["themes.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,MAKX;AALD,WAAY,MAAM;IACjB,iCAA0B,CAAA;IAC1B,mDAA4C,CAAA;IAC5C,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;AACtB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB","sourcesContent":["export enum Themes{\n\tBasicHTML = \"basicHTML\",\n\tBasicNoControlHTML = \"basicNoControlHTML\",\n\tMaterial = \"material\",\n\tSemantic = \"semantic\",\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export enum Themes{
|
|
2
|
-
BasicHTML = "basicHTML",
|
|
3
|
-
BasicNoControlHTML = "basicNoControlHTML",
|
|
4
|
-
Material = "material",
|
|
5
|
-
Semantic = "semantic",
|
|
6
|
-
}
|
|
1
|
+
export enum Themes{
|
|
2
|
+
BasicHTML = "basicHTML",
|
|
3
|
+
BasicNoControlHTML = "basicNoControlHTML",
|
|
4
|
+
Material = "material",
|
|
5
|
+
Semantic = "semantic",
|
|
6
|
+
}
|
package/src/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,4EAAkD;AAClD,6EAAmD;AACnD,8DAAoC;AAEpC,2DAAiC;AACjC,+DAAqC;AACrC,uEAA6C","sourcesContent":["export * from './enums/Enums';\
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,4EAAkD;AAClD,6EAAmD;AACnD,8DAAoC;AAEpC,2DAAiC;AACjC,+DAAqC;AACrC,uEAA6C","sourcesContent":["export * from './enums/Enums';\nexport * from './enums/generated-file-types.enum';\nexport * from './enums/horizontal-alignments.enum';\nexport * from './enums/themes.enum';\n\nexport * from './interfaces/app';\nexport * from './interfaces/control';\nexport * from './interfaces/template.config';\n"]}
|
package/src/types/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './enums/Enums';
|
|
2
|
-
export * from './enums/generated-file-types.enum';
|
|
3
|
-
export * from './enums/horizontal-alignments.enum';
|
|
4
|
-
export * from './enums/themes.enum';
|
|
5
|
-
|
|
6
|
-
export * from './interfaces/app';
|
|
7
|
-
export * from './interfaces/control';
|
|
8
|
-
export * from './interfaces/template.config';
|
|
1
|
+
export * from './enums/Enums';
|
|
2
|
+
export * from './enums/generated-file-types.enum';
|
|
3
|
+
export * from './enums/horizontal-alignments.enum';
|
|
4
|
+
export * from './enums/themes.enum';
|
|
5
|
+
|
|
6
|
+
export * from './interfaces/app';
|
|
7
|
+
export * from './interfaces/control';
|
|
8
|
+
export * from './interfaces/template.config';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":";;;AASA,MAAa,KAAK;CAKjB;AALD,sBAKC;AAED,MAAa,UAAU;CAGtB;AAHD,gCAGC","sourcesContent":["import {Control} from './control';\
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":";;;AASA,MAAa,KAAK;CAKjB;AALD,sBAKC;AAED,MAAa,UAAU;CAGtB;AAHD,gCAGC","sourcesContent":["import {Control} from './control';\nimport { Data, LoadChildren, ResolveData, Routes, RunGuardsAndResolvers, UrlMatcher } from \"@angular/router\";\nimport { Type } from \"@angular/core\";\n\nexport interface View extends Control\n{\n\n}\n\nexport class Route{\n RouteName: string;\n OutletName: string;\n children: any[];\n ModuleName:string;\n}\n\nexport class RouteTable{\n module_name:string;\n routesArray: Route[];\n}\n\n/*\n* export interface Route {\n path?: string;\n pathMatch?: string;\n matcher?: UrlMatcher;\n component?: Type<any>;\n redirectTo?: string;\n outlet?: string;\n canActivate?: any[];\n canActivateChild?: any[];\n canDeactivate?: any[];\n canLoad?: any[];\n data?: Data;\n resolve?: ResolveData;\n children?: Routes;\n loadChildren?: LoadChildren;\n runGuardsAndResolvers?: RunGuardsAndResolvers;\n}\n* */\n\nexport interface AppJson {\n name : string,\n suffix: string,\n views : View[]\n}\n\nexport interface RouteJson\n{\n routesArray: Route[]\n}\n\nexport interface webModuleItem {\n module_name: string,\n load_on_demand: boolean;\n form_files: string[]\n}\n\nexport interface AppConfig\n{\n //created_application_css:\tboolean,\n create_route_map: boolean\n create_new_project:\tboolean,\n created_menu:\tboolean,\n created_views:\tboolean,\n theme:\tstring,\n output_folder:\tstring,\n backup_current:\tboolean,\n source_images_folder: string,\n copy_images: boolean,\n exposed_functionality: boolean,\n allow_testing: boolean,\n project_name: string,\n web_modules: webModuleItem[],\n controls_accessor_only: boolean,\n no_controls_accessor: boolean\n}\n\nexport interface ComponentId {\n jsonPath : string;\n componentPath : string;\n name? : string;\n uniqueName : string;\n magicJsonObj? : View\n}\n\nexport interface AppManifest{\n components: ComponentId[]\n}\n"]}
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import {Control} from './control';
|
|
2
|
-
import { Data, LoadChildren, ResolveData, Routes, RunGuardsAndResolvers, UrlMatcher } from "@angular/router";
|
|
3
|
-
import { Type } from "@angular/core";
|
|
4
|
-
|
|
5
|
-
export interface View extends Control
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export class Route{
|
|
11
|
-
RouteName: string;
|
|
12
|
-
OutletName: string;
|
|
13
|
-
children: any[];
|
|
14
|
-
ModuleName:string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export class RouteTable{
|
|
18
|
-
module_name:string;
|
|
19
|
-
routesArray: Route[];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/*
|
|
23
|
-
* export interface Route {
|
|
24
|
-
path?: string;
|
|
25
|
-
pathMatch?: string;
|
|
26
|
-
matcher?: UrlMatcher;
|
|
27
|
-
component?: Type<any>;
|
|
28
|
-
redirectTo?: string;
|
|
29
|
-
outlet?: string;
|
|
30
|
-
canActivate?: any[];
|
|
31
|
-
canActivateChild?: any[];
|
|
32
|
-
canDeactivate?: any[];
|
|
33
|
-
canLoad?: any[];
|
|
34
|
-
data?: Data;
|
|
35
|
-
resolve?: ResolveData;
|
|
36
|
-
children?: Routes;
|
|
37
|
-
loadChildren?: LoadChildren;
|
|
38
|
-
runGuardsAndResolvers?: RunGuardsAndResolvers;
|
|
39
|
-
}
|
|
40
|
-
* */
|
|
41
|
-
|
|
42
|
-
export interface AppJson {
|
|
43
|
-
name : string,
|
|
44
|
-
suffix: string,
|
|
45
|
-
views : View[]
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface RouteJson
|
|
49
|
-
{
|
|
50
|
-
routesArray: Route[]
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export interface webModuleItem {
|
|
54
|
-
module_name: string,
|
|
55
|
-
load_on_demand: boolean;
|
|
56
|
-
form_files: string[]
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface AppConfig
|
|
60
|
-
{
|
|
61
|
-
//created_application_css: boolean,
|
|
62
|
-
create_route_map: boolean
|
|
63
|
-
create_new_project: boolean,
|
|
64
|
-
created_menu: boolean,
|
|
65
|
-
created_views: boolean,
|
|
66
|
-
theme: string,
|
|
67
|
-
output_folder: string,
|
|
68
|
-
backup_current: boolean,
|
|
69
|
-
source_images_folder: string,
|
|
70
|
-
copy_images: boolean,
|
|
71
|
-
exposed_functionality: boolean,
|
|
72
|
-
allow_testing: boolean,
|
|
73
|
-
project_name: string,
|
|
74
|
-
web_modules: webModuleItem[],
|
|
75
|
-
controls_accessor_only: boolean,
|
|
76
|
-
no_controls_accessor: boolean
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface ComponentId {
|
|
80
|
-
jsonPath : string;
|
|
81
|
-
componentPath : string;
|
|
82
|
-
name? : string;
|
|
83
|
-
uniqueName : string;
|
|
84
|
-
magicJsonObj? : View
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export interface AppManifest{
|
|
88
|
-
components: ComponentId[]
|
|
89
|
-
}
|
|
1
|
+
import {Control} from './control';
|
|
2
|
+
import { Data, LoadChildren, ResolveData, Routes, RunGuardsAndResolvers, UrlMatcher } from "@angular/router";
|
|
3
|
+
import { Type } from "@angular/core";
|
|
4
|
+
|
|
5
|
+
export interface View extends Control
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class Route{
|
|
11
|
+
RouteName: string;
|
|
12
|
+
OutletName: string;
|
|
13
|
+
children: any[];
|
|
14
|
+
ModuleName:string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class RouteTable{
|
|
18
|
+
module_name:string;
|
|
19
|
+
routesArray: Route[];
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/*
|
|
23
|
+
* export interface Route {
|
|
24
|
+
path?: string;
|
|
25
|
+
pathMatch?: string;
|
|
26
|
+
matcher?: UrlMatcher;
|
|
27
|
+
component?: Type<any>;
|
|
28
|
+
redirectTo?: string;
|
|
29
|
+
outlet?: string;
|
|
30
|
+
canActivate?: any[];
|
|
31
|
+
canActivateChild?: any[];
|
|
32
|
+
canDeactivate?: any[];
|
|
33
|
+
canLoad?: any[];
|
|
34
|
+
data?: Data;
|
|
35
|
+
resolve?: ResolveData;
|
|
36
|
+
children?: Routes;
|
|
37
|
+
loadChildren?: LoadChildren;
|
|
38
|
+
runGuardsAndResolvers?: RunGuardsAndResolvers;
|
|
39
|
+
}
|
|
40
|
+
* */
|
|
41
|
+
|
|
42
|
+
export interface AppJson {
|
|
43
|
+
name : string,
|
|
44
|
+
suffix: string,
|
|
45
|
+
views : View[]
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface RouteJson
|
|
49
|
+
{
|
|
50
|
+
routesArray: Route[]
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface webModuleItem {
|
|
54
|
+
module_name: string,
|
|
55
|
+
load_on_demand: boolean;
|
|
56
|
+
form_files: string[]
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface AppConfig
|
|
60
|
+
{
|
|
61
|
+
//created_application_css: boolean,
|
|
62
|
+
create_route_map: boolean
|
|
63
|
+
create_new_project: boolean,
|
|
64
|
+
created_menu: boolean,
|
|
65
|
+
created_views: boolean,
|
|
66
|
+
theme: string,
|
|
67
|
+
output_folder: string,
|
|
68
|
+
backup_current: boolean,
|
|
69
|
+
source_images_folder: string,
|
|
70
|
+
copy_images: boolean,
|
|
71
|
+
exposed_functionality: boolean,
|
|
72
|
+
allow_testing: boolean,
|
|
73
|
+
project_name: string,
|
|
74
|
+
web_modules: webModuleItem[],
|
|
75
|
+
controls_accessor_only: boolean,
|
|
76
|
+
no_controls_accessor: boolean
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface ComponentId {
|
|
80
|
+
jsonPath : string;
|
|
81
|
+
componentPath : string;
|
|
82
|
+
name? : string;
|
|
83
|
+
uniqueName : string;
|
|
84
|
+
magicJsonObj? : View
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface AppManifest{
|
|
88
|
+
components: ComponentId[]
|
|
89
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","sourceRoot":"","sources":["control.ts"],"names":[],"mappings":"","sourcesContent":["import {HorizontalAlignments} from '../enums/horizontal-alignments.enum';\
|
|
1
|
+
{"version":3,"file":"control.js","sourceRoot":"","sources":["control.ts"],"names":[],"mappings":"","sourcesContent":["import {HorizontalAlignments} from '../enums/horizontal-alignments.enum';\nimport {\n CtrlImageStyle,\n MgControlType,\n SideType,\n StorageAttributeType,\n TableWebStyle,\n RowEditingTypes,\n WindowPosition,\n WindowType\n} from \"../enums/Enums\";\nimport {CtrlButtonTypeGui} from '../enums/Enums';\n\nexport interface Exp\n{\n\thas_exp?: boolean\n}\n\nexport interface Boolean_Exp extends Exp\n{\n\tvalue?: boolean,\n}\n\nexport interface Number_Exp extends Exp\n{\n\tvalue?: number,\n}\n\nexport interface String_Exp extends Exp\n{\n\tvalue?: string,\n}\n\nexport interface Control {\n\tcontrolType: MgControlType\n\tclasses?: string\n\thasClassExpression?: boolean\n\tstyle: {\n\t\tfont?: Number_Exp,\n\t\tcolor?: Number_Exp,\n\t\tborder?: Boolean_Exp,\n\t\tborder_style?: Number_Exp,\n\t\tfocus_color?: Number_Exp,\n\t\talignment: {\n\t\t\thorizontal?: HorizontalAlignments,\n\t\t\tvertical?: number,\n\t\t},\n line_divider?:Boolean_Exp;\n multiline_edit?: boolean,\n\t},\n\tprops: {\n\t\tid: string,\n\t\tname?: string,\n component_uniquename?: string;\n component_path?:string;\n visible?: Exp,\n\t\tenabled?: Exp,\n\t\ttab_order?: Number_Exp,\n\t\tpassword_edit?: Boolean_Exp,\n\t\tbutton_style?:CtrlButtonTypeGui,\n is_table_child?: boolean,\n table_row_height?: number,\n table_title_height?: number,\n scroll_bar?: boolean;\n no_modifiable_descendants?: boolean;\n modifiable?: Boolean_Exp,\n\t\tlayer?: number,\n tab_control_side?: SideType;\n attribute?: StorageAttributeType;\n web_style?: TableWebStyle;\n row_editing_type?: RowEditingTypes;\n mgformat?: string;\n currency?: string;\n mask?: string;\n directive?: string;\n validator?: string;\n formatter?: string;\n window_type?: WindowType;\n is_router_outlet?: boolean;\n default_outlet?: boolean;\n wallpaper?: string;\n wallpaper_style?: CtrlImageStyle;\n sortable?: boolean;\n common_line_id?: number;\n dataexp?:boolean;\n showsecs?:boolean;\n enum_id:string; // simple enum name, for method calls\n directive_id:string; // enum name as {{id}} for things such as directive name or formcontrol name\n\t}\n\n\thint: {\n\t\ttext?: String_Exp,\n\t}\n\tcoordinates:{\n x?:\tnumber,\n y?:\tnumber,\n width:\tnumber,\n height?:\tnumber\n\t}\n\tchildren: null | Control[],\n\n\n\t/// incode members:\n\t// class_name_in_css: string;\n\n}\n"]}
|
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import {HorizontalAlignments} from '../enums/horizontal-alignments.enum';
|
|
2
|
-
import {
|
|
3
|
-
CtrlImageStyle,
|
|
4
|
-
MgControlType,
|
|
5
|
-
SideType,
|
|
6
|
-
StorageAttributeType,
|
|
7
|
-
TableWebStyle,
|
|
8
|
-
RowEditingTypes,
|
|
9
|
-
WindowPosition,
|
|
10
|
-
WindowType
|
|
11
|
-
} from "../enums/Enums";
|
|
12
|
-
import {CtrlButtonTypeGui} from '../enums/Enums';
|
|
13
|
-
|
|
14
|
-
export interface Exp
|
|
15
|
-
{
|
|
16
|
-
has_exp?: boolean
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface Boolean_Exp extends Exp
|
|
20
|
-
{
|
|
21
|
-
value?: boolean,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface Number_Exp extends Exp
|
|
25
|
-
{
|
|
26
|
-
value?: number,
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface String_Exp extends Exp
|
|
30
|
-
{
|
|
31
|
-
value?: string,
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface Control {
|
|
35
|
-
controlType: MgControlType
|
|
36
|
-
classes?: string
|
|
37
|
-
hasClassExpression?: boolean
|
|
38
|
-
style: {
|
|
39
|
-
font?: Number_Exp,
|
|
40
|
-
color?: Number_Exp,
|
|
41
|
-
border?: Boolean_Exp,
|
|
42
|
-
border_style?: Number_Exp,
|
|
43
|
-
focus_color?: Number_Exp,
|
|
44
|
-
alignment: {
|
|
45
|
-
horizontal?: HorizontalAlignments,
|
|
46
|
-
vertical?: number,
|
|
47
|
-
},
|
|
48
|
-
line_divider?:Boolean_Exp;
|
|
49
|
-
multiline_edit?: boolean,
|
|
50
|
-
},
|
|
51
|
-
props: {
|
|
52
|
-
id: string,
|
|
53
|
-
name?: string,
|
|
54
|
-
component_uniquename?: string;
|
|
55
|
-
component_path?:string;
|
|
56
|
-
visible?: Exp,
|
|
57
|
-
enabled?: Exp,
|
|
58
|
-
tab_order?: Number_Exp,
|
|
59
|
-
password_edit?: Boolean_Exp,
|
|
60
|
-
button_style?:CtrlButtonTypeGui,
|
|
61
|
-
is_table_child?: boolean,
|
|
62
|
-
table_row_height?: number,
|
|
63
|
-
table_title_height?: number,
|
|
64
|
-
scroll_bar?: boolean;
|
|
65
|
-
no_modifiable_descendants?: boolean;
|
|
66
|
-
modifiable?: Boolean_Exp,
|
|
67
|
-
layer?: number,
|
|
68
|
-
tab_control_side?: SideType;
|
|
69
|
-
attribute?: StorageAttributeType;
|
|
70
|
-
web_style?: TableWebStyle;
|
|
71
|
-
row_editing_type?: RowEditingTypes;
|
|
72
|
-
mgformat?: string;
|
|
73
|
-
currency?: string;
|
|
74
|
-
mask?: string;
|
|
75
|
-
directive?: string;
|
|
76
|
-
validator?: string;
|
|
77
|
-
formatter?: string;
|
|
78
|
-
window_type?: WindowType;
|
|
79
|
-
is_router_outlet?: boolean;
|
|
80
|
-
default_outlet?: boolean;
|
|
81
|
-
wallpaper?: string;
|
|
82
|
-
wallpaper_style?: CtrlImageStyle;
|
|
83
|
-
sortable?: boolean;
|
|
84
|
-
common_line_id?: number;
|
|
85
|
-
dataexp?:boolean;
|
|
86
|
-
showsecs?:boolean;
|
|
87
|
-
enum_id:string; // simple enum name, for method calls
|
|
88
|
-
directive_id:string; // enum name as {{id}} for things such as directive name or formcontrol name
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
hint: {
|
|
92
|
-
text?: String_Exp,
|
|
93
|
-
}
|
|
94
|
-
coordinates:{
|
|
95
|
-
x?: number,
|
|
96
|
-
y?: number,
|
|
97
|
-
width: number,
|
|
98
|
-
height?: number
|
|
99
|
-
}
|
|
100
|
-
children: null | Control[],
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/// incode members:
|
|
104
|
-
// class_name_in_css: string;
|
|
105
|
-
|
|
106
|
-
}
|
|
1
|
+
import {HorizontalAlignments} from '../enums/horizontal-alignments.enum';
|
|
2
|
+
import {
|
|
3
|
+
CtrlImageStyle,
|
|
4
|
+
MgControlType,
|
|
5
|
+
SideType,
|
|
6
|
+
StorageAttributeType,
|
|
7
|
+
TableWebStyle,
|
|
8
|
+
RowEditingTypes,
|
|
9
|
+
WindowPosition,
|
|
10
|
+
WindowType
|
|
11
|
+
} from "../enums/Enums";
|
|
12
|
+
import {CtrlButtonTypeGui} from '../enums/Enums';
|
|
13
|
+
|
|
14
|
+
export interface Exp
|
|
15
|
+
{
|
|
16
|
+
has_exp?: boolean
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface Boolean_Exp extends Exp
|
|
20
|
+
{
|
|
21
|
+
value?: boolean,
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Number_Exp extends Exp
|
|
25
|
+
{
|
|
26
|
+
value?: number,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface String_Exp extends Exp
|
|
30
|
+
{
|
|
31
|
+
value?: string,
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface Control {
|
|
35
|
+
controlType: MgControlType
|
|
36
|
+
classes?: string
|
|
37
|
+
hasClassExpression?: boolean
|
|
38
|
+
style: {
|
|
39
|
+
font?: Number_Exp,
|
|
40
|
+
color?: Number_Exp,
|
|
41
|
+
border?: Boolean_Exp,
|
|
42
|
+
border_style?: Number_Exp,
|
|
43
|
+
focus_color?: Number_Exp,
|
|
44
|
+
alignment: {
|
|
45
|
+
horizontal?: HorizontalAlignments,
|
|
46
|
+
vertical?: number,
|
|
47
|
+
},
|
|
48
|
+
line_divider?:Boolean_Exp;
|
|
49
|
+
multiline_edit?: boolean,
|
|
50
|
+
},
|
|
51
|
+
props: {
|
|
52
|
+
id: string,
|
|
53
|
+
name?: string,
|
|
54
|
+
component_uniquename?: string;
|
|
55
|
+
component_path?:string;
|
|
56
|
+
visible?: Exp,
|
|
57
|
+
enabled?: Exp,
|
|
58
|
+
tab_order?: Number_Exp,
|
|
59
|
+
password_edit?: Boolean_Exp,
|
|
60
|
+
button_style?:CtrlButtonTypeGui,
|
|
61
|
+
is_table_child?: boolean,
|
|
62
|
+
table_row_height?: number,
|
|
63
|
+
table_title_height?: number,
|
|
64
|
+
scroll_bar?: boolean;
|
|
65
|
+
no_modifiable_descendants?: boolean;
|
|
66
|
+
modifiable?: Boolean_Exp,
|
|
67
|
+
layer?: number,
|
|
68
|
+
tab_control_side?: SideType;
|
|
69
|
+
attribute?: StorageAttributeType;
|
|
70
|
+
web_style?: TableWebStyle;
|
|
71
|
+
row_editing_type?: RowEditingTypes;
|
|
72
|
+
mgformat?: string;
|
|
73
|
+
currency?: string;
|
|
74
|
+
mask?: string;
|
|
75
|
+
directive?: string;
|
|
76
|
+
validator?: string;
|
|
77
|
+
formatter?: string;
|
|
78
|
+
window_type?: WindowType;
|
|
79
|
+
is_router_outlet?: boolean;
|
|
80
|
+
default_outlet?: boolean;
|
|
81
|
+
wallpaper?: string;
|
|
82
|
+
wallpaper_style?: CtrlImageStyle;
|
|
83
|
+
sortable?: boolean;
|
|
84
|
+
common_line_id?: number;
|
|
85
|
+
dataexp?:boolean;
|
|
86
|
+
showsecs?:boolean;
|
|
87
|
+
enum_id:string; // simple enum name, for method calls
|
|
88
|
+
directive_id:string; // enum name as {{id}} for things such as directive name or formcontrol name
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
hint: {
|
|
92
|
+
text?: String_Exp,
|
|
93
|
+
}
|
|
94
|
+
coordinates:{
|
|
95
|
+
x?: number,
|
|
96
|
+
y?: number,
|
|
97
|
+
width: number,
|
|
98
|
+
height?: number
|
|
99
|
+
}
|
|
100
|
+
children: null | Control[],
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/// incode members:
|
|
104
|
+
// class_name_in_css: string;
|
|
105
|
+
|
|
106
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.config.js","sourceRoot":"","sources":["template.config.ts"],"names":[],"mappings":"","sourcesContent":["import {GeneratedFileTypes} from '../enums/generated-file-types.enum';\
|
|
1
|
+
{"version":3,"file":"template.config.js","sourceRoot":"","sources":["template.config.ts"],"names":[],"mappings":"","sourcesContent":["import {GeneratedFileTypes} from '../enums/generated-file-types.enum';\n\n// template for generating different file types\nexport interface TemplateConfig\n{\n\ttemplate: string\n\tname: string,\n\tdestination: string\n\ttype:GeneratedFileTypes,\n\tdata : object\n}\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {GeneratedFileTypes} from '../enums/generated-file-types.enum';
|
|
2
|
-
|
|
3
|
-
// template for generating different file types
|
|
4
|
-
export interface TemplateConfig
|
|
5
|
-
{
|
|
6
|
-
template: string
|
|
7
|
-
name: string,
|
|
8
|
-
destination: string
|
|
9
|
-
type:GeneratedFileTypes,
|
|
10
|
-
data : object
|
|
11
|
-
}
|
|
1
|
+
import {GeneratedFileTypes} from '../enums/generated-file-types.enum';
|
|
2
|
+
|
|
3
|
+
// template for generating different file types
|
|
4
|
+
export interface TemplateConfig
|
|
5
|
+
{
|
|
6
|
+
template: string
|
|
7
|
+
name: string,
|
|
8
|
+
destination: string
|
|
9
|
+
type:GeneratedFileTypes,
|
|
10
|
+
data : object
|
|
11
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<% if(!skipHelp){ %>
|
|
3
|
-
<H2>Hello Magic Web Client</H2>
|
|
4
|
-
<pre>
|
|
5
|
-
Steps for Generate Component
|
|
6
|
-
=========================================
|
|
7
|
-
1.1 copy json to magic-metadata
|
|
8
|
-
|
|
9
|
-
1.2 ng g @magic-xpa/cli:magic
|
|
10
|
-
--project = xxx
|
|
11
|
-
--component = yyy
|
|
12
|
-
--theme = material or basicHTML
|
|
13
|
-
-–allow-testing
|
|
14
|
-
</pre>
|
|
15
|
-
<% } %>
|
|
16
|
-
<magic-root></magic-root>
|
|
17
|
-
</div>
|
|
1
|
+
<div>
|
|
2
|
+
<% if(!skipHelp){ %>
|
|
3
|
+
<H2>Hello Magic Web Client</H2>
|
|
4
|
+
<pre>
|
|
5
|
+
Steps for Generate Component
|
|
6
|
+
=========================================
|
|
7
|
+
1.1 copy json to magic-metadata
|
|
8
|
+
|
|
9
|
+
1.2 ng g @magic-xpa/cli:magic
|
|
10
|
+
--project = xxx
|
|
11
|
+
--component = yyy
|
|
12
|
+
--theme = material or basicHTML
|
|
13
|
+
-–allow-testing
|
|
14
|
+
</pre>
|
|
15
|
+
<% } %>
|
|
16
|
+
<magic-root></magic-root>
|
|
17
|
+
</div>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<% components.forEach(view => { %>
|
|
2
|
-
<%= view.uniqueName %>,
|
|
3
|
-
<% }) %>
|
|
1
|
+
<% components.forEach(view => { %>
|
|
2
|
+
<%= view.uniqueName %>,
|
|
3
|
+
<% }) %>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<% components.forEach(view => { %>
|
|
2
|
-
<%= view.uniqueName %> : <%- view.uniqueName %>,
|
|
3
|
-
<% }) %>
|
|
1
|
+
<% components.forEach(view => { %>
|
|
2
|
+
<%= view.uniqueName %> : <%- view.uniqueName %>,
|
|
3
|
+
<% }) %>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<% cmpList.forEach( view => { %>
|
|
2
|
-
import {<%= view.props.id%> as <%= view.props.component_uniquename%>} from "./<%= view.props.component_path %><%= view.props.id %>.component";
|
|
3
|
-
<% }) %>
|
|
4
|
-
|
|
5
|
-
export const title = "<%= app.name %>";
|
|
6
|
-
|
|
7
|
-
export const magicGenCmpsHash = {
|
|
8
|
-
<% cmpList.forEach(view => { %>
|
|
9
|
-
<%= view.props.component_uniquename %> : <%- view.props.component_uniquename %>,
|
|
10
|
-
<% }) %>
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const magicGenComponents = [
|
|
14
|
-
<% cmpList.forEach(view => { %>
|
|
15
|
-
<%= view.props.component_uniquename %>,
|
|
16
|
-
<% }) %>
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
export const LazyLoadModulesMap =
|
|
20
|
-
{
|
|
21
|
-
};
|
|
1
|
+
<% cmpList.forEach( view => { %>
|
|
2
|
+
import {<%= view.props.id%> as <%= view.props.component_uniquename%>} from "./<%= view.props.component_path %><%= view.props.id %>.component";
|
|
3
|
+
<% }) %>
|
|
4
|
+
|
|
5
|
+
export const title = "<%= app.name %>";
|
|
6
|
+
|
|
7
|
+
export const magicGenCmpsHash = {
|
|
8
|
+
<% cmpList.forEach(view => { %>
|
|
9
|
+
<%= view.props.component_uniquename %> : <%- view.props.component_uniquename %>,
|
|
10
|
+
<% }) %>
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const magicGenComponents = [
|
|
14
|
+
<% cmpList.forEach(view => { %>
|
|
15
|
+
<%= view.props.component_uniquename %>,
|
|
16
|
+
<% }) %>
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
export const LazyLoadModulesMap =
|
|
20
|
+
{
|
|
21
|
+
};
|