@farris/jit-engine 1.4.11 → 1.4.14
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/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/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 +6 -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 +441 -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,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
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Component = void 0;
|
|
4
|
-
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
5
|
-
const toolhepler_1 = require("../../toolhepler");
|
|
6
|
-
const mobile_approve_manager_1 = require("../mobile-approve-manager");
|
|
7
|
-
class Component extends base_mobile_approve_1.BaseMobileApprove {
|
|
8
|
-
constructor(param) {
|
|
9
|
-
super(param);
|
|
10
|
-
this.type = "Component";
|
|
11
|
-
let obj;
|
|
12
|
-
if (typeof param === 'string') {
|
|
13
|
-
obj = JSON.parse(param);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
obj = param;
|
|
17
|
-
}
|
|
18
|
-
if (!obj) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
this.componentType = obj["componentType"];
|
|
22
|
-
const keys = 'componentType,contents,title,isDetail,viewModel,afterLoadData,afterPageShow';
|
|
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
|
-
const domInstance = new dom(item);
|
|
32
|
-
if (domInstance) {
|
|
33
|
-
domInstance["isDetail"] = this.isDetail;
|
|
34
|
-
}
|
|
35
|
-
this.contents.push(domInstance);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this[key] = obj[key];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
setIsDetail(isDetail) {
|
|
47
|
-
this.isDetail = isDetail;
|
|
48
|
-
if (toolhepler_1.ToolHelper.isArray(this.contents, false)) {
|
|
49
|
-
this.contents.forEach((item) => {
|
|
50
|
-
item["isDetail"] = isDetail;
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
exports.Component = Component;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Component = void 0;
|
|
4
|
+
const base_mobile_approve_1 = require("./base-mobile-approve");
|
|
5
|
+
const toolhepler_1 = require("../../toolhepler");
|
|
6
|
+
const mobile_approve_manager_1 = require("../mobile-approve-manager");
|
|
7
|
+
class Component extends base_mobile_approve_1.BaseMobileApprove {
|
|
8
|
+
constructor(param) {
|
|
9
|
+
super(param);
|
|
10
|
+
this.type = "Component";
|
|
11
|
+
let obj;
|
|
12
|
+
if (typeof param === 'string') {
|
|
13
|
+
obj = JSON.parse(param);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
obj = param;
|
|
17
|
+
}
|
|
18
|
+
if (!obj) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
this.componentType = obj["componentType"];
|
|
22
|
+
const keys = 'componentType,contents,title,isDetail,viewModel,afterLoadData,afterPageShow';
|
|
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
|
+
const domInstance = new dom(item);
|
|
32
|
+
if (domInstance) {
|
|
33
|
+
domInstance["isDetail"] = this.isDetail;
|
|
34
|
+
}
|
|
35
|
+
this.contents.push(domInstance);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this[key] = obj[key];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
setIsDetail(isDetail) {
|
|
47
|
+
this.isDetail = isDetail;
|
|
48
|
+
if (toolhepler_1.ToolHelper.isArray(this.contents, false)) {
|
|
49
|
+
this.contents.forEach((item) => {
|
|
50
|
+
item["isDetail"] = isDetail;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.Component = Component;
|
|
56
56
|
//# sourceMappingURL=component.js.map
|