@farris/jit-engine 1.3.314 → 1.3.315
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 +1 -5
- package/bin/index.js +12 -85
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +1 -2
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.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-index-vue-generator.js +19 -17
- 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-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/page-generator/page-bindingdata-generator.js +11 -11
- 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/app-vue-generator.js +7 -33
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js.map +1 -1
- 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/readme-md-generator.js +20 -20
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +7 -11
- 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 +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/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/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/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +2 -12
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +7 -21
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +2 -12
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +7 -4
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +7 -4
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +2 -21
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +2 -29
- 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 +2 -15
- 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 +7 -4
- 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 +2 -12
- 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 +2 -14
- 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 +2 -12
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
- 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 +2 -12
- 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 +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +2 -53
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +2 -26
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +1 -6
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +1 -5
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +0 -4
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js +2 -32
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +2 -12
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +7 -4
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +2 -2
- 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 +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +7 -4
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +7 -14
- package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +2 -12
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +3 -32
- 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 +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +9 -23
- 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/staff-info.js +2 -12
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +2 -20
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +3 -37
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +2 -14
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/number.js +3 -13
- package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js +2 -20
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +2 -20
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +2 -34
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +1 -5
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
- package/lib/mobileapp/vue/static/.editorconfig +9 -9
- package/lib/mobileapp/vue/static/.npmignore +13 -0
- 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/app.vue +4 -25
- 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/task/vue-recursiveGenerateDevkit.js +4 -12
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +1 -4
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +2 -2
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/index.js +0 -1
- package/lib/mobileapp/vue/utility/index.js.map +1 -1
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +2 -2
- 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/vue-content-type-creator.js +0 -2
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-object-creator.js +0 -22
- package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
- package/lib/template/ui/mobilevue/action-bar.pug +10 -10
- package/lib/template/ui/mobilevue/approval-comments.pug +1 -1
- package/lib/template/ui/mobilevue/approval-info.pug +8 -2
- package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
- package/lib/template/ui/mobilevue/{picker-area.pug → area-picker.pug} +5 -6
- package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
- package/lib/template/ui/mobilevue/banner.pug +4 -4
- package/lib/template/ui/mobilevue/button.pug +1 -1
- package/lib/template/ui/mobilevue/calendar-input.pug +4 -5
- package/lib/template/ui/mobilevue/card.pug +2 -2
- package/lib/template/ui/mobilevue/checkbox-group.pug +4 -4
- package/lib/template/ui/mobilevue/component-ref.pug +3 -3
- package/lib/template/ui/mobilevue/custom-box.pug +4 -6
- package/lib/template/ui/mobilevue/date-time-picker.pug +5 -7
- package/lib/template/ui/mobilevue/field-set.pug +2 -3
- package/lib/template/ui/mobilevue/filter.pug +2 -2
- package/lib/template/ui/mobilevue/html-preview.pug +1 -1
- package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
- package/lib/template/ui/mobilevue/list-view.pug +1 -4
- package/lib/template/ui/mobilevue/lookup-department.pug +5 -7
- package/lib/template/ui/mobilevue/lookup-employee.pug +7 -10
- package/lib/template/ui/mobilevue/lookup-input.pug +7 -9
- package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
- package/lib/template/ui/mobilevue/number.pug +5 -8
- package/lib/template/ui/mobilevue/picker-relation.pug +3 -5
- package/lib/template/ui/mobilevue/picker.pug +6 -6
- package/lib/template/ui/mobilevue/radio-group.pug +4 -4
- package/lib/template/ui/mobilevue/rich-text-editor.pug +6 -8
- package/lib/template/ui/mobilevue/schedule.pug +1 -1
- package/lib/template/ui/mobilevue/scroll-navbar.pug +1 -1
- package/lib/template/ui/mobilevue/search.pug +1 -1
- package/lib/template/ui/mobilevue/section.pug +1 -1
- package/lib/template/ui/mobilevue/sidebar-item.pug +9 -9
- package/lib/template/ui/mobilevue/sidebar.pug +11 -11
- package/lib/template/ui/mobilevue/staff-info.pug +1 -1
- package/lib/template/ui/mobilevue/static-text.pug +1 -1
- package/lib/template/ui/mobilevue/steps.pug +8 -8
- package/lib/template/ui/mobilevue/switch.pug +4 -5
- package/lib/template/ui/mobilevue/tab-bar.pug +1 -1
- package/lib/template/ui/mobilevue/tabpage.pug +3 -1
- package/lib/template/ui/mobilevue/text-area.pug +4 -5
- package/lib/template/ui/mobilevue/text-box-external.pug +4 -6
- package/lib/template/ui/mobilevue/text-box.pug +5 -8
- package/lib/template/ui/mobilevue/text-scan.pug +4 -6
- package/lib/template/ui/mobilevue/text-telphone.pug +3 -13
- package/lib/template/ui/mobilevue/toolbar-area.pug +1 -1
- package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
- package/lib/template/ui/mobilevue/toolbar.pug +5 -5
- package/lib/utility/devkit/component-external-container-parameter-creator.js +91 -86
- package/lib/utility/devkit/component-external-container-parameter-creator.js.map +1 -1
- package/lib/utility/devkit/component-external-container-parameter.js +12 -12
- package/lib/utility/devkit/component-external-container-parameter.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js +82 -81
- package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js.map +1 -1
- package/package.json +1 -2
- package/lib/command/check.js +0 -102
- package/lib/command/check.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +0 -24
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +0 -16
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +0 -15
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +0 -33
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +0 -41
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +0 -1
- package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +0 -121
- package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +0 -1
- package/lib/mobileapp/vue/utility/i18n/index.js +0 -14
- package/lib/mobileapp/vue/utility/i18n/index.js.map +0 -1
- package/lib/template/ui/mobilevue/icon.pug +0 -11
- package/lib/template/ui/mobilevue/picker-city.pug +0 -65
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.I18nResourceManager = void 0;
|
|
4
|
-
const build_file_version_constants_1 = require("../../../../utility/build-file-version/build-file-version-constants");
|
|
5
|
-
const build_file_version_manager_1 = require("../../../../utility/build-file-version/build-file-version-manager");
|
|
6
|
-
const directory_file_helper_1 = require("../../../../utility/directory-file-helper");
|
|
7
|
-
const logger_helper_1 = require("../../../../utility/logger/logger-helper");
|
|
8
|
-
const toolhepler_1 = require("../../../../utility/toolhepler");
|
|
9
|
-
class I18nResourceManager {
|
|
10
|
-
static generateI18nResourceId(id, prefix) {
|
|
11
|
-
if (prefix) {
|
|
12
|
-
return prefix + "/" + id;
|
|
13
|
-
}
|
|
14
|
-
return id;
|
|
15
|
-
}
|
|
16
|
-
static generateI18nResourceIdWithoutPrefix(id) {
|
|
17
|
-
return this.generateI18nResourceId(id, null);
|
|
18
|
-
}
|
|
19
|
-
static wrapStringWithSingleQuotes(str) {
|
|
20
|
-
if (!str) {
|
|
21
|
-
return str;
|
|
22
|
-
}
|
|
23
|
-
return `'${str}'`;
|
|
24
|
-
}
|
|
25
|
-
static generateSimpleAttrI18nVal(component, attrName, prefix) {
|
|
26
|
-
const componentType = component.type;
|
|
27
|
-
const componentId = component.id;
|
|
28
|
-
const attrVal = component[attrName];
|
|
29
|
-
const i18nAttrResourceId = this.generateI18nResourceId(`${componentType}/${componentId}/${attrName}`, prefix);
|
|
30
|
-
const i18nAttrVal = `$transform('${i18nAttrResourceId}','${attrVal}')`;
|
|
31
|
-
return i18nAttrVal;
|
|
32
|
-
}
|
|
33
|
-
static getI18nTitle(component, prefix) {
|
|
34
|
-
const i18nTitle = this.generateSimpleAttrI18nVal(component, 'title', prefix);
|
|
35
|
-
return i18nTitle;
|
|
36
|
-
}
|
|
37
|
-
static generateSimpleAttrI18nValWithoutType(component, attrName, componentId, prefix) {
|
|
38
|
-
const attrVal = component[attrName];
|
|
39
|
-
const i18nAttrResourceId = this.generateI18nResourceId(`${componentId}/${attrName}`, prefix);
|
|
40
|
-
const i18nAttrVal = `$transform('${i18nAttrResourceId}','${attrVal}')`;
|
|
41
|
-
return i18nAttrVal;
|
|
42
|
-
}
|
|
43
|
-
static generateEnumAttrI18nVal(component, item) {
|
|
44
|
-
const componentType = component.type;
|
|
45
|
-
const componentId = component.id;
|
|
46
|
-
const attrName = item[component.textField];
|
|
47
|
-
const attrVal = item[component.valueField];
|
|
48
|
-
let attr = 'enumData';
|
|
49
|
-
if (componentType === 'CheckGroup') {
|
|
50
|
-
attr = 'items';
|
|
51
|
-
}
|
|
52
|
-
const i18nAttrResourceId = this.generateI18nResourceId(`${componentType}/${componentId}/${attr}/${attrVal}`, '');
|
|
53
|
-
const i18nAttrVal = `$transform('${i18nAttrResourceId}','${attrName}')`;
|
|
54
|
-
return i18nAttrVal;
|
|
55
|
-
}
|
|
56
|
-
static getI18nToolbarItemText(toolbarItem, prefix) {
|
|
57
|
-
const componentId = toolbarItem.id;
|
|
58
|
-
const i18nText = this.generateSimpleAttrI18nValWithoutType(toolbarItem, "text", componentId, prefix);
|
|
59
|
-
return i18nText;
|
|
60
|
-
}
|
|
61
|
-
static getI18nTabbarItemTitle(toolbarItem, prefix) {
|
|
62
|
-
const componentId = toolbarItem.name;
|
|
63
|
-
const i18nText = this.generateSimpleAttrI18nValWithoutType(toolbarItem, "title", componentId, prefix);
|
|
64
|
-
return i18nText;
|
|
65
|
-
}
|
|
66
|
-
static getI18nInputPlaceholder(input, prefix) {
|
|
67
|
-
const i18nPlaceholder = this.generateSimpleAttrI18nVal(input, 'placeholder', prefix);
|
|
68
|
-
return i18nPlaceholder;
|
|
69
|
-
}
|
|
70
|
-
static getI18nEnumField(input, item) {
|
|
71
|
-
const i18nPlaceholder = this.generateEnumAttrI18nVal(input, item);
|
|
72
|
-
return i18nPlaceholder;
|
|
73
|
-
}
|
|
74
|
-
static getI18nEventsTitle(input, item) {
|
|
75
|
-
const i18nAttrResourceId = this.generateI18nResourceId(`${input.type}/${input.id}/events/${item.id}/title`, null);
|
|
76
|
-
const i18nAttrVal = `$transform('${i18nAttrResourceId}','${item.title}')`;
|
|
77
|
-
return i18nAttrVal;
|
|
78
|
-
}
|
|
79
|
-
static getI18nEventsContent(input, item) {
|
|
80
|
-
const i18nAttrResourceId = this.generateI18nResourceId(`${input.type}/${input.id}/events/${item.id}/content`, null);
|
|
81
|
-
const i18nAttrVal = `$transform('${i18nAttrResourceId}','${item.content}')`;
|
|
82
|
-
return i18nAttrVal;
|
|
83
|
-
}
|
|
84
|
-
static getI18nQuerySchemeEnumValues(component, prefix) {
|
|
85
|
-
const i18nAttrResourceId = this.generateI18nResourceId(`${component.value}`, prefix);
|
|
86
|
-
const i18nAttrVal = `$transform('${i18nAttrResourceId}','${component.name}')`;
|
|
87
|
-
return i18nAttrVal;
|
|
88
|
-
}
|
|
89
|
-
static getI18nuerySchemeName(fieldConfig, prefix) {
|
|
90
|
-
const componentId = fieldConfig.id;
|
|
91
|
-
const i18nText = this.generateSimpleAttrI18nValWithoutType(fieldConfig, "name", componentId, prefix);
|
|
92
|
-
return i18nText;
|
|
93
|
-
}
|
|
94
|
-
static getI18nuerySchemePlaceholder(control, prefix) {
|
|
95
|
-
const placeholder = control.placeholder;
|
|
96
|
-
const i18nAttrVal = `$transform('${prefix}/placeholder','${placeholder}')`;
|
|
97
|
-
return i18nAttrVal;
|
|
98
|
-
}
|
|
99
|
-
static copyI18nFolder(sourceBasePath, formModuleCode, targetBasePath, projectName) {
|
|
100
|
-
const sourcePath = `${sourceBasePath}/i18n/${formModuleCode.toLowerCase()}/i18n`;
|
|
101
|
-
let targetPath = `${targetBasePath}/src/assets/${formModuleCode.toLowerCase()}/i18n`;
|
|
102
|
-
if (directory_file_helper_1.DirectoryFileHelper.isExists(sourcePath)) {
|
|
103
|
-
directory_file_helper_1.DirectoryFileHelper.copyDir(sourcePath, targetPath, (error) => {
|
|
104
|
-
logger_helper_1.LoggerHelper.log(`copy i18n folder failed, the path is ${sourcePath}, error message is ${error}`);
|
|
105
|
-
});
|
|
106
|
-
return;
|
|
107
|
-
if (directory_file_helper_1.DirectoryFileHelper.isExists(targetPath)) {
|
|
108
|
-
const files = directory_file_helper_1.DirectoryFileHelper.getFilesInDir(targetPath);
|
|
109
|
-
if (toolhepler_1.ToolHelper.isArray(files, false)) {
|
|
110
|
-
files.map((file) => {
|
|
111
|
-
const fileContent = directory_file_helper_1.DirectoryFileHelper.readFile(toolhepler_1.ToolHelper.pathJoinAndnormalize(targetPath, file));
|
|
112
|
-
const i18nVersionKey = `${formModuleCode.toLocaleLowerCase()}/${file}`;
|
|
113
|
-
build_file_version_manager_1.BuildFileVersionManager.updateBuildFileVersionWithFileContent(build_file_version_constants_1.BuildFileVersionContants.I18nCategory, i18nVersionKey, fileContent);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
exports.I18nResourceManager = I18nResourceManager;
|
|
121
|
-
//# sourceMappingURL=i18n-resource-manager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-resource-manager.js","sourceRoot":"","sources":["../../../../../src/mobileapp/vue/utility/i18n/i18n-resource-manager.ts"],"names":[],"mappings":";;;AAAA,sHAA+G;AAC/G,kHAA4G;AAC5G,qFAAgF;AAChF,4EAAwE;AACxE,+DAA4D;AAQ5D,MAAa,mBAAmB;IAS5B,MAAM,CAAC,sBAAsB,CAAC,EAAU,EAAE,MAAe;QACrD,IAAI,MAAM,EAAE;YACR,OAAO,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC;SAC5B;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IASD,MAAM,CAAC,mCAAmC,CAAC,EAAU;QACjD,OAAO,IAAI,CAAC,sBAAsB,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAWD,MAAM,CAAC,0BAA0B,CAAC,GAAW;QACzC,IAAI,CAAC,GAAG,EAAE;YACN,OAAO,GAAG,CAAC;SACd;QAED,OAAO,IAAI,GAAG,GAAG,CAAC;IACtB,CAAC;IAKD,MAAM,CAAC,yBAAyB,CAAC,SAAc,EAAE,QAAgB,EAAE,MAAe;QAC9E,MAAM,aAAa,GAAG,SAAS,C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 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./i18n-resource-manager"), exports);
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mobileapp/vue/utility/i18n/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
-var attrs = {};
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
- var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
fm-icon(
|
|
9
|
-
v-if=visible
|
|
10
|
-
name=variable.name ? String(variable.iconName) : undefined;
|
|
11
|
-
)&attributes(attrs)
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
//- -variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
-var attrs = {};
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
-
-var request = variable.request ? String(variable.request) : undefined;
|
|
13
|
-
-var data = variable.data ? String(variable.data.value) : undefined;
|
|
14
|
-
-var hotCity = variable.hotCity && variable.hotCity.value ? String(variable.hotCity.value) : undefined;
|
|
15
|
-
//- -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
|
-
-var bindingtext = variable.bindingtext ? String(variable.bindingtext) : undefined
|
|
17
|
-
-var bindingvalue = variable.bindingvalue ? String(variable.bindingvalue) : undefined
|
|
18
|
-
|
|
19
|
-
div(
|
|
20
|
-
v-if=visible
|
|
21
|
-
class="fm-input-wrapper"
|
|
22
|
-
)
|
|
23
|
-
fm-city-picker(
|
|
24
|
-
v-model:text=bindingtext
|
|
25
|
-
v-model:value=bindingvalue
|
|
26
|
-
:label = variable.title? variable.i18nTitle : undefined
|
|
27
|
-
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
28
|
-
:required=require
|
|
29
|
-
:readonly=readonly
|
|
30
|
-
:disabled=disable
|
|
31
|
-
:data=data
|
|
32
|
-
:request=request
|
|
33
|
-
:hotCity=hotCity
|
|
34
|
-
input-align="right"
|
|
35
|
-
:title=variable.title?""+variable.i18nTitle:undefined
|
|
36
|
-
direction=variable.direction?variable.direction+"":undefined
|
|
37
|
-
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
38
|
-
:error-message!=variable.errorMessage
|
|
39
|
-
error-message-align=variable.errorMessage ? "right" : undefined
|
|
40
|
-
@change=variable.change ? String(variable.change) : undefined
|
|
41
|
-
)&attributes(attrs)
|
|
42
|
-
if(variable.leftTemplate)
|
|
43
|
-
template(#left-icon)
|
|
44
|
-
| !{variable.leftTemplate}
|
|
45
|
-
if(variable.rightTemplate)
|
|
46
|
-
template(#right-icon)
|
|
47
|
-
| !{variable.rightTemplate}
|
|
48
|
-
if(variable.extraTemplate)
|
|
49
|
-
template(#extra)
|
|
50
|
-
| !{variable.extraTemplate}
|
|
51
|
-
if(variable.valueTemplate)
|
|
52
|
-
template(v-slot:value="slotProps")
|
|
53
|
-
| !{variable.valueTemplate}
|
|
54
|
-
if(variable.inputTemplate)
|
|
55
|
-
template(v-slot:input="slotProps")
|
|
56
|
-
| !{variable.inputTemplate}
|
|
57
|
-
if(variable.labelTips)
|
|
58
|
-
template(#title)
|
|
59
|
-
<span>!{variable.i18nTitleWithBrace}</span>
|
|
60
|
-
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
61
|
-
<fm-icon name="s-illustrate-o"/>
|
|
62
|
-
<template #content>
|
|
63
|
-
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
64
|
-
</template>
|
|
65
|
-
</fm-popover>
|