@farris/jit-engine 1.4.10 → 1.4.12
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 +4 -0
- 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-index-vue-generator.js +6 -5
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js +57 -0
- package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +18 -0
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js.map +1 -0
- 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/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/button/button.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/button/button.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/button/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/button/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js +28 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js +32 -0
- package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/card/card.js +45 -0
- package/lib/mobileapp/vue/domstructure/ui/card/card.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/card/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/card/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js +32 -0
- package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js.map +1 -0
- 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-visible.js +57 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +1 -0
- 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-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/data/fields/form/display/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js +33 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js +56 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/data/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/data/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js +38 -0
- package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js +28 -0
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.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/show-image/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js.map +1 -0
- 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 +47 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js +41 -0
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/footer/footer.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/footer/footer.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/image/image.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/image/image.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/image/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/image/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +39 -0
- package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js +33 -0
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js +45 -0
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/number/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/number/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/number/number.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/number/number.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/picker/picker.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/picker/picker.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js +32 -0
- package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/section/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/section/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js +49 -0
- package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js +33 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js +45 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js +45 -0
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js +37 -0
- package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +17 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js +35 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js +32 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js +81 -0
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/i-project-data.js +3 -0
- package/lib/mobileapp/vue/internal-entity/i-project-data.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/index.js +14 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/index.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js +11 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js +44 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js +27 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js +27 -0
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js +7 -0
- package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js +15 -0
- package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/vue-engine-context.js +7 -0
- package/lib/mobileapp/vue/internal-entity/vue-engine-context.js.map +1 -0
- package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js +7 -0
- package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js.map +1 -0
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +1 -0
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/template/ui/mobileapprove/content-container.pug +6 -3
- package/lib/template/ui/mobileapprove/detailheader-for-mobileapprove.pug +2 -1
- package/lib/template/ui/mobileapprove/panel-for-mobileapprove.pug +8 -0
- package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +15 -20
- package/lib/template/ui/mobilevue/area-picker.pug +53 -0
- package/lib/template/ui/mobilevue/avatar.pug +19 -0
- package/lib/template/ui/mobilevue/common/text-common.pug +80 -0
- package/lib/template/ui/mobilevue/fm-staff-info.pug +10 -0
- package/lib/template/ui/mobilevue/footer.pug +10 -0
- 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/page-content-container.pug +10 -0
- package/lib/template/ui/mobilevue/page-footer-container.pug +10 -0
- package/lib/template/ui/mobilevue/page-header-container.pug +10 -0
- package/lib/template/ui/mobilevue/show-image.pug +22 -0
- package/lib/template/ui/mobilevue/tag.pug +33 -0
- package/lib/template/ui/mobilevue/text.pug +118 -0
- package/lib/template/ui/mobilevue/vant-tabpage.pug +6 -0
- package/lib/template/ui/mobilevue/vant-tabs.pug +6 -0
- package/lib/utility/mobile-approve/config-helper/form-jsonfile-reader.js +16 -16
- package/lib/utility/mobile-approve/config-helper/formatter-function-generator.js +67 -67
- package/lib/utility/mobile-approve/entity/attachment-panel-for-mobileapprove.js +51 -51
- package/lib/utility/mobile-approve/entity/base-mobile-approve.js +36 -36
- package/lib/utility/mobile-approve/entity/binding.js +25 -25
- package/lib/utility/mobile-approve/entity/child-detail-template.js +10 -10
- package/lib/utility/mobile-approve/entity/child-table-primary-relation.js +6 -6
- package/lib/utility/mobile-approve/entity/component-ref.js +33 -33
- package/lib/utility/mobile-approve/entity/component.js +55 -55
- package/lib/utility/mobile-approve/entity/content-container.js +61 -42
- package/lib/utility/mobile-approve/entity/content-container.js.map +1 -1
- package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js +123 -122
- package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js.map +1 -1
- package/lib/utility/mobile-approve/entity/detail-header-item.js +32 -32
- package/lib/utility/mobile-approve/entity/field-binding-parameter.js +24 -24
- package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js +42 -42
- package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js.map +1 -1
- package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js +34 -34
- package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js.map +1 -1
- package/lib/utility/mobile-approve/entity/html-panel-for-mobileapprove.js +48 -48
- package/lib/utility/mobile-approve/entity/html-template.js +25 -25
- package/lib/utility/mobile-approve/entity/index.js +31 -27
- package/lib/utility/mobile-approve/entity/index.js.map +1 -1
- package/lib/utility/mobile-approve/entity/module.js +39 -39
- package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js +101 -101
- package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js.map +1 -1
- package/lib/utility/mobile-approve/entity/panel-item-for-mobileapprove.js +38 -38
- package/lib/utility/mobile-approve/entity/person-avatar.js +24 -24
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +71 -71
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
- package/lib/utility/mobile-approve/generator/dom-generator.js +20 -20
- package/lib/utility/mobile-approve/mobile-approve-manager.js +54 -50
- package/lib/utility/mobile-approve/mobile-approve-manager.js.map +1 -1
- package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js +442 -430
- package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js.map +1 -1
- package/lib/utility/mobile-approve/template-generator/abstract-template-generator.js +6 -6
- package/lib/utility/mobile-approve/template-generator/component-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/content-container-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/detailheader-for-mobileapprove-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/i-template-generator.js +2 -2
- package/lib/utility/mobile-approve/template-generator/index-html-generator.js +585 -582
- package/lib/utility/mobile-approve/template-generator/index-html-generator.js.map +1 -1
- package/lib/utility/mobile-approve/template-generator/index.js +17 -13
- package/lib/utility/mobile-approve/template-generator/index.js.map +1 -1
- package/lib/utility/mobile-approve/template-generator/mobile-approve-templateconfig.js +39 -39
- package/lib/utility/mobile-approve/template-generator/panel-for-mobileapprove-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/static-text-for-mobileapprove-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/template-generator-factory.js +39 -39
- package/lib/utility/mobile-approve/template-generator/template-generator-manager.js +31 -31
- package/lib/utility/mobile-approve/template-generator/template-generator-type.js +11 -11
- package/package.json +1 -1
- package/lib/mobileapp/vue/static/.gitignore +0 -13
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
-var enableLabel = variable.enableLabel
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class ?variable.appearance.class:'';
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style?variable.appearance.style:'';
|
|
5
|
+
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
7
|
+
-var binding = variable.binding? variable.binding : undefined
|
|
8
|
+
-var fontSize = variable.fontSize? String(variable.fontSize) : undefined
|
|
9
|
+
-var lineHeight = variable.lineHeight? String(variable.lineHeight) : undefined
|
|
10
|
+
-var textColor = variable.textColor? String(variable.textColor) : undefined
|
|
11
|
+
-var formatter = variable.formatter ? variable.formatter:{}
|
|
12
|
+
-var displayType = variable.displayType? String(variable.displayType) : undefined
|
|
13
|
+
-var formatterType = 'string'
|
|
14
|
+
-var valueStr = ''
|
|
15
|
+
-var formBindingPrefix = variable.formBindingPrefix? String(variable.formBindingPrefix):undefined
|
|
16
|
+
-var wrapPosition = variable.wrapPosition? variable.wrapPosition : undefined
|
|
17
|
+
|
|
18
|
+
-var label = variable.label
|
|
19
|
+
-var labelAppearance = variable.labelAppearance;
|
|
20
|
+
-var labelSize = variable.labelSize
|
|
21
|
+
-var labelFontSize = variable.labelFontSize
|
|
22
|
+
-var labelLineHeight = variable.labelLineHeight
|
|
23
|
+
-var labelColor = variable.labelColor
|
|
24
|
+
-var labelattrs = {};
|
|
25
|
+
-labelattrs.class = 'fm-common-label ';
|
|
26
|
+
-labelattrs.class += variable.labelAppearance && variable.labelAppearance.class ?variable.labelAppearance.class:'';
|
|
27
|
+
-labelattrs.style = variable.labelAppearance && variable.labelAppearance.style?variable.labelAppearance.style:'';
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
//--启用标签时,文本的样式
|
|
31
|
+
-var textCls = 'fm-common-text '
|
|
32
|
+
|
|
33
|
+
//--样式class
|
|
34
|
+
-attrs.class = `fm-common-field ${attrs.class} `
|
|
35
|
+
-attrs.class += displayType && displayType.startsWith('title-') ? 'fm-common-title':''
|
|
36
|
+
if(displayType)
|
|
37
|
+
-attrs.class += ` fm-${displayType}`
|
|
38
|
+
|
|
39
|
+
if(enableLabel && wrapPosition === 'afterLabel')
|
|
40
|
+
-attrs.class += ' d-flex ';
|
|
41
|
+
|
|
42
|
+
if(binding && binding.type)
|
|
43
|
+
if(binding.type === 'Const')
|
|
44
|
+
-valueStr = `'${binding.value}'`;
|
|
45
|
+
if(binding.type === 'Form')
|
|
46
|
+
-valueStr = `${formBindingPrefix}${binding.bindingPath}`;
|
|
47
|
+
if(binding.type === 'LocaleVariable' || binding.type === 'RemoteVariable')
|
|
48
|
+
-valueStr = `uiState.${binding.code}`;
|
|
49
|
+
|
|
50
|
+
-var labelContent = ''
|
|
51
|
+
if(enableLabel)
|
|
52
|
+
if(typeof label==='string')
|
|
53
|
+
-labelContent = `${label}`;
|
|
54
|
+
else if(label && typeof label==='object' && label.fullPath)
|
|
55
|
+
-labelContent = `{{ uiState.${label.fullPath} }}`;
|
|
56
|
+
else
|
|
57
|
+
-labelContent = '';
|
|
58
|
+
|
|
59
|
+
if(formatter && formatter.type)
|
|
60
|
+
-formatterType = formatter.type
|
|
61
|
+
-delete formatter.type
|
|
62
|
+
|
|
63
|
+
-var content = `{{$formatUtils.${formatterType}(${valueStr},${JSON.stringify(formatter)})}}`
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
//--样式
|
|
67
|
+
if(attrs.style)
|
|
68
|
+
-attrs.style += `;`
|
|
69
|
+
|
|
70
|
+
if(textColor)
|
|
71
|
+
-attrs.style += ` color:${textColor};`
|
|
72
|
+
|
|
73
|
+
//--内容
|
|
74
|
+
if(variable.size && variable.size.width)
|
|
75
|
+
-attrs.style += `width:${variable.size.width}px;`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
if(variable.size && variable.size.height)
|
|
79
|
+
-attrs.style += `height:${variable.size.height}px;`
|
|
80
|
+
|
|
81
|
+
if(fontSize)
|
|
82
|
+
-attrs.style += `font-size:${fontSize}px;`
|
|
83
|
+
|
|
84
|
+
if(lineHeight)
|
|
85
|
+
-attrs.style += `line-height:${lineHeight}px;`
|
|
86
|
+
|
|
87
|
+
//--标签样式
|
|
88
|
+
if(enableLabel)
|
|
89
|
+
if(labelattrs.style)
|
|
90
|
+
-labelattrs.style += `;`
|
|
91
|
+
|
|
92
|
+
if(labelColor)
|
|
93
|
+
-labelattrs.style += ` color:${labelColor};`
|
|
94
|
+
|
|
95
|
+
if(variable.labelSize && variable.labelSize.width)
|
|
96
|
+
-labelattrs.style += `width:${variable.labelSize.width}px;`
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
if(variable.labelSize && variable.labelSize.height)
|
|
100
|
+
-labelattrs.style += `height:${variable.labelSize.height}px;`
|
|
101
|
+
|
|
102
|
+
if(labelFontSize)
|
|
103
|
+
-labelattrs.style += `font-size:${labelFontSize}px;`
|
|
104
|
+
|
|
105
|
+
if(labelLineHeight)
|
|
106
|
+
-labelattrs.style += `line-height:${labelLineHeight}px;`
|
|
107
|
+
|
|
108
|
+
div(
|
|
109
|
+
v-if=visible
|
|
110
|
+
)&attributes(attrs)
|
|
111
|
+
if(enableLabel)
|
|
112
|
+
label()&attributes(labelattrs)
|
|
113
|
+
| !{labelContent}
|
|
114
|
+
|
|
115
|
+
span(
|
|
116
|
+
class=textCls
|
|
117
|
+
)
|
|
118
|
+
| !{content}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormJsonFileReader = void 0;
|
|
4
|
-
const directory_file_helper_1 = require("../../../utility/directory-file-helper");
|
|
5
|
-
const logger_1 = require("../../logger");
|
|
6
|
-
class FormJsonFileReader {
|
|
7
|
-
static read(formJsonFilePath) {
|
|
8
|
-
if (directory_file_helper_1.DirectoryFileHelper.isExists(formJsonFilePath)) {
|
|
9
|
-
return directory_file_helper_1.DirectoryFileHelper.readJSONFile(formJsonFilePath);
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
logger_1.LoggerHelper.log(`can not find mobile approve form file, the path is ${formJsonFilePath}`, logger_1.LoggerLevel.Error);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.FormJsonFileReader = FormJsonFileReader;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormJsonFileReader = void 0;
|
|
4
|
+
const directory_file_helper_1 = require("../../../utility/directory-file-helper");
|
|
5
|
+
const logger_1 = require("../../logger");
|
|
6
|
+
class FormJsonFileReader {
|
|
7
|
+
static read(formJsonFilePath) {
|
|
8
|
+
if (directory_file_helper_1.DirectoryFileHelper.isExists(formJsonFilePath)) {
|
|
9
|
+
return directory_file_helper_1.DirectoryFileHelper.readJSONFile(formJsonFilePath);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
logger_1.LoggerHelper.log(`can not find mobile approve form file, the path is ${formJsonFilePath}`, logger_1.LoggerLevel.Error);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.FormJsonFileReader = FormJsonFileReader;
|
|
17
17
|
//# sourceMappingURL=form-jsonfile-reader.js.map
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormatterFunctionGenerator = void 0;
|
|
4
|
-
class FormatterFunctionGenerator {
|
|
5
|
-
static generate(variable, functionModelName) {
|
|
6
|
-
if (!variable) {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
const dataType = variable.dataType;
|
|
10
|
-
const functionFormatPrefix = "format";
|
|
11
|
-
const specificFormat = variable.format || {};
|
|
12
|
-
let sourceData;
|
|
13
|
-
let functionFormatType;
|
|
14
|
-
switch (dataType) {
|
|
15
|
-
case "Number":
|
|
16
|
-
functionFormatType = "number";
|
|
17
|
-
if (variable.sourceDataName) {
|
|
18
|
-
sourceData = variable.sourceDataName;
|
|
19
|
-
}
|
|
20
|
-
break;
|
|
21
|
-
case "Date":
|
|
22
|
-
functionFormatType = "date";
|
|
23
|
-
break;
|
|
24
|
-
case "Enum":
|
|
25
|
-
functionFormatType = "enum";
|
|
26
|
-
specificFormat["enumData"] = variable["enumData"];
|
|
27
|
-
specificFormat["type"] = "enum";
|
|
28
|
-
specificFormat["multipleSelect"] = variable["multipleSelect"];
|
|
29
|
-
specificFormat["multipleSelectSeparator"] = variable["multipleSelectSeparator"];
|
|
30
|
-
break;
|
|
31
|
-
case "String":
|
|
32
|
-
functionFormatType = "string";
|
|
33
|
-
break;
|
|
34
|
-
case "Boolean":
|
|
35
|
-
functionFormatType = "boolean";
|
|
36
|
-
break;
|
|
37
|
-
case "hide":
|
|
38
|
-
functionFormatType = "hide";
|
|
39
|
-
if (variable.sourceDataName) {
|
|
40
|
-
sourceData = variable.sourceDataName;
|
|
41
|
-
}
|
|
42
|
-
specificFormat["type"] = "hide";
|
|
43
|
-
specificFormat["hideFunc"] = variable["hideFunc"];
|
|
44
|
-
break;
|
|
45
|
-
default:
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
if (functionFormatType === "hide") {
|
|
49
|
-
let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
|
|
50
|
-
if (sourceData) {
|
|
51
|
-
const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
|
|
52
|
-
strSpecificFormat = "{\"sourceData\": " + sourceData + "," + "\"sourceModel\": " + "model" + (specificFormat ? "," : "") + subSpecificFormat;
|
|
53
|
-
}
|
|
54
|
-
return `{{=${functionFormatPrefix}(${functionModelName},${strSpecificFormat})}}`;
|
|
55
|
-
}
|
|
56
|
-
if (functionFormatType) {
|
|
57
|
-
let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
|
|
58
|
-
if (sourceData) {
|
|
59
|
-
const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
|
|
60
|
-
strSpecificFormat = "{ \"sourceData\": " + sourceData + (specificFormat ? "," : "") + subSpecificFormat;
|
|
61
|
-
}
|
|
62
|
-
return `${functionFormatPrefix}(${functionModelName},${strSpecificFormat})`;
|
|
63
|
-
}
|
|
64
|
-
return functionModelName;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.FormatterFunctionGenerator = FormatterFunctionGenerator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormatterFunctionGenerator = void 0;
|
|
4
|
+
class FormatterFunctionGenerator {
|
|
5
|
+
static generate(variable, functionModelName) {
|
|
6
|
+
if (!variable) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const dataType = variable.dataType;
|
|
10
|
+
const functionFormatPrefix = "format";
|
|
11
|
+
const specificFormat = variable.format || {};
|
|
12
|
+
let sourceData;
|
|
13
|
+
let functionFormatType;
|
|
14
|
+
switch (dataType) {
|
|
15
|
+
case "Number":
|
|
16
|
+
functionFormatType = "number";
|
|
17
|
+
if (variable.sourceDataName) {
|
|
18
|
+
sourceData = variable.sourceDataName;
|
|
19
|
+
}
|
|
20
|
+
break;
|
|
21
|
+
case "Date":
|
|
22
|
+
functionFormatType = "date";
|
|
23
|
+
break;
|
|
24
|
+
case "Enum":
|
|
25
|
+
functionFormatType = "enum";
|
|
26
|
+
specificFormat["enumData"] = variable["enumData"];
|
|
27
|
+
specificFormat["type"] = "enum";
|
|
28
|
+
specificFormat["multipleSelect"] = variable["multipleSelect"];
|
|
29
|
+
specificFormat["multipleSelectSeparator"] = variable["multipleSelectSeparator"];
|
|
30
|
+
break;
|
|
31
|
+
case "String":
|
|
32
|
+
functionFormatType = "string";
|
|
33
|
+
break;
|
|
34
|
+
case "Boolean":
|
|
35
|
+
functionFormatType = "boolean";
|
|
36
|
+
break;
|
|
37
|
+
case "hide":
|
|
38
|
+
functionFormatType = "hide";
|
|
39
|
+
if (variable.sourceDataName) {
|
|
40
|
+
sourceData = variable.sourceDataName;
|
|
41
|
+
}
|
|
42
|
+
specificFormat["type"] = "hide";
|
|
43
|
+
specificFormat["hideFunc"] = variable["hideFunc"];
|
|
44
|
+
break;
|
|
45
|
+
default:
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
if (functionFormatType === "hide") {
|
|
49
|
+
let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
|
|
50
|
+
if (sourceData) {
|
|
51
|
+
const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
|
|
52
|
+
strSpecificFormat = "{\"sourceData\": " + sourceData + "," + "\"sourceModel\": " + "model" + (specificFormat ? "," : "") + subSpecificFormat;
|
|
53
|
+
}
|
|
54
|
+
return `{{=${functionFormatPrefix}(${functionModelName},${strSpecificFormat})}}`;
|
|
55
|
+
}
|
|
56
|
+
if (functionFormatType) {
|
|
57
|
+
let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
|
|
58
|
+
if (sourceData) {
|
|
59
|
+
const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
|
|
60
|
+
strSpecificFormat = "{ \"sourceData\": " + sourceData + (specificFormat ? "," : "") + subSpecificFormat;
|
|
61
|
+
}
|
|
62
|
+
return `${functionFormatPrefix}(${functionModelName},${strSpecificFormat})`;
|
|
63
|
+
}
|
|
64
|
+
return functionModelName;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.FormatterFunctionGenerator = FormatterFunctionGenerator;
|
|
68
68
|
//# sourceMappingURL=formatter-function-generator.js.map
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttachmentPanelForMobileApprove = void 0;
|
|
4
|
-
const toolhepler_1 = require("../../toolhepler");
|
|
5
|
-
const mobile_approve_manager_1 = require("../mobile-approve-manager");
|
|
6
|
-
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
7
|
-
const panel_for_mobileapprove_1 = require("./panel-for-mobileapprove");
|
|
8
|
-
class AttachmentPanelForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
9
|
-
constructor(param) {
|
|
10
|
-
super(param);
|
|
11
|
-
this.type = "AttachmentPanelForMobileApprove";
|
|
12
|
-
let obj;
|
|
13
|
-
if (typeof param === 'string') {
|
|
14
|
-
obj = JSON.parse(param);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
obj = param;
|
|
18
|
-
}
|
|
19
|
-
if (!obj) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const keys = 'contents,title,attachmentIdField,attachmentNameField,attachmentRootId,headerIcon,bindTo,enableDownloadAttachment,enablePreviewFileConfig';
|
|
23
|
-
Object.keys(obj).forEach(key => {
|
|
24
|
-
if (keys.includes(key)) {
|
|
25
|
-
if (key == "contents") {
|
|
26
|
-
this.contents = [];
|
|
27
|
-
if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
|
|
28
|
-
obj[key].forEach((item) => {
|
|
29
|
-
const dom = mobile_approve_manager_1.MobileApproveManager.createObjectType(item["type"]);
|
|
30
|
-
if (dom) {
|
|
31
|
-
this.contents.push(new dom(item));
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
else if (key == "headerIcon") {
|
|
37
|
-
if (obj[key]) {
|
|
38
|
-
this[key] = new panel_for_mobileapprove_1.HeaderIcon(obj[key]);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
else if (key == "enablePreviewFileConfig") {
|
|
42
|
-
this[key] = obj[key] ? JSON.stringify(obj[key]) : "";
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
this[key] = obj[key];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.AttachmentPanelForMobileApprove = AttachmentPanelForMobileApprove;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttachmentPanelForMobileApprove = void 0;
|
|
4
|
+
const toolhepler_1 = require("../../toolhepler");
|
|
5
|
+
const mobile_approve_manager_1 = require("../mobile-approve-manager");
|
|
6
|
+
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
7
|
+
const panel_for_mobileapprove_1 = require("./panel-for-mobileapprove");
|
|
8
|
+
class AttachmentPanelForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
9
|
+
constructor(param) {
|
|
10
|
+
super(param);
|
|
11
|
+
this.type = "AttachmentPanelForMobileApprove";
|
|
12
|
+
let obj;
|
|
13
|
+
if (typeof param === 'string') {
|
|
14
|
+
obj = JSON.parse(param);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
obj = param;
|
|
18
|
+
}
|
|
19
|
+
if (!obj) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const keys = 'contents,title,attachmentIdField,attachmentNameField,attachmentRootId,headerIcon,bindTo,enableDownloadAttachment,enablePreviewFileConfig';
|
|
23
|
+
Object.keys(obj).forEach(key => {
|
|
24
|
+
if (keys.includes(key)) {
|
|
25
|
+
if (key == "contents") {
|
|
26
|
+
this.contents = [];
|
|
27
|
+
if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
|
|
28
|
+
obj[key].forEach((item) => {
|
|
29
|
+
const dom = mobile_approve_manager_1.MobileApproveManager.createObjectType(item["type"]);
|
|
30
|
+
if (dom) {
|
|
31
|
+
this.contents.push(new dom(item));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
else if (key == "headerIcon") {
|
|
37
|
+
if (obj[key]) {
|
|
38
|
+
this[key] = new panel_for_mobileapprove_1.HeaderIcon(obj[key]);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
else if (key == "enablePreviewFileConfig") {
|
|
42
|
+
this[key] = obj[key] ? JSON.stringify(obj[key]) : "";
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
this[key] = obj[key];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.AttachmentPanelForMobileApprove = AttachmentPanelForMobileApprove;
|
|
52
52
|
//# sourceMappingURL=attachment-panel-for-mobileapprove.js.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BaseMobileApprove = void 0;
|
|
4
|
-
const domstructure_1 = require("../../../domstructure");
|
|
5
|
-
const visible_1 = require("../../../domstructure/ui/common/visible");
|
|
6
|
-
class BaseMobileApprove {
|
|
7
|
-
constructor(param) {
|
|
8
|
-
let obj;
|
|
9
|
-
if (typeof param === 'string') {
|
|
10
|
-
obj = JSON.parse(param);
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
obj = param;
|
|
14
|
-
}
|
|
15
|
-
if (!obj) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
const keys = 'id,appearance,visible';
|
|
19
|
-
Object.keys(obj).forEach(key => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
if (key == "appearance") {
|
|
22
|
-
if (obj[key]) {
|
|
23
|
-
this[key] = new domstructure_1.Appearance(obj[key]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
else if (key == "visible") {
|
|
27
|
-
this[key] = new visible_1.Visible(obj[key], "");
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
this[key] = obj[key];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.BaseMobileApprove = BaseMobileApprove;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseMobileApprove = void 0;
|
|
4
|
+
const domstructure_1 = require("../../../domstructure");
|
|
5
|
+
const visible_1 = require("../../../domstructure/ui/common/visible");
|
|
6
|
+
class BaseMobileApprove {
|
|
7
|
+
constructor(param) {
|
|
8
|
+
let obj;
|
|
9
|
+
if (typeof param === 'string') {
|
|
10
|
+
obj = JSON.parse(param);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
obj = param;
|
|
14
|
+
}
|
|
15
|
+
if (!obj) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const keys = 'id,appearance,visible';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
if (key == "appearance") {
|
|
22
|
+
if (obj[key]) {
|
|
23
|
+
this[key] = new domstructure_1.Appearance(obj[key]);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
else if (key == "visible") {
|
|
27
|
+
this[key] = new visible_1.Visible(obj[key], "");
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
this[key] = obj[key];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.BaseMobileApprove = BaseMobileApprove;
|
|
37
37
|
//# sourceMappingURL=base-mobile-approve.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Binding = void 0;
|
|
4
|
-
class Binding {
|
|
5
|
-
constructor(param) {
|
|
6
|
-
this.type = "Binding";
|
|
7
|
-
let obj;
|
|
8
|
-
if (typeof param === 'string') {
|
|
9
|
-
obj = JSON.parse(param);
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
obj = param;
|
|
13
|
-
}
|
|
14
|
-
if (!obj) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
const keys = 'type,path,field';
|
|
18
|
-
Object.keys(obj).forEach(key => {
|
|
19
|
-
if (keys.includes(key)) {
|
|
20
|
-
this[key] = obj[key];
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.Binding = Binding;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Binding = void 0;
|
|
4
|
+
class Binding {
|
|
5
|
+
constructor(param) {
|
|
6
|
+
this.type = "Binding";
|
|
7
|
+
let obj;
|
|
8
|
+
if (typeof param === 'string') {
|
|
9
|
+
obj = JSON.parse(param);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
obj = param;
|
|
13
|
+
}
|
|
14
|
+
if (!obj) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const keys = 'type,path,field';
|
|
18
|
+
Object.keys(obj).forEach(key => {
|
|
19
|
+
if (keys.includes(key)) {
|
|
20
|
+
this[key] = obj[key];
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.Binding = Binding;
|
|
26
26
|
//# sourceMappingURL=binding.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChildDetailTemplate = void 0;
|
|
4
|
-
class ChildDetailTemplate {
|
|
5
|
-
constructor(templateId, templateHtml) {
|
|
6
|
-
this.templateId = templateId;
|
|
7
|
-
this.templateHtml = templateHtml;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.ChildDetailTemplate = ChildDetailTemplate;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChildDetailTemplate = void 0;
|
|
4
|
+
class ChildDetailTemplate {
|
|
5
|
+
constructor(templateId, templateHtml) {
|
|
6
|
+
this.templateId = templateId;
|
|
7
|
+
this.templateHtml = templateHtml;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ChildDetailTemplate = ChildDetailTemplate;
|
|
11
11
|
//# sourceMappingURL=child-detail-template.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChildTablePrimaryRelation = void 0;
|
|
4
|
-
class ChildTablePrimaryRelation {
|
|
5
|
-
}
|
|
6
|
-
exports.ChildTablePrimaryRelation = ChildTablePrimaryRelation;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChildTablePrimaryRelation = void 0;
|
|
4
|
+
class ChildTablePrimaryRelation {
|
|
5
|
+
}
|
|
6
|
+
exports.ChildTablePrimaryRelation = ChildTablePrimaryRelation;
|
|
7
7
|
//# sourceMappingURL=child-table-primary-relation.js.map
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComponentRef = void 0;
|
|
4
|
-
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
5
|
-
class ComponentRef extends base_mobile_approve_1.BaseMobileApprove {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(param);
|
|
8
|
-
this.type = "ComponentRef";
|
|
9
|
-
this.isDetail = false;
|
|
10
|
-
let obj;
|
|
11
|
-
if (typeof param === 'string') {
|
|
12
|
-
obj = JSON.parse(param);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
obj = param;
|
|
16
|
-
}
|
|
17
|
-
if (!obj) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const keys = 'component,isDetail,bindTo,bindToName';
|
|
21
|
-
Object.keys(obj).forEach(key => {
|
|
22
|
-
if (keys.includes(key)) {
|
|
23
|
-
if (key == "component") {
|
|
24
|
-
this[key] = obj[key];
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
this[key] = obj[key];
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.ComponentRef = ComponentRef;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComponentRef = void 0;
|
|
4
|
+
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
5
|
+
class ComponentRef extends base_mobile_approve_1.BaseMobileApprove {
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
|
+
this.type = "ComponentRef";
|
|
9
|
+
this.isDetail = false;
|
|
10
|
+
let obj;
|
|
11
|
+
if (typeof param === 'string') {
|
|
12
|
+
obj = JSON.parse(param);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
obj = param;
|
|
16
|
+
}
|
|
17
|
+
if (!obj) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const keys = 'component,isDetail,bindTo,bindToName';
|
|
21
|
+
Object.keys(obj).forEach(key => {
|
|
22
|
+
if (keys.includes(key)) {
|
|
23
|
+
if (key == "component") {
|
|
24
|
+
this[key] = obj[key];
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this[key] = obj[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.ComponentRef = ComponentRef;
|
|
34
34
|
//# sourceMappingURL=component-ref.js.map
|