@farris/jit-engine 1.3.280 → 1.3.281
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/lib/mobileapp/vue/code-generator/app-manager/vue-app-model-provider-manager.js +17 -17
- package/lib/mobileapp/vue/code-generator/app-manager/vue-app-modelentity-manager.js +17 -17
- package/lib/mobileapp/vue/code-generator/app-manager/vue-app-modelproxy-manager.js +17 -17
- package/lib/mobileapp/vue/code-generator/app-manager/vue-app-modelrepository-manager.js +20 -20
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-expression-manager.js +17 -17
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-i18n-manager.js +18 -0
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-i18n-manager.js.map +1 -0
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +64 -65
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-router-manager.js +30 -30
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-services-manager.js +21 -21
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-validation-rule-manager.js +16 -16
- package/lib/mobileapp/vue/code-generator/devkit-manager/devkit-file-manager.js +12 -12
- package/lib/mobileapp/vue/code-generator/devkit-manager/devkit-parameter-generator.js +6 -6
- package/lib/mobileapp/vue/code-generator/devkit-manager/index.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/abstract-file-generator.js +24 -24
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/index.js +13 -13
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js +73 -73
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-filter-generator.js +16 -16
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-extraImports-generator.js +18 -18
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-resource-generator.js +17 -17
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +95 -106
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-entity-generator.js +192 -192
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-provider-generator.js +28 -28
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-proxy-generator.js +92 -92
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-repository-generator.js +63 -63
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-router-generator.js +41 -41
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-services.js +19 -19
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-validation-rule.js +35 -35
- package/lib/mobileapp/vue/code-generator/file-generator/file-generator-context.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/file-generator-factory.js +38 -38
- package/lib/mobileapp/vue/code-generator/file-generator/file-generator-manager.js +13 -13
- package/lib/mobileapp/vue/code-generator/file-generator/file-generator-response.js +15 -15
- package/lib/mobileapp/vue/code-generator/file-generator/file-generator-type.js +11 -11
- package/lib/mobileapp/vue/code-generator/file-generator/i-file-generator.js +2 -2
- package/lib/mobileapp/vue/code-generator/file-generator/index.js +15 -15
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-bindingdata-generator.js +19 -19
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-component-generator.js +220 -220
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-form-generator.js +133 -133
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-handler-generator.js +74 -74
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +81 -81
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-statemachine-generator.js +53 -53
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-uistate-generator.js +115 -115
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js +64 -64
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/babel-config-js-generator.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/farris-config-generator.js +54 -54
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/gitignore-generator.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/main-ts-generator.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js +17 -17
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/readme-md-generator.js +13 -13
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +66 -70
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shims-tsx-d-ts-generator.js +13 -13
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shimx-vue-d-ts-generator.js +13 -13
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/tsconfig-json-generator.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/vue-config-js-generator.js +14 -14
- package/lib/mobileapp/vue/code-generator/file-generator-filter.js +17 -17
- package/lib/mobileapp/vue/code-generator/file-generator-path-manager.js +43 -43
- package/lib/mobileapp/vue/code-generator/index.js +14 -14
- package/lib/mobileapp/vue/code-generator/page-manager/page-binding-data-manager.js +21 -21
- package/lib/mobileapp/vue/code-generator/page-manager/page-command-handler-manager.js +20 -20
- package/lib/mobileapp/vue/code-generator/page-manager/page-component-manager.js +46 -46
- package/lib/mobileapp/vue/code-generator/page-manager/page-form-manager.js +20 -20
- package/lib/mobileapp/vue/code-generator/page-manager/page-parameter-generator.js +13 -13
- package/lib/mobileapp/vue/code-generator/page-manager/page-provider-manager.js +21 -21
- package/lib/mobileapp/vue/code-generator/page-manager/page-statemachine-manager.js +21 -21
- package/lib/mobileapp/vue/code-generator/page-manager/page-uistate-manager.js +10 -10
- package/lib/mobileapp/vue/code-generator/page-manager/page-viewmodel-manager.js +21 -21
- package/lib/mobileapp/vue/code-generator/workspace-manager/workspace-file-manager.js +58 -58
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-content.js +45 -45
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation-parameter.js +49 -49
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation.js +53 -53
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-service.js +37 -37
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy.js +31 -31
- package/lib/mobileapp/vue/domstructure/devkit/command/vue-command-config.js +79 -79
- package/lib/mobileapp/vue/domstructure/devkit/command/vue-handler.js +36 -36
- package/lib/mobileapp/vue/domstructure/devkit/command/vue-link.js +22 -22
- package/lib/mobileapp/vue/domstructure/devkit/command/vue-parameter-description.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/command/vue-parameter.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/command/vue-shortcut.js +27 -27
- package/lib/mobileapp/vue/domstructure/devkit/component/index.js +14 -14
- package/lib/mobileapp/vue/domstructure/devkit/component/vue-component-ref.js +40 -40
- package/lib/mobileapp/vue/domstructure/devkit/component/vue-component.js +45 -45
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-dynamic-object.js +10 -10
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-entity.js +69 -69
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-enum.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-field.js +49 -49
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-list.js +10 -10
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-object.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/entity/vue-valid-rule.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/form/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-child-form.js +33 -33
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js +98 -98
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-form-config.js +40 -40
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-form-type.js +8 -8
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-form-valid-rule.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/i-devkit-entity.js +2 -2
- package/lib/mobileapp/vue/domstructure/devkit/index.js +17 -17
- package/lib/mobileapp/vue/domstructure/devkit/module/vue-language-config.js +19 -19
- package/lib/mobileapp/vue/domstructure/devkit/module/vue-module.js +32 -32
- package/lib/mobileapp/vue/domstructure/devkit/repository/vue-repository.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/routing/routing.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/service/vue-service.js +40 -40
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/vue-action.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/vue-render-state.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/vue-state.js +24 -24
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/vue-statemachine.js +47 -47
- package/lib/mobileapp/vue/domstructure/devkit/states/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/devkit/states/vue-states.js +68 -68
- package/lib/mobileapp/vue/domstructure/devkit/viewmodel/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/devkit/viewmodel/vue-viewmodel.js +117 -117
- package/lib/mobileapp/vue/domstructure/devkit/vue-appmodule.js +30 -30
- package/lib/mobileapp/vue/domstructure/devkit/vue-devkit.js +71 -71
- package/lib/mobileapp/vue/domstructure/devkit/vue-solution.js +38 -38
- package/lib/mobileapp/vue/domstructure/i-entity-tojson.js +2 -2
- package/lib/mobileapp/vue/domstructure/i-entity.js +2 -2
- package/lib/mobileapp/vue/domstructure/index.js +14 -14
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +15 -15
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +23 -23
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +15 -15
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +14 -14
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +32 -32
- package/lib/mobileapp/vue/domstructure/internal-entity/i-project-data.js +2 -2
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-convertor.js +10 -10
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-entity.js +41 -41
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-page.js +24 -24
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-project.js +24 -24
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js +6 -6
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-router-entity.js +14 -14
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-engine-context.js +6 -6
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-page-component-generate-parameter.js +6 -6
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +56 -56
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +38 -48
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +40 -40
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/image/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js +20 -20
- package/lib/mobileapp/vue/domstructure/ui/{card → basic/label}/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +44 -58
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +38 -48
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/index.js +14 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +41 -38
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +41 -38
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +35 -54
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/{data/fields → basic/tag}/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/index.js +15 -15
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +36 -36
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +31 -44
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +41 -38
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +26 -38
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +45 -55
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/index.js +15 -15
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +33 -43
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +28 -28
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/index.js +17 -17
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +38 -87
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/business/index.js +16 -16
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +31 -31
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-appearance.js +24 -24
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +41 -46
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-display.js +48 -48
- package/lib/mobileapp/vue/domstructure/ui/common/vue-margin.js +30 -30
- package/lib/mobileapp/vue/domstructure/ui/common/vue-padding.js +30 -30
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +38 -38
- package/lib/mobileapp/vue/domstructure/ui/common/vue-size.js +30 -30
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js +22 -22
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +31 -35
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +61 -65
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js +39 -69
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +26 -36
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/index.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +49 -46
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +33 -33
- 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 +17 -17
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +35 -35
- package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +48 -45
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/{text-box/text-box.js → container/vue-layout-container-col.js} +6 -6
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/{html-preview/html-preview.js → container/vue-layout-container-row.js} +6 -6
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/{picker/area-picker.js → container/vue-layout-container.js} +6 -6
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +11 -11
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +11 -11
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +11 -11
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +11 -11
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +45 -42
- package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +26 -36
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/{lookup/lookup-department.js → container/vue-template-container.js} +7 -6
- package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/{data → display/avatar}/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/banner/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +32 -32
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/index.js +14 -14
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +31 -60
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/display/index.js +18 -18
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +54 -68
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +48 -58
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/index.js +13 -13
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/{button → display/text}/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +47 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/i-ui-entity.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/index.js +17 -17
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +32 -32
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +35 -53
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +79 -104
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +33 -33
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +32 -33
- package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +36 -36
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +36 -36
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +32 -32
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/number.js +26 -36
- package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +45 -45
- package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js +35 -53
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +35 -53
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +41 -41
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +26 -26
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +93 -121
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/jit-engine-executor/index.js +13 -13
- package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js +42 -42
- package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
- package/lib/mobileapp/vue/pug-generator/i-pug-generator.js +2 -2
- package/lib/mobileapp/vue/pug-generator/index.js +15 -15
- package/lib/mobileapp/vue/pug-generator/pug-generator-context.js +10 -10
- package/lib/mobileapp/vue/pug-generator/pug-generator-manager.js +18 -18
- package/lib/mobileapp/vue/pug-generator/pug-generator-response.js +14 -14
- package/lib/mobileapp/vue/pug-generator/pug-generator.js +25 -25
- package/lib/mobileapp/vue/pug-generator/pug-template-type-enum.js +8 -8
- package/lib/mobileapp/vue/pug-template/config/devkit-template-config.js +19 -19
- package/lib/mobileapp/vue/pug-template/config/template-config-manager.js +25 -25
- package/lib/mobileapp/vue/pug-template/config/template-config-parameter.js +9 -9
- package/lib/mobileapp/vue/pug-template/config/template-config-type-enum.js +8 -8
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +161 -165
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
- package/lib/mobileapp/vue/pug-template/pug-template-manager.js +20 -20
- package/lib/mobileapp/vue/sourcefile-operation/abstract-sourcefile-operation.js +39 -39
- package/lib/mobileapp/vue/sourcefile-operation/command-sourcefile-operation.js +14 -14
- package/lib/mobileapp/vue/sourcefile-operation/eapi-soucefile-operation.js +17 -17
- package/lib/mobileapp/vue/sourcefile-operation/frm-sourcefile-operation.js +14 -14
- package/lib/mobileapp/vue/sourcefile-operation/i-sourcefile-operation.js +2 -2
- package/lib/mobileapp/vue/sourcefile-operation/pageflow-sourcefile-operation.js +13 -13
- package/lib/mobileapp/vue/sourcefile-operation/resource-sourcefile-operation.js +14 -14
- package/lib/mobileapp/vue/sourcefile-operation/sourcefile-operation-factory.js +42 -42
- package/lib/mobileapp/vue/sourcefile-operation/sourcefile-operation-manager-parameter.js +13 -13
- package/lib/mobileapp/vue/sourcefile-operation/sourcefile-operation-manager.js +29 -29
- package/lib/mobileapp/vue/sourcefile-operation/sourcefile-operation-options.js +16 -16
- package/lib/mobileapp/vue/sourcefile-operation/sourcefile-operation-response.js +14 -14
- package/lib/mobileapp/vue/sourcefile-operation/sourcefile-operation-type.js +12 -12
- package/lib/mobileapp/vue/sourcefile-operation/statemachine-sourcefile-operation.js +15 -15
- package/lib/mobileapp/vue/static/src/app.vue +7 -7
- package/lib/mobileapp/vue/task/vue-engine-task.js +82 -82
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +293 -301
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +121 -124
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +126 -126
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-devkit-creator.js +21 -21
- package/lib/mobileapp/vue/utility/devkit/vue-devkit-object-name-creator.js +52 -52
- package/lib/mobileapp/vue/utility/devkit/vue-entities-creator.js +40 -40
- package/lib/mobileapp/vue/utility/devkit/vue-entity-creator.js +46 -46
- package/lib/mobileapp/vue/utility/devkit/vue-entity-name-creator.js +14 -10
- package/lib/mobileapp/vue/utility/devkit/vue-entity-name-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-field-creator.js +222 -222
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js +91 -91
- package/lib/mobileapp/vue/utility/devkit/vue-handlers-creator.js +38 -38
- package/lib/mobileapp/vue/utility/devkit/vue-module-creator.js +56 -56
- package/lib/mobileapp/vue/utility/devkit/vue-repository-creator.js +46 -46
- package/lib/mobileapp/vue/utility/devkit/vue-routing-creator.js +15 -15
- package/lib/mobileapp/vue/utility/devkit/vue-statemachine-creator.js +39 -39
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +674 -672
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/helper/fs-helper.js +6 -6
- package/lib/mobileapp/vue/utility/helper/json-helper.js +6 -6
- package/lib/mobileapp/vue/utility/helper/string-helper.js +6 -6
- package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +120 -120
- package/lib/mobileapp/vue/utility/i18n/index.js +13 -13
- package/lib/mobileapp/vue/utility/index.js +15 -16
- package/lib/mobileapp/vue/utility/index.js.map +1 -1
- package/lib/mobileapp/vue/utility/mobileapp-vue-constant.js +41 -41
- package/lib/mobileapp/vue/utility/parameter-collector/abstract-vue-parameter-collector.js +6 -6
- package/lib/mobileapp/vue/utility/parameter-collector/i-vue-parameter-collector.js +2 -2
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/index.js +13 -13
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-control-collector-parameter.js +34 -34
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-control-collector.js +49 -49
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-collector.js +35 -35
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +28 -28
- package/lib/mobileapp/vue/utility/parameter-collector/vue-parameter-collector-options.js +6 -6
- package/lib/mobileapp/vue/utility/parameter-collector/vue-parameter-collector.response.js +9 -9
- package/lib/mobileapp/vue/utility/return-response.js +11 -11
- package/lib/mobileapp/vue/utility/template-generator/abstract-page-generator.js +14 -14
- package/lib/mobileapp/vue/utility/template-generator/page-child-component-generator.js +18 -18
- package/lib/mobileapp/vue/utility/template-generator/page-component-control-generator.js +22 -22
- package/lib/mobileapp/vue/utility/template-generator/page-component-external-generator.js +38 -38
- package/lib/mobileapp/vue/utility/template-generator/page-component-ref-generator.js +17 -17
- package/lib/mobileapp/vue/utility/template-generator/page-statemachine-generator.js +48 -48
- package/lib/mobileapp/vue/utility/type-convert.js +33 -33
- package/lib/mobileapp/vue/utility/vue-config-helper.js +31 -31
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js +80 -82
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-control-dom-type-mapping.js +47 -47
- package/lib/mobileapp/vue/utility/vue-event-viewmodel-modifier.js +103 -103
- package/lib/mobileapp/vue/utility/vue-object-creator.js +34 -56
- package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
- package/lib/template/ui/mobilevue/approval-comments.pug +10 -10
- package/lib/template/ui/mobilevue/approval-info.pug +18 -18
- package/lib/template/ui/mobilevue/approval-logs.pug +11 -11
- package/lib/template/ui/mobilevue/area-picker.pug +54 -54
- package/lib/template/ui/mobilevue/attachment-entry.pug +17 -17
- package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
- package/lib/template/ui/mobilevue/attachment-uploader.pug +18 -18
- package/lib/template/ui/mobilevue/attachment.pug +28 -28
- package/lib/template/ui/mobilevue/avatar.pug +19 -0
- package/lib/template/ui/mobilevue/button.pug +23 -23
- package/lib/template/ui/mobilevue/calendar-input.pug +63 -64
- package/lib/template/ui/mobilevue/calendar.pug +30 -30
- package/lib/template/ui/mobilevue/card.pug +19 -19
- package/lib/template/ui/mobilevue/checkbox-group.pug +53 -53
- package/lib/template/ui/mobilevue/container.pug +9 -9
- package/lib/template/ui/mobilevue/contentcontainer.pug +11 -11
- package/lib/template/ui/mobilevue/custom-box.pug +58 -60
- package/lib/template/ui/mobilevue/date-time-picker.pug +57 -59
- package/lib/template/ui/mobilevue/field-set.pug +14 -14
- package/lib/template/ui/mobilevue/filter.pug +23 -23
- package/lib/template/ui/mobilevue/form.pug +9 -9
- package/lib/template/ui/mobilevue/html-preview.pug +25 -25
- package/lib/template/ui/mobilevue/icon.pug +10 -10
- package/lib/template/ui/mobilevue/image.pug +11 -11
- package/lib/template/ui/mobilevue/label.pug +9 -12
- package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
- package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
- package/lib/template/ui/mobilevue/layout-container.pug +11 -0
- package/lib/template/ui/mobilevue/list-view.pug +84 -84
- package/lib/template/ui/mobilevue/lookup-department.pug +94 -96
- package/lib/template/ui/mobilevue/lookup-employee.pug +95 -97
- package/lib/template/ui/mobilevue/lookup-input.pug +95 -97
- package/lib/template/ui/mobilevue/nav-bar.pug +30 -30
- package/lib/template/ui/mobilevue/number.pug +50 -52
- package/lib/template/ui/mobilevue/picker-area.pug +55 -55
- package/lib/template/ui/mobilevue/picker-city.pug +64 -64
- package/lib/template/ui/mobilevue/picker-relation.pug +33 -35
- package/lib/template/ui/mobilevue/picker.pug +60 -60
- package/lib/template/ui/mobilevue/radio-group.pug +54 -54
- package/lib/template/ui/mobilevue/rich-text-editor.pug +57 -59
- package/lib/template/ui/mobilevue/schedule.pug +13 -13
- package/lib/template/ui/mobilevue/scroll-navbar.pug +13 -13
- package/lib/template/ui/mobilevue/search.pug +19 -19
- package/lib/template/ui/mobilevue/section.pug +33 -33
- package/lib/template/ui/mobilevue/staff-info.pug +12 -12
- package/lib/template/ui/mobilevue/switch.pug +45 -45
- package/lib/template/ui/mobilevue/tab-bar.pug +13 -13
- package/lib/template/ui/mobilevue/tabpage.pug +14 -12
- package/lib/template/ui/mobilevue/tabs.pug +16 -16
- package/lib/template/ui/mobilevue/tag.pug +33 -0
- package/lib/template/ui/mobilevue/text-area.pug +46 -47
- package/lib/template/ui/mobilevue/text-box-external.pug +66 -68
- package/lib/template/ui/mobilevue/text-box.pug +60 -62
- package/lib/template/ui/mobilevue/text-scan.pug +53 -55
- package/lib/template/ui/mobilevue/text-telphone.pug +36 -38
- package/lib/template/ui/mobilevue/text.pug +105 -0
- package/lib/template/ui/mobilevue/toolbar-area.pug +9 -9
- package/lib/template/ui/mobilevue/toolbar-item.pug +15 -15
- package/package.json +1 -1
- 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/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.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-visible.js +0 -57
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.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.map +0 -1
- 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/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.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.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.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.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/.npmignore +0 -13
- package/lib/template/ui/mobilevue/footer.pug +0 -10
- package/lib/template/ui/mobilevue/vant-tabpage.pug +0 -6
- package/lib/template/ui/mobilevue/vant-tabs.pug +0 -6
package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-component-generator.js
CHANGED
|
@@ -1,221 +1,221 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PageComponentGenerator = void 0;
|
|
4
|
-
const abstract_file_generator_1 = require("../abstract-file-generator");
|
|
5
|
-
const file_generator_response_1 = require("../file-generator-response");
|
|
6
|
-
const page_provider_manager_1 = require("../../page-manager/page-provider-manager");
|
|
7
|
-
class PageComponentGenerator extends abstract_file_generator_1.AbstractFileGenerator {
|
|
8
|
-
generate(context) {
|
|
9
|
-
const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
|
|
10
|
-
const parameter = context.externalParameter;
|
|
11
|
-
const componentId = parameter.componentId;
|
|
12
|
-
const providerName = page_provider_manager_1.PageProviderManager.generateProviderName(componentId);
|
|
13
|
-
const componentConfig = parameter.componentConfig;
|
|
14
|
-
const generateString = `
|
|
15
|
-
<template>
|
|
16
|
-
${parameter.templateHtml}
|
|
17
|
-
</template>
|
|
18
|
-
<script>
|
|
19
|
-
import {
|
|
20
|
-
recomputable,
|
|
21
|
-
mapBindingStates,
|
|
22
|
-
mapCommandMethods,
|
|
23
|
-
bindListviewExtenderDir,
|
|
24
|
-
bindAttachmentExtenderDir,
|
|
25
|
-
mapProviders,
|
|
26
|
-
LookupMappingService,
|
|
27
|
-
filterData,
|
|
28
|
-
filterMapData,
|
|
29
|
-
beforeCreateByVueAdapter,
|
|
30
|
-
createdByVueAdapter,
|
|
31
|
-
mountedByVueAdapter,
|
|
32
|
-
updatedByVueAdapter,
|
|
33
|
-
beforeUnmountByVueAdapter,
|
|
34
|
-
scrollActivated,
|
|
35
|
-
scrollDeactivated
|
|
36
|
-
} from '@farris/mobile-vue-adapter';
|
|
37
|
-
import {${providerName}} from "./${componentId.toLowerCase()}.provider";
|
|
38
|
-
|
|
39
|
-
${parameter.componentRef}
|
|
40
|
-
${parameter.externalImport.import}
|
|
41
|
-
|
|
42
|
-
export default
|
|
43
|
-
{
|
|
44
|
-
name : '${parameter.componentClassName}',
|
|
45
|
-
provide: mapProviders(),
|
|
46
|
-
data(){
|
|
47
|
-
return {
|
|
48
|
-
url:'',
|
|
49
|
-
lang: localStorage.getItem('languageCode') || "zh-CHS"
|
|
50
|
-
};
|
|
51
|
-
},
|
|
52
|
-
computed: {
|
|
53
|
-
...mapBindingStates(),
|
|
54
|
-
},
|
|
55
|
-
methods:{
|
|
56
|
-
${this.getOnInitCommand(componentConfig)
|
|
57
|
-
? 'pageLoad(){' + this.getOnInitCommand(componentConfig) + '},'
|
|
58
|
-
: ''}
|
|
59
|
-
...mapCommandMethods([${this.generateCommands(parameter.commands)}]),
|
|
60
|
-
${this.getGobackCommand(componentConfig)
|
|
61
|
-
? 'goBack() { this.url === document.URL && this.$viewModel.' +
|
|
62
|
-
this.getGobackCommand(componentConfig) +
|
|
63
|
-
'();},'
|
|
64
|
-
: ''}
|
|
65
|
-
${parameter.templateHtml.includes('fm-swipecell') ? `beforeShow() {
|
|
66
|
-
return new Promise((resolve )=>{
|
|
67
|
-
setTimeout(()=>{
|
|
68
|
-
resolve()
|
|
69
|
-
}, 100)
|
|
70
|
-
})
|
|
71
|
-
},` : ''}
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
components:{
|
|
75
|
-
${parameter.childComponents}
|
|
76
|
-
${parameter.externalImport.register}
|
|
77
|
-
},
|
|
78
|
-
beforeCreate(){
|
|
79
|
-
${this.generateInitPage(componentConfig)}
|
|
80
|
-
${this.getOnLoadDataCommand(componentConfig)
|
|
81
|
-
? 'this.$app.context.eventBus.subscribe("' +
|
|
82
|
-
componentId +
|
|
83
|
-
"\",(event) => {if(event['type'] === 'LoadData'){" +
|
|
84
|
-
this.getOnLoadDataCommand(componentConfig) +
|
|
85
|
-
'}});'
|
|
86
|
-
: ''}
|
|
87
|
-
${this.getOnBeforeInitCommand(componentConfig)}
|
|
88
|
-
beforeCreateByVueAdapter && beforeCreateByVueAdapter(this);
|
|
89
|
-
// 初始加载数据
|
|
90
|
-
//this.pageLoad();
|
|
91
|
-
//this.$viewModel.load();
|
|
92
|
-
},
|
|
93
|
-
created(){
|
|
94
|
-
${this.getOnInitCommand(componentConfig) ? 'this.pageLoad();' : ''}
|
|
95
|
-
createdByVueAdapter && createdByVueAdapter(this);
|
|
96
|
-
},
|
|
97
|
-
mounted() {
|
|
98
|
-
${componentConfig.keepAlive ? '' : this.getGobackCommandCode(componentConfig)}
|
|
99
|
-
${componentConfig.keepAlive ? '' : this.getGobackCommandForWF(componentConfig)}
|
|
100
|
-
this.$nextTick(function () {
|
|
101
|
-
this.$bindComponentExtenders(this.$refs);
|
|
102
|
-
});
|
|
103
|
-
mountedByVueAdapter && mountedByVueAdapter(this);
|
|
104
|
-
},
|
|
105
|
-
updated() {
|
|
106
|
-
this.$bindComponentExtenders(this.$refs);
|
|
107
|
-
updatedByVueAdapter && updatedByVueAdapter(this);
|
|
108
|
-
},
|
|
109
|
-
${this.generateActivated(componentConfig)}
|
|
110
|
-
beforeUnmount() {
|
|
111
|
-
${this.getOnLoadDataCommand(componentConfig)
|
|
112
|
-
? 'this.$app.context.eventBus.unsubscribe("' + componentId + '"),'
|
|
113
|
-
: ''}
|
|
114
|
-
${componentConfig.goBack && !componentConfig.keepAlive
|
|
115
|
-
? 'window.removeEventListener("popstate", this.goBack, false); //false阻止默认事件'
|
|
116
|
-
: ''}
|
|
117
|
-
this.$unbindComponentExtenders(this.$refs);
|
|
118
|
-
beforeUnmountByVueAdapter && beforeUnmountByVueAdapter(this);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
</script>
|
|
122
|
-
<style>
|
|
123
|
-
${componentConfig.customClass ? componentConfig.customClass : ''}
|
|
124
|
-
</style>
|
|
125
|
-
`;
|
|
126
|
-
this.createFile(context.basePath, context.fileName, generateString);
|
|
127
|
-
return response;
|
|
128
|
-
}
|
|
129
|
-
getOnInitCommand(componentConfig) {
|
|
130
|
-
if (componentConfig.onInit) {
|
|
131
|
-
return componentConfig.onInit;
|
|
132
|
-
}
|
|
133
|
-
return '';
|
|
134
|
-
}
|
|
135
|
-
getOnBeforeInitCommand(componentConfig) {
|
|
136
|
-
if (componentConfig.onBeforeInit) {
|
|
137
|
-
return componentConfig.onBeforeInit;
|
|
138
|
-
}
|
|
139
|
-
return '';
|
|
140
|
-
}
|
|
141
|
-
getOnActivedCommand(componentConfig) {
|
|
142
|
-
if (componentConfig.onActived) {
|
|
143
|
-
return componentConfig.onActived;
|
|
144
|
-
}
|
|
145
|
-
return '';
|
|
146
|
-
}
|
|
147
|
-
getOnLoadDataCommand(componentConfig) {
|
|
148
|
-
if (componentConfig.onLoadData) {
|
|
149
|
-
return componentConfig.onLoadData;
|
|
150
|
-
}
|
|
151
|
-
return '';
|
|
152
|
-
}
|
|
153
|
-
generateCommands(commands) {
|
|
154
|
-
if (!commands) {
|
|
155
|
-
return '';
|
|
156
|
-
}
|
|
157
|
-
let generateString = '';
|
|
158
|
-
commands.forEach((item, index) => {
|
|
159
|
-
generateString += "'" + item.code + "'";
|
|
160
|
-
if (index < commands.length - 1) {
|
|
161
|
-
generateString += ',';
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
return generateString;
|
|
165
|
-
}
|
|
166
|
-
generateInitPage(componentConfig, from) {
|
|
167
|
-
const providerName = page_provider_manager_1.PageProviderManager.generateProviderName(componentConfig.id);
|
|
168
|
-
return `
|
|
169
|
-
// 创建ViewModel
|
|
170
|
-
const viewModelOptions = {
|
|
171
|
-
id: '${componentConfig.id}',
|
|
172
|
-
${from === 'activated' ? 'keepAlive: true,' : ''}
|
|
173
|
-
providers: ${providerName}
|
|
174
|
-
};
|
|
175
|
-
this.$initPage(viewModelOptions);`;
|
|
176
|
-
}
|
|
177
|
-
generateActivated(componentConfig) {
|
|
178
|
-
if (componentConfig.keepAlive) {
|
|
179
|
-
return `activated() {
|
|
180
|
-
${this.generateInitPage(componentConfig, 'activated')}
|
|
181
|
-
${this.getGobackCommandCode(componentConfig)}
|
|
182
|
-
${this.getGobackCommandForWF(componentConfig)}
|
|
183
|
-
${this.getOnActivedCommand(componentConfig)}
|
|
184
|
-
scrollActivated && scrollActivated(this);
|
|
185
|
-
},
|
|
186
|
-
deactivated() {
|
|
187
|
-
${componentConfig.goBack
|
|
188
|
-
? 'window.removeEventListener("popstate", this.goBack, false); //false阻止默认事件'
|
|
189
|
-
: ''}
|
|
190
|
-
scrollDeactivated && scrollDeactivated(this);
|
|
191
|
-
},`;
|
|
192
|
-
}
|
|
193
|
-
return '';
|
|
194
|
-
}
|
|
195
|
-
getGobackCommandForWF(componentConfig) {
|
|
196
|
-
if (componentConfig.goBackForWF) {
|
|
197
|
-
return `
|
|
198
|
-
window.top['detailBackBtnClickHandler'] = this.${componentConfig.goBackForWF};`;
|
|
199
|
-
}
|
|
200
|
-
return '';
|
|
201
|
-
}
|
|
202
|
-
getGobackCommand(componentConfig) {
|
|
203
|
-
if (componentConfig.goBack) {
|
|
204
|
-
return componentConfig.goBack;
|
|
205
|
-
}
|
|
206
|
-
return '';
|
|
207
|
-
}
|
|
208
|
-
getGobackCommandCode(componentConfig) {
|
|
209
|
-
if (componentConfig.goBack) {
|
|
210
|
-
return `
|
|
211
|
-
if (window.history && window.history.pushState) {
|
|
212
|
-
this.url = document.URL
|
|
213
|
-
history.pushState(null, null, document.URL);
|
|
214
|
-
window.addEventListener("popstate", this.goBack, false); //false阻止默认事件
|
|
215
|
-
}`;
|
|
216
|
-
}
|
|
217
|
-
return '';
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
exports.PageComponentGenerator = PageComponentGenerator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageComponentGenerator = void 0;
|
|
4
|
+
const abstract_file_generator_1 = require("../abstract-file-generator");
|
|
5
|
+
const file_generator_response_1 = require("../file-generator-response");
|
|
6
|
+
const page_provider_manager_1 = require("../../page-manager/page-provider-manager");
|
|
7
|
+
class PageComponentGenerator extends abstract_file_generator_1.AbstractFileGenerator {
|
|
8
|
+
generate(context) {
|
|
9
|
+
const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
|
|
10
|
+
const parameter = context.externalParameter;
|
|
11
|
+
const componentId = parameter.componentId;
|
|
12
|
+
const providerName = page_provider_manager_1.PageProviderManager.generateProviderName(componentId);
|
|
13
|
+
const componentConfig = parameter.componentConfig;
|
|
14
|
+
const generateString = `
|
|
15
|
+
<template>
|
|
16
|
+
${parameter.templateHtml}
|
|
17
|
+
</template>
|
|
18
|
+
<script>
|
|
19
|
+
import {
|
|
20
|
+
recomputable,
|
|
21
|
+
mapBindingStates,
|
|
22
|
+
mapCommandMethods,
|
|
23
|
+
bindListviewExtenderDir,
|
|
24
|
+
bindAttachmentExtenderDir,
|
|
25
|
+
mapProviders,
|
|
26
|
+
LookupMappingService,
|
|
27
|
+
filterData,
|
|
28
|
+
filterMapData,
|
|
29
|
+
beforeCreateByVueAdapter,
|
|
30
|
+
createdByVueAdapter,
|
|
31
|
+
mountedByVueAdapter,
|
|
32
|
+
updatedByVueAdapter,
|
|
33
|
+
beforeUnmountByVueAdapter,
|
|
34
|
+
scrollActivated,
|
|
35
|
+
scrollDeactivated
|
|
36
|
+
} from '@farris/mobile-vue-adapter';
|
|
37
|
+
import {${providerName}} from "./${componentId.toLowerCase()}.provider";
|
|
38
|
+
|
|
39
|
+
${parameter.componentRef}
|
|
40
|
+
${parameter.externalImport.import}
|
|
41
|
+
|
|
42
|
+
export default
|
|
43
|
+
{
|
|
44
|
+
name : '${parameter.componentClassName}',
|
|
45
|
+
provide: mapProviders(),
|
|
46
|
+
data(){
|
|
47
|
+
return {
|
|
48
|
+
url:'',
|
|
49
|
+
lang: localStorage.getItem('languageCode') || "zh-CHS"
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
computed: {
|
|
53
|
+
...mapBindingStates(),
|
|
54
|
+
},
|
|
55
|
+
methods:{
|
|
56
|
+
${this.getOnInitCommand(componentConfig)
|
|
57
|
+
? 'pageLoad(){' + this.getOnInitCommand(componentConfig) + '},'
|
|
58
|
+
: ''}
|
|
59
|
+
...mapCommandMethods([${this.generateCommands(parameter.commands)}]),
|
|
60
|
+
${this.getGobackCommand(componentConfig)
|
|
61
|
+
? 'goBack() { this.url === document.URL && this.$viewModel.' +
|
|
62
|
+
this.getGobackCommand(componentConfig) +
|
|
63
|
+
'();},'
|
|
64
|
+
: ''}
|
|
65
|
+
${parameter.templateHtml.includes('fm-swipecell') ? `beforeShow() {
|
|
66
|
+
return new Promise((resolve )=>{
|
|
67
|
+
setTimeout(()=>{
|
|
68
|
+
resolve()
|
|
69
|
+
}, 100)
|
|
70
|
+
})
|
|
71
|
+
},` : ''}
|
|
72
|
+
|
|
73
|
+
},
|
|
74
|
+
components:{
|
|
75
|
+
${parameter.childComponents}
|
|
76
|
+
${parameter.externalImport.register}
|
|
77
|
+
},
|
|
78
|
+
beforeCreate(){
|
|
79
|
+
${this.generateInitPage(componentConfig)}
|
|
80
|
+
${this.getOnLoadDataCommand(componentConfig)
|
|
81
|
+
? 'this.$app.context.eventBus.subscribe("' +
|
|
82
|
+
componentId +
|
|
83
|
+
"\",(event) => {if(event['type'] === 'LoadData'){" +
|
|
84
|
+
this.getOnLoadDataCommand(componentConfig) +
|
|
85
|
+
'}});'
|
|
86
|
+
: ''}
|
|
87
|
+
${this.getOnBeforeInitCommand(componentConfig)}
|
|
88
|
+
beforeCreateByVueAdapter && beforeCreateByVueAdapter(this);
|
|
89
|
+
// 初始加载数据
|
|
90
|
+
//this.pageLoad();
|
|
91
|
+
//this.$viewModel.load();
|
|
92
|
+
},
|
|
93
|
+
created(){
|
|
94
|
+
${this.getOnInitCommand(componentConfig) ? 'this.pageLoad();' : ''}
|
|
95
|
+
createdByVueAdapter && createdByVueAdapter(this);
|
|
96
|
+
},
|
|
97
|
+
mounted() {
|
|
98
|
+
${componentConfig.keepAlive ? '' : this.getGobackCommandCode(componentConfig)}
|
|
99
|
+
${componentConfig.keepAlive ? '' : this.getGobackCommandForWF(componentConfig)}
|
|
100
|
+
this.$nextTick(function () {
|
|
101
|
+
this.$bindComponentExtenders(this.$refs);
|
|
102
|
+
});
|
|
103
|
+
mountedByVueAdapter && mountedByVueAdapter(this);
|
|
104
|
+
},
|
|
105
|
+
updated() {
|
|
106
|
+
this.$bindComponentExtenders(this.$refs);
|
|
107
|
+
updatedByVueAdapter && updatedByVueAdapter(this);
|
|
108
|
+
},
|
|
109
|
+
${this.generateActivated(componentConfig)}
|
|
110
|
+
beforeUnmount() {
|
|
111
|
+
${this.getOnLoadDataCommand(componentConfig)
|
|
112
|
+
? 'this.$app.context.eventBus.unsubscribe("' + componentId + '"),'
|
|
113
|
+
: ''}
|
|
114
|
+
${componentConfig.goBack && !componentConfig.keepAlive
|
|
115
|
+
? 'window.removeEventListener("popstate", this.goBack, false); //false阻止默认事件'
|
|
116
|
+
: ''}
|
|
117
|
+
this.$unbindComponentExtenders(this.$refs);
|
|
118
|
+
beforeUnmountByVueAdapter && beforeUnmountByVueAdapter(this);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
</script>
|
|
122
|
+
<style>
|
|
123
|
+
${componentConfig.customClass ? componentConfig.customClass : ''}
|
|
124
|
+
</style>
|
|
125
|
+
`;
|
|
126
|
+
this.createFile(context.basePath, context.fileName, generateString);
|
|
127
|
+
return response;
|
|
128
|
+
}
|
|
129
|
+
getOnInitCommand(componentConfig) {
|
|
130
|
+
if (componentConfig.onInit) {
|
|
131
|
+
return componentConfig.onInit;
|
|
132
|
+
}
|
|
133
|
+
return '';
|
|
134
|
+
}
|
|
135
|
+
getOnBeforeInitCommand(componentConfig) {
|
|
136
|
+
if (componentConfig.onBeforeInit) {
|
|
137
|
+
return componentConfig.onBeforeInit;
|
|
138
|
+
}
|
|
139
|
+
return '';
|
|
140
|
+
}
|
|
141
|
+
getOnActivedCommand(componentConfig) {
|
|
142
|
+
if (componentConfig.onActived) {
|
|
143
|
+
return componentConfig.onActived;
|
|
144
|
+
}
|
|
145
|
+
return '';
|
|
146
|
+
}
|
|
147
|
+
getOnLoadDataCommand(componentConfig) {
|
|
148
|
+
if (componentConfig.onLoadData) {
|
|
149
|
+
return componentConfig.onLoadData;
|
|
150
|
+
}
|
|
151
|
+
return '';
|
|
152
|
+
}
|
|
153
|
+
generateCommands(commands) {
|
|
154
|
+
if (!commands) {
|
|
155
|
+
return '';
|
|
156
|
+
}
|
|
157
|
+
let generateString = '';
|
|
158
|
+
commands.forEach((item, index) => {
|
|
159
|
+
generateString += "'" + item.code + "'";
|
|
160
|
+
if (index < commands.length - 1) {
|
|
161
|
+
generateString += ',';
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
return generateString;
|
|
165
|
+
}
|
|
166
|
+
generateInitPage(componentConfig, from) {
|
|
167
|
+
const providerName = page_provider_manager_1.PageProviderManager.generateProviderName(componentConfig.id);
|
|
168
|
+
return `
|
|
169
|
+
// 创建ViewModel
|
|
170
|
+
const viewModelOptions = {
|
|
171
|
+
id: '${componentConfig.id}',
|
|
172
|
+
${from === 'activated' ? 'keepAlive: true,' : ''}
|
|
173
|
+
providers: ${providerName}
|
|
174
|
+
};
|
|
175
|
+
this.$initPage(viewModelOptions);`;
|
|
176
|
+
}
|
|
177
|
+
generateActivated(componentConfig) {
|
|
178
|
+
if (componentConfig.keepAlive) {
|
|
179
|
+
return `activated() {
|
|
180
|
+
${this.generateInitPage(componentConfig, 'activated')}
|
|
181
|
+
${this.getGobackCommandCode(componentConfig)}
|
|
182
|
+
${this.getGobackCommandForWF(componentConfig)}
|
|
183
|
+
${this.getOnActivedCommand(componentConfig)}
|
|
184
|
+
scrollActivated && scrollActivated(this);
|
|
185
|
+
},
|
|
186
|
+
deactivated() {
|
|
187
|
+
${componentConfig.goBack
|
|
188
|
+
? 'window.removeEventListener("popstate", this.goBack, false); //false阻止默认事件'
|
|
189
|
+
: ''}
|
|
190
|
+
scrollDeactivated && scrollDeactivated(this);
|
|
191
|
+
},`;
|
|
192
|
+
}
|
|
193
|
+
return '';
|
|
194
|
+
}
|
|
195
|
+
getGobackCommandForWF(componentConfig) {
|
|
196
|
+
if (componentConfig.goBackForWF) {
|
|
197
|
+
return `
|
|
198
|
+
window.top['detailBackBtnClickHandler'] = this.${componentConfig.goBackForWF};`;
|
|
199
|
+
}
|
|
200
|
+
return '';
|
|
201
|
+
}
|
|
202
|
+
getGobackCommand(componentConfig) {
|
|
203
|
+
if (componentConfig.goBack) {
|
|
204
|
+
return componentConfig.goBack;
|
|
205
|
+
}
|
|
206
|
+
return '';
|
|
207
|
+
}
|
|
208
|
+
getGobackCommandCode(componentConfig) {
|
|
209
|
+
if (componentConfig.goBack) {
|
|
210
|
+
return `
|
|
211
|
+
if (window.history && window.history.pushState) {
|
|
212
|
+
this.url = document.URL
|
|
213
|
+
history.pushState(null, null, document.URL);
|
|
214
|
+
window.addEventListener("popstate", this.goBack, false); //false阻止默认事件
|
|
215
|
+
}`;
|
|
216
|
+
}
|
|
217
|
+
return '';
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
exports.PageComponentGenerator = PageComponentGenerator;
|
|
221
221
|
//# sourceMappingURL=page-component-generator.js.map
|