@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
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PanelForMobileApprove = exports.HeaderIcon = void 0;
|
|
4
|
-
const __1 = require("../..");
|
|
5
|
-
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
6
|
-
const mobile_approve_manager_1 = require("../mobile-approve-manager");
|
|
7
|
-
class HeaderIcon {
|
|
8
|
-
constructor(param) {
|
|
9
|
-
let obj;
|
|
10
|
-
if (typeof param === 'string') {
|
|
11
|
-
obj = JSON.parse(param);
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
obj = param;
|
|
15
|
-
}
|
|
16
|
-
if (!obj) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
const keys = 'icon,color';
|
|
20
|
-
Object.keys(obj).forEach(key => {
|
|
21
|
-
if (keys.includes(key)) {
|
|
22
|
-
this[key] = obj[key];
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.HeaderIcon = HeaderIcon;
|
|
28
|
-
class PanelForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
29
|
-
constructor(param) {
|
|
30
|
-
super(param);
|
|
31
|
-
this.type = "PanelForMobileApprove";
|
|
32
|
-
let obj;
|
|
33
|
-
if (typeof param === 'string') {
|
|
34
|
-
obj = JSON.parse(param);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
obj = param;
|
|
38
|
-
}
|
|
39
|
-
if (!obj) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
const keys = 'maxFieldCount,maxRowCount,contents,title,headerHtml,remarkHtml,isDetail,headerIcon,isSubCollapse,isSubDefaultCollapse,isMainCollapse,isMainDefaultCollapse,showType,summaryTemplate,isShowBottomDetailPanel,sortFields,maxRowCount,maxFieldCount';
|
|
43
|
-
Object.keys(obj).forEach(key => {
|
|
44
|
-
if (keys.includes(key)) {
|
|
45
|
-
if (key == "contents") {
|
|
46
|
-
this.contents = [];
|
|
47
|
-
if (__1.ToolHelper.isArray(obj[key], false)) {
|
|
48
|
-
obj[key].forEach((item) => {
|
|
49
|
-
const dom = mobile_approve_manager_1.MobileApproveManager.createObjectType(item["type"]);
|
|
50
|
-
if (dom) {
|
|
51
|
-
this.contents.push(new dom(item));
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
else if (key == "headerIcon") {
|
|
57
|
-
if (obj[key]) {
|
|
58
|
-
this[key] = new HeaderIcon(obj[key]);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
this[key] = obj[key];
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
if (!this.isSubCollapse) {
|
|
67
|
-
this.isSubDefaultCollapse = false;
|
|
68
|
-
}
|
|
69
|
-
this.summaryContents = [];
|
|
70
|
-
if (this.showType && this.showType == "summary") {
|
|
71
|
-
this.summaryContents = [...this.contents];
|
|
72
|
-
if (!this.isSubCollapse) {
|
|
73
|
-
this.contents = [];
|
|
74
|
-
}
|
|
75
|
-
if (!this.summaryTemplate) {
|
|
76
|
-
this.summaryTemplate = {};
|
|
77
|
-
}
|
|
78
|
-
this.summaryTemplateHtml = this.summaryTemplate.html ? this.summaryTemplate.html : "";
|
|
79
|
-
const summaryTemplateMapping = this.summaryTemplate.mapping;
|
|
80
|
-
if (this.summaryTemplateHtml && this.summaryTemplateHtml.length > 0 &&
|
|
81
|
-
summaryTemplateMapping && summaryTemplateMapping.length > 0 &&
|
|
82
|
-
this.summaryContents && this.summaryContents.length > 0) {
|
|
83
|
-
summaryTemplateMapping.forEach((item) => {
|
|
84
|
-
const tplVar = item.tplVar;
|
|
85
|
-
const fieldId = item.fieldId;
|
|
86
|
-
const findSummaryContent = this.summaryContents.find((summaryContentItem) => {
|
|
87
|
-
return summaryContentItem.binding.field === fieldId;
|
|
88
|
-
});
|
|
89
|
-
if (findSummaryContent) {
|
|
90
|
-
const templateVar = "${" + tplVar + "}";
|
|
91
|
-
const relatedBindModelName = "{{=" + findSummaryContent.bindingModelName + "}}";
|
|
92
|
-
if (relatedBindModelName) {
|
|
93
|
-
this.summaryTemplateHtml = __1.ToolHelper.replaceString(this.summaryTemplateHtml, templateVar, relatedBindModelName);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
exports.PanelForMobileApprove = PanelForMobileApprove;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PanelForMobileApprove = exports.HeaderIcon = void 0;
|
|
4
|
+
const __1 = require("../..");
|
|
5
|
+
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
6
|
+
const mobile_approve_manager_1 = require("../mobile-approve-manager");
|
|
7
|
+
class HeaderIcon {
|
|
8
|
+
constructor(param) {
|
|
9
|
+
let obj;
|
|
10
|
+
if (typeof param === 'string') {
|
|
11
|
+
obj = JSON.parse(param);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
obj = param;
|
|
15
|
+
}
|
|
16
|
+
if (!obj) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const keys = 'icon,color';
|
|
20
|
+
Object.keys(obj).forEach(key => {
|
|
21
|
+
if (keys.includes(key)) {
|
|
22
|
+
this[key] = obj[key];
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.HeaderIcon = HeaderIcon;
|
|
28
|
+
class PanelForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
29
|
+
constructor(param) {
|
|
30
|
+
super(param);
|
|
31
|
+
this.type = "PanelForMobileApprove";
|
|
32
|
+
let obj;
|
|
33
|
+
if (typeof param === 'string') {
|
|
34
|
+
obj = JSON.parse(param);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
obj = param;
|
|
38
|
+
}
|
|
39
|
+
if (!obj) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const keys = 'maxFieldCount,maxRowCount,contents,title,headerHtml,remarkHtml,isDetail,headerIcon,isSubCollapse,isSubDefaultCollapse,isMainCollapse,isMainDefaultCollapse,showType,summaryTemplate,isShowBottomDetailPanel,sortFields,maxRowCount,maxFieldCount,showTitle,showTitleType';
|
|
43
|
+
Object.keys(obj).forEach(key => {
|
|
44
|
+
if (keys.includes(key)) {
|
|
45
|
+
if (key == "contents") {
|
|
46
|
+
this.contents = [];
|
|
47
|
+
if (__1.ToolHelper.isArray(obj[key], false)) {
|
|
48
|
+
obj[key].forEach((item) => {
|
|
49
|
+
const dom = mobile_approve_manager_1.MobileApproveManager.createObjectType(item["type"]);
|
|
50
|
+
if (dom) {
|
|
51
|
+
this.contents.push(new dom(item));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else if (key == "headerIcon") {
|
|
57
|
+
if (obj[key]) {
|
|
58
|
+
this[key] = new HeaderIcon(obj[key]);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
this[key] = obj[key];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
if (!this.isSubCollapse) {
|
|
67
|
+
this.isSubDefaultCollapse = false;
|
|
68
|
+
}
|
|
69
|
+
this.summaryContents = [];
|
|
70
|
+
if (this.showType && this.showType == "summary") {
|
|
71
|
+
this.summaryContents = [...this.contents];
|
|
72
|
+
if (!this.isSubCollapse) {
|
|
73
|
+
this.contents = [];
|
|
74
|
+
}
|
|
75
|
+
if (!this.summaryTemplate) {
|
|
76
|
+
this.summaryTemplate = {};
|
|
77
|
+
}
|
|
78
|
+
this.summaryTemplateHtml = this.summaryTemplate.html ? this.summaryTemplate.html : "";
|
|
79
|
+
const summaryTemplateMapping = this.summaryTemplate.mapping;
|
|
80
|
+
if (this.summaryTemplateHtml && this.summaryTemplateHtml.length > 0 &&
|
|
81
|
+
summaryTemplateMapping && summaryTemplateMapping.length > 0 &&
|
|
82
|
+
this.summaryContents && this.summaryContents.length > 0) {
|
|
83
|
+
summaryTemplateMapping.forEach((item) => {
|
|
84
|
+
const tplVar = item.tplVar;
|
|
85
|
+
const fieldId = item.fieldId;
|
|
86
|
+
const findSummaryContent = this.summaryContents.find((summaryContentItem) => {
|
|
87
|
+
return summaryContentItem.binding.field === fieldId;
|
|
88
|
+
});
|
|
89
|
+
if (findSummaryContent) {
|
|
90
|
+
const templateVar = "${" + tplVar + "}";
|
|
91
|
+
const relatedBindModelName = "{{=" + findSummaryContent.bindingModelName + "}}";
|
|
92
|
+
if (relatedBindModelName) {
|
|
93
|
+
this.summaryTemplateHtml = __1.ToolHelper.replaceString(this.summaryTemplateHtml, templateVar, relatedBindModelName);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.PanelForMobileApprove = PanelForMobileApprove;
|
|
102
102
|
//# sourceMappingURL=panel-for-mobileapprove.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-for-mobileapprove.js","sourceRoot":"","sources":["../../../../src/utility/mobile-approve/entity/panel-for-mobileapprove.ts"],"names":[],"mappings":";;;AAAA,6BAAmC;AACnC,+DAA0D;AAC1D,sEAAiE;AAEjE,MAAa,UAAU;IAInB,YAAY,KAAU;QAClB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,YAAY,CAAC;QAC1B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvBD,gCAuBC;AAED,MAAa,qBAAsB,SAAQ,uCAAiB;IAqBxD,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QArBjB,SAAI,GAAG,uBAAuB,CAAC;QAsB3B,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"panel-for-mobileapprove.js","sourceRoot":"","sources":["../../../../src/utility/mobile-approve/entity/panel-for-mobileapprove.ts"],"names":[],"mappings":";;;AAAA,6BAAmC;AACnC,+DAA0D;AAC1D,sEAAiE;AAEjE,MAAa,UAAU;IAInB,YAAY,KAAU;QAClB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,YAAY,CAAC;QAC1B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvBD,gCAuBC;AAED,MAAa,qBAAsB,SAAQ,uCAAiB;IAqBxD,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QArBjB,SAAI,GAAG,uBAAuB,CAAC;QAsB3B,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,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,oBAAoB,GAAW,KAAK,GAAG,kBAAkB,CAAC,gBAAgB,GAAG,IAAI,CAAC;wBACxF,IAAI,oBAAoB,EAAE;4BACtB,IAAI,CAAC,mBAAmB,GAAG,cAAU,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE,oBAAoB,CAAC,CAAC;yBACpH;qBACJ;gBACL,CAAC,CAAC,CAAC;aACN;SACJ;IACL,CAAC;CAEJ;AA1GD,sDA0GC"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PanelItemForMobileApprove = void 0;
|
|
4
|
-
const toolhepler_1 = require("../../toolhepler");
|
|
5
|
-
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
6
|
-
class PanelItemForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
7
|
-
constructor(param) {
|
|
8
|
-
super(param);
|
|
9
|
-
this.type = "PanelItemForMobileApprove";
|
|
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 = 'title,items';
|
|
21
|
-
Object.keys(obj).forEach(key => {
|
|
22
|
-
if (keys.includes(key)) {
|
|
23
|
-
if (key == "items") {
|
|
24
|
-
this.items = [];
|
|
25
|
-
if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
|
|
26
|
-
obj[key].forEach((item) => {
|
|
27
|
-
this.items.push(item);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this[key] = obj[key];
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.PanelItemForMobileApprove = PanelItemForMobileApprove;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PanelItemForMobileApprove = void 0;
|
|
4
|
+
const toolhepler_1 = require("../../toolhepler");
|
|
5
|
+
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
6
|
+
class PanelItemForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
|
+
this.type = "PanelItemForMobileApprove";
|
|
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 = 'title,items';
|
|
21
|
+
Object.keys(obj).forEach(key => {
|
|
22
|
+
if (keys.includes(key)) {
|
|
23
|
+
if (key == "items") {
|
|
24
|
+
this.items = [];
|
|
25
|
+
if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
|
|
26
|
+
obj[key].forEach((item) => {
|
|
27
|
+
this.items.push(item);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
this[key] = obj[key];
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.PanelItemForMobileApprove = PanelItemForMobileApprove;
|
|
39
39
|
//# sourceMappingURL=panel-item-for-mobileapprove.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonAvatar = void 0;
|
|
4
|
-
class PersonAvatar {
|
|
5
|
-
constructor(param) {
|
|
6
|
-
let obj;
|
|
7
|
-
if (typeof param === 'string') {
|
|
8
|
-
obj = JSON.parse(param);
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
obj = param;
|
|
12
|
-
}
|
|
13
|
-
if (!obj) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
const keys = 'type,path,fieldId,fullPath,fieldName,bindingPath';
|
|
17
|
-
Object.keys(obj).forEach(key => {
|
|
18
|
-
if (keys.includes(key)) {
|
|
19
|
-
this[key] = obj[key];
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.PersonAvatar = PersonAvatar;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PersonAvatar = void 0;
|
|
4
|
+
class PersonAvatar {
|
|
5
|
+
constructor(param) {
|
|
6
|
+
let obj;
|
|
7
|
+
if (typeof param === 'string') {
|
|
8
|
+
obj = JSON.parse(param);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
obj = param;
|
|
12
|
+
}
|
|
13
|
+
if (!obj) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
const keys = 'type,path,fieldId,fullPath,fieldName,bindingPath';
|
|
17
|
+
Object.keys(obj).forEach(key => {
|
|
18
|
+
if (keys.includes(key)) {
|
|
19
|
+
this[key] = obj[key];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.PersonAvatar = PersonAvatar;
|
|
25
25
|
//# sourceMappingURL=person-avatar.js.map
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StaticTextForMobileApprove = void 0;
|
|
4
|
-
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
5
|
-
const field_binding_parameter_1 = require("./field-binding-parameter");
|
|
6
|
-
const formatter_function_generator_1 = require("../config-helper/formatter-function-generator");
|
|
7
|
-
class StaticTextForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
8
|
-
constructor(param) {
|
|
9
|
-
super(param);
|
|
10
|
-
this.title = "";
|
|
11
|
-
this.type = "StaticTextForMobileApprove";
|
|
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 = 'title,binding,precision,format,dataType,enumData,isDetail,highlight,panelCollapseVisible,multipleSelect,multipleSelectSeparator,advancedSetting';
|
|
23
|
-
Object.keys(obj).forEach(key => {
|
|
24
|
-
if (keys.includes(key)) {
|
|
25
|
-
if (key == "binding") {
|
|
26
|
-
if (obj[key]) {
|
|
27
|
-
this[key] = new field_binding_parameter_1.FieldBindingParameter(obj[key]);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
this[key] = obj[key];
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
if (this.binding) {
|
|
36
|
-
const modelName = this.isDetail ? "itemData" : "model";
|
|
37
|
-
const formDataName = this.isDetail ? "" : "formData.";
|
|
38
|
-
let bindingFieldPath = this.binding.path;
|
|
39
|
-
if (this.binding.bindingPath) {
|
|
40
|
-
bindingFieldPath = this.binding.bindingPath;
|
|
41
|
-
}
|
|
42
|
-
this.dataType = this.handleDataType(this.dataType, this.enumData);
|
|
43
|
-
this.bindingModelName = `bind(${modelName},'` + formDataName + bindingFieldPath + "')";
|
|
44
|
-
this.bindingModelName = formatter_function_generator_1.FormatterFunctionGenerator.generate({
|
|
45
|
-
"format": this.format,
|
|
46
|
-
"dataType": this.dataType,
|
|
47
|
-
"enumData": this.enumData,
|
|
48
|
-
"multipleSelect": this.multipleSelect || false,
|
|
49
|
-
"multipleSelectSeparator": this.multipleSelectSeparator,
|
|
50
|
-
"sourceDataName": modelName
|
|
51
|
-
}, this.bindingModelName);
|
|
52
|
-
if (this.advancedSetting && this.advancedSetting.hideFunc) {
|
|
53
|
-
this.hideFunc = formatter_function_generator_1.FormatterFunctionGenerator.generate({
|
|
54
|
-
"dataType": "hide",
|
|
55
|
-
"sourceDataName": modelName,
|
|
56
|
-
"hideFunc": this.advancedSetting.hideFunc
|
|
57
|
-
}, `bind(${modelName},'` + formDataName + bindingFieldPath + "')");
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
this.bindingModelName = this.title;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
handleDataType(sourceDataType, enumData) {
|
|
65
|
-
if (enumData && enumData.length > 0 && sourceDataType == "String") {
|
|
66
|
-
return "Enum";
|
|
67
|
-
}
|
|
68
|
-
return sourceDataType;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.StaticTextForMobileApprove = StaticTextForMobileApprove;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StaticTextForMobileApprove = void 0;
|
|
4
|
+
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
5
|
+
const field_binding_parameter_1 = require("./field-binding-parameter");
|
|
6
|
+
const formatter_function_generator_1 = require("../config-helper/formatter-function-generator");
|
|
7
|
+
class StaticTextForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
|
|
8
|
+
constructor(param) {
|
|
9
|
+
super(param);
|
|
10
|
+
this.title = "";
|
|
11
|
+
this.type = "StaticTextForMobileApprove";
|
|
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 = 'title,binding,precision,format,dataType,enumData,isDetail,highlight,panelCollapseVisible,multipleSelect,multipleSelectSeparator,advancedSetting,isCollapse,verticable';
|
|
23
|
+
Object.keys(obj).forEach(key => {
|
|
24
|
+
if (keys.includes(key)) {
|
|
25
|
+
if (key == "binding") {
|
|
26
|
+
if (obj[key]) {
|
|
27
|
+
this[key] = new field_binding_parameter_1.FieldBindingParameter(obj[key]);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this[key] = obj[key];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
if (this.binding) {
|
|
36
|
+
const modelName = this.isDetail ? "itemData" : "model";
|
|
37
|
+
const formDataName = this.isDetail ? "" : "formData.";
|
|
38
|
+
let bindingFieldPath = this.binding.path;
|
|
39
|
+
if (this.binding.bindingPath) {
|
|
40
|
+
bindingFieldPath = this.binding.bindingPath;
|
|
41
|
+
}
|
|
42
|
+
this.dataType = this.handleDataType(this.dataType, this.enumData);
|
|
43
|
+
this.bindingModelName = `bind(${modelName},'` + formDataName + bindingFieldPath + "')";
|
|
44
|
+
this.bindingModelName = formatter_function_generator_1.FormatterFunctionGenerator.generate({
|
|
45
|
+
"format": this.format,
|
|
46
|
+
"dataType": this.dataType,
|
|
47
|
+
"enumData": this.enumData,
|
|
48
|
+
"multipleSelect": this.multipleSelect || false,
|
|
49
|
+
"multipleSelectSeparator": this.multipleSelectSeparator,
|
|
50
|
+
"sourceDataName": modelName
|
|
51
|
+
}, this.bindingModelName);
|
|
52
|
+
if (this.advancedSetting && this.advancedSetting.hideFunc) {
|
|
53
|
+
this.hideFunc = formatter_function_generator_1.FormatterFunctionGenerator.generate({
|
|
54
|
+
"dataType": "hide",
|
|
55
|
+
"sourceDataName": modelName,
|
|
56
|
+
"hideFunc": this.advancedSetting.hideFunc
|
|
57
|
+
}, `bind(${modelName},'` + formDataName + bindingFieldPath + "')");
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
this.bindingModelName = this.title;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
handleDataType(sourceDataType, enumData) {
|
|
65
|
+
if (enumData && enumData.length > 0 && sourceDataType == "String") {
|
|
66
|
+
return "Enum";
|
|
67
|
+
}
|
|
68
|
+
return sourceDataType;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.StaticTextForMobileApprove = StaticTextForMobileApprove;
|
|
72
72
|
//# sourceMappingURL=static-text-for-mobileapprove.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static-text-for-mobileapprove.js","sourceRoot":"","sources":["../../../../src/utility/mobile-approve/entity/static-text-for-mobileapprove.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAC1D,uEAAkE;AAClE,gGAA2F;AAG3F,MAAa,0BAA2B,SAAQ,uCAAiB;
|
|
1
|
+
{"version":3,"file":"static-text-for-mobileapprove.js","sourceRoot":"","sources":["../../../../src/utility/mobile-approve/entity/static-text-for-mobileapprove.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAC1D,uEAAkE;AAClE,gGAA2F;AAG3F,MAAa,0BAA2B,SAAQ,uCAAiB;IAmB7D,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QAnBjB,UAAK,GAAG,EAAE,CAAC;QACX,SAAI,GAAG,4BAA4B,CAAC;QAmBhC,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,uKAAuK,CAAC;QACrL,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GA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AAC,CAAC;YAC1B,IAAG,IAAI,CAAC,eAAe,IAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAC;gBACnD,IAAI,CAAC,QAAQ,GAAG,yDAA0B,CAAC,QAAQ,CAAC;oBAChD,UAAU,EAAE,MAAM;oBAClB,gBAAgB,EAAE,SAAS;oBAC3B,UAAU,EAAC,IAAI,CAAC,eAAe,CAAC,QAAQ;iBAC3C,EAAE,QAAQ,SAAS,IAAI,GAAG,YAAY,GAAG,gBAAgB,GAAG,IAAI,CAAC,CAAC;aACtE;SACJ;aAAM;YACH,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC;SACtC;IACL,CAAC;IAOO,cAAc,CAAC,cAAsB,EAAE,QAAe;QAE1D,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,cAAc,IAAI,QAAQ,EAAE;YAC/D,OAAO,MAAM,CAAC;SACjB;QAED,OAAO,cAAc,CAAC;IAC1B,CAAC;CAGJ;AA7FD,gEA6FC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DomGenerator = void 0;
|
|
7
|
-
const pug_1 = __importDefault(require("pug"));
|
|
8
|
-
class DomGenerator {
|
|
9
|
-
generate(config) {
|
|
10
|
-
const pugTemplateVar = {
|
|
11
|
-
variable: config.uiDom,
|
|
12
|
-
doctype: 'html'
|
|
13
|
-
};
|
|
14
|
-
if (pugTemplateVar.variable && pugTemplateVar.variable.visible && !pugTemplateVar.variable.visible.value) {
|
|
15
|
-
return "";
|
|
16
|
-
}
|
|
17
|
-
return pug_1.default.renderFile(config.templatePath, pugTemplateVar);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.DomGenerator = DomGenerator;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DomGenerator = void 0;
|
|
7
|
+
const pug_1 = __importDefault(require("pug"));
|
|
8
|
+
class DomGenerator {
|
|
9
|
+
generate(config) {
|
|
10
|
+
const pugTemplateVar = {
|
|
11
|
+
variable: config.uiDom,
|
|
12
|
+
doctype: 'html'
|
|
13
|
+
};
|
|
14
|
+
if (pugTemplateVar.variable && pugTemplateVar.variable.visible && !pugTemplateVar.variable.visible.value) {
|
|
15
|
+
return "";
|
|
16
|
+
}
|
|
17
|
+
return pug_1.default.renderFile(config.templatePath, pugTemplateVar);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.DomGenerator = DomGenerator;
|
|
21
21
|
//# sourceMappingURL=dom-generator.js.map
|