super-page-runtime 1.0.17 → 2.0.1
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/dist/es/assets/chart-themes/theme1.d.ts +4 -0
- package/{lib/src → dist/es}/assets/chart-themes/theme1.js +3 -2
- package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
- package/{lib/src → dist/es}/assets/chart-themes/theme2.js +3 -2
- package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
- package/{lib/src → dist/es}/assets/chart-themes/theme3.js +3 -2
- package/dist/es/components/runtime/index.d.ts +4 -0
- package/{lib/src → dist/es/components/runtime}/utils/api/api-util.js +15 -15
- package/dist/es/components/runtime/utils/assemblys-config.js +257 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +11 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +28 -0
- package/{lib/src → dist/es/components/runtime}/utils/common-util.d.ts +5 -0
- package/{lib/src → dist/es/components/runtime}/utils/common-util.js +25 -12
- package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/es/components/runtime/utils/eventBus.js +11 -0
- package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +1 -1
- package/{lib/src → dist/es/components/runtime}/utils/events/event-util.js +41 -40
- package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.js +149 -148
- package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.js +23 -23
- package/{lib/src → dist/es/components/runtime}/utils/global-refs.js +8 -8
- package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +2 -0
- package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.js +3 -3
- package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.d.ts +19 -0
- package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.js +135 -19
- package/{lib/src → dist/es/components/runtime}/utils/page-init-util.js +18 -18
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/es/components/runtime/utils/page-permission-util.js +525 -0
- package/{lib/src → dist/es/components/runtime}/utils/store-util.js +5 -5
- package/{lib/src → dist/es/components/runtime}/utils/store.js +3 -2
- package/{lib/src → dist/es/components/runtime}/utils/table-utils.js +10 -9
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +55 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +36 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +111 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +249 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +62 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +57 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +50 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +51 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +51 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +52 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +34 -27
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +33 -32
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/common/task-informition-dialog.vue.js +30 -29
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/container/card/card-runtime.vue2.js +24 -23
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +75 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +80 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +44 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +45 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -8
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +70 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +17 -15
- package/{lib → dist/es/components}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +66 -63
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +40 -38
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/data/table/table-runtime.vue2.js +17 -11
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +23 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +36 -35
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +83 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +41 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +128 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +128 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +78 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +30 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +37 -36
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +37 -48
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/select/select-runtime.vue2.js +54 -53
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +66 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{lib → dist/es/components}/runtime/views/assemblys/object-render.vue.js +35 -34
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +17 -16
- package/{lib/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.js +19 -17
- package/dist/es/components/runtime/views/super-page-dialog.vue2.js +4 -0
- package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{lib → dist/es/components}/runtime/views/super-page.vue.js +129 -112
- package/dist/es/components/runtime/views/super-page.vue2.js +4 -0
- package/dist/es/index.d.ts +8 -0
- package/dist/es/index.js +15 -0
- package/package.json +70 -71
- package/src/index.ts +15 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
- package/lib/components/index.d.ts +0 -5
- package/lib/components/runtime/index.d.ts +0 -3
- package/lib/components/super-page-dialog/index.d.ts +0 -3
- package/lib/components/wf-editor/index.d.ts +0 -3
- package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/lib/index.js +0 -8
- package/lib/runtime/index.js +0 -3
- package/lib/runtime/utils/assemblys-config.js +0 -258
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
- package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
- package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
- package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
- package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
- package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
- package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
- package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
- package/lib/runtime/views/super-page.vue2.js +0 -3
- package/lib/src/utils/charts/chart-util.js +0 -15
- package/lib/super-page-dialog/index.js +0 -3
- package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
- package/lib/wf-editor/index.js +0 -3
- package/lib/wf-editor/wf-editor.css +0 -4
- package/lib/wf-editor/wf-editor.vue.js +0 -15
- package/src/assets/base.css +0 -86
- package/src/assets/chart-themes/theme1.ts +0 -6
- package/src/assets/chart-themes/theme2.ts +0 -6
- package/src/assets/chart-themes/theme3.ts +0 -6
- package/src/assets/images/button/button-group.png +0 -0
- package/src/assets/images/button/button.png +0 -0
- package/src/assets/images/chart/chart-column.png +0 -0
- package/src/assets/images/chart/chart-gauge.png +0 -0
- package/src/assets/images/chart/chart-pie.png +0 -0
- package/src/assets/images/chart/chart-radar.png +0 -0
- package/src/assets/images/chart/chart-scatter.png +0 -0
- package/src/assets/images/container/container-card.png +0 -0
- package/src/assets/images/container/container-collapse.png +0 -0
- package/src/assets/images/container/container-container.png +0 -0
- package/src/assets/images/container/container-flex.png +0 -0
- package/src/assets/images/container/container-form.png +0 -0
- package/src/assets/images/container/container-iframe.png +0 -0
- package/src/assets/images/container/container-normal.png +0 -0
- package/src/assets/images/container/container-tabs.png +0 -0
- package/src/assets/images/container/container-tools.png +0 -0
- package/src/assets/images/data/data-process.png +0 -0
- package/src/assets/images/data/data-step.png +0 -0
- package/src/assets/images/data/data-table-column.png +0 -0
- package/src/assets/images/data/data-table.png +0 -0
- package/src/assets/images/data/data-timeline.png +0 -0
- package/src/assets/images/data/data-tree.png +0 -0
- package/src/assets/images/form/form-cascader.png +0 -0
- package/src/assets/images/form/form-check.png +0 -0
- package/src/assets/images/form/form-color.png +0 -0
- package/src/assets/images/form/form-count.png +0 -0
- package/src/assets/images/form/form-custom.png +0 -0
- package/src/assets/images/form/form-date.png +0 -0
- package/src/assets/images/form/form-dept.png +0 -0
- package/src/assets/images/form/form-divider.png +0 -0
- package/src/assets/images/form/form-file.png +0 -0
- package/src/assets/images/form/form-image-upload.png +0 -0
- package/src/assets/images/form/form-img.png +0 -0
- package/src/assets/images/form/form-input.png +0 -0
- package/src/assets/images/form/form-label.png +0 -0
- package/src/assets/images/form/form-link.png +0 -0
- package/src/assets/images/form/form-radio.png +0 -0
- package/src/assets/images/form/form-scan.png +0 -0
- package/src/assets/images/form/form-score.png +0 -0
- package/src/assets/images/form/form-select.png +0 -0
- package/src/assets/images/form/form-slider.png +0 -0
- package/src/assets/images/form/form-space.png +0 -0
- package/src/assets/images/form/form-switch.png +0 -0
- package/src/assets/images/form/form-text.png +0 -0
- package/src/assets/images/form/form-textarea.png +0 -0
- package/src/assets/images/form/form-transfer.png +0 -0
- package/src/assets/images/form/form-zoom.png +0 -0
- package/src/assets/images/group-button.png +0 -0
- package/src/assets/images/group-chart.png +0 -0
- package/src/assets/images/group-container.png +0 -0
- package/src/assets/images/group-data.png +0 -0
- package/src/assets/images/group-form.png +0 -0
- package/src/assets/images/group-workflow.png +0 -0
- package/src/assets/images/workflow/workflow-button.png +0 -0
- package/src/assets/images/workflow/workflow-history-texts.png +0 -0
- package/src/assets/images/workflow/workflow-history.png +0 -0
- package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
- package/src/assets/images/workflow/workflow-texthistory .png +0 -0
- package/src/assets/logo.svg +0 -1
- package/src/assets/main.css +0 -1
- package/src/i18n/langs/cn.js +0 -52
- package/src/i18n/langs/en.js +0 -52
- package/src/stores/counter.ts +0 -12
- package/src/utils/api/api-util.ts +0 -176
- package/src/utils/charts/chart-util.ts +0 -41
- package/src/utils/common-util.ts +0 -96
- package/src/utils/container-style-util.ts +0 -237
- package/src/utils/eventBus.ts +0 -14
- package/src/utils/events/event-util.ts +0 -790
- package/src/utils/events/jump-page-util.ts +0 -0
- package/src/utils/events/standard-event.ts +0 -2075
- package/src/utils/events/validator-util.ts +0 -474
- package/src/utils/global-refs.ts +0 -160
- package/src/utils/interfaces/page-design-types.ts +0 -259
- package/src/utils/page-helper-util.ts +0 -850
- package/src/utils/page-init-util.ts +0 -291
- package/src/utils/page-permission-util.ts +0 -521
- package/src/utils/store-util.ts +0 -41
- package/src/utils/store.ts +0 -3
- package/src/utils/table-utils.ts +0 -31
- /package/{lib/src → dist/es/components/runtime}/utils/api/api-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/store-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/favicon.ico +0 -0
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { defineComponent, ref, onMounted, onUpdated, nextTick, onUnmounted, openBlock, createElementBlock, normalizeClass, normalizeStyle, Fragment, renderList, createBlock, unref, createCommentVNode, createElementVNode, reactive } from "vue";
|
|
2
|
+
import _sfc_main$1 from "./assemblys/object-render.vue.js";
|
|
3
|
+
import { updateOptionDatasources, updateChartDatasources } from "../utils/page-helper-util.js";
|
|
4
|
+
import { queryPageSuperGrids, queryPageDesignByCode, convertToPageContext } from "../utils/page-init-util.js";
|
|
5
|
+
import { removePageAllRef, initComponentRefState, addComponentRef } from "../utils/global-refs.js";
|
|
6
|
+
import { removeCustomFuncFromWindow, initPageEvents, handleEvent } from "../utils/events/event-util.js";
|
|
7
|
+
import _sfc_main$2 from "./assemblys/common/export-form-report-dialog.vue.js";
|
|
8
|
+
import _sfc_main$3 from "./assemblys/common/task-informition-dialog.vue.js";
|
|
9
|
+
import _sfc_main$4 from "./assemblys/common/remove-signer-dialog.vue.js";
|
|
10
|
+
import eventBus from "../utils/eventBus.js";
|
|
11
|
+
import { getData } from "../utils/api/api-util.js";
|
|
12
|
+
import { getTaskInformitions, getRemoveSigner, exportFormReport, doImportFinally, doAddSigner, doCreateCopyTask, doAssign, doReturnTaskTo, doRemoveSigners } from "../utils/events/standard-event.js";
|
|
13
|
+
import { ElMessage } from "element-plus";
|
|
14
|
+
import { useI18n } from "vue-i18n";
|
|
15
|
+
import { DepartmentUserTree } from "agilebuilder-ui";
|
|
16
|
+
import { i18nValidateRulesMessage } from "../utils/events/validator-util.js";
|
|
17
|
+
import _sfc_main$5 from "./super-page-dialog.vue.js";
|
|
18
|
+
import { useRouter } from "vue-router";
|
|
19
|
+
import "agilebuilder-ui/src/utils/jump-page-utils";
|
|
20
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
21
|
__name: "super-page",
|
|
21
22
|
props: {
|
|
22
23
|
//页面编码
|
|
@@ -67,37 +68,37 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
67
68
|
},
|
|
68
69
|
emits: ["open", "opened", "close", "closed"],
|
|
69
70
|
setup(__props, { emit: __emit }) {
|
|
70
|
-
const { t } =
|
|
71
|
+
const { t } = useI18n();
|
|
71
72
|
const props = __props;
|
|
72
|
-
const thisRef =
|
|
73
|
-
const pageItems =
|
|
74
|
-
const pageClass =
|
|
75
|
-
const pageStyle =
|
|
76
|
-
const pageDesignResult =
|
|
77
|
-
const buttonParams =
|
|
78
|
-
const showExportForm =
|
|
79
|
-
const selectAddSignerUser =
|
|
80
|
-
const selectCopyUser =
|
|
81
|
-
const selectAssignUser =
|
|
82
|
-
const isMulti =
|
|
83
|
-
const eventPageInfo =
|
|
84
|
-
const showTaskInformitions =
|
|
85
|
-
const taskInformitions =
|
|
86
|
-
const activeTasks =
|
|
87
|
-
const showRemoveSigner =
|
|
88
|
-
const taskIdVal =
|
|
89
|
-
const isShowPage =
|
|
90
|
-
const isShowDialog =
|
|
91
|
-
const jumpPageSetting =
|
|
92
|
-
const parentPageContext =
|
|
93
|
-
const parentConfigureObj =
|
|
94
|
-
const parentEventParams =
|
|
73
|
+
const thisRef = ref(null);
|
|
74
|
+
const pageItems = ref([]);
|
|
75
|
+
const pageClass = ref("");
|
|
76
|
+
const pageStyle = ref({});
|
|
77
|
+
const pageDesignResult = ref(null);
|
|
78
|
+
const buttonParams = ref(null);
|
|
79
|
+
const showExportForm = ref(false);
|
|
80
|
+
const selectAddSignerUser = ref(false);
|
|
81
|
+
const selectCopyUser = ref(false);
|
|
82
|
+
const selectAssignUser = ref(false);
|
|
83
|
+
const isMulti = ref(false);
|
|
84
|
+
const eventPageInfo = ref(null);
|
|
85
|
+
const showTaskInformitions = ref(false);
|
|
86
|
+
const taskInformitions = ref([]);
|
|
87
|
+
const activeTasks = ref([]);
|
|
88
|
+
const showRemoveSigner = ref(false);
|
|
89
|
+
const taskIdVal = ref(null);
|
|
90
|
+
const isShowPage = ref(false);
|
|
91
|
+
const isShowDialog = ref(false);
|
|
92
|
+
const jumpPageSetting = ref(null);
|
|
93
|
+
const parentPageContext = ref(null);
|
|
94
|
+
const parentConfigureObj = ref(null);
|
|
95
|
+
const parentEventParams = ref(null);
|
|
95
96
|
let pageContext;
|
|
96
|
-
const buttonConfigure =
|
|
97
|
-
const buttonPageContext =
|
|
97
|
+
const buttonConfigure = ref(null);
|
|
98
|
+
const buttonPageContext = ref(null);
|
|
98
99
|
function initPageDesign(pageDesign) {
|
|
99
100
|
console.log("pageDesign==", pageDesign);
|
|
100
|
-
pageContext =
|
|
101
|
+
pageContext = reactive(convertToPageContext(pageDesign, props.pageRequest));
|
|
101
102
|
if (pageContext == null) {
|
|
102
103
|
return;
|
|
103
104
|
}
|
|
@@ -105,45 +106,49 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
106
|
setTimeout(() => {
|
|
106
107
|
initOptionDatas(pageContext, pageDesign.initOptionConfigs);
|
|
107
108
|
}, 0);
|
|
109
|
+
setTimeout(() => {
|
|
110
|
+
console.log("pageDesign.initChartServiceConfigs", pageDesign.initChartServiceConfigs);
|
|
111
|
+
initChartDatas(pageContext, pageDesign.initChartServiceConfigs);
|
|
112
|
+
}, 0);
|
|
108
113
|
pageContext.initDataSources = [];
|
|
109
|
-
|
|
114
|
+
initComponentRefState(pageContext);
|
|
110
115
|
pageItems.value = pageContext.items ? pageContext.items : [];
|
|
111
116
|
const runtime = pageContext.runtime ? pageContext.runtime : {};
|
|
112
117
|
pageClass.value = runtime.class;
|
|
113
118
|
pageStyle.value = runtime.style;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
119
|
+
initPageEvents(pageDesign, pageContext);
|
|
120
|
+
i18nValidateRulesMessage(pageContext.rules);
|
|
121
|
+
handleEvent(null, pageContext, pageDesign, "beforeload");
|
|
117
122
|
const myPageCode = pageContext.code;
|
|
118
123
|
eventPageInfo.value = myPageCode + "_";
|
|
119
|
-
|
|
124
|
+
eventBus.$on(eventPageInfo.value + "export-form-report", (params) => {
|
|
120
125
|
buttonParams.value = params;
|
|
121
126
|
buttonConfigure.value = params.configureObj;
|
|
122
127
|
buttonPageContext.value = params.pageContext;
|
|
123
128
|
showExportForm.value = true;
|
|
124
129
|
});
|
|
125
|
-
|
|
130
|
+
eventBus.$on(eventPageInfo.value + "import-file", (params) => {
|
|
126
131
|
buttonParams.value = params;
|
|
127
132
|
clickImport();
|
|
128
133
|
});
|
|
129
|
-
|
|
134
|
+
eventBus.$on(eventPageInfo.value + "assign-task", (params) => {
|
|
130
135
|
buttonParams.value = params;
|
|
131
136
|
selectAssignUser.value = true;
|
|
132
137
|
isMulti.value = false;
|
|
133
138
|
});
|
|
134
|
-
|
|
139
|
+
eventBus.$on(eventPageInfo.value + "copy-task", (params) => {
|
|
135
140
|
buttonParams.value = params;
|
|
136
141
|
selectCopyUser.value = true;
|
|
137
142
|
isMulti.value = true;
|
|
138
143
|
});
|
|
139
|
-
|
|
144
|
+
eventBus.$on(eventPageInfo.value + "add-signer", (params) => {
|
|
140
145
|
buttonParams.value = params;
|
|
141
146
|
selectAddSignerUser.value = true;
|
|
142
147
|
isMulti.value = true;
|
|
143
148
|
});
|
|
144
|
-
|
|
149
|
+
eventBus.$on(eventPageInfo.value + "choose-return-node", (params) => {
|
|
145
150
|
buttonParams.value = params;
|
|
146
|
-
|
|
151
|
+
getTaskInformitions(params).then((result) => {
|
|
147
152
|
taskInformitions.value = result;
|
|
148
153
|
showTaskInformitions.value = true;
|
|
149
154
|
}).catch((e) => {
|
|
@@ -151,9 +156,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
151
156
|
showTaskInformitions.value = false;
|
|
152
157
|
});
|
|
153
158
|
});
|
|
154
|
-
|
|
159
|
+
eventBus.$on(eventPageInfo.value + "remove-signer", (params) => {
|
|
155
160
|
buttonParams.value = params;
|
|
156
|
-
|
|
161
|
+
getRemoveSigner(params).then((result) => {
|
|
157
162
|
taskIdVal.value = params.pageContext.completeTaskParam.taskId;
|
|
158
163
|
activeTasks.value = result;
|
|
159
164
|
showRemoveSigner.value = true;
|
|
@@ -162,25 +167,25 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
162
167
|
showRemoveSigner.value = false;
|
|
163
168
|
});
|
|
164
169
|
});
|
|
165
|
-
|
|
170
|
+
eventBus.$on(eventPageInfo.value + "prohibit-edit", (data) => {
|
|
166
171
|
});
|
|
167
|
-
|
|
172
|
+
eventBus.$on(eventPageInfo.value + "open-dialog", (params) => {
|
|
168
173
|
parentPageContext.value = params.pageContext;
|
|
169
174
|
parentConfigureObj.value = params.configureObj;
|
|
170
175
|
parentEventParams.value = params.eventParams;
|
|
171
176
|
openDialog(params.configureObj);
|
|
172
177
|
});
|
|
173
|
-
|
|
178
|
+
eventBus.$on(eventPageInfo.value + "close-dialog", (pageContext2, configureObj) => {
|
|
174
179
|
parentPageContext.value = null;
|
|
175
180
|
parentConfigureObj.value = null;
|
|
176
181
|
parentEventParams.value = null;
|
|
177
182
|
closeDialog();
|
|
178
183
|
});
|
|
179
|
-
|
|
184
|
+
getData(pageContext).then((commonEntity) => {
|
|
180
185
|
const pageType = pageContext.pageType;
|
|
181
186
|
if (pageType && pageType === "form") {
|
|
182
187
|
changePermissionListToMap();
|
|
183
|
-
|
|
188
|
+
handleEvent(null, pageContext, pageDesign, "load");
|
|
184
189
|
}
|
|
185
190
|
});
|
|
186
191
|
}
|
|
@@ -194,16 +199,26 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
194
199
|
});
|
|
195
200
|
console.log("pageContext.initOptionConfigs:", initOptionConfigs);
|
|
196
201
|
if (initOptionConfigs && initOptionConfigs.length > 0) {
|
|
197
|
-
|
|
202
|
+
updateOptionDatasources(pageContext2, initOptionConfigs, void 0);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
function initChartDatas(pageContext2, chartConfigs) {
|
|
206
|
+
if (!chartConfigs || chartConfigs.length == 0) {
|
|
207
|
+
console.log("无需要初始化的选项组数据");
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
console.log("pageContext.chartConfigs:", chartConfigs);
|
|
211
|
+
if (chartConfigs && chartConfigs.length > 0) {
|
|
212
|
+
updateChartDatasources(pageContext2, chartConfigs);
|
|
198
213
|
}
|
|
199
214
|
}
|
|
200
|
-
|
|
215
|
+
onMounted(() => {
|
|
201
216
|
if (props.pageDesign != null) {
|
|
202
217
|
pageDesignResult.value = props.pageDesign;
|
|
203
218
|
setTimeout(() => {
|
|
204
219
|
initPageDesign(props.pageDesign);
|
|
205
220
|
if (props.pageDesign.tableRuntimes && Object.keys(props.pageDesign.tableRuntimes).length > 0) {
|
|
206
|
-
|
|
221
|
+
queryPageSuperGrids(props.pageDesign, pageContext, props.publishVersion).then((superGridItems) => {
|
|
207
222
|
pageContext.superGridItems = superGridItems;
|
|
208
223
|
isShowPage.value = true;
|
|
209
224
|
}).catch(() => {
|
|
@@ -214,7 +229,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
214
229
|
}
|
|
215
230
|
}, 0);
|
|
216
231
|
} else if (props.pageCode) {
|
|
217
|
-
|
|
232
|
+
queryPageDesignByCode(props.pageCode).then((result) => {
|
|
218
233
|
pageDesignResult.value = result;
|
|
219
234
|
initPageDesign(result);
|
|
220
235
|
isShowPage.value = true;
|
|
@@ -230,26 +245,26 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
230
245
|
}, 10);
|
|
231
246
|
}
|
|
232
247
|
});
|
|
233
|
-
|
|
234
|
-
|
|
248
|
+
onUpdated(() => {
|
|
249
|
+
nextTick(() => {
|
|
235
250
|
if (pageContext && thisRef.value) {
|
|
236
|
-
|
|
251
|
+
addComponentRef(pageContext, "-1", thisRef);
|
|
237
252
|
}
|
|
238
253
|
});
|
|
239
254
|
});
|
|
240
|
-
|
|
241
|
-
|
|
255
|
+
onUnmounted(() => {
|
|
256
|
+
removePageAllRef(pageContext);
|
|
242
257
|
if (pageDesignResult.value) {
|
|
243
|
-
|
|
258
|
+
removeCustomFuncFromWindow(pageDesignResult.value);
|
|
244
259
|
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
260
|
+
eventBus.$off(eventPageInfo.value + "export-form-report");
|
|
261
|
+
eventBus.$off(eventPageInfo.value + "import-file");
|
|
262
|
+
eventBus.$off(eventPageInfo.value + "assign-task");
|
|
263
|
+
eventBus.$off(eventPageInfo.value + "copy-task");
|
|
264
|
+
eventBus.$off(eventPageInfo.value + "add-signer");
|
|
265
|
+
eventBus.$off(eventPageInfo.value + "choose-return-node");
|
|
266
|
+
eventBus.$off(eventPageInfo.value + "remove-signer");
|
|
267
|
+
eventBus.$off(eventPageInfo.value + "prohibit-edit");
|
|
253
268
|
});
|
|
254
269
|
function closeExportFormDialog() {
|
|
255
270
|
showExportForm.value = false;
|
|
@@ -257,14 +272,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
257
272
|
}
|
|
258
273
|
function doExportFormReport(templateFile) {
|
|
259
274
|
const isPdf = false;
|
|
260
|
-
|
|
275
|
+
exportFormReport(
|
|
261
276
|
buttonParams.value.pageContext,
|
|
262
277
|
buttonParams.value.configureObj,
|
|
263
278
|
templateFile,
|
|
264
279
|
isPdf
|
|
265
280
|
);
|
|
266
281
|
}
|
|
267
|
-
const _selectFile_ =
|
|
282
|
+
const _selectFile_ = ref(null);
|
|
268
283
|
function clickImport() {
|
|
269
284
|
_selectFile_.value.click();
|
|
270
285
|
}
|
|
@@ -278,9 +293,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
278
293
|
const fileObj = _selectFile_.value.files[0];
|
|
279
294
|
if (fileObj) {
|
|
280
295
|
_selectFile_.value.value = null;
|
|
281
|
-
|
|
296
|
+
doImportFinally(buttonParams.value, fileObj);
|
|
282
297
|
} else {
|
|
283
|
-
|
|
298
|
+
ElMessage({
|
|
284
299
|
showClose: true,
|
|
285
300
|
type: "warning",
|
|
286
301
|
message: t("superPageRuntimeMessage.noFileSelected")
|
|
@@ -291,26 +306,26 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
291
306
|
function closeDeptUserTree(selectNodeInfo) {
|
|
292
307
|
if (selectAddSignerUser.value === true) {
|
|
293
308
|
selectAddSignerUser.value = false;
|
|
294
|
-
|
|
309
|
+
doAddSigner(buttonParams.value, selectNodeInfo);
|
|
295
310
|
}
|
|
296
311
|
if (selectCopyUser.value === true) {
|
|
297
312
|
selectCopyUser.value = false;
|
|
298
|
-
|
|
313
|
+
doCreateCopyTask(buttonParams.value, selectNodeInfo);
|
|
299
314
|
}
|
|
300
315
|
if (selectAssignUser.value === true) {
|
|
301
316
|
selectAssignUser.value = false;
|
|
302
|
-
|
|
317
|
+
doAssign(buttonParams.value, selectNodeInfo);
|
|
303
318
|
}
|
|
304
319
|
}
|
|
305
320
|
function myReturnTaskTo(selectTaskNode) {
|
|
306
321
|
taskInformitions.value = [];
|
|
307
322
|
showTaskInformitions.value = false;
|
|
308
|
-
|
|
323
|
+
doReturnTaskTo(buttonParams.value, selectTaskNode);
|
|
309
324
|
}
|
|
310
325
|
function myDoRemoveSigners(selectRemoveTasks) {
|
|
311
326
|
activeTasks.value = [];
|
|
312
327
|
showRemoveSigner.value = false;
|
|
313
|
-
|
|
328
|
+
doRemoveSigners(buttonParams.value, selectRemoveTasks);
|
|
314
329
|
}
|
|
315
330
|
function changePermissionListToMap() {
|
|
316
331
|
changeFieldPermissionToMap();
|
|
@@ -407,7 +422,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
407
422
|
}
|
|
408
423
|
pageContext.actionPermissionMap = actionPermissionMap;
|
|
409
424
|
}
|
|
410
|
-
|
|
425
|
+
useRouter();
|
|
411
426
|
function openDialog(configureObj) {
|
|
412
427
|
isShowDialog.value = true;
|
|
413
428
|
}
|
|
@@ -415,29 +430,29 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
415
430
|
isShowDialog.value = false;
|
|
416
431
|
}
|
|
417
432
|
return (_ctx, _cache) => {
|
|
418
|
-
return
|
|
419
|
-
isShowPage.value ? (
|
|
433
|
+
return openBlock(), createElementBlock("div", null, [
|
|
434
|
+
isShowPage.value ? (openBlock(), createElementBlock("div", {
|
|
420
435
|
key: 0,
|
|
421
436
|
ref_key: "thisRef",
|
|
422
437
|
ref: thisRef,
|
|
423
|
-
class:
|
|
424
|
-
style:
|
|
438
|
+
class: normalizeClass(pageClass.value),
|
|
439
|
+
style: normalizeStyle(pageStyle.value)
|
|
425
440
|
}, [
|
|
426
|
-
(
|
|
427
|
-
return
|
|
441
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(pageItems.value, (element, itemIndex) => {
|
|
442
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
428
443
|
key: element.uuid,
|
|
429
444
|
configure: element,
|
|
430
|
-
pageContext:
|
|
445
|
+
pageContext: unref(pageContext)
|
|
431
446
|
}, null, 8, ["configure", "pageContext"]);
|
|
432
447
|
}), 128)),
|
|
433
|
-
showExportForm.value ? (
|
|
448
|
+
showExportForm.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
434
449
|
key: 0,
|
|
435
450
|
configure: buttonConfigure.value,
|
|
436
451
|
pageContext: buttonPageContext.value,
|
|
437
452
|
onClose: closeExportFormDialog,
|
|
438
453
|
onExport: doExportFormReport
|
|
439
|
-
}, null, 8, ["configure", "pageContext"])) :
|
|
440
|
-
|
|
454
|
+
}, null, 8, ["configure", "pageContext"])) : createCommentVNode("", true),
|
|
455
|
+
createElementVNode("input", {
|
|
441
456
|
ref_key: "_selectFile_",
|
|
442
457
|
ref: _selectFile_,
|
|
443
458
|
type: "file",
|
|
@@ -445,35 +460,37 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
445
460
|
style: { "display": "none" },
|
|
446
461
|
onChange: _cache[0] || (_cache[0] = ($event) => doImport())
|
|
447
462
|
}, null, 544),
|
|
448
|
-
selectAddSignerUser.value || selectCopyUser.value || selectAssignUser.value ? (
|
|
463
|
+
selectAddSignerUser.value || selectCopyUser.value || selectAssignUser.value ? (openBlock(), createBlock(unref(DepartmentUserTree), {
|
|
449
464
|
key: 1,
|
|
450
465
|
width: "60%",
|
|
451
466
|
multiple: isMulti.value,
|
|
452
467
|
onClose: closeDeptUserTree
|
|
453
|
-
}, null, 8, ["multiple"])) :
|
|
454
|
-
showTaskInformitions.value ? (
|
|
468
|
+
}, null, 8, ["multiple"])) : createCommentVNode("", true),
|
|
469
|
+
showTaskInformitions.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
455
470
|
key: 2,
|
|
456
471
|
"task-informitions": taskInformitions.value,
|
|
457
472
|
onClose: _cache[1] || (_cache[1] = ($event) => showTaskInformitions.value = false),
|
|
458
473
|
onResult: myReturnTaskTo
|
|
459
|
-
}, null, 8, ["task-informitions"])) :
|
|
460
|
-
showRemoveSigner.value ? (
|
|
474
|
+
}, null, 8, ["task-informitions"])) : createCommentVNode("", true),
|
|
475
|
+
showRemoveSigner.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
461
476
|
key: 3,
|
|
462
477
|
"task-id": taskIdVal.value,
|
|
463
478
|
"active-tasks": activeTasks.value,
|
|
464
479
|
onClose: _cache[2] || (_cache[2] = ($event) => showRemoveSigner.value = false),
|
|
465
480
|
onResult: myDoRemoveSigners
|
|
466
|
-
}, null, 8, ["task-id", "active-tasks"])) :
|
|
467
|
-
isShowDialog.value ? (
|
|
481
|
+
}, null, 8, ["task-id", "active-tasks"])) : createCommentVNode("", true),
|
|
482
|
+
isShowDialog.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
468
483
|
key: 4,
|
|
469
484
|
parentPageContext: parentPageContext.value,
|
|
470
485
|
parentPageEventParams: parentEventParams.value,
|
|
471
486
|
jumpPageSetting: jumpPageSetting.value,
|
|
472
487
|
onClose: _cache[3] || (_cache[3] = ($event) => closeDialog())
|
|
473
|
-
}, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) :
|
|
474
|
-
], 6)) :
|
|
488
|
+
}, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : createCommentVNode("", true)
|
|
489
|
+
], 6)) : createCommentVNode("", true)
|
|
475
490
|
]);
|
|
476
491
|
};
|
|
477
492
|
}
|
|
478
493
|
});
|
|
479
|
-
|
|
494
|
+
export {
|
|
495
|
+
_sfc_main as default
|
|
496
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SuperPage, SuperPageDialog } from './components/runtime';
|
|
2
|
+
import { getComponentOptionConfigs } from './components/runtime/utils/page-helper-util';
|
|
3
|
+
import { getStandPermissionInfo, getFunctionInfo, FuncType } from './components/runtime/utils/page-permission-util';
|
|
4
|
+
import { getCustomTheme, getCustomThemeOptions } from './components/runtime/utils/charts/chart-util';
|
|
5
|
+
|
|
6
|
+
export { SuperPage, SuperPageDialog, getComponentOptionConfigs };
|
|
7
|
+
export { getStandPermissionInfo, getFunctionInfo, FuncType };
|
|
8
|
+
export { getCustomTheme, getCustomThemeOptions };
|
package/dist/es/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as default2 } from "./components/runtime/views/super-page.vue.js";
|
|
2
|
+
import { default as default3 } from "./components/runtime/views/super-page-dialog.vue.js";
|
|
3
|
+
import { getComponentOptionConfigs } from "./components/runtime/utils/page-helper-util.js";
|
|
4
|
+
import { FuncType, getFunctionInfo, getStandPermissionInfo } from "./components/runtime/utils/page-permission-util.js";
|
|
5
|
+
import { getCustomTheme, getCustomThemeOptions } from "./components/runtime/utils/charts/chart-util.js";
|
|
6
|
+
export {
|
|
7
|
+
FuncType,
|
|
8
|
+
default2 as SuperPage,
|
|
9
|
+
default3 as SuperPageDialog,
|
|
10
|
+
getComponentOptionConfigs,
|
|
11
|
+
getCustomTheme,
|
|
12
|
+
getCustomThemeOptions,
|
|
13
|
+
getFunctionInfo,
|
|
14
|
+
getStandPermissionInfo
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,71 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "super-page-runtime",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "AgileBuilder super page runtime",
|
|
5
|
-
"license": "ISC",
|
|
6
|
-
"main": "
|
|
7
|
-
"files": [
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"test:
|
|
17
|
-
"test:e2e": "start-server-and-test
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"@
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"vue-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"eslint": "^
|
|
55
|
-
"eslint-plugin-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"saas": "^1.0.0",
|
|
60
|
-
"sass": "^1.72.0",
|
|
61
|
-
"start-server-and-test": "^2.0.3",
|
|
62
|
-
"
|
|
63
|
-
"vite": "^
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"vue": "^
|
|
67
|
-
"vue-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "super-page-runtime",
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "AgileBuilder super page runtime",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/*"
|
|
9
|
+
],
|
|
10
|
+
"typings": "dist/lib/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "vite",
|
|
13
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
14
|
+
"preview": "vite preview",
|
|
15
|
+
"test:unit": "vitest",
|
|
16
|
+
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
|
|
17
|
+
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
|
|
18
|
+
"build-only": "vite build",
|
|
19
|
+
"type-check": "vue-tsc --build --force",
|
|
20
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
21
|
+
"format": "prettier --write src/"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@vueup/vue-quill": "^1.2.0",
|
|
25
|
+
"@vueuse/core": "^10.9.0",
|
|
26
|
+
"async-validator": "^4.2.5",
|
|
27
|
+
"dayjs": "^1.11.11",
|
|
28
|
+
"echarts": "^5.5.0",
|
|
29
|
+
"jsbarcode": "^3.11.6",
|
|
30
|
+
"nprogress": "^0.2.0",
|
|
31
|
+
"qrcode": "^1.5.3",
|
|
32
|
+
"quill": "^2.0.1",
|
|
33
|
+
"uuid": "^9.0.1",
|
|
34
|
+
"vue-awesome": "^4.5.0",
|
|
35
|
+
"vue-codemirror": "^6.1.1",
|
|
36
|
+
"vue-draggable-plus": "^0.3.5",
|
|
37
|
+
"vue-echarts": "^6.6.9"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@element-plus/icons": "^0.0.11",
|
|
41
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
42
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
43
|
+
"@types/jsdom": "^21.1.6",
|
|
44
|
+
"@types/node": "^20.11.28",
|
|
45
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
46
|
+
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
47
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
48
|
+
"@vue/test-utils": "^2.4.4",
|
|
49
|
+
"agilebuilder-ui": "1.0.13",
|
|
50
|
+
"axios": "^1.6.8",
|
|
51
|
+
"cypress": "^13.6.6",
|
|
52
|
+
"element-plus": "^2.6.1",
|
|
53
|
+
"eslint": "^8.49.0",
|
|
54
|
+
"eslint-plugin-cypress": "^2.15.1",
|
|
55
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
56
|
+
"js-cookie": "^3.0.5",
|
|
57
|
+
"jsdom": "^24.0.0",
|
|
58
|
+
"mitt": "^3.0.1",
|
|
59
|
+
"saas": "^1.0.0",
|
|
60
|
+
"sass": "^1.72.0",
|
|
61
|
+
"start-server-and-test": "^2.0.3",
|
|
62
|
+
"vite": "^5.1.6",
|
|
63
|
+
"vite-plugin-dts": "^3.9.1",
|
|
64
|
+
"vitest": "^1.3.1",
|
|
65
|
+
"vue": "^3.4.21",
|
|
66
|
+
"vue-i18n": "^9.10.2",
|
|
67
|
+
"vue-router": "^4.3.0",
|
|
68
|
+
"vuex": "^4.1.0"
|
|
69
|
+
}
|
|
70
|
+
}
|