@farris/jit-engine 1.3.306 → 1.3.308
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 +9 -1
- package/bin/index.js +91 -12
- package/lib/command/check.js +102 -0
- package/lib/command/check.js.map +1 -0
- package/lib/domstructure/ui/approve-comments/approval-comments.js +7 -2
- package/lib/domstructure/ui/approve-comments/approval-comments.js.map +1 -1
- package/lib/domstructure/ui/approve-logs/approval-logs.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +2 -1
- 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 +17 -6
- 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 -7
- 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 +11 -7
- 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/contexts/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +24 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +16 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +15 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +33 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +1 -0
- 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 +12 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +21 -5
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js +3 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +21 -7
- 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 +12 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +4 -7
- 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 +22 -3
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +31 -3
- 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 +15 -2
- 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 +4 -7
- 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 +12 -2
- 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 +14 -2
- 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 +12 -2
- 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 +12 -2
- 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 +53 -2
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +26 -2
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +2 -5
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +5 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js +32 -2
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/index.js +4 -0
- package/lib/mobileapp/vue/domstructure/ui/container/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +13 -7
- 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 -8
- 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 -8
- 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 +4 -7
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +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 +14 -7
- package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +12 -2
- 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/container/vue-template-container.js +28 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
- 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 +32 -3
- 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/index.js +2 -0
- package/lib/mobileapp/vue/domstructure/ui/display/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +37 -7
- 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 +12 -2
- 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/display/text/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +50 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
- 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 +20 -2
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +16 -2
- 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/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 -2
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/number.js +14 -3
- 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 +20 -2
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +20 -2
- 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 +3 -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 +37 -2
- 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 +19 -1
- 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/.prettierrc +6 -6
- package/lib/mobileapp/vue/static/README.md +18 -18
- package/lib/mobileapp/vue/static/babel.config.js +13 -13
- package/lib/mobileapp/vue/static/src/main.ts +9 -9
- package/lib/mobileapp/vue/static/src/shims-vue.d.ts +32 -32
- package/lib/mobileapp/vue/static/tsconfig.json +20 -20
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +24 -4
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +4 -1
- 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/i18n/i18n-resource-manager.js +121 -0
- package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +1 -0
- package/lib/mobileapp/vue/utility/i18n/index.js +14 -0
- package/lib/mobileapp/vue/utility/i18n/index.js.map +1 -0
- package/lib/mobileapp/vue/utility/index.js +1 -0
- 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 +9 -0
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-object-creator.js +22 -0
- package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
- package/lib/template/ui/kendo/approval-comments.pug +2 -1
- package/lib/template/ui/kendo/approve-logs.pug +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 +3 -3
- package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
- package/lib/template/ui/mobilevue/area-picker.pug +4 -3
- package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
- package/lib/template/ui/mobilevue/avatar.pug +19 -0
- 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 -3
- package/lib/template/ui/mobilevue/card.pug +2 -2
- package/lib/template/ui/mobilevue/checkbox-group.pug +3 -3
- package/lib/template/ui/mobilevue/component-ref.pug +3 -3
- package/lib/template/ui/mobilevue/custom-box.pug +5 -3
- package/lib/template/ui/mobilevue/date-time-picker.pug +5 -3
- package/lib/template/ui/mobilevue/field-set.pug +3 -2
- package/lib/template/ui/mobilevue/filter.pug +2 -2
- package/lib/template/ui/mobilevue/html-preview.pug +1 -1
- package/lib/template/ui/mobilevue/icon.pug +12 -0
- package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
- package/lib/template/ui/mobilevue/image.pug +19 -9
- package/lib/template/ui/mobilevue/label.pug +12 -0
- package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
- package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
- package/lib/template/ui/mobilevue/layout-container.pug +11 -0
- package/lib/template/ui/mobilevue/list-view.pug +8 -7
- package/lib/template/ui/mobilevue/lookup-department.pug +5 -3
- package/lib/template/ui/mobilevue/lookup-employee.pug +4 -4
- package/lib/template/ui/mobilevue/lookup-input.pug +5 -3
- package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
- package/lib/template/ui/mobilevue/number.pug +8 -5
- package/lib/template/ui/mobilevue/picker-relation.pug +4 -2
- package/lib/template/ui/mobilevue/picker.pug +4 -4
- package/lib/template/ui/mobilevue/radio-group.pug +3 -3
- package/lib/template/ui/mobilevue/rich-text-editor.pug +7 -5
- 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 -3
- package/lib/template/ui/mobilevue/tab-bar.pug +2 -1
- package/lib/template/ui/mobilevue/tabpage.pug +1 -3
- package/lib/template/ui/mobilevue/tag.pug +33 -0
- package/lib/template/ui/mobilevue/text-area.pug +4 -3
- package/lib/template/ui/mobilevue/text-box-external.pug +5 -3
- package/lib/template/ui/mobilevue/text-box.pug +11 -5
- package/lib/template/ui/mobilevue/text-scan.pug +5 -3
- package/lib/template/ui/mobilevue/text-telphone.pug +4 -2
- package/lib/template/ui/mobilevue/text.pug +105 -0
- 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/package.json +56 -55
- package/lib/mobileapp/vue/static/.npmignore +0 -13
|
@@ -13,4 +13,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
__exportStar(require("./mobileapp-vue-constant"), exports);
|
|
14
14
|
__exportStar(require("./return-response"), exports);
|
|
15
15
|
__exportStar(require("./type-convert"), exports);
|
|
16
|
+
__exportStar(require("./i18n"), exports);
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mobileapp/vue/utility/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAAyC;AACzC,oDAAmC;AACnC,iDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mobileapp/vue/utility/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAAyC;AACzC,oDAAmC;AACnC,iDAA8B;AAC9B,yCAAsB"}
|
|
@@ -9,12 +9,12 @@ class PageComponentControlGenerator {
|
|
|
9
9
|
if (componentConfig && componentConfig.pageComponentControl && utility_1.ToolHelper.isArray(componentConfig.pageComponentControl.parameterList)) {
|
|
10
10
|
const controlTypeList = [];
|
|
11
11
|
componentConfig.pageComponentControl.parameterList.forEach((item) => {
|
|
12
|
-
generateString += `
|
|
12
|
+
generateString += `
|
|
13
13
|
import {${item.controlType.controlType}} from "${item.controlType.controlSource}";`;
|
|
14
14
|
controlTypeList.push(item.controlType.controlType);
|
|
15
15
|
});
|
|
16
16
|
controlTypeList.forEach((item) => {
|
|
17
|
-
generateString += `
|
|
17
|
+
generateString += `
|
|
18
18
|
Vue.use(${item});`;
|
|
19
19
|
});
|
|
20
20
|
}
|
|
@@ -8,7 +8,7 @@ class PageComponentRefGenerator {
|
|
|
8
8
|
const componentConfig = generateParams.value;
|
|
9
9
|
if (utility_1.ToolHelper.isArray(componentConfig.pageComponentRef, false)) {
|
|
10
10
|
componentConfig.pageComponentRef.forEach((item) => {
|
|
11
|
-
generateString += `
|
|
11
|
+
generateString += `
|
|
12
12
|
import ${"App" + item.componentName} from "../${item.component.toLowerCase()}/${item.component.toLowerCase()}.component.vue";`;
|
|
13
13
|
});
|
|
14
14
|
}
|
|
@@ -8,60 +8,60 @@ class PageStateMachineGenerator extends abstract_page_generator_1.AbstractPageGe
|
|
|
8
8
|
const variable = generateParams.devkit;
|
|
9
9
|
let generateString = "";
|
|
10
10
|
const eol = this.eol;
|
|
11
|
-
generateString += `
|
|
12
|
-
import { Injectable } from '@angular/core';
|
|
13
|
-
import { StateMachine, State, NgState, RenderState, NgRenderState, Action, NgAction } from '@farris/devkit';
|
|
11
|
+
generateString += `
|
|
12
|
+
import { Injectable } from '@angular/core';
|
|
13
|
+
import { StateMachine, State, NgState, RenderState, NgRenderState, Action, NgAction } from '@farris/devkit';
|
|
14
14
|
`;
|
|
15
|
-
generateString += `
|
|
16
|
-
@Injectable()
|
|
17
|
-
export class ${this.convertNullToEmpty(variable.externalPrefix)}${variable.name} extends StateMachine {
|
|
15
|
+
generateString += `
|
|
16
|
+
@Injectable()
|
|
17
|
+
export class ${this.convertNullToEmpty(variable.externalPrefix)}${variable.name} extends StateMachine {
|
|
18
18
|
`;
|
|
19
19
|
if (toolhepler_1.ToolHelper.isArray(variable.ngStates, false)) {
|
|
20
20
|
variable.ngStates.forEach((ngState) => {
|
|
21
21
|
if (ngState.initialState) {
|
|
22
|
-
generateString += `
|
|
23
|
-
@NgState({
|
|
24
|
-
initialState: true
|
|
22
|
+
generateString += `
|
|
23
|
+
@NgState({
|
|
24
|
+
initialState: true
|
|
25
25
|
})`;
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
|
-
generateString += `
|
|
28
|
+
generateString += `
|
|
29
29
|
@NgState()`;
|
|
30
30
|
}
|
|
31
|
-
generateString += `
|
|
31
|
+
generateString += `
|
|
32
32
|
${ngState.name}: State;`;
|
|
33
33
|
generateString += eol;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
if (toolhepler_1.ToolHelper.isArray(variable.ngRenderStates, false)) {
|
|
37
37
|
variable.ngRenderStates.forEach((ngRenderState) => {
|
|
38
|
-
generateString += `
|
|
39
|
-
@NgRenderState({
|
|
40
|
-
render: ${ngRenderState.render}
|
|
41
|
-
})
|
|
38
|
+
generateString += `
|
|
39
|
+
@NgRenderState({
|
|
40
|
+
render: ${ngRenderState.render}
|
|
41
|
+
})
|
|
42
42
|
${ngRenderState.name}: RenderState;`;
|
|
43
43
|
generateString += this.eol;
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
if (toolhepler_1.ToolHelper.isArray(variable.ngActions, false)) {
|
|
47
47
|
variable.ngActions.forEach((ngAction) => {
|
|
48
|
-
generateString += `
|
|
48
|
+
generateString += `
|
|
49
49
|
@NgAction({`;
|
|
50
50
|
if (ngAction.precondition) {
|
|
51
|
-
generateString += `
|
|
51
|
+
generateString += `
|
|
52
52
|
precondition: ${ngAction.precondition},`;
|
|
53
53
|
}
|
|
54
54
|
if (ngAction.transitTo) {
|
|
55
|
-
generateString += `
|
|
55
|
+
generateString += `
|
|
56
56
|
transitTo: '${ngAction.transitTo}'`;
|
|
57
57
|
}
|
|
58
|
-
generateString += `
|
|
59
|
-
})
|
|
58
|
+
generateString += `
|
|
59
|
+
})
|
|
60
60
|
${ngAction.name}: Action;`;
|
|
61
61
|
generateString += this.eol;
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
generateString += `
|
|
64
|
+
generateString += `
|
|
65
65
|
}`;
|
|
66
66
|
return generateString;
|
|
67
67
|
}
|
|
@@ -15,7 +15,11 @@ VueContentTypeCreator.VueTypeMap = {
|
|
|
15
15
|
PageContentContainer: 'VuePageContentContainer',
|
|
16
16
|
PageFooterContainer: 'VuePageFooterContainer',
|
|
17
17
|
ContentContainer: 'VueContentContainer',
|
|
18
|
+
TemplateContainer: 'VueTemplateContainer',
|
|
18
19
|
FloatContainer: 'VueFloatContainer',
|
|
20
|
+
LayoutContainer: 'VueLayoutContainer',
|
|
21
|
+
LayoutContainerRow: 'VueLayoutContainerRow',
|
|
22
|
+
LayoutContainerCol: 'VueLayoutContainerCol',
|
|
19
23
|
Tab: 'VueTabs',
|
|
20
24
|
TabPage: 'VueTabPage',
|
|
21
25
|
Section: 'VueSection',
|
|
@@ -34,6 +38,9 @@ VueContentTypeCreator.VueTypeMap = {
|
|
|
34
38
|
ActionBar: 'VueActionBar',
|
|
35
39
|
NavigationBar: 'VueNavBar',
|
|
36
40
|
SearchBox: 'VueSearchBox',
|
|
41
|
+
Icon: 'VueIcon',
|
|
42
|
+
Tag: 'VueTag',
|
|
43
|
+
Label: 'VueLabel',
|
|
37
44
|
TextBox: 'VueTextBox',
|
|
38
45
|
DateBox: 'VueDatePicker',
|
|
39
46
|
NumericBox: 'VueNumber',
|
|
@@ -69,6 +76,8 @@ VueContentTypeCreator.VueTypeMap = {
|
|
|
69
76
|
StaticText: 'VueStaticText',
|
|
70
77
|
Banner: 'VueBanner',
|
|
71
78
|
PersonnelInfo: 'VueStaffInfo',
|
|
79
|
+
Avatar: 'VueAvatar',
|
|
80
|
+
Text: 'VueText',
|
|
72
81
|
QueryScheme: 'VueFilter',
|
|
73
82
|
Uploader: 'VueAttachment',
|
|
74
83
|
AttachmentEntry: 'VueAttachmentEntry',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-content-type-creator.js","sourceRoot":"","sources":["../../../../src/mobileapp/vue/utility/vue-content-type-creator.ts"],"names":[],"mappings":";;;AAQA,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"vue-content-type-creator.js","sourceRoot":"","sources":["../../../../src/mobileapp/vue/utility/vue-content-type-creator.ts"],"names":[],"mappings":";;;AAQA,MAAa,qBAAqB;IA6F9B,MAAM,CAAC,MAAM,CAAC,WAAmB,EAAE,aAAqB,EAAE,WAAmB;QACzE,IAAI,MAAM,GAAY,IAAI,CAAC,UAAkB,CAAC,WAAW,CAAC,CAAC;QAC3D,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC;IACzC,CAAC;;AAhGL,sDAiGC;AA/FU,gCAAU,GAAQ;IAErB,YAAY,EAAE,iBAAiB;IAC/B,aAAa,EAAE,kBAAkB;IACjC,mBAAmB,EAAE,wBAAwB;IAC7C,oBAAoB,EAAE,yBAAyB;IAC/C,mBAAmB,EAAE,wBAAwB;IAC7C,gBAAgB,EAAE,qBAAqB;IACvC,iBAAiB,EAAE,sBAAsB;IACzC,cAAc,EAAE,mBAAmB;IACnC,eAAe,EAAE,oBAAoB;IACrC,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,uBAAuB;IAC3C,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,kBAAkB;IAG1B,MAAM,EAAE,WAAW;IACnB,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,gBAAgB;IAC7B,MAAM,EAAE,WAAW;IACnB,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,gBAAgB;IAC7B,SAAS,EAAE,cAAc;IACzB,aAAa,EAAE,WAAW;IAC1B,SAAS,EAAE,cAAc;IACzB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,QAAQ;IACb,KAAK,EAAE,UAAU;IAGjB,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,WAAW;IACvB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,aAAa;IAC3B,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,gBAAgB;IAC7B,UAAU,EAAE,eAAe;IAC3B,UAAU,EAAE,kBAAkB;IAC9B,WAAW,EAAE,gBAAgB;IAC7B,cAAc,EAAE,mBAAmB;IACnC,oBAAoB,EAAE,qBAAqB;IAC3C,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,qBAAqB;IACvC,yBAAyB,EAAE,8BAA8B;IACzD,UAAU,EAAE,eAAe;IAC3B,UAAU,EAAE,eAAe;IAC3B,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,kBAAkB;IACjC,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,oBAAoB;IACvC,SAAS,EAAE,cAAc;IACzB,UAAU,EAAE,mBAAmB;IAG/B,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,aAAa;IACvB,QAAQ,EAAE,aAAa;IACvB,YAAY,EAAE,iBAAiB;IAC/B,QAAQ,EAAE,aAAa;IACvB,iBAAiB,EAAE,iBAAiB;IACpC,YAAY,EAAE,iBAAiB;IAC/B,gBAAgB,EAAE,qBAAqB;IACvC,UAAU,EAAE,eAAe;IAC3B,MAAM,EAAE,WAAW;IACnB,aAAa,EAAE,cAAc;IAE7B,MAAM,EAAE,WAAW;IACnB,IAAI,EAAE,SAAS;IAGf,WAAW,EAAE,WAAW;IACxB,QAAQ,EAAE,eAAe;IACzB,eAAe,EAAE,oBAAoB;IACrC,UAAU,EAAE,eAAe;IAC3B,eAAe,EAAE,mBAAmB;IACpC,kBAAkB,EAAE,uBAAuB;IAC3C,aAAa,EAAE,kBAAkB;IACjC,YAAY,EAAE,iBAAiB;CAElC,CAAA"}
|
|
@@ -21,6 +21,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.VueObjectCreator = void 0;
|
|
23
23
|
const Dom = __importStar(require("../domstructure"));
|
|
24
|
+
const index_1 = require("../domstructure/internal-entity/contexts/index");
|
|
25
|
+
const vue_content_type_creator_1 = require("./vue-content-type-creator");
|
|
24
26
|
class VueObjectCreator {
|
|
25
27
|
static createObjectByType(type, i18nResourcePrefix) {
|
|
26
28
|
const dom = Dom;
|
|
@@ -30,6 +32,26 @@ class VueObjectCreator {
|
|
|
30
32
|
}
|
|
31
33
|
return domValue;
|
|
32
34
|
}
|
|
35
|
+
static getVueUINodeType(type, i18nResourcePrefix) {
|
|
36
|
+
const uiNodeType = this.createObjectByType(type, i18nResourcePrefix);
|
|
37
|
+
return uiNodeType;
|
|
38
|
+
}
|
|
39
|
+
static createVueUINodeInstance(originNode, parentVueNodeInstance, i18nResourcePrefix, params) {
|
|
40
|
+
const vueNodeTypeString = vue_content_type_creator_1.VueContentTypeCreator.create(originNode.type, null, null);
|
|
41
|
+
if (!vueNodeTypeString) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
const vueNodeType = this.getVueUINodeType(vueNodeTypeString, i18nResourcePrefix);
|
|
45
|
+
if (!vueNodeType) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
const vueNodeContext = new index_1.VueUINodeContext(parentVueNodeInstance);
|
|
49
|
+
if (params) {
|
|
50
|
+
vueNodeContext.setParams(params);
|
|
51
|
+
}
|
|
52
|
+
const vueNodeInstance = new vueNodeType(originNode, vueNodeContext);
|
|
53
|
+
return vueNodeInstance;
|
|
54
|
+
}
|
|
33
55
|
}
|
|
34
56
|
exports.VueObjectCreator = VueObjectCreator;
|
|
35
57
|
//# sourceMappingURL=vue-object-creator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-object-creator.js","sourceRoot":"","sources":["../../../../src/mobileapp/vue/utility/vue-object-creator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;
|
|
1
|
+
{"version":3,"file":"vue-object-creator.js","sourceRoot":"","sources":["../../../../src/mobileapp/vue/utility/vue-object-creator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AAEvC,0EAAuG;AACvG,yEAAmE;AAQnE,MAAa,gBAAgB;IAUzB,MAAM,CAAC,kBAAkB,CAAC,IAAY,EAAE,kBAA0B;QAC9D,MAAM,GAAG,GAAG,GAAG,CAAC;QAEhB,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;QACrC,IAAI,QAAQ,EAAE;YACV,QAAQ,CAAC,gBAAgB,CAAC,GAAG,kBAAkB,CAAC;SACnD;QACD,OAAO,QAAQ,CAAC;IACpB,CAAC;IAMD,MAAM,CAAC,gBAAgB,CAAC,IAAY,EAAE,kBAA0B;QAC5D,MAAM,UAAU,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QAErE,OAAO,UAAU,CAAC;IACtB,CAAC;IAOD,MAAM,CAAC,uBAAuB,CAAC,UAAe,EAAE,qBAA0B,EAAE,kBAA0B,EAAE,MAA6B;QACjI,MAAM,iBAAiB,GAAG,gDAAqB,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACpF,IAAI,CAAC,iBAAiB,EAAE;YACpB,OAAO,IAAI,CAAC;SACf;QACD,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;QACjF,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,IAAI,CAAC;SACf;QAED,MAAM,cAAc,GAAG,IAAI,wBAAgB,CAAC,qBAAqB,CAAC,CAAC;QACnE,IAAI,MAAM,EAAE;YACR,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;SACpC;QAED,MAAM,eAAe,GAAG,IAAI,WAAW,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAEpE,OAAO,eAAe,CAAC;IAC3B,CAAC;CACJ;AAtDD,4CAsDC"}
|
|
@@ -13,4 +13,5 @@ farris-approval-comments(
|
|
|
13
13
|
'[domains]'!=variable.domains?variable.domains:undefined
|
|
14
14
|
'[field]'!="'"+(variable.binding?variable.binding.path:undefined)+"'"
|
|
15
15
|
'[title]'!="'"+(variable.title?variable.title:undefined)+"'"
|
|
16
|
-
'[bingdingfield]'=variable.bingdingfield?""+variable.bingdingfield.value:undefined
|
|
16
|
+
'[bingdingfield]'=variable.bingdingfield?""+variable.bingdingfield.value:undefined
|
|
17
|
+
'[ifShowAddSign]'=variable.ifShowAddSign?""+variable.ifShowAddSign.value:undefined)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
wf-approval-logs(id=variable.replacedId '[ProcInstId]'=variable.procInstId?""+variable.procInstId:undefined '[
|
|
1
|
+
wf-approval-logs(id=variable.replacedId '[ProcInstId]'=variable.procInstId?""+variable.procInstId:undefined '[Style]'=variable.displayType?""+variable.displayType:undefined)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
|
|
3
|
-
fm-action-bar(
|
|
4
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
-
style=(variable.appearance && variable.appearance.style)
|
|
6
|
-
class=(variable.appearance && variable.appearance.class)
|
|
7
|
-
id=variable.id?"" + variable.id:undefined
|
|
8
|
-
:btns=variable.btns?"" + variable.btns:undefined
|
|
9
|
-
)
|
|
10
|
-
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
|
|
3
|
+
fm-action-bar(
|
|
4
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
+
style=(variable.appearance && variable.appearance.style)
|
|
6
|
+
class=(variable.appearance && variable.appearance.class)
|
|
7
|
+
id=variable.id?"" + variable.id:undefined
|
|
8
|
+
:btns=variable.btns?"" + variable.btns:undefined
|
|
9
|
+
)
|
|
10
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
3
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
4
|
-var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
5
|
-
- var data = `$formatUtils.getApprovalComments(currentEntityData, '${variable.bindingPath || ""}',
|
|
5
|
+
- var data = `$formatUtils.getApprovalComments(currentEntityData, '${variable.bindingPath || ""}', ${variable.i18nTitle})`;
|
|
6
6
|
|
|
7
7
|
fm-approval-comments(
|
|
8
8
|
v-if=visible
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
3
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
4
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
-
-var noticeText =
|
|
5
|
+
-var noticeText = `流程编号{{ ${variable.i18nCode} }},发布于${variable.releaseDate}`
|
|
6
6
|
|
|
7
7
|
fm-approval-info(
|
|
8
8
|
v-if=visible
|
|
9
9
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
10
|
-
code=variable.code?
|
|
11
|
-
name=variable.name?
|
|
10
|
+
:code=variable.code?variable.i18nCode:undefined
|
|
11
|
+
:name=variable.name?variable.i18nName:undefined
|
|
12
12
|
releaseDate=variable.releaseDate?""+variable.releaseDate:undefined
|
|
13
13
|
description=variable.description?""+variable.description:undefined
|
|
14
14
|
)&attributes(attrs)
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -13,12 +11,15 @@
|
|
|
13
11
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
14
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
15
13
|
|
|
14
|
+
|
|
16
15
|
div(
|
|
17
16
|
v-if=visible
|
|
18
17
|
class="fm-input-wrapper"
|
|
19
18
|
)
|
|
20
19
|
fm-area-picker(
|
|
21
20
|
v-model=binding
|
|
21
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
22
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
22
23
|
:required=require
|
|
23
24
|
:readonly=readonly
|
|
24
25
|
:disabled=disable
|
|
@@ -50,6 +51,6 @@ div(
|
|
|
50
51
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
51
52
|
<fm-icon name="s-illustrate-o"/>
|
|
52
53
|
<template #content>
|
|
53
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
54
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
54
55
|
</template>
|
|
55
56
|
</fm-popover>
|
|
@@ -7,7 +7,7 @@ fm-attachment-file(
|
|
|
7
7
|
v-if=variable.visible?variable.visible+"":"false"
|
|
8
8
|
:fileList=fileList
|
|
9
9
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
10
|
-
title=variable.title?
|
|
10
|
+
:title=variable.title?variable.i18nTitle:undefined
|
|
11
11
|
:required=require
|
|
12
12
|
:disabled=variable.disabled?"" + variable.disabled:undefined
|
|
13
13
|
:removable=variable.removable?"" + variable.removable:undefined
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
div(
|
|
6
|
+
v-if!=""+visible
|
|
7
|
+
)
|
|
8
|
+
fm-avatar(
|
|
9
|
+
fit!=variable.fit?"" + variable.fit:undefined
|
|
10
|
+
border!=variable.border?"" + variable.border:undefined
|
|
11
|
+
srcMode!=variable.srcMode?"" + variable.srcMode:undefined
|
|
12
|
+
:sysUserId!=variable.sysUserId?"" + variable.sysUserId:undefined
|
|
13
|
+
:dynamicSrc!=variable.dynamicSrc?"" + variable.dynamicSrc:undefined
|
|
14
|
+
:attachId!=variable.attachId?"" + variable.attachId:undefined
|
|
15
|
+
rootId!=variable.rootId?"" + variable.rootId:undefined
|
|
16
|
+
:avatarText !=variable.avatarText?"" + variable.avatarText:undefined
|
|
17
|
+
width!=variable.width?"" + variable.width:undefined
|
|
18
|
+
height!=variable.height?"" + variable.height:undefined
|
|
19
|
+
)&attributes(attrs)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
div(class="fm-banner-warpper")
|
|
2
|
-
div(class="fm-banner-title")
|
|
3
|
-
| !{variable.title}
|
|
4
|
-
div(class="fm-banner-title-sub")
|
|
1
|
+
div(class="fm-banner-warpper")
|
|
2
|
+
div(class="fm-banner-title")
|
|
3
|
+
| !{variable.title}
|
|
4
|
+
div(class="fm-banner-title-sub")
|
|
5
5
|
| !{variable.subTitle}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -15,12 +13,15 @@
|
|
|
15
13
|
-var minValue = variable.minValue ? String(variable.minValue.value) : undefined;
|
|
16
14
|
-var maxValue = variable.maxValue ? String(variable.maxValue.value) : undefined;
|
|
17
15
|
|
|
16
|
+
|
|
18
17
|
div(
|
|
19
18
|
v-if=visible
|
|
20
19
|
class="fm-input-wrapper"
|
|
21
20
|
)
|
|
22
21
|
fm-calendar-input(
|
|
23
22
|
v-model=binding
|
|
23
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
24
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
24
25
|
:required=require
|
|
25
26
|
:readonly=readonly
|
|
26
27
|
:disabled=disable
|
|
@@ -59,6 +60,6 @@ div(
|
|
|
59
60
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
60
61
|
<fm-icon name="s-illustrate-o"/>
|
|
61
62
|
<template #content>
|
|
62
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
63
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
63
64
|
</template>
|
|
64
65
|
</fm-popover>
|
|
@@ -7,9 +7,9 @@ fm-card(
|
|
|
7
7
|
v-if=visible
|
|
8
8
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
9
|
icon=variable.icon?String(variable.icon):undefined
|
|
10
|
-
title=variable.title?
|
|
10
|
+
:title=variable.title?variable.i18nTitle:undefined
|
|
11
11
|
:collapsible=variable.collapsible?String(variable.collapsible) : 'false'
|
|
12
|
-
:actions=variable.actions?
|
|
12
|
+
:actions=variable.actions?variable.i18nActions:undefined
|
|
13
13
|
)&attributes(attrs)
|
|
14
14
|
if(variable.headerTemplate)
|
|
15
15
|
template(#header)
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
-var attrs = {};
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
6
5
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
6
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
7
|
-var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
-var direction = variable.displayType === 'button' ? 'horizontal' : variable.direction
|
|
15
14
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
15
|
-var groupClass = inputDirection === 'horizontal' ? 'd-flex justify-content-end' : undefined
|
|
17
|
-
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.
|
|
16
|
+
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.i18nEnumData
|
|
18
17
|
|
|
19
18
|
div(
|
|
20
19
|
v-if=visible
|
|
@@ -23,6 +22,7 @@ div(
|
|
|
23
22
|
fm-input(
|
|
24
23
|
center
|
|
25
24
|
:required=require
|
|
25
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
26
26
|
input-align="right"
|
|
27
27
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
28
28
|
direction=inputDirection?inputDirection+"":undefined
|
|
@@ -48,6 +48,6 @@ div(
|
|
|
48
48
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
49
49
|
<fm-icon name="s-illustrate-o"/>
|
|
50
50
|
<template #content>
|
|
51
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
51
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
52
52
|
</template>
|
|
53
53
|
</fm-popover>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
//- -var variable = {id:'id',"component":"Delivery-component", "componentName":"DeliveryComponent"};
|
|
2
|
-
|
|
3
|
-
#{'app-' + variable.componentName.toLowerCase()}
|
|
1
|
+
//- -var variable = {id:'id',"component":"Delivery-component", "componentName":"DeliveryComponent"};
|
|
2
|
+
|
|
3
|
+
#{'app-' + variable.componentName.toLowerCase()}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -14,12 +12,16 @@
|
|
|
14
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
15
13
|
-var bind = variable.bind ? String(variable.bind) : undefined;
|
|
16
14
|
|
|
15
|
+
|
|
16
|
+
|
|
17
17
|
div(
|
|
18
18
|
v-if=visible
|
|
19
19
|
class="fm-input-wrapper"
|
|
20
20
|
)
|
|
21
21
|
component(
|
|
22
22
|
v-model=binding
|
|
23
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
24
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
25
|
:required=require
|
|
24
26
|
:readonly=readonly
|
|
25
27
|
:disabled=disable
|
|
@@ -52,7 +54,7 @@ div(
|
|
|
52
54
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
53
55
|
<fm-icon name="s-illustrate-o"/>
|
|
54
56
|
<template #content>
|
|
55
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
57
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
56
58
|
</template>
|
|
57
59
|
</fm-popover>
|
|
58
60
|
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -15,12 +13,16 @@
|
|
|
15
13
|
-var minValue = variable.minValue ? String(variable.minValue.value) : undefined;
|
|
16
14
|
-var maxValue = variable.maxValue ? String(variable.maxValue.value) : undefined;
|
|
17
15
|
|
|
16
|
+
|
|
17
|
+
|
|
18
18
|
div(
|
|
19
19
|
v-if=visible
|
|
20
20
|
class="fm-input-wrapper"
|
|
21
21
|
)
|
|
22
22
|
fm-datetime-picker(
|
|
23
23
|
v-model=binding
|
|
24
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
25
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
24
26
|
:required=require
|
|
25
27
|
:readonly=readonly
|
|
26
28
|
:disabled=disable
|
|
@@ -53,6 +55,6 @@ div(
|
|
|
53
55
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
54
56
|
<fm-icon name="s-illustrate-o"/>
|
|
55
57
|
<template #content>
|
|
56
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
58
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
57
59
|
</template>
|
|
58
60
|
</fm-popover>
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
fm-collapse-item(
|
|
7
7
|
v-if=visible
|
|
8
8
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
|
-
title=variable.title?
|
|
9
|
+
:title=variable.title?variable.i18nTitle : undefined
|
|
10
10
|
position=variable.isInner ? 'bottom' : 'top'
|
|
11
11
|
:collapse=variable.collapse?String(variable.collapse): undefined
|
|
12
12
|
)&attributes(attrs)
|
|
13
13
|
if(variable.headerTemplate)
|
|
14
|
-
|
|
14
|
+
template(#title)
|
|
15
|
+
| !{variable.headerTemplate}
|
|
15
16
|
| {{content}}
|
|
@@ -12,10 +12,10 @@ fm-filter(
|
|
|
12
12
|
v-model=variable.binding?""+variable.binding:undefined
|
|
13
13
|
type=variable.showType?""+variable.showType:undefined
|
|
14
14
|
position=variable.position?""+variable.position:undefined
|
|
15
|
-
placeholder=variable.placeholder?
|
|
15
|
+
:placeholder=variable.placeholder?variable.i18nPlaceholder:undefined
|
|
16
16
|
:searchBoxValue=variable.searchBoxValue?""+variable.searchBoxValue:undefined
|
|
17
17
|
:useSearch=variable.useSearch?""+variable.useSearch:undefined
|
|
18
|
-
:fieldConfigs=variable.fieldConfigs?
|
|
18
|
+
:fieldConfigs=variable.fieldConfigs?variable.i18nFieldConfigs:[]
|
|
19
19
|
@confirm=variable.onQuery?""+variable.onQuery:undefined
|
|
20
20
|
@searchBoxChange=variable.searchBoxChange?""+variable.searchBoxChange:undefined
|
|
21
21
|
)&attributes(attrs)
|
|
@@ -20,6 +20,6 @@ div(
|
|
|
20
20
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
21
21
|
<fm-icon name="s-illustrate-o"/>
|
|
22
22
|
<template #content>
|
|
23
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
23
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
24
24
|
</template>
|
|
25
25
|
</fm-popover>
|
|
@@ -0,0 +1,12 @@
|
|
|
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.iconName ? String(variable.iconName) : undefined
|
|
11
|
+
@click=variable.click ? String(variable.click) : undefined
|
|
12
|
+
)&attributes(attrs)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
-var imageInfo =`$formatUtils.fileInfo(currentEntityData.${variable.binding.bindingPath}, '${variable.rootId}')`
|
|
2
|
-
-var extendContext =`{ rootId: '${variable.rootId}', formId: '${variable.parentDirName}', fieldPath: '/${variable.binding.bindingPath}'}`
|
|
3
|
-
|
|
4
|
-
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
5
|
-
fm-image-uploader(
|
|
6
|
-
style=(variable.appearance && variable.appearance.style)
|
|
7
|
-
class=variable.className
|
|
8
|
-
id=variable.id?"" + variable.id:undefined
|
|
9
|
-
title=variable.title?variable.title:undefined
|
|
10
|
-
:disabled!=variable.disabled?variable.disabled+"":undefined
|
|
11
|
-
:imageInfo!=imageInfo
|
|
12
|
-
:extendContext!=extendContext
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
-var imageInfo =`$formatUtils.fileInfo(currentEntityData.${variable.binding.bindingPath}, '${variable.rootId}')`
|
|
2
|
+
-var extendContext =`{ rootId: '${variable.rootId}', formId: '${variable.parentDirName}', fieldPath: '/${variable.binding.bindingPath}'}`
|
|
3
|
+
|
|
4
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
5
|
+
fm-image-uploader(
|
|
6
|
+
style=(variable.appearance && variable.appearance.style)
|
|
7
|
+
class=variable.className
|
|
8
|
+
id=variable.id?"" + variable.id:undefined
|
|
9
|
+
title=variable.title?variable.title:undefined
|
|
10
|
+
:disabled!=variable.disabled?variable.disabled+"":undefined
|
|
11
|
+
:imageInfo!=imageInfo
|
|
12
|
+
:extendContext!=extendContext
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|