@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
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueSection = void 0;
|
|
4
4
|
const toolhepler_1 = require("../../../../../utility/toolhepler");
|
|
5
|
+
const vue_content_type_creator_1 = require("../../../utility/vue-content-type-creator");
|
|
5
6
|
const vue_object_creator_1 = require("../../../utility/vue-object-creator");
|
|
6
7
|
const vue_container_1 = require("./vue-container");
|
|
7
|
-
const i18n_1 = require("../../../utility/i18n");
|
|
8
8
|
class VueSection extends vue_container_1.VueContainer {
|
|
9
|
-
constructor(param
|
|
10
|
-
super(param
|
|
9
|
+
constructor(param) {
|
|
10
|
+
super(param);
|
|
11
11
|
let obj;
|
|
12
12
|
if (typeof param === 'string') {
|
|
13
13
|
obj = JSON.parse(param);
|
|
@@ -26,8 +26,10 @@ class VueSection extends vue_container_1.VueContainer {
|
|
|
26
26
|
this.contents = [];
|
|
27
27
|
if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
|
|
28
28
|
obj[key].forEach((item) => {
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
|
|
30
|
+
const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
|
|
31
|
+
if (domObj) {
|
|
32
|
+
const domValue = new domObj(item);
|
|
31
33
|
this.contents.push(domValue);
|
|
32
34
|
}
|
|
33
35
|
});
|
|
@@ -38,15 +40,6 @@ class VueSection extends vue_container_1.VueContainer {
|
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
});
|
|
41
|
-
this.initI18nAttrs();
|
|
42
|
-
}
|
|
43
|
-
initI18nAttrs() {
|
|
44
|
-
if (this.enableI18n) {
|
|
45
|
-
this.i18nMainTitle = `{{ ${i18n_1.I18nResourceManager.generateSimpleAttrI18nVal(this, 'mainTitle', '')} }}`;
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
this.i18nMainTitle = this.mainTitle;
|
|
49
|
-
}
|
|
50
43
|
}
|
|
51
44
|
}
|
|
52
45
|
exports.VueSection = VueSection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-section.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-section.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;
|
|
1
|
+
{"version":3,"file":"vue-section.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-section.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAC/D,wFAAkF;AAClF,4EAAuE;AACvE,mDAA+C;AAE/C,MAAa,UAAW,SAAQ,4BAAY;IAGxC,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,gEAAgE,CAAC;QAC9E,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,QAAQ,GAAG,EAAE;oBACT,KAAK,UAAU;wBACX,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;wBACnB,IAAI,uBAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE;4BACrC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;gCAC3B,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;gCACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;gCACrF,IAAI,MAAM,EAAE;oCACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;oCAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;iCAChC;4BACL,CAAC,CAAC,CAAC;yBACN;wBACD,MAAM;oBACV;wBACI,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBAC5B;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvCD,gCAuCC"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueTabPage = void 0;
|
|
4
4
|
const vue_container_1 = require("./vue-container");
|
|
5
|
-
const i18n_1 = require("../../../utility/i18n");
|
|
6
5
|
class VueTabPage extends vue_container_1.VueContainer {
|
|
7
|
-
constructor(param
|
|
8
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
9
8
|
let obj;
|
|
10
9
|
if (typeof param === 'string') {
|
|
11
10
|
obj = JSON.parse(param);
|
|
@@ -22,15 +21,6 @@ class VueTabPage extends vue_container_1.VueContainer {
|
|
|
22
21
|
this[key] = obj[key];
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
|
-
this.initI18nAttrs();
|
|
26
|
-
}
|
|
27
|
-
initI18nAttrs() {
|
|
28
|
-
if (this.enableI18n) {
|
|
29
|
-
this.i18nTitle = i18n_1.I18nResourceManager.getI18nTitle(this);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this.i18nTitle = i18n_1.I18nResourceManager.wrapStringWithSingleQuotes(this.title);
|
|
33
|
-
}
|
|
34
24
|
}
|
|
35
25
|
}
|
|
36
26
|
exports.VueTabPage = VueTabPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-tab-page.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-tab-page.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"vue-tab-page.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-tab-page.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAE/C,MAAa,UAAW,SAAQ,4BAAY;IASxC,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,sCAAsC,CAAC;QACpD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA9BD,gCA8BC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueTabs = void 0;
|
|
4
4
|
const vue_container_1 = require("./vue-container");
|
|
5
5
|
class VueTabs extends vue_container_1.VueContainer {
|
|
6
|
-
constructor(param
|
|
7
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
8
|
let obj;
|
|
9
9
|
if (typeof param === 'string') {
|
|
10
10
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-tabs.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-tabs.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"vue-tabs.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-tabs.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAE/C,MAAa,OAAQ,SAAQ,4BAAY;IAOrC,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,6CAA6C,CAAC;QAC3D,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA5BD,0BA4BC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueBanner = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
5
|
class VueBanner extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param
|
|
7
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
8
|
let obj;
|
|
9
9
|
if (typeof param === 'string') {
|
|
10
10
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-banner.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/banner/vue-banner.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;
|
|
1
|
+
{"version":3,"file":"vue-banner.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/banner/vue-banner.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,SAAU,SAAQ,qCAAgB;IAG3C,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,uCAAuC,CAAC;QACrD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvBD,8BAuBC"}
|
|
@@ -4,8 +4,8 @@ exports.VueCalendar = void 0;
|
|
|
4
4
|
const vue_variable_1 = require("../../common/vue-variable");
|
|
5
5
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
6
6
|
class VueCalendar extends vue_base_component_1.VueBaseComponent {
|
|
7
|
-
constructor(param
|
|
8
|
-
super(param
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
9
|
let obj;
|
|
10
10
|
if (typeof param === 'string') {
|
|
11
11
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/calendar.ts"],"names":[],"mappings":";;;AAAA,4DAAwD;AACxD,iEAA4D;
|
|
1
|
+
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/calendar.ts"],"names":[],"mappings":";;;AAAA,4DAAwD;AACxD,iEAA4D;AAE5D,MAAa,WAAY,SAAQ,qCAAgB;IAE7C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,wHAAwH,CAAC;QACtI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,UAAU,EAAE;oBAC5D,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,0BAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBACxC;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA3BD,kCA2BC"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueSchedule = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
-
const i18n_1 = require("../../../../utility/i18n");
|
|
6
5
|
class VueSchedule extends vue_base_component_1.VueBaseComponent {
|
|
7
|
-
constructor(param
|
|
8
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
9
8
|
let obj;
|
|
10
9
|
if (typeof param === 'string') {
|
|
11
10
|
obj = JSON.parse(param);
|
|
@@ -20,14 +19,7 @@ class VueSchedule extends vue_base_component_1.VueBaseComponent {
|
|
|
20
19
|
Object.keys(obj).forEach(key => {
|
|
21
20
|
if (keys.includes(key)) {
|
|
22
21
|
if (key === 'events') {
|
|
23
|
-
|
|
24
|
-
this[key] = obj[key];
|
|
25
|
-
this.i18nEvents = this.events;
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
this[key] = JSON.stringify(obj[key]);
|
|
29
|
-
this.initI18nAttrs();
|
|
30
|
-
}
|
|
22
|
+
this[key] = typeof obj[key] === 'string' ? obj[key] : JSON.stringify(obj[key]);
|
|
31
23
|
}
|
|
32
24
|
else {
|
|
33
25
|
this[key] = obj[key];
|
|
@@ -35,27 +27,6 @@ class VueSchedule extends vue_base_component_1.VueBaseComponent {
|
|
|
35
27
|
}
|
|
36
28
|
});
|
|
37
29
|
}
|
|
38
|
-
initI18nAttrs() {
|
|
39
|
-
if (!this.events || !this.enableI18n) {
|
|
40
|
-
this.i18nEvents = this.events;
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
const eventsArray = JSON.parse(this.events);
|
|
44
|
-
eventsArray.forEach((eventItem) => {
|
|
45
|
-
if (!eventItem.id) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (eventItem.title) {
|
|
49
|
-
eventItem.title = `${i18n_1.I18nResourceManager.getI18nEventsTitle(this, eventItem)}`;
|
|
50
|
-
}
|
|
51
|
-
if (eventItem.content) {
|
|
52
|
-
eventItem.content = `${i18n_1.I18nResourceManager.getI18nEventsContent(this, eventItem)}`;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
this.i18nEvents = JSON.stringify(eventsArray).replace(/"\$transform\(.*?\)"/g, (arg1, arg2, arg3) => {
|
|
56
|
-
return arg1.replace(/"/g, '');
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
30
|
}
|
|
60
31
|
exports.VueSchedule = VueSchedule;
|
|
61
32
|
//# sourceMappingURL=schedule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/schedule.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/schedule.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,WAAY,SAAQ,qCAAgB;IAO7C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,mDAAmD,CAAC;QACjE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAK,QAAQ,EAAE;oBACjB,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,GAAG,CAAC,GAAG,CAAC,KAAK,QAAQ,CAAA,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBAChF;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AAlCD,kCAkCC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueHtmlTemplate = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
5
|
class VueHtmlTemplate extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param
|
|
7
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
8
|
let obj;
|
|
9
9
|
if (typeof param === 'string') {
|
|
10
10
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-template.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/html-template/html-template.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;
|
|
1
|
+
{"version":3,"file":"html-template.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/html-template/html-template.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,eAAgB,SAAQ,qCAAgB;IAMjD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AA7BD,0CA6BC"}
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueListView = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
5
|
const utility_1 = require("../../../../../../utility");
|
|
6
|
+
const vue_content_type_creator_1 = require("../../../../utility/vue-content-type-creator");
|
|
6
7
|
const vue_object_creator_1 = require("../../../../utility/vue-object-creator");
|
|
7
|
-
const i18n_1 = require("../../../../utility/i18n");
|
|
8
8
|
class VueListView extends vue_base_component_1.VueBaseComponent {
|
|
9
|
-
constructor(param
|
|
10
|
-
super(param
|
|
9
|
+
constructor(param) {
|
|
10
|
+
super(param);
|
|
11
11
|
let obj;
|
|
12
12
|
if (typeof param === 'string') {
|
|
13
13
|
obj = JSON.parse(param);
|
|
@@ -20,18 +20,13 @@ class VueListView extends vue_base_component_1.VueBaseComponent {
|
|
|
20
20
|
}
|
|
21
21
|
const keys = `label,multiSelect,offset,loadingText,finishedText,errorText,immediateCheck,data,
|
|
22
22
|
direction,showSubmitBtn,longPressCommand,load,multipleSubmit,multipleCancel,itemClick,contentTemplate,listClick,toolbar,
|
|
23
|
-
fill,enablePullUpLoad,enablePullDownRefresh,swipeTemplate,swipeToolbar,initMultiSelect,showValidatorResults
|
|
23
|
+
fill,enablePullUpLoad,enablePullDownRefresh,swipeTemplate,swipeToolbar,initMultiSelect,showValidatorResults`;
|
|
24
24
|
Object.keys(obj).forEach(key => {
|
|
25
25
|
if (keys.includes(key)) {
|
|
26
26
|
if (key === 'toolbar') {
|
|
27
27
|
let btns = '';
|
|
28
28
|
obj[key].items && obj[key].items.forEach((btn) => {
|
|
29
|
-
|
|
30
|
-
if (this.enableI18n) {
|
|
31
|
-
const itemResourcePrefix = this.getToolbarItemResourcePrefix();
|
|
32
|
-
i18nText = i18n_1.I18nResourceManager.getI18nToolbarItemText(btn, itemResourcePrefix);
|
|
33
|
-
}
|
|
34
|
-
const tmp = `{ text: ${i18nText}, type: '${btn.showType}', disabled: ${btn.disable}, handler: ${btn.click ? btn.click : 'null'} }`;
|
|
29
|
+
const tmp = `{ text: '${btn.text}', type: '${btn.showType}', disabled: ${btn.disable}, handler: ${btn.click ? btn.click : 'null'} }`;
|
|
35
30
|
btns = btns ? `${btns},${tmp}` : tmp;
|
|
36
31
|
});
|
|
37
32
|
this['btns'] = `[${btns}]`;
|
|
@@ -39,12 +34,11 @@ class VueListView extends vue_base_component_1.VueBaseComponent {
|
|
|
39
34
|
else if (key === 'swipeToolbar') {
|
|
40
35
|
if (obj[key] && utility_1.ToolHelper.isArray(obj[key].items)) {
|
|
41
36
|
this.swipeToolbar = Object.assign(Object.assign({}, obj[key]), { items: [] });
|
|
42
|
-
const swipeToolbarItemParams = {
|
|
43
|
-
resourceIdPrefix: this.getSwipeToolbarItemResourcePrefix()
|
|
44
|
-
};
|
|
45
37
|
obj[key].items.forEach((item) => {
|
|
46
|
-
const
|
|
47
|
-
|
|
38
|
+
const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
|
|
39
|
+
const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
|
|
40
|
+
if (domObj) {
|
|
41
|
+
const domValue = new domObj(item);
|
|
48
42
|
this.swipeToolbar.items.push(domValue);
|
|
49
43
|
}
|
|
50
44
|
});
|
|
@@ -56,14 +50,6 @@ class VueListView extends vue_base_component_1.VueBaseComponent {
|
|
|
56
50
|
}
|
|
57
51
|
});
|
|
58
52
|
}
|
|
59
|
-
getSwipeToolbarItemResourcePrefix() {
|
|
60
|
-
const prefix = `${this.type}/${this.id}/swipeToolbar/items`;
|
|
61
|
-
return prefix;
|
|
62
|
-
}
|
|
63
|
-
getToolbarItemResourcePrefix() {
|
|
64
|
-
const prefix = `${this.type}/${this.id}/toolbar/items`;
|
|
65
|
-
return prefix;
|
|
66
|
-
}
|
|
67
53
|
}
|
|
68
54
|
exports.VueListView = VueListView;
|
|
69
55
|
//# sourceMappingURL=vue-list-view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-list-view.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;
|
|
1
|
+
{"version":3,"file":"vue-list-view.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAC5D,uDAAuD;AACvD,2FAAqF;AACrF,+EAA0E;AAC1E,MAAa,WAAY,SAAQ,qCAAgB;IAqB7C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG;;oHAE+F,CAAC;QAC7G,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,KAAK,SAAS,EAAE;oBASnB,IAAI,IAAI,GAAG,EAAE,CAAA;oBACb,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAQ,EAAE,EAAE;wBAClD,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC,IAAI,aAAa,GAAG,CAAC,QAAQ,gBAAgB,GAAG,CAAC,OAAO,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,CAAA;wBACpI,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA;oBACxC,CAAC,CAAC,CAAA;oBACF,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,GAAG,CAAA;iBAC7B;qBAAM,IAAG,GAAG,KAAK,cAAc,EAAC;oBAC7B,IAAI,GAAG,CAAC,GAAG,CAAC,IAAI,oBAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE;wBAChD,IAAI,CAAC,YAAY,mCAAQ,GAAG,CAAC,GAAG,CAAC,KAAE,KAAK,EAAE,EAAE,GAAE,CAAC;wBAE/C,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;4BACjC,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;4BACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;4BACrF,IAAI,MAAM,EAAE;gCACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;gCAClC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;6BAC1C;wBACL,CAAC,CAAC,CAAC;qBACN;iBACJ;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA1ED,kCA0EC"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueStaffInfo = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
-
const i18n_1 = require("../../../../utility/i18n");
|
|
6
5
|
class VueStaffInfo extends vue_base_component_1.VueBaseComponent {
|
|
7
|
-
constructor(param
|
|
8
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
9
8
|
let obj;
|
|
10
9
|
if (typeof param === 'string') {
|
|
11
10
|
obj = JSON.parse(param);
|
|
@@ -44,15 +43,6 @@ class VueStaffInfo extends vue_base_component_1.VueBaseComponent {
|
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
});
|
|
47
|
-
this.initI18nAttrs();
|
|
48
|
-
}
|
|
49
|
-
initI18nAttrs() {
|
|
50
|
-
if (this.enableI18n) {
|
|
51
|
-
this.i18nTitleText = i18n_1.I18nResourceManager.generateSimpleAttrI18nVal(this, 'titleText', this.resourcePrefix);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
this.i18nTitleText = i18n_1.I18nResourceManager.wrapStringWithSingleQuotes(this.titleText);
|
|
55
|
-
}
|
|
56
46
|
}
|
|
57
47
|
}
|
|
58
48
|
exports.VueStaffInfo = VueStaffInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff-info.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,
|
|
1
|
+
{"version":3,"file":"staff-info.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,YAAa,SAAQ,qCAAgB;IAGhD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,sEAAsE,CAAA;QACnF,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,QAAQ,GAAG,EAAE;oBACX,KAAK,cAAc;wBACjB,IAAI,CAAC,OAAO;4BACV,GAAG,CAAC,YAAY,IAAI,GAAG,CAAC,YAAY,CAAC,WAAW;gCAC9C,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,YAAY,CAAC,WAAW;gCACrD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,gBAAgB;wBACnB,IAAI,CAAC,SAAS;4BACZ,GAAG,CAAC,cAAc,IAAI,GAAG,CAAC,cAAc,CAAC,WAAW;gCAClD,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,cAAc,CAAC,WAAW;gCACvD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,qBAAqB;wBACxB,IAAI,CAAC,cAAc;4BACjB,GAAG,CAAC,mBAAmB,IAAI,GAAG,CAAC,mBAAmB,CAAC,WAAW;gCAC5D,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,mBAAmB,CAAC,WAAW;gCAC5D,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP;wBACE,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;wBACpB,MAAK;iBACR;aACF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AA7CD,oCA6CC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueStaticText = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
5
|
class VueStaticText extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param
|
|
7
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
8
|
let obj;
|
|
9
9
|
if (typeof param === 'string') {
|
|
10
10
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static-text.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/static-text/static-text.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;
|
|
1
|
+
{"version":3,"file":"static-text.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/static-text/static-text.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,aAAc,SAAQ,qCAAgB;IAM/C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AA7BD,sCA6BC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueAreaPicker = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
class VueAreaPicker extends common_1.VueInputComponent {
|
|
6
|
-
constructor(param
|
|
7
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
8
|
let obj;
|
|
9
9
|
if (typeof param === 'string') {
|
|
10
10
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"area-picker.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/area-picker.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;
|
|
1
|
+
{"version":3,"file":"area-picker.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/area-picker.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;AAE7C,MAAa,aAAc,SAAQ,0BAAiB;IAGhD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,oBAAoB,CAAC;QAClC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AA1BD,sCA0BC"}
|
|
@@ -4,8 +4,8 @@ exports.VueCalendarInput = void 0;
|
|
|
4
4
|
const vue_variable_1 = require("../common/vue-variable");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
6
|
class VueCalendarInput extends common_1.VueInputComponent {
|
|
7
|
-
constructor(param
|
|
8
|
-
super(param
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
9
|
let obj;
|
|
10
10
|
if (typeof param === 'string') {
|
|
11
11
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-input.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/calendar-input.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;
|
|
1
|
+
{"version":3,"file":"calendar-input.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/calendar-input.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AACrD,qCAA6C;AAE7C,MAAa,gBAAiB,SAAQ,0BAAiB;IAUnD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,iHAAiH,CAAC;QAC/H,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,UAAU,EAAE;oBACzC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,0BAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;iBACrD;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AArCD,4CAqCC"}
|
|
@@ -3,10 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueCheckboxGroup = void 0;
|
|
4
4
|
const vue_variable_1 = require("../common/vue-variable");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
|
-
const i18n_1 = require("../../../utility/i18n");
|
|
7
6
|
class VueCheckboxGroup extends common_1.VueInputComponent {
|
|
8
|
-
constructor(param
|
|
9
|
-
super(param
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
10
9
|
let obj;
|
|
11
10
|
if (typeof param === 'string') {
|
|
12
11
|
obj = JSON.parse(param);
|
|
@@ -31,23 +30,6 @@ class VueCheckboxGroup extends common_1.VueInputComponent {
|
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
});
|
|
34
|
-
this.initI18nAttrs();
|
|
35
|
-
}
|
|
36
|
-
initI18nAttrs() {
|
|
37
|
-
if (this.enableI18n && this.items && this.textField && this.valueField) {
|
|
38
|
-
const enumDataArray = JSON.parse(this.items);
|
|
39
|
-
enumDataArray.forEach((enumDataItem) => {
|
|
40
|
-
if (this.textField) {
|
|
41
|
-
enumDataItem[this.textField] = i18n_1.I18nResourceManager.getI18nEnumField(this, enumDataItem);
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
this.i18nEnumData = JSON.stringify(enumDataArray).replace(/"\$transform\(.*?\)"/g, (arg1, arg2, arg3) => {
|
|
45
|
-
return arg1.replace(/"/g, '');
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
this.i18nEnumData = this.items;
|
|
50
|
-
}
|
|
51
33
|
}
|
|
52
34
|
}
|
|
53
35
|
exports.VueCheckboxGroup = VueCheckboxGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/checkbox-group.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;
|
|
1
|
+
{"version":3,"file":"checkbox-group.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/checkbox-group.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AACrD,qCAA6C;AAE7C,MAAa,gBAAiB,SAAQ,0BAAiB;IASnD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,6FAA6F,CAAC;QAC3G,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAI,OAAO,EAAG;oBAChB,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;iBACxC;qBAAM,IAAG,GAAG,KAAK,gBAAgB,EAAC;oBAC/B,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,0BAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBACxC;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AAtCD,4CAsCC"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueInputComponent = void 0;
|
|
4
|
-
const i18n_1 = require("../../../utility/i18n");
|
|
5
4
|
const toolhepler_1 = require("../../../../../utility/toolhepler");
|
|
6
|
-
const vue_binding_1 = require("../common/vue-binding");
|
|
7
5
|
const vue_state_1 = require("./../common/vue-state");
|
|
8
6
|
const vue_base_component_1 = require("./../vue-base-component");
|
|
9
7
|
class VueInputComponent extends vue_base_component_1.VueBaseComponent {
|
|
10
|
-
constructor(param
|
|
8
|
+
constructor(param) {
|
|
11
9
|
var _a;
|
|
12
|
-
super(param
|
|
10
|
+
super(param);
|
|
13
11
|
let obj;
|
|
14
12
|
if (typeof param === 'string') {
|
|
15
13
|
obj = JSON.parse(param);
|
|
@@ -32,7 +30,6 @@ class VueInputComponent extends vue_base_component_1.VueBaseComponent {
|
|
|
32
30
|
'labelWidth',
|
|
33
31
|
'direction',
|
|
34
32
|
'binding',
|
|
35
|
-
'bindings',
|
|
36
33
|
'labelTips',
|
|
37
34
|
'modelValue',
|
|
38
35
|
'minValue',
|
|
@@ -46,10 +43,7 @@ class VueInputComponent extends vue_base_component_1.VueBaseComponent {
|
|
|
46
43
|
'rightTemplate',
|
|
47
44
|
'extraTemplate',
|
|
48
45
|
'formatter',
|
|
49
|
-
'path'
|
|
50
|
-
'updateOn',
|
|
51
|
-
"clearable",
|
|
52
|
-
'maxLength',
|
|
46
|
+
'path'
|
|
53
47
|
];
|
|
54
48
|
Object.keys(obj).forEach((key) => {
|
|
55
49
|
if (keys.includes(key)) {
|
|
@@ -63,43 +57,15 @@ class VueInputComponent extends vue_base_component_1.VueBaseComponent {
|
|
|
63
57
|
case 'disable':
|
|
64
58
|
this[key] = new vue_state_1.VueState(obj[key], 'disabled', obj);
|
|
65
59
|
break;
|
|
66
|
-
case 'binding':
|
|
67
|
-
this[key] = new vue_binding_1.VueBinding(obj[key]);
|
|
68
|
-
break;
|
|
69
|
-
case 'bindings':
|
|
70
|
-
obj[key] && Object.keys(obj[key]).forEach((k) => {
|
|
71
|
-
const name = 'binding' + k;
|
|
72
|
-
const value = obj[key][k];
|
|
73
|
-
this[name] = new vue_binding_1.VueBinding(value).toString();
|
|
74
|
-
});
|
|
75
|
-
break;
|
|
76
60
|
default:
|
|
77
61
|
this[key] = obj[key];
|
|
78
62
|
break;
|
|
79
63
|
}
|
|
80
64
|
}
|
|
81
65
|
});
|
|
82
|
-
if (!this.maxLength || typeof this.maxLength !== 'number' || this.maxLength <= 0) {
|
|
83
|
-
this.maxLength = undefined;
|
|
84
|
-
}
|
|
85
66
|
this.errorMessage = ((_a = this.binding) === null || _a === void 0 ? void 0 : _a.path)
|
|
86
67
|
? `form.${this.binding.path}.validationResult && form.${this.binding.path}.validationResult.message`
|
|
87
68
|
: undefined;
|
|
88
|
-
this.initCommonI18nAttrs();
|
|
89
|
-
}
|
|
90
|
-
initCommonI18nAttrs() {
|
|
91
|
-
if (this.enableI18n) {
|
|
92
|
-
this.i18nTitle = i18n_1.I18nResourceManager.getI18nTitle(this, this.resourcePrefix);
|
|
93
|
-
this.i18nTitleWithBrace = `{{${i18n_1.I18nResourceManager.getI18nTitle(this, this.resourcePrefix)}}}`;
|
|
94
|
-
this.i18nLabelTips = `{{${i18n_1.I18nResourceManager.generateSimpleAttrI18nVal(this, 'labelTips', this.resourcePrefix)}}}`;
|
|
95
|
-
this.i18nPlaceholder = i18n_1.I18nResourceManager.getI18nInputPlaceholder(this, this.resourcePrefix);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
this.i18nTitle = i18n_1.I18nResourceManager.wrapStringWithSingleQuotes(this.title);
|
|
99
|
-
this.i18nTitleWithBrace = this.title;
|
|
100
|
-
this.i18nLabelTips = this.labelTips;
|
|
101
|
-
this.i18nPlaceholder = i18n_1.I18nResourceManager.wrapStringWithSingleQuotes(this.placeholder);
|
|
102
|
-
}
|
|
103
69
|
}
|
|
104
70
|
getValue(data) {
|
|
105
71
|
if (data && toolhepler_1.ToolHelper.isObject(data)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/common.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/common.ts"],"names":[],"mappings":";;;AAAA,kEAA8D;AAC9D,qDAAgD;AAChD,gEAA0D;AAE1D,MAAa,iBAAkB,SAAQ,qCAAgB;IAGrD,YAAY,KAAU;;QACpB,KAAK,CAAC,KAAK,CAAC,CAAA;QAEZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QACD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;QACd,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG;YACX,IAAI;YACJ,OAAO;YACP,SAAS;YACT,UAAU;YACV,UAAU;YACV,SAAS;YACT,aAAa;YACb,YAAY;YACZ,WAAW;YACX,SAAS;YACT,WAAW;YACX,YAAY;YACZ,UAAU;YACV,UAAU;YACV,QAAQ;YACR,YAAY;YACZ,iBAAiB;YACjB,cAAc;YACd,eAAe;YACf,eAAe;YACf,eAAe;YACf,eAAe;YACf,WAAW;YACX,MAAM;SACP,CAAA;QACD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,QAAQ,GAAG,EAAE;oBACX,KAAK,UAAU;wBACb,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,oBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;wBACnD,MAAK;oBACP,KAAK,SAAS;wBACZ,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,oBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;wBACnD,MAAK;oBACP,KAAK,SAAS;wBACZ,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,oBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;wBACnD,MAAK;oBACP;wBACE,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;wBACpB,MAAK;iBACR;aACF;QACH,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,YAAY,GAAG,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI;YACpC,CAAC,CAAC,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI,6BAA6B,IAAI,CAAC,OAAO,CAAC,IAAI,2BAA2B;YACpG,CAAC,CAAC,SAAS,CAAA;IAEf,CAAC;IAcD,QAAQ,CAAC,IAAS;QAChB,IAAG,IAAI,IAAI,uBAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YACpC,IAAI,IAAI,CAAC,IAAI,IAAI,UAAU,EAAE;gBAC3B,OAAO,IAAI,CAAC,KAAK,CAAA;aAClB;SACF;QACD,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AAvFD,8CAuFC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueCustomBox = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
class VueCustomBox extends common_1.VueInputComponent {
|
|
6
|
-
constructor(param
|
|
7
|
-
super(param
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
8
|
let obj;
|
|
9
9
|
if (typeof param === 'string') {
|
|
10
10
|
obj = JSON.parse(param);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-box.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/custom-box.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;
|
|
1
|
+
{"version":3,"file":"custom-box.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/custom-box.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;AAE7C,MAAa,YAAa,SAAQ,0BAAiB;IAa/C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,oBAAoB,CAAC;QAClC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AApCD,oCAoCC"}
|
|
@@ -4,8 +4,8 @@ exports.VueDatePicker = void 0;
|
|
|
4
4
|
const vue_variable_1 = require("../common/vue-variable");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
6
|
class VueDatePicker extends common_1.VueInputComponent {
|
|
7
|
-
constructor(param
|
|
8
|
-
super(param
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
9
|
this.showType = 'date';
|
|
10
10
|
let obj;
|
|
11
11
|
if (typeof param === 'string') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/date-picker.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"date-picker.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/date-picker.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AACrD,qCAA6C;AAE7C,MAAa,aAAc,SAAQ,0BAAiB;IAchD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAPjB,aAAQ,GAAW,MAAM,CAAC;QAStB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,oDAAoD,CAAC;QAClE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,UAAU,EAAE;oBACzC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,0BAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;iBACrD;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AAzCD,sCAyCC"}
|