@farris/jit-engine 1.4.37 → 1.4.39
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 +8 -0
- package/bin/index.js +0 -0
- package/lib/domstructure/devkit/module/module.js +4 -1
- package/lib/domstructure/devkit/module/module.js.map +1 -1
- package/lib/domstructure/ui/appropval-association/approval-association.js +36 -0
- package/lib/domstructure/ui/appropval-association/approval-association.js.map +1 -0
- package/lib/{mobileapp/vue/domstructure/ui/button → domstructure/ui/appropval-association}/index.js +13 -13
- package/lib/domstructure/ui/appropval-association/index.js.map +1 -0
- package/lib/domstructure/ui/index.js +1 -0
- package/lib/domstructure/ui/index.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-filter-generator.js +8 -8
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-resource-generator.js +2 -2
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-entity-generator.js +3 -10
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-entity-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-provider-generator.js +9 -9
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-proxy-generator.js +34 -34
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-router-generator.js +17 -17
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-validation-rule.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-bindingdata-generator.js +11 -11
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-component-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-handler-generator.js +25 -25
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +51 -51
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-statemachine-generator.js +19 -19
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js +31 -31
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/babel-config-js-generator.js +6 -6
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/gitignore-generator.js +23 -23
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/main-ts-generator.js +11 -11
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js +47 -47
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/readme-md-generator.js +20 -20
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shims-tsx-d-ts-generator.js +15 -15
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shimx-vue-d-ts-generator.js +31 -31
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/tsconfig-json-generator.js +38 -38
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/vue-config-js-generator.js +20 -20
- package/lib/mobileapp/vue/code-generator/file-generator-path-manager.js +1 -1
- package/lib/mobileapp/vue/code-generator/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/workspace-manager/workspace-file-manager.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-content.js +11 -11
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation-parameter.js +18 -18
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation.js +13 -13
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-service.js +9 -9
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy.js +2 -2
- package/lib/mobileapp/vue/domstructure/devkit/component/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/states/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/viewmodel/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/viewmodel/vue-viewmodel.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-entity.js +2 -2
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-page.js +2 -2
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-project.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/image/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/banner/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +2 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +1 -1
- package/lib/mobileapp/vue/jit-engine-executor/index.js +1 -1
- package/lib/mobileapp/vue/pug-generator/index.js +1 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +1 -1
- package/lib/mobileapp/vue/static/.editorconfig +9 -9
- package/lib/mobileapp/vue/static/.prettierrc +6 -6
- package/lib/mobileapp/vue/static/README.md +18 -18
- package/lib/mobileapp/vue/static/babel.config.js +13 -13
- package/lib/mobileapp/vue/static/src/main.ts +9 -9
- package/lib/mobileapp/vue/static/src/shims-vue.d.ts +32 -32
- package/lib/mobileapp/vue/static/tsconfig.json +20 -20
- package/lib/mobileapp/vue/utility/devkit/vue-repository-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/i18n/index.js +1 -1
- package/lib/mobileapp/vue/utility/index.js +1 -1
- package/lib/mobileapp/vue/utility/index.js.map +1 -1
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/index.js +1 -1
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +2 -2
- package/lib/mobileapp/vue/utility/stringify.js +45 -0
- package/lib/mobileapp/vue/utility/stringify.js.map +1 -0
- package/lib/mobileapp/vue/utility/template-generator/page-component-control-generator.js +2 -2
- package/lib/mobileapp/vue/utility/template-generator/page-component-ref-generator.js +1 -1
- package/lib/mobileapp/vue/utility/template-generator/page-statemachine-generator.js +21 -21
- package/lib/mobileapp/vue/utility/type-convert.js +2 -1
- package/lib/mobileapp/vue/utility/type-convert.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-object-creator.js +1 -1
- package/lib/template/ui/kendo/farris-approval-association.pug +7 -0
- package/lib/utility/content-type-creator.js +3 -0
- package/lib/utility/content-type-creator.js.map +1 -1
- package/lib/utility/control-checker/approval-association-checker.js +43 -0
- package/lib/utility/control-checker/approval-association-checker.js.map +1 -0
- package/lib/utility/devkit/form-file-executor.js +4 -0
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/devkit/module-creator.js +3 -0
- package/lib/utility/devkit/module-creator.js.map +1 -1
- package/lib/utility/devkit-template-config.js +3 -0
- package/lib/utility/devkit-template-config.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js +1 -0
- package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js +5 -0
- package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js +5 -0
- package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js.map +1 -1
- package/package.json +56 -56
- package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js +0 -57
- package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +0 -18
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +0 -35
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/button/button.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/button/button.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/button/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js +0 -28
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/card/card.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/card/card.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/card/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/card/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +0 -38
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js +0 -57
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +0 -28
- package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js +0 -56
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/data/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js +0 -38
- package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js +0 -28
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +0 -57
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +0 -47
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js +0 -41
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/footer/footer.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/footer/footer.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/image/image.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/image/image.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/image/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/image/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +0 -39
- package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/number/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/number/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/number/number.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/number/number.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/picker.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/picker/picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/section/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/section/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js +0 -49
- package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js +0 -37
- package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +0 -17
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js +0 -35
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js +0 -81
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/i-project-data.js +0 -3
- package/lib/mobileapp/vue/internal-entity/i-project-data.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/index.js +0 -14
- package/lib/mobileapp/vue/internal-entity/page-flow/index.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js +0 -11
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js +0 -44
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js +0 -27
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js +0 -27
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js +0 -7
- package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js +0 -15
- package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-engine-context.js +0 -7
- package/lib/mobileapp/vue/internal-entity/vue-engine-context.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js +0 -7
- package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js.map +0 -1
- package/lib/mobileapp/vue/static/.gitignore +0 -13
- package/lib/template/ui/mobilevue/area-picker.pug +0 -55
- package/lib/template/ui/mobilevue/avatar.pug +0 -19
- package/lib/template/ui/mobilevue/common/text-common.pug +0 -80
- package/lib/template/ui/mobilevue/fm-staff-info.pug +0 -10
- package/lib/template/ui/mobilevue/footer.pug +0 -10
- package/lib/template/ui/mobilevue/label.pug +0 -12
- package/lib/template/ui/mobilevue/layout-container-col.pug +0 -11
- package/lib/template/ui/mobilevue/layout-container-row.pug +0 -12
- package/lib/template/ui/mobilevue/layout-container.pug +0 -11
- package/lib/template/ui/mobilevue/page-content-container.pug +0 -10
- package/lib/template/ui/mobilevue/page-footer-container.pug +0 -10
- package/lib/template/ui/mobilevue/page-header-container.pug +0 -10
- package/lib/template/ui/mobilevue/show-image.pug +0 -22
- package/lib/template/ui/mobilevue/tag.pug +0 -33
- package/lib/template/ui/mobilevue/text.pug +0 -118
- package/lib/template/ui/mobilevue/vant-tabpage.pug +0 -6
- package/lib/template/ui/mobilevue/vant-tabs.pug +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-component-generator.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/code-generator/file-generator/page-generator/page-component-generator.ts"],"names":[],"mappings":";;;AAAA,wEAAmE;AAGnE,wEAAmE;AAEnE,oFAA+E;AAc/E,MAAa,sBAAuB,SAAQ,+CAAqB;IAE/D,QAAQ,CAAC,OAA6B;QACpC,MAAM,QAAQ,GAA0B,+CAAqB,CAAC,mBAAmB,EAAE,CAAC;QACpF,MAAM,SAAS,GAAsC,OAAO,CAAC,iBAAiB,CAAC;QAC/E,MAAM,WAAW,GAAW,SAAS,CAAC,WAAW,CAAC;QAClD,MAAM,YAAY,GAAG,2CAAmB,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;QAC3E,MAAM,eAAe,GAAuB,SAAS,CAAC,eAAe,CAAC;QACtE,MAAM,mBAAmB,GAAG,IAAI,CAAC,kBAAkB,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extends abstract_file_generator_1.AbstractFileGenerat
|
|
|
11
11
|
const externalParameter = context.externalParameter;
|
|
12
12
|
const variable = externalParameter.value;
|
|
13
13
|
let generateString = "";
|
|
14
|
-
generateString += `
|
|
15
|
-
import { CommandHandler, CommandHandlerMeta, CommandContext } from '@farris/mobile-devkit';
|
|
16
|
-
import { StateMachineService } from '@farris/mobile-command-services';
|
|
14
|
+
generateString += `
|
|
15
|
+
import { CommandHandler, CommandHandlerMeta, CommandContext } from '@farris/mobile-devkit';
|
|
16
|
+
import { StateMachineService } from '@farris/mobile-command-services';
|
|
17
17
|
import { CreateDataService } from '@farris/mobile-command-services';`;
|
|
18
18
|
generateString += this.getEol();
|
|
19
19
|
if (toolhepler_1.ToolHelper.isArray(variable.services, false)) {
|
|
20
20
|
variable.services.forEach((service) => {
|
|
21
21
|
if (service.isCommon == "1" || service.isCommon == 1) {
|
|
22
|
-
generateString += `
|
|
22
|
+
generateString += `
|
|
23
23
|
import { ${service.name} as ${service.alias} } from '${service.path}';`;
|
|
24
24
|
}
|
|
25
25
|
else {
|
|
26
|
-
generateString += `
|
|
26
|
+
generateString += `
|
|
27
27
|
import { ${service.name} as ${service.alias} } from '../../../services/${service.fileName.toLowerCase()}';`;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
generateString += this.getEol();
|
|
32
|
-
generateString += `
|
|
33
|
-
@CommandHandlerMeta({
|
|
34
|
-
commandName: '${variable.code}'
|
|
35
|
-
})
|
|
32
|
+
generateString += `
|
|
33
|
+
@CommandHandlerMeta({
|
|
34
|
+
commandName: '${variable.code}'
|
|
35
|
+
})
|
|
36
36
|
export class ${page_command_handler_manager_1.PageCommandHandlerManager.generateCommandHandlerName(variable.code)} extends CommandHandler {`;
|
|
37
|
-
generateString += `
|
|
37
|
+
generateString += `
|
|
38
38
|
constructor(`;
|
|
39
39
|
if (toolhepler_1.ToolHelper.isArray(variable.services, false)) {
|
|
40
40
|
variable.services.forEach((service, index) => {
|
|
41
|
-
generateString += `
|
|
41
|
+
generateString += `
|
|
42
42
|
public _${service.alias}: ${service.alias}`;
|
|
43
43
|
if (index < (variable.services.length - 1)) {
|
|
44
44
|
generateString += `,`;
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
generateString += `
|
|
49
|
-
) {
|
|
50
|
-
super();
|
|
48
|
+
generateString += `
|
|
49
|
+
) {
|
|
50
|
+
super();
|
|
51
51
|
}`;
|
|
52
52
|
generateString += this.getEol();
|
|
53
|
-
generateString += `
|
|
53
|
+
generateString += `
|
|
54
54
|
schedule() {`;
|
|
55
55
|
if (toolhepler_1.ToolHelper.isArray(variable.handlers, false)) {
|
|
56
56
|
variable.handlers.forEach((task, index) => {
|
|
57
57
|
if (task.type == "executeNode") {
|
|
58
|
-
generateString += `
|
|
58
|
+
generateString += `
|
|
59
59
|
this.addTask('${task.code}', (context: CommandContext) => {`;
|
|
60
60
|
if (toolhepler_1.ToolHelper.isArray(task.params, false)) {
|
|
61
|
-
generateString += `
|
|
61
|
+
generateString += `
|
|
62
62
|
const args = [`;
|
|
63
63
|
task.params.forEach((param, index) => {
|
|
64
|
-
generateString += `
|
|
64
|
+
generateString += `
|
|
65
65
|
${(param.value && param.value.toLowerCase() != "null") ? "'" + param.value + "'" : "''"}`;
|
|
66
66
|
if (index < (task.params.length - 1)) {
|
|
67
67
|
generateString += `, `;
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
|
-
generateString += `
|
|
70
|
+
generateString += `
|
|
71
71
|
];`;
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
|
-
generateString += `
|
|
74
|
+
generateString += `
|
|
75
75
|
const args = [];`;
|
|
76
76
|
}
|
|
77
|
-
generateString += `
|
|
77
|
+
generateString += `
|
|
78
78
|
return this.invoke(this._${task.serviceName}, '${task.method}', args, context);`;
|
|
79
|
-
generateString += `
|
|
79
|
+
generateString += `
|
|
80
80
|
});`;
|
|
81
81
|
generateString += this.getEol();
|
|
82
82
|
}
|
|
@@ -84,13 +84,13 @@ export class ${page_command_handler_manager_1.PageCommandHandlerManager.generate
|
|
|
84
84
|
}
|
|
85
85
|
if (toolhepler_1.ToolHelper.isArray(variable.links, false)) {
|
|
86
86
|
variable.links.forEach((link, index) => {
|
|
87
|
-
generateString += `
|
|
87
|
+
generateString += `
|
|
88
88
|
this.addLink('${link.from}', '${link.to}', \`${link.condition}\`);`;
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
generateString += `
|
|
91
|
+
generateString += `
|
|
92
92
|
}`;
|
|
93
|
-
generateString += `
|
|
93
|
+
generateString += `
|
|
94
94
|
}`;
|
|
95
95
|
this.createFile(context.basePath, context.fileName, generateString);
|
|
96
96
|
return response;
|
package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js
CHANGED
|
@@ -20,97 +20,97 @@ class PageProviderGenerator extends abstract_file_generator_1.AbstractFileGenera
|
|
|
20
20
|
const lowerCaseComponentId = componentId.toLowerCase();
|
|
21
21
|
const serviceRefs = vueViewModel.serviceRefs.filter(item => item.isCommon ? false : true);
|
|
22
22
|
let generateString = "";
|
|
23
|
-
generateString += `
|
|
24
|
-
import {
|
|
25
|
-
StaticProvider, Injector, Repository,
|
|
26
|
-
ViewModel, BindingData, UIState, StateMachine, Form, ViewModelContext, COMMAND_HANDLERS_TOKEN
|
|
27
|
-
} from '@farris/mobile-devkit';
|
|
28
|
-
import { BEF_VIEWMODEL_PROVIDERS } from '@farris/mobile-bef';
|
|
29
|
-
import {
|
|
30
|
-
LoadDataService,
|
|
31
|
-
RemoveDataService,
|
|
32
|
-
RouterService,
|
|
33
|
-
CreateDataService,
|
|
34
|
-
COMMAND_SERVICES_VIEWMODEL_PROVIDERS,
|
|
35
|
-
CommandService,SaveDataService,
|
|
36
|
-
CancelDataService,
|
|
37
|
-
ApproveService,
|
|
38
|
-
StateMachineService,
|
|
39
|
-
AttachmentService,
|
|
40
|
-
EditDataService,
|
|
41
|
-
UpdateDataService,
|
|
42
|
-
CcWorkService,
|
|
43
|
-
ValidatorServices,
|
|
44
|
-
BusinessAttachmentService,
|
|
45
|
-
CheckDataService,
|
|
46
|
-
DiscussionGroupService,
|
|
47
|
-
DialogService,
|
|
48
|
-
LoadingService,
|
|
49
|
-
NotifyService,
|
|
50
|
-
ToastService,
|
|
51
|
-
JsBridgeService,
|
|
52
|
-
VoVariableService,
|
|
53
|
-
UIDataService
|
|
54
|
-
} from '@farris/mobile-command-services';
|
|
55
|
-
import { ModelRepository } from '../../models/model.repository'
|
|
56
|
-
${serviceRefs.map(item => 'import { ' + item.name + ' as ' + item.alias + ' } from "../../services/' + item.fileName.toLowerCase() + '";').join('')}
|
|
23
|
+
generateString += `
|
|
24
|
+
import {
|
|
25
|
+
StaticProvider, Injector, Repository,
|
|
26
|
+
ViewModel, BindingData, UIState, StateMachine, Form, ViewModelContext, COMMAND_HANDLERS_TOKEN
|
|
27
|
+
} from '@farris/mobile-devkit';
|
|
28
|
+
import { BEF_VIEWMODEL_PROVIDERS } from '@farris/mobile-bef';
|
|
29
|
+
import {
|
|
30
|
+
LoadDataService,
|
|
31
|
+
RemoveDataService,
|
|
32
|
+
RouterService,
|
|
33
|
+
CreateDataService,
|
|
34
|
+
COMMAND_SERVICES_VIEWMODEL_PROVIDERS,
|
|
35
|
+
CommandService,SaveDataService,
|
|
36
|
+
CancelDataService,
|
|
37
|
+
ApproveService,
|
|
38
|
+
StateMachineService,
|
|
39
|
+
AttachmentService,
|
|
40
|
+
EditDataService,
|
|
41
|
+
UpdateDataService,
|
|
42
|
+
CcWorkService,
|
|
43
|
+
ValidatorServices,
|
|
44
|
+
BusinessAttachmentService,
|
|
45
|
+
CheckDataService,
|
|
46
|
+
DiscussionGroupService,
|
|
47
|
+
DialogService,
|
|
48
|
+
LoadingService,
|
|
49
|
+
NotifyService,
|
|
50
|
+
ToastService,
|
|
51
|
+
JsBridgeService,
|
|
52
|
+
VoVariableService,
|
|
53
|
+
UIDataService
|
|
54
|
+
} from '@farris/mobile-command-services';
|
|
55
|
+
import { ModelRepository } from '../../models/model.repository'
|
|
56
|
+
${serviceRefs.map(item => 'import { ' + item.name + ' as ' + item.alias + ' } from "../../services/' + item.fileName.toLowerCase() + '";').join('')}
|
|
57
57
|
`;
|
|
58
58
|
if (vueViewModel.form) {
|
|
59
|
-
generateString += `
|
|
59
|
+
generateString += `
|
|
60
60
|
import { ${page_form_manager_1.PageFormManager.generatePageFormName(componentId)} } from "./${lowerCaseComponentId}.form";`;
|
|
61
61
|
}
|
|
62
62
|
if (vueViewModel.states) {
|
|
63
|
-
generateString += `
|
|
63
|
+
generateString += `
|
|
64
64
|
import { ${page_uistate_manager_1.PageUIStateManager.generateUIStateName(componentId)} } from "./${lowerCaseComponentId}.uistate";`;
|
|
65
65
|
}
|
|
66
66
|
if (vueViewModel.stateMachine) {
|
|
67
|
-
generateString += `
|
|
67
|
+
generateString += `
|
|
68
68
|
import { ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(componentId)} } from "./${lowerCaseComponentId}.statemachine";`;
|
|
69
69
|
}
|
|
70
|
-
generateString += `
|
|
70
|
+
generateString += `
|
|
71
71
|
import { ${page_viewmodel_manager_1.PageViewModelManager.generateViewModelName(componentId)} } from "./${lowerCaseComponentId}.viewmodel";`;
|
|
72
72
|
if (utility_1.ToolHelper.isArray(vueViewModel.commands, false)) {
|
|
73
73
|
vueViewModel.commands.forEach((item) => {
|
|
74
|
-
generateString += `
|
|
74
|
+
generateString += `
|
|
75
75
|
import { ${page_command_handler_manager_1.PageCommandHandlerManager.generateCommandHandlerName(item.code)} } from "./handlers/${item.code.toLowerCase()}.handler";`;
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
generateString += `
|
|
78
|
+
generateString += `
|
|
79
79
|
import {${page_binding_data_manager_1.PageBindingDataManager.generateBindingName(componentId)}} from "./${lowerCaseComponentId}.bindingdata";`;
|
|
80
|
-
generateString += `
|
|
81
|
-
|
|
80
|
+
generateString += `
|
|
81
|
+
|
|
82
82
|
export const ${providerName}: StaticProvider[] = [`;
|
|
83
|
-
generateString += `
|
|
83
|
+
generateString += `
|
|
84
84
|
{ provide: Repository, useExisting: ModelRepository, deps: []},`;
|
|
85
|
-
generateString += `
|
|
85
|
+
generateString += `
|
|
86
86
|
{ provide: BindingData, useClass: ${page_binding_data_manager_1.PageBindingDataManager.generateBindingName(componentId)}, deps: []},`;
|
|
87
87
|
if (vueViewModel.states) {
|
|
88
|
-
generateString += `
|
|
88
|
+
generateString += `
|
|
89
89
|
{ provide: UIState, useClass: ${page_uistate_manager_1.PageUIStateManager.generateUIStateName(componentId)}, deps: []},`;
|
|
90
90
|
}
|
|
91
91
|
if (vueViewModel.stateMachine) {
|
|
92
|
-
generateString += `
|
|
92
|
+
generateString += `
|
|
93
93
|
{ provide: StateMachine, useClass: ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(componentId)}, deps: []},`;
|
|
94
94
|
}
|
|
95
95
|
if (vueViewModel.form) {
|
|
96
|
-
generateString += `
|
|
96
|
+
generateString += `
|
|
97
97
|
{ provide: Form, useClass: ${page_form_manager_1.PageFormManager.generatePageFormName(componentId)}, deps: [ViewModelContext ] },`;
|
|
98
98
|
}
|
|
99
|
-
generateString += `
|
|
99
|
+
generateString += `
|
|
100
100
|
{ provide: ViewModel, useClass: ${page_viewmodel_manager_1.PageViewModelManager.generateViewModelName(componentId)}, deps: [Injector] },`;
|
|
101
101
|
if (utility_1.ToolHelper.isArray(vueViewModel.commands, false)) {
|
|
102
102
|
vueViewModel.commands.forEach((itemCommand) => {
|
|
103
|
-
generateString += `
|
|
103
|
+
generateString += `
|
|
104
104
|
{ provide: COMMAND_HANDLERS_TOKEN, useClass: ${page_command_handler_manager_1.PageCommandHandlerManager.generateCommandHandlerName(itemCommand.code)}, deps: [${this.generateHandlerService(itemCommand, serviceRefs)}], multi: true},`;
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
if (utility_1.ToolHelper.isArray(serviceRefs, false)) {
|
|
108
108
|
serviceRefs.forEach((service) => {
|
|
109
|
-
generateString += `
|
|
109
|
+
generateString += `
|
|
110
110
|
{ provide: ${service.alias}, useClass: ${service.alias}, deps: [ViewModelContext]},`;
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
-
generateString += `
|
|
113
|
+
generateString += `
|
|
114
114
|
].concat(COMMAND_SERVICES_VIEWMODEL_PROVIDERS).concat(BEF_VIEWMODEL_PROVIDERS);`;
|
|
115
115
|
this.createFile(context.basePath, context.fileName, generateString);
|
|
116
116
|
return response;
|
|
@@ -12,58 +12,58 @@ class PageStateMachineGenerator extends abstract_file_generator_1.AbstractFileGe
|
|
|
12
12
|
const variable = externalParameter.value;
|
|
13
13
|
let generateString = "";
|
|
14
14
|
const eol = this.getEol();
|
|
15
|
-
generateString += `
|
|
16
|
-
import { StateMachine, State, StatePropMeta, RenderState, RenderStatePropMeta, Action, ActionMethodMeta } from '@farris/mobile-devkit';
|
|
15
|
+
generateString += `
|
|
16
|
+
import { StateMachine, State, StatePropMeta, RenderState, RenderStatePropMeta, Action, ActionMethodMeta } from '@farris/mobile-devkit';
|
|
17
17
|
`;
|
|
18
|
-
generateString += `
|
|
19
|
-
export class ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(variable.componentId)} extends StateMachine {
|
|
18
|
+
generateString += `
|
|
19
|
+
export class ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(variable.componentId)} extends StateMachine {
|
|
20
20
|
`;
|
|
21
21
|
if (toolhepler_1.ToolHelper.isArray(variable.ngStates, false)) {
|
|
22
22
|
variable.ngStates.forEach((ngState) => {
|
|
23
23
|
if (ngState.initialState) {
|
|
24
|
-
generateString += `
|
|
25
|
-
@StatePropMeta({
|
|
26
|
-
initialState: true
|
|
24
|
+
generateString += `
|
|
25
|
+
@StatePropMeta({
|
|
26
|
+
initialState: true
|
|
27
27
|
})`;
|
|
28
28
|
}
|
|
29
29
|
else {
|
|
30
|
-
generateString += `
|
|
30
|
+
generateString += `
|
|
31
31
|
@StatePropMeta()`;
|
|
32
32
|
}
|
|
33
|
-
generateString += `
|
|
33
|
+
generateString += `
|
|
34
34
|
${ngState.name}: State;`;
|
|
35
35
|
generateString += eol;
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
if (toolhepler_1.ToolHelper.isArray(variable.ngRenderStates, false)) {
|
|
39
39
|
variable.ngRenderStates.forEach((ngRenderState) => {
|
|
40
|
-
generateString += `
|
|
41
|
-
@RenderStatePropMeta({
|
|
42
|
-
render: ${ngRenderState.render}
|
|
43
|
-
})
|
|
40
|
+
generateString += `
|
|
41
|
+
@RenderStatePropMeta({
|
|
42
|
+
render: ${ngRenderState.render}
|
|
43
|
+
})
|
|
44
44
|
${ngRenderState.name}: RenderState;`;
|
|
45
45
|
generateString += this.getEol();
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
if (toolhepler_1.ToolHelper.isArray(variable.ngActions, false)) {
|
|
49
49
|
variable.ngActions.forEach((ngAction) => {
|
|
50
|
-
generateString += `
|
|
50
|
+
generateString += `
|
|
51
51
|
@ActionMethodMeta({`;
|
|
52
52
|
if (ngAction.precondition) {
|
|
53
|
-
generateString += `
|
|
53
|
+
generateString += `
|
|
54
54
|
precondition: ${ngAction.precondition},`;
|
|
55
55
|
}
|
|
56
56
|
if (ngAction.transitTo) {
|
|
57
|
-
generateString += `
|
|
57
|
+
generateString += `
|
|
58
58
|
transitTo: '${ngAction.transitTo}'`;
|
|
59
59
|
}
|
|
60
|
-
generateString += `
|
|
61
|
-
})
|
|
60
|
+
generateString += `
|
|
61
|
+
})
|
|
62
62
|
${ngAction.name}: Action;`;
|
|
63
63
|
generateString += this.getEol();
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
generateString += `
|
|
66
|
+
generateString += `
|
|
67
67
|
}`;
|
|
68
68
|
this.createFile(context.basePath, context.fileName, generateString);
|
|
69
69
|
return response;
|
package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js
CHANGED
|
@@ -14,79 +14,79 @@ class PageViewModelGenerator extends abstract_file_generator_1.AbstractFileGener
|
|
|
14
14
|
let generateString = "";
|
|
15
15
|
const eol = this.getEol();
|
|
16
16
|
const externalPrefix = this.convertNullToEmpty(variable.externalPrefix);
|
|
17
|
-
generateString += `
|
|
18
|
-
import { Injector, ViewModel, CommandMethodMeta } from '@farris/mobile-devkit';
|
|
19
|
-
import { Observable } from 'rxjs';
|
|
17
|
+
generateString += `
|
|
18
|
+
import { Injector, ViewModel, CommandMethodMeta } from '@farris/mobile-devkit';
|
|
19
|
+
import { Observable } from 'rxjs';
|
|
20
20
|
`;
|
|
21
|
-
generateString += `
|
|
22
|
-
|
|
21
|
+
generateString += `
|
|
22
|
+
|
|
23
23
|
export class ${viewModelName} extends ViewModel {`;
|
|
24
24
|
if (variable.bindTo) {
|
|
25
|
-
generateString += `
|
|
25
|
+
generateString += `
|
|
26
26
|
public bindingPath = '${variable.bindTo}';`;
|
|
27
27
|
}
|
|
28
28
|
if (variable.component && variable.component.id) {
|
|
29
|
-
generateString += `
|
|
29
|
+
generateString += `
|
|
30
30
|
public id = '${variable.component.id}';`;
|
|
31
31
|
}
|
|
32
|
-
generateString += `
|
|
33
|
-
|
|
34
|
-
constructor(injector: Injector){
|
|
35
|
-
super(injector, "${variable.component && variable.component.id ? variable.component.id : ''}");
|
|
36
|
-
}
|
|
32
|
+
generateString += `
|
|
33
|
+
|
|
34
|
+
constructor(injector: Injector){
|
|
35
|
+
super(injector, "${variable.component && variable.component.id ? variable.component.id : ''}");
|
|
36
|
+
}
|
|
37
37
|
`;
|
|
38
38
|
if (toolhepler_1.ToolHelper.isArray(variable.commands, false)) {
|
|
39
39
|
variable.commands.forEach((command) => {
|
|
40
|
-
generateString += `
|
|
41
|
-
@CommandMethodMeta({
|
|
40
|
+
generateString += `
|
|
41
|
+
@CommandMethodMeta({
|
|
42
42
|
name: '${command.code}'`;
|
|
43
43
|
generateString += ",";
|
|
44
|
-
generateString += `
|
|
44
|
+
generateString += `
|
|
45
45
|
params: {`;
|
|
46
46
|
if (toolhepler_1.ToolHelper.isArray(command.params, false)) {
|
|
47
47
|
command.params.forEach((param, index) => {
|
|
48
|
-
generateString += `
|
|
48
|
+
generateString += `
|
|
49
49
|
${param.name}: '${param.value}'`;
|
|
50
50
|
if (index < (command.params.length - 1)) {
|
|
51
51
|
generateString += `,`;
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
generateString += `
|
|
55
|
+
generateString += `
|
|
56
56
|
}`;
|
|
57
57
|
if (toolhepler_1.ToolHelper.isArray(command.paramDescriptions, false)) {
|
|
58
58
|
generateString += ",";
|
|
59
|
-
generateString += `
|
|
59
|
+
generateString += `
|
|
60
60
|
paramDescriptions: {`;
|
|
61
61
|
command.paramDescriptions.forEach((paramDesc, index) => {
|
|
62
|
-
generateString += `
|
|
62
|
+
generateString += `
|
|
63
63
|
${paramDesc.name}: { type: '${paramDesc.type ? paramDesc.type : ""}' }`;
|
|
64
64
|
if (index < (command.paramDescriptions.length - 1)) {
|
|
65
65
|
generateString += ",";
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
generateString += `
|
|
68
|
+
generateString += `
|
|
69
69
|
}`;
|
|
70
70
|
}
|
|
71
71
|
if (command.shortcut) {
|
|
72
|
-
generateString += `
|
|
73
|
-
| ,
|
|
74
|
-
| keyBinding:{
|
|
75
|
-
| ctrlKey:${command.shortcut.ctrl},
|
|
76
|
-
| altKey:${command.shortcut.alt},
|
|
77
|
-
| shiftKey:${command.shortcut.shift},
|
|
78
|
-
| key:'${command.shortcut.key}'
|
|
79
|
-
}
|
|
72
|
+
generateString += `
|
|
73
|
+
| ,
|
|
74
|
+
| keyBinding:{
|
|
75
|
+
| ctrlKey:${command.shortcut.ctrl},
|
|
76
|
+
| altKey:${command.shortcut.alt},
|
|
77
|
+
| shiftKey:${command.shortcut.shift},
|
|
78
|
+
| key:'${command.shortcut.key}'
|
|
79
|
+
}
|
|
80
80
|
`;
|
|
81
81
|
}
|
|
82
|
-
generateString += `
|
|
82
|
+
generateString += `
|
|
83
83
|
})`;
|
|
84
|
-
generateString += `
|
|
84
|
+
generateString += `
|
|
85
85
|
public ${command.code}(commandParam?: any): Observable<any> { return; }`;
|
|
86
86
|
generateString += this.getEol();
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
generateString += `
|
|
89
|
+
generateString += `
|
|
90
90
|
}`;
|
|
91
91
|
this.createFile(context.basePath, context.fileName, generateString);
|
|
92
92
|
return response;
|
|
@@ -6,12 +6,12 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
|
|
|
6
6
|
class BabelConfigJsGenerator extends abstract_file_generator_1.AbstractFileGenerator {
|
|
7
7
|
generate(context) {
|
|
8
8
|
const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
|
|
9
|
-
const initContent = `
|
|
10
|
-
module.exports = {
|
|
11
|
-
presets: [
|
|
12
|
-
'@vue/cli-plugin-babel/preset'
|
|
13
|
-
]
|
|
14
|
-
}
|
|
9
|
+
const initContent = `
|
|
10
|
+
module.exports = {
|
|
11
|
+
presets: [
|
|
12
|
+
'@vue/cli-plugin-babel/preset'
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
15
|
`;
|
|
16
16
|
this.createFile(context.basePath, context.fileName, initContent);
|
|
17
17
|
return response;
|
package/lib/mobileapp/vue/code-generator/file-generator/project-generator/gitignore-generator.js
CHANGED
|
@@ -6,29 +6,29 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
|
|
|
6
6
|
class GitIgnoreGenerator extends abstract_file_generator_1.AbstractFileGenerator {
|
|
7
7
|
generate(context) {
|
|
8
8
|
const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
|
|
9
|
-
const initContent = `
|
|
10
|
-
.DS_Store
|
|
11
|
-
node_modules
|
|
12
|
-
/dist
|
|
13
|
-
|
|
14
|
-
# local env files
|
|
15
|
-
.env.local
|
|
16
|
-
.env.*.local
|
|
17
|
-
|
|
18
|
-
# Log files
|
|
19
|
-
npm-debug.log*
|
|
20
|
-
yarn-debug.log*
|
|
21
|
-
yarn-error.log*
|
|
22
|
-
pnpm-debug.log*
|
|
23
|
-
|
|
24
|
-
# Editor directories and files
|
|
25
|
-
.idea
|
|
26
|
-
.vscode
|
|
27
|
-
*.suo
|
|
28
|
-
*.ntvs*
|
|
29
|
-
*.njsproj
|
|
30
|
-
*.sln
|
|
31
|
-
*.sw?
|
|
9
|
+
const initContent = `
|
|
10
|
+
.DS_Store
|
|
11
|
+
node_modules
|
|
12
|
+
/dist
|
|
13
|
+
|
|
14
|
+
# local env files
|
|
15
|
+
.env.local
|
|
16
|
+
.env.*.local
|
|
17
|
+
|
|
18
|
+
# Log files
|
|
19
|
+
npm-debug.log*
|
|
20
|
+
yarn-debug.log*
|
|
21
|
+
yarn-error.log*
|
|
22
|
+
pnpm-debug.log*
|
|
23
|
+
|
|
24
|
+
# Editor directories and files
|
|
25
|
+
.idea
|
|
26
|
+
.vscode
|
|
27
|
+
*.suo
|
|
28
|
+
*.ntvs*
|
|
29
|
+
*.njsproj
|
|
30
|
+
*.sln
|
|
31
|
+
*.sw?
|
|
32
32
|
`;
|
|
33
33
|
this.createFile(context.basePath, context.fileName, initContent);
|
|
34
34
|
return response;
|
package/lib/mobileapp/vue/code-generator/file-generator/project-generator/main-ts-generator.js
CHANGED
|
@@ -6,17 +6,17 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
|
|
|
6
6
|
class MainTsGenerator extends abstract_file_generator_1.AbstractFileGenerator {
|
|
7
7
|
generate(context) {
|
|
8
8
|
const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
|
|
9
|
-
const initContent = `
|
|
10
|
-
import Vue from 'vue';
|
|
11
|
-
import App from './app.vue';
|
|
12
|
-
import router from './router';
|
|
13
|
-
|
|
14
|
-
Vue.config.productionTip = false;
|
|
15
|
-
|
|
16
|
-
new Vue({
|
|
17
|
-
router,
|
|
18
|
-
render: h => h(App)
|
|
19
|
-
}).$mount('#app');
|
|
9
|
+
const initContent = `
|
|
10
|
+
import Vue from 'vue';
|
|
11
|
+
import App from './app.vue';
|
|
12
|
+
import router from './router';
|
|
13
|
+
|
|
14
|
+
Vue.config.productionTip = false;
|
|
15
|
+
|
|
16
|
+
new Vue({
|
|
17
|
+
router,
|
|
18
|
+
render: h => h(App)
|
|
19
|
+
}).$mount('#app');
|
|
20
20
|
`;
|
|
21
21
|
this.createFile(context.basePath, context.fileName, initContent);
|
|
22
22
|
return response;
|