@farris/jit-engine 1.3.186 → 1.3.187
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/file-generator/page-generator/page-form-generator.js +1 -0
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-form-generator.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js +3 -34
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +47 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/section/vue-section.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/section/vue-section.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +8 -2
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +8 -3
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/static/src/app.vue +1 -3
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js +1 -0
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js.map +1 -1
- package/lib/template/ui/mobilevue/approval-info.pug +7 -5
- package/lib/template/ui/mobilevue/approval-logs.pug +6 -3
- package/lib/template/ui/mobilevue/attachment-entry.pug +6 -4
- package/lib/template/ui/mobilevue/attachment.pug +8 -4
- package/lib/template/ui/mobilevue/calendar-input.pug +7 -5
- package/lib/template/ui/mobilevue/calendar.pug +15 -8
- package/lib/template/ui/mobilevue/rich-text-editor.pug +1 -2
- package/lib/template/ui/mobilevue/search.pug +5 -5
- package/lib/template/ui/mobilevue/section.pug +7 -5
- package/lib/template/ui/mobilevue/staff-info.pug +7 -4
- package/package.json +1 -1
- package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js +0 -57
- package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +0 -18
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/button/button.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/button/button.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/button/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/button/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js +0 -28
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/card/card.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/card/card.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/card/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/card/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js +0 -56
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/data/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js +0 -38
- package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js +0 -44
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/footer/footer.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/footer/footer.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/image/image.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/image/image.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/image/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/image/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +0 -39
- package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/number/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/number/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/number/number.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/number/number.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/picker.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/picker/picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/section/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/section/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js +0 -49
- package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +0 -17
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js +0 -35
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js +0 -97
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/i-project-data.js +0 -3
- package/lib/mobileapp/vue/internal-entity/i-project-data.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/index.js +0 -14
- package/lib/mobileapp/vue/internal-entity/page-flow/index.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js +0 -11
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js +0 -44
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js +0 -27
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js +0 -27
- package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js +0 -7
- package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js +0 -15
- package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-engine-context.js +0 -7
- package/lib/mobileapp/vue/internal-entity/vue-engine-context.js.map +0 -1
- package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js +0 -7
- package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-form-creator.js","sourceRoot":"","sources":["../../../../../src/mobileapp/vue/utility/devkit/vue-form-creator.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAuB;AACvB,+DAA4D;AAQ5D,MAAa,cAAc;IACvB,gBAAwB,CAAC;IACzB,MAAM,CAAC,cAAc;QACjB,OAAO,IAAI,cAAc,EAAE,CAAC;IAChC,CAAC;IAaD,UAAU,CAAC,IAAS,EAAE,MAAa,EAAE,MAAa,EAAE,OAAY,EAAE,cAAmB;QACjF,MAAM,IAAI,GAAQ,EAAE,aAAa,EAAE,cAAc,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,EAAE,aAAa,EAAE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AAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,GAAI,CAAC,CAAC;iBACzI;YACL,CAAC,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;SACf;aAAM;YAEH,OAAO,IAAI,CAAC;SACf;IACL,CAAC;CACJ;AApFD,wCAoFC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
2
5
|
-var noticeText = `流程编号${variable.code},发布于${variable.releaseDate}`
|
|
6
|
+
|
|
3
7
|
fm-approval-info(
|
|
4
|
-
|
|
5
|
-
style=(variable.appearance && variable.appearance.style)
|
|
6
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
8
|
+
v-if=visible
|
|
7
9
|
code=variable.code?""+variable.code:undefined
|
|
8
10
|
name=variable.name?""+variable.name:undefined
|
|
9
11
|
releaseDate=variable.releaseDate?""+variable.releaseDate:undefined
|
|
10
12
|
description=variable.description?""+variable.description:undefined
|
|
11
|
-
)
|
|
13
|
+
)&attributes(attrs)
|
|
12
14
|
template(v-slot="slotProps")
|
|
13
15
|
fm-notice-bar(mode="link" class="fm-approval-info-notice-bar")
|
|
14
16
|
| !{noticeText}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
6
|
+
|
|
2
7
|
approval-logs(
|
|
3
|
-
|
|
4
|
-
style=(variable.appearance && variable.appearance.style)
|
|
5
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
8
|
+
v-if=visible
|
|
6
9
|
title=variable.title?""+variable.title:undefined
|
|
7
10
|
:dataId=variable.dataId ?""+variable.dataId:undefined
|
|
8
11
|
)
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
1
5
|
- var fileList = variable.attachmentPath ? `$filterAttachment(entityListData,'${variable.attachmentPath}','${variable.rootId}')` : '[]'
|
|
2
6
|
fm-attachment-entry(
|
|
3
|
-
|
|
4
|
-
class=(variable.appearance && variable.appearance.class)
|
|
5
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
7
|
+
v-if=visible
|
|
6
8
|
:fileList=fileList
|
|
7
9
|
:disabled=variable.disabled?"" + variable.disabled:undefined
|
|
8
10
|
:removable=variable.removable?"" + variable.removable:undefined
|
|
@@ -12,4 +14,4 @@ fm-attachment-entry(
|
|
|
12
14
|
@remove=variable.remove?"" + variable.remove:undefined
|
|
13
15
|
@upload=variable.upload?"" + variable.upload:undefined
|
|
14
16
|
@selectChange=variable.selectChange? "" + variable.selectChange:undefined
|
|
15
|
-
)
|
|
17
|
+
)&attributes(attrs)
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
|
|
1
6
|
- var fileList = variable.attachmentPath ? `$filterAttachment(entityListData,'${variable.attachmentPath}','${variable.rootId}')` : '[]'
|
|
7
|
+
|
|
2
8
|
fm-attachment(
|
|
3
|
-
|
|
4
|
-
class=(variable.appearance && variable.appearance.class)
|
|
5
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
9
|
+
v-if=visible
|
|
6
10
|
ref=variable.replacedId
|
|
7
11
|
:fileList=fileList
|
|
8
12
|
:multiple=variable.multiple?"" + variable.multiple:undefined
|
|
@@ -21,4 +25,4 @@ fm-attachment(
|
|
|
21
25
|
@afterAppendFile=variable.afterAppendFile?"" + variable.afterAppendFile:undefined
|
|
22
26
|
@remove=variable.remove? "" + variable.remove:undefined
|
|
23
27
|
@selectChange=variable.selectChange? "" + variable.selectChange:undefined
|
|
24
|
-
|
|
28
|
+
)&attributes(attrs)
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
11
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
13
|
+
-var minValue = variable.minValue ? String(variable.minValue.value) : undefined;
|
|
14
|
+
-var maxValue = variable.maxValue ? String(variable.maxValue.value) : undefined;
|
|
13
15
|
|
|
14
16
|
div(
|
|
15
17
|
v-if=visible
|
|
@@ -20,9 +22,11 @@ div(
|
|
|
20
22
|
:required=require
|
|
21
23
|
:readonly=readonly
|
|
22
24
|
:disabled=disable
|
|
25
|
+
:minDate=minValue
|
|
26
|
+
:maxDate=maxValue
|
|
27
|
+
input-align="right"
|
|
23
28
|
:modelValue=variable.modelValue ?variable.modelValue+"":undefined
|
|
24
29
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
25
|
-
input-align="right"
|
|
26
30
|
direction=variable.direction?variable.direction+"":undefined
|
|
27
31
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
28
32
|
:error-message!=variable.errorMessage
|
|
@@ -30,13 +34,11 @@ div(
|
|
|
30
34
|
type=variable.valueType?""+variable.valueType:undefined
|
|
31
35
|
theme=variable.theme?""+variable.theme:undefined
|
|
32
36
|
view=variable.view?""+variable.view:undefined
|
|
33
|
-
|
|
37
|
+
firstDay=variable.firstDay?""+variable.firstDay:undefined
|
|
34
38
|
:mark=variable.mark?""+variable.mark:undefined
|
|
35
|
-
:minDate!=variable.minValue?""+variable.minValue:undefined
|
|
36
|
-
:maxDate!=variable.maxValue?""+variable.maxValue:undefined
|
|
37
39
|
:event=variable.event?""+variable.event:undefined
|
|
38
40
|
:events=variable.events?""+variable.events:undefined
|
|
39
|
-
:useLunar=variable.useLunar
|
|
41
|
+
:useLunar=variable.useLunar?""+variable.useLunar:undefined
|
|
40
42
|
@dayClick=variable.dayClick?""+variable.dayClick:undefined
|
|
41
43
|
@render=variable.render?""+variable.render:undefined
|
|
42
44
|
)&attributes(attrs)
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
-var value = variable.value ? String(variable.value.value) : undefined;
|
|
6
|
+
-var minValue = variable.minValue && variable.minValue.value !== undefined ? String(variable.minValue.value) : undefined;
|
|
7
|
+
-var maxValue = variable.maxValue && variable.maxValue.value !== undefined ? String(variable.maxValue.value) : undefined;
|
|
8
|
+
|
|
1
9
|
fm-calendar(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
10
|
+
v-if=visible
|
|
11
|
+
:modelValue!=value
|
|
12
|
+
:minDate=minValue
|
|
13
|
+
:maxDate=maxValue
|
|
5
14
|
title=variable.title?""+variable.title:undefined
|
|
6
15
|
prevText=variable.prevText?""+variable.prevText:undefined
|
|
7
16
|
nextText=variable.nextText?""+variable.nextText:undefined
|
|
8
|
-
|
|
9
|
-
:firstDay!=variable.firstDay?""+variable.firstDay:undefined
|
|
17
|
+
firstDay=variable.firstDay?""+variable.firstDay:undefined
|
|
10
18
|
view=variable.view?""+variable.view:undefined
|
|
11
19
|
type=variable.valueType?""+variable.valueType:undefined
|
|
12
20
|
theme=variable.theme?""+variable.theme:undefined
|
|
13
21
|
:mark!=variable.mark?""+variable.mark:undefined
|
|
14
|
-
:minDate!=variable.minValue?""+variable.minValue:undefined
|
|
15
|
-
:maxDate!=variable.maxValue?""+variable.maxValue:undefined
|
|
16
22
|
:event!=variable.event?""+variable.event:undefined
|
|
17
23
|
:events!=variable.events?""+variable.events:undefined
|
|
24
|
+
@update:modelValue!=variable.change?""+variable.change:undefined
|
|
18
25
|
@dayClick!=variable.dayClick?""+variable.dayClick:undefined
|
|
19
26
|
@render!=variable.render?""+variable.render:undefined
|
|
20
|
-
)
|
|
27
|
+
)&attributes(attrs)
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
10
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
11
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
+
-readonly = readonly && readonly !== 'false' ? readonly : disable
|
|
12
13
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
13
14
|
|
|
14
15
|
if(variable.noInput)
|
|
@@ -16,7 +17,6 @@ if(variable.noInput)
|
|
|
16
17
|
v-if=visible
|
|
17
18
|
v-model=binding
|
|
18
19
|
:readonly=readonly
|
|
19
|
-
:disabled=disable
|
|
20
20
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
21
21
|
placeholder=placeholder
|
|
22
22
|
position=variable.position ?""+variable.position:undefined
|
|
@@ -40,7 +40,6 @@ else
|
|
|
40
40
|
fm-rich-editor(
|
|
41
41
|
v-model=binding
|
|
42
42
|
:readonly=readonly
|
|
43
|
-
:disabled=disable
|
|
44
43
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
45
44
|
placeholder=placeholder
|
|
46
45
|
position=variable.position ?""+variable.position:undefined
|
|
@@ -12,9 +12,9 @@ fm-search(
|
|
|
12
12
|
:readonly=readonly
|
|
13
13
|
:disabled=disabled
|
|
14
14
|
:modelValue=value
|
|
15
|
-
:clearable=variable.clearable
|
|
16
|
-
placeholder=variable.placeholder
|
|
17
|
-
shape=variable.shape
|
|
18
|
-
@input=variable.change
|
|
19
|
-
@search=variable.search
|
|
15
|
+
:clearable=variable.clearable?String(variable.clearable):undefined
|
|
16
|
+
placeholder=variable.placeholder?String(variable.placeholder):undefined
|
|
17
|
+
shape=variable.shape?String(variable.shape):undefined
|
|
18
|
+
@input=variable.change?String(variable.change):undefined
|
|
19
|
+
@search=variable.search?String(variable.search):undefined
|
|
20
20
|
)&attributes(attrs)
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class ? 'fm-tmpl-struct-wrapper'+variable.appearance.class : 'fm-tmpl-struct-wrapper';
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
|
|
1
6
|
div(
|
|
2
|
-
v-if=
|
|
3
|
-
|
|
4
|
-
class="fm-tmpl-struct-wrapper"
|
|
5
|
-
style=(variable.appearance && variable.appearance.style)
|
|
6
|
-
)
|
|
7
|
+
v-if=visible
|
|
8
|
+
)&attributes(attrs)
|
|
7
9
|
div(class="fm-tmpl-section fm-tmpl-section-form")
|
|
8
10
|
div(class="fm-tmpl-section-header")
|
|
9
11
|
if(variable.headerTemplate)
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
|
|
1
6
|
fm-staff-info(
|
|
2
|
-
v-if
|
|
3
|
-
style!=(variable.appearance && variable.appearance.style)
|
|
4
|
-
class!=(variable.appearance && variable.appearance.class)
|
|
7
|
+
v-if=visible
|
|
5
8
|
title!=variable.titleText?"" + variable.titleText:undefined
|
|
6
9
|
:name!=variable.staffName?"" + variable.staffName:undefined
|
|
7
10
|
:sub-title!=variable.departmentName?"" + variable.departmentName:undefined
|
|
8
11
|
:staffId!=variable.staffId?"" + variable.staffId:undefined
|
|
9
12
|
avatarType!=variable.avatarType?"" + variable.avatarType:undefined
|
|
10
|
-
)
|
|
13
|
+
)&attributes(attrs)
|
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueActionBar = void 0;
|
|
4
|
-
const vue_base_component_1 = require("../vue-base-component");
|
|
5
|
-
class VueActionBar extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(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 = 'disabled,visible,toolbar';
|
|
19
|
-
Object.keys(obj).forEach((key) => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
if (key === 'toolbar') {
|
|
22
|
-
this['btns'] = this.toString(this.genBtns(obj[key].items));
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this[key] = obj[key];
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
genBtns(items) {
|
|
31
|
-
return items.map((item) => {
|
|
32
|
-
return {
|
|
33
|
-
text: item.text ? item.text : "''",
|
|
34
|
-
icon: item.iconType ? item.iconType : "''",
|
|
35
|
-
handler: item.click ? item.click : () => { },
|
|
36
|
-
disabled: item.disabled ? item.disabled : false,
|
|
37
|
-
visible: item.visible === false ? item.visible : true,
|
|
38
|
-
type: item.showType ? item.showType : 'primary'
|
|
39
|
-
};
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
toString(arr) {
|
|
43
|
-
return `[${arr.map(obj => {
|
|
44
|
-
const keys = Object.keys(obj);
|
|
45
|
-
return `{${keys.map(key => {
|
|
46
|
-
if (key === 'handler' || key === 'disabled') {
|
|
47
|
-
return `"${key}": ${obj[key]}`;
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return `"${key}": "${obj[key]}"`;
|
|
51
|
-
}
|
|
52
|
-
}).join(',')}}`;
|
|
53
|
-
}).join(',')}]`;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.VueActionBar = VueActionBar;
|
|
57
|
-
//# sourceMappingURL=action-bar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action-bar.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/action-bar/action-bar.ts"],"names":[],"mappings":";;;AAAA,8DAAwD;AAExD,MAAa,YAAa,SAAQ,qCAAgB;IAKhD,YAAY,KAAU;QACpB,KAAK,CAAC,KAAK,CAAC,CAAA;QAEZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,0BAA0B,CAAA;QACvC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,GAAG,KAAK,SAAS,EAAE;oBACrB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAA;iBAC3D;qBAAM;oBACL,IAAI,CAAC,GAAG,CAAC,GAAG,GAA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GAAG,CAAC,GAAG,CAAA;iBACnC;YACL,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CACf,GAAG,CAAA;QACP,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CACf,GAAG,CAAA;IACL,CAAC;CACF;AA1DD,oCA0DC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./action-bar"), exports);
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/action-bar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8B"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueApprovalInfo = void 0;
|
|
4
|
-
const vue_base_component_1 = require("../vue-base-component");
|
|
5
|
-
class VueApprovalInfo extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(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 = 'visible,code,name,icon,releaseDate,description';
|
|
19
|
-
Object.keys(obj).forEach((key) => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
this[key] = obj[key];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.VueApprovalInfo = VueApprovalInfo;
|
|
27
|
-
//# sourceMappingURL=approval-info.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"approval-info.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/approval/approval-info.ts"],"names":[],"mappings":";;;AAAA,8DAAwD;AAExD,MAAa,eAAgB,SAAQ,qCAAgB;IAGnD,YAAY,KAAU;QACpB,KAAK,CAAC,KAAK,CAAC,CAAA;QAEZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,gDAAgD,CAAA;QAC7D,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;aACrB;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAxBD,0CAwBC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueApprovalLogs = void 0;
|
|
4
|
-
const vue_base_component_1 = require("../vue-base-component");
|
|
5
|
-
class VueApprovalLogs extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(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 = 'visible,title,dataId';
|
|
19
|
-
Object.keys(obj).forEach(key => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
if (key === 'dataId') {
|
|
22
|
-
let dataType = '';
|
|
23
|
-
switch (obj.dataId.type.toLowerCase()) {
|
|
24
|
-
case 'form':
|
|
25
|
-
dataType = 'currentEntityData';
|
|
26
|
-
break;
|
|
27
|
-
case 'variable':
|
|
28
|
-
dataType = 'uiState';
|
|
29
|
-
break;
|
|
30
|
-
default:
|
|
31
|
-
dataType = 'currentEntityData';
|
|
32
|
-
break;
|
|
33
|
-
}
|
|
34
|
-
const bindingPath = obj.dataId.bindingPath;
|
|
35
|
-
const dataId = bindingPath ? `${dataType}.${obj.dataId.bindingPath}` : undefined;
|
|
36
|
-
this[key] = dataId;
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
this[key] = obj[key];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.VueApprovalLogs = VueApprovalLogs;
|
|
46
|
-
//# sourceMappingURL=approval-logs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"approval-logs.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/approval/approval-logs.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AAEzD,MAAa,eAAgB,SAAQ,qCAAgB;IAGjD,YAAY,KAAU;QAClB,KA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) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./approval-logs"), exports);
|
|
14
|
-
__exportStar(require("./approval-info"), exports);
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/approval/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAiC;AACjC,kDAAiC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueAttachmentEntry = void 0;
|
|
4
|
-
const vue_base_component_1 = require("../vue-base-component");
|
|
5
|
-
class VueAttachmentEntry extends vue_base_component_1.VueBaseComponent {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(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 = 'visible,attachmentPath,removable,upload,selectChange,remove,binding,disabled,rootId,direction,externalVideoUrl';
|
|
19
|
-
Object.keys(obj).forEach(key => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
this[key] = obj[key];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.VueAttachmentEntry = VueAttachmentEntry;
|
|
27
|
-
//# sourceMappingURL=attachment-entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attachment-entry.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/attachment/attachment-entry.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AAEzD,MAAa,kBAAmB,SAAQ,qCAAgB;IASpD,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,gHAAgH,CAAC;QAC9H,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;AA7BD,gDA6BC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueAttachmentFile = void 0;
|
|
4
|
-
const lodash_1 = require("lodash");
|
|
5
|
-
const vue_base_component_1 = require("../vue-base-component");
|
|
6
|
-
class VueAttachmentFile extends vue_base_component_1.VueBaseComponent {
|
|
7
|
-
constructor(param) {
|
|
8
|
-
super(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 = `title,visible,attachmentPath,disabled,removable,remove,afterAppendFile,
|
|
20
|
-
binding,parentDirName,rootId,maxSize,maxCount,allowMaxSize,allowMaxCount,uploadOptions,data,sizeList`;
|
|
21
|
-
Object.keys(obj).forEach((key) => {
|
|
22
|
-
if (keys.includes(key)) {
|
|
23
|
-
this[key] = lodash_1.isObject(obj[key]) ? JSON.stringify(obj[key]).replace(/"/g, "'") : obj[key];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.VueAttachmentFile = VueAttachmentFile;
|
|
29
|
-
//# sourceMappingURL=attachment-file.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attachment-file.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/attachment/attachment-file.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AACjC,8DAAwD;AAExD,MAAa,iBAAkB,SAAQ,qCAAgB;IAYrD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAE;yGACyF,CAAA;QACrG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAI,iBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;aACzF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAjCD,8CAiCC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueAttachmentUploader = void 0;
|
|
4
|
-
const attachment_file_1 = require("./attachment-file");
|
|
5
|
-
class VueAttachmentUploader extends attachment_file_1.VueAttachmentFile {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(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 = `title,binding`;
|
|
19
|
-
Object.keys(obj).forEach((key) => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
this[key] = obj[key];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.VueAttachmentUploader = VueAttachmentUploader;
|
|
27
|
-
//# sourceMappingURL=attachment-uploader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attachment-uploader.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAErD,MAAa,qBAAsB,SAAQ,mCAAiB;IAE1D,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,eAAe,CAAA;QAC5B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;aACrB;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAtBD,sDAsBC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueAttachment = void 0;
|
|
4
|
-
const lodash_1 = require("lodash");
|
|
5
|
-
const vue_base_component_1 = require("../vue-base-component");
|
|
6
|
-
class VueAttachment extends vue_base_component_1.VueBaseComponent {
|
|
7
|
-
constructor(param) {
|
|
8
|
-
super(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 = `visible,attachmentPath,multiple,accept,disabled,uploadInfo,remove,selectChange,afterAppendFile,
|
|
20
|
-
binding,parentDirName,rootId,pattern,cloudPlus,ccWork,externalVideoUrl,useWatermark,watermarkcontentMode,customWatermarkContent,watermarkStyle`;
|
|
21
|
-
Object.keys(obj).forEach((key) => {
|
|
22
|
-
if (keys.includes(key)) {
|
|
23
|
-
this[key] = lodash_1.isObject(obj[key]) ? JSON.stringify(obj[key]).replace(/"/g, "'") : obj[key];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.VueAttachment = VueAttachment;
|
|
29
|
-
//# sourceMappingURL=attachment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/attachment/attachment.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AACjC,8DAAwD;AAExD,MAAa,aAAc,SAAQ,qCAAgB;IAYjD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAE;mJACmI,CAAA;QAC/I,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAI,iBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;aACzF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAjCD,sCAiCC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VueImageUploader = void 0;
|
|
4
|
-
const attachment_file_1 = require("./attachment-file");
|
|
5
|
-
class VueImageUploader extends attachment_file_1.VueAttachmentFile {
|
|
6
|
-
constructor(param) {
|
|
7
|
-
super(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 = `title,binding`;
|
|
19
|
-
Object.keys(obj).forEach((key) => {
|
|
20
|
-
if (keys.includes(key)) {
|
|
21
|
-
this[key] = obj[key];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.VueImageUploader = VueImageUploader;
|
|
27
|
-
//# sourceMappingURL=image-uploader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-uploader.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/attachment/image-uploader.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAErD,MAAa,gBAAiB,SAAQ,mCAAiB;IAErD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,eAAe,CAAA;QAC5B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;aACrB;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAtBD,4CAsBC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./attachment"), exports);
|
|
14
|
-
__exportStar(require("./attachment-entry"), exports);
|
|
15
|
-
__exportStar(require("./attachment-file"), exports);
|
|
16
|
-
__exportStar(require("./attachment-uploader"), exports);
|
|
17
|
-
__exportStar(require("./image-uploader"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|