super-page-runtime 1.0.17 → 1.3.13
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/_virtual/_plugin-vue_export-helper.js +8 -0
- package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme1.js +4 -0
- package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme2.js +4 -0
- package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme3.js +4 -0
- package/dist/es/assets/file.png.js +4 -0
- package/dist/es/assets/folder.png.js +4 -0
- package/dist/es/components/runtime/index.d.ts +5 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/api/api-util.js +4 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.js +159 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
- package/dist/es/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/es/components/runtime/utils/barcode-util.js +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +140 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +37 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +81 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +55 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +46 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +113 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +274 -0
- package/dist/es/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/es/components/runtime/utils/common-util.js +120 -0
- package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/es/components/runtime/utils/eventBus.js +5 -0
- package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +45 -1
- package/dist/es/components/runtime/utils/events/event-util.js +403 -0
- package/dist/es/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/es/components/runtime/utils/events/print-label.js +100 -0
- package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +29 -3
- package/dist/es/components/runtime/utils/events/standard-event.js +971 -0
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/es/components/runtime/utils/events/validator-util.js +309 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
- package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +6 -0
- package/dist/es/components/runtime/utils/global-refs.js +57 -0
- package/dist/es/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/i18n-util.js +14 -0
- package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +32 -6
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +386 -0
- package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +12 -2
- package/dist/es/components/runtime/utils/page-init-util.js +203 -0
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/es/components/runtime/utils/page-permission-util.js +30 -0
- package/dist/es/components/runtime/utils/page-store.d.ts +46 -0
- package/dist/es/components/runtime/utils/page-store.js +26 -0
- package/dist/es/components/runtime/utils/store-util.js +13 -0
- package/dist/es/components/runtime/utils/store.js +4 -0
- package/dist/es/components/runtime/utils/table-utils.d.ts +34 -0
- package/dist/es/components/runtime/utils/table-utils.js +80 -0
- package/dist/es/components/runtime/utils/tree-utils.js +73 -0
- 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 +27 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +21 -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 +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -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 +60 -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/common/common-homepage-search.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +63 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +419 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +45 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +15 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +255 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
- 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.d.ts +5 -5
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +24 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +4 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +5 -5
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
- 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 +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +29 -0
- 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 +21 -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 +18 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +81 -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 +25 -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 +20 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +14 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +378 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +300 -0
- 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/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +82 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +134 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -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/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +50 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +69 -0
- 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 +90 -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 +55 -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 +24 -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 +28 -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 +82 -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 +37 -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 +32 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +73 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +97 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +16 -0
- 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 +36 -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 +44 -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 +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +129 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +24 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +18 -0
- package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
- package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
- package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +7 -3
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +26 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +5 -0
- package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +43 -10
- package/dist/es/components/runtime/views/super-page.vue.js +7 -0
- package/dist/es/components/runtime/views/super-page.vue2.js +262 -0
- package/dist/es/i18n/langs/cn.js +4 -0
- package/dist/es/i18n/langs/en.js +4 -0
- package/dist/es/index.d.ts +16 -0
- package/dist/es/index.js +30 -0
- package/dist/es/style.css +633 -0
- package/package.json +74 -71
- 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/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- 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.vue.js +0 -141
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
- 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/card/card-runtime.vue2.js +0 -72
- 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/iframe/iframe-runtime.vue2.js +0 -29
- 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/container/tools/tools-runtime.vue2.js +0 -74
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -640
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -452
- 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/data/table/table-runtime.vue2.js +0 -82
- 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/checkbox/checkbox-runtime.vue2.js +0 -156
- 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/radio/radio-runtime.vue2.js +0 -157
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -174
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
- 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.vue.js +0 -142
- 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/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
- package/lib/runtime/views/super-page.vue.js +0 -479
- package/lib/runtime/views/super-page.vue2.js +0 -3
- package/lib/src/assets/chart-themes/theme1.js +0 -7
- package/lib/src/assets/chart-themes/theme2.js +0 -7
- package/lib/src/assets/chart-themes/theme3.js +0 -7
- package/lib/src/utils/api/api-util.d.ts +0 -11
- package/lib/src/utils/api/api-util.js +0 -128
- package/lib/src/utils/charts/chart-util.js +0 -15
- package/lib/src/utils/common-util.d.ts +0 -11
- package/lib/src/utils/common-util.js +0 -81
- package/lib/src/utils/events/event-util.js +0 -525
- package/lib/src/utils/events/standard-event.js +0 -1623
- package/lib/src/utils/events/validator-util.d.ts +0 -4
- package/lib/src/utils/events/validator-util.js +0 -389
- package/lib/src/utils/global-refs.js +0 -65
- package/lib/src/utils/interfaces/page-design-types.js +0 -9
- package/lib/src/utils/page-helper-util.d.ts +0 -87
- package/lib/src/utils/page-helper-util.js +0 -503
- package/lib/src/utils/page-init-util.js +0 -200
- package/lib/src/utils/store-util.js +0 -17
- package/lib/src/utils/store.js +0 -3
- package/lib/src/utils/table-utils.js +0 -23
- package/lib/super-page-dialog/index.js +0 -3
- package/lib/super-page-dialog/super-page-dialog.vue.js +0 -73
- 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/store-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
- /package/{lib → dist/es}/favicon.ico +0 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { isMobileBrowser as e, isPromise as n } from "agilebuilder-ui/src/utils/common-util";
|
|
2
|
+
import { getAdditionalParamMap as t, standardEvents as i, judgeDataNumber as o, dealAfterOperate as r } from "./standard-event.js";
|
|
3
|
+
import { validateDataModelFunc as u } from "./validator-util.js";
|
|
4
|
+
import { getComponentRef as c, getComponentRefByCode as l } from "../global-refs.js";
|
|
5
|
+
import { ElMessage as a } from "element-plus";
|
|
6
|
+
import { analysisCondition as s } from "agilebuilder-ui/src/utils/util";
|
|
7
|
+
import { getListCode as f, deepCopy as m } from "../common-util.js";
|
|
8
|
+
import g from "../eventBus.js";
|
|
9
|
+
import { getValueFromSource as p } from "../page-helper-util.js";
|
|
10
|
+
import { expressJump as d } from "../table-utils.js";
|
|
11
|
+
const v = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], b = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], C = ["import"];
|
|
12
|
+
function x(e2, n2) {
|
|
13
|
+
if (e2 && e2.customEvents) {
|
|
14
|
+
const t2 = function(e3) {
|
|
15
|
+
const n3 = {};
|
|
16
|
+
return e3.forEach((e4) => {
|
|
17
|
+
if (!e4.isStandard && e4.jsContent) if ("customFunc" === e4.name) {
|
|
18
|
+
let t3 = null;
|
|
19
|
+
if (e4.funcParam) {
|
|
20
|
+
const n4 = e4.funcParam.split(",");
|
|
21
|
+
t3 = new Function(n4, e4.jsContent);
|
|
22
|
+
} else t3 = new Function(e4.jsContent);
|
|
23
|
+
n3[e4.eventName] = t3;
|
|
24
|
+
} else {
|
|
25
|
+
let t3 = e4.componentUuid + "_";
|
|
26
|
+
t3 += e4.name, n3[t3] = new Function("params", e4.jsContent);
|
|
27
|
+
}
|
|
28
|
+
}), n3;
|
|
29
|
+
}(e2.customEvents);
|
|
30
|
+
!function(e3, n3) {
|
|
31
|
+
if (!n3) return;
|
|
32
|
+
for (const t3 in n3) {
|
|
33
|
+
j(n3[t3], e3);
|
|
34
|
+
}
|
|
35
|
+
}(n2, t2), n2.customEvents = t2;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function k(e2, n2) {
|
|
39
|
+
if (e2.customEvents) return e2.customEvents[n2];
|
|
40
|
+
}
|
|
41
|
+
function j(e2, n2) {
|
|
42
|
+
e2.get = function(e3) {
|
|
43
|
+
return e3 ? l(n2, e3) : void 0;
|
|
44
|
+
}, e2.getByUuid = function(e3) {
|
|
45
|
+
return e3 ? c(n2, e3) : void 0;
|
|
46
|
+
}, e2.getPageContext = function() {
|
|
47
|
+
return n2;
|
|
48
|
+
}, e2.getContextValue = function(e3) {
|
|
49
|
+
let t2 = n2 && n2.entity ? n2.entity.context : null;
|
|
50
|
+
return t2 = t2 || {}, p(t2, e3, "context");
|
|
51
|
+
}, e2.getContext = function() {
|
|
52
|
+
return n2 && n2.entity ? n2.entity.context : {};
|
|
53
|
+
}, e2.getSystem = function() {
|
|
54
|
+
return n2 && n2.entity ? n2.entity.system : {};
|
|
55
|
+
}, e2.getTask = function() {
|
|
56
|
+
return n2 && n2.entity ? n2.entity.task : {};
|
|
57
|
+
}, e2.getRequest = function() {
|
|
58
|
+
return n2 && n2.entity ? n2.entity.request : {};
|
|
59
|
+
}, e2.getPage = function() {
|
|
60
|
+
return n2 && n2.entity ? n2.entity.page : {};
|
|
61
|
+
}, e2.getCustomFunc = function(e3) {
|
|
62
|
+
return k(n2, e3);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function O(e2) {
|
|
66
|
+
if (e2 && e2.customEvents) {
|
|
67
|
+
const n2 = e2.customEvents.filter((e3) => "customFunc" === e3.name && e3.jsContent);
|
|
68
|
+
n2 && n2.length > 0 && n2.forEach((e3) => {
|
|
69
|
+
delete window["$page_" + e3.eventName];
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function h(e2, n2, t2, i2, o2) {
|
|
74
|
+
return N(e2, n2, t2, i2, true, o2, false);
|
|
75
|
+
}
|
|
76
|
+
function E(e2, n2, t2, i2, o2) {
|
|
77
|
+
var _a, _b;
|
|
78
|
+
if (i2 && "change" === i2) {
|
|
79
|
+
const e3 = n2.subTableWatchProps;
|
|
80
|
+
if (e3) for (const n3 in e3) {
|
|
81
|
+
const i3 = e3[n3], o3 = (_b = (_a = t2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
|
|
82
|
+
i3 && i3.indexOf(o3) >= 0 && g.$emit("_refreshSubTable_" + n3, { propName: o3 });
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return N(e2, n2, t2, i2, true, o2, true);
|
|
86
|
+
}
|
|
87
|
+
function y(e2, n2, t2, i2) {
|
|
88
|
+
return E(e2, n2, t2, "afterInit", i2);
|
|
89
|
+
}
|
|
90
|
+
function w(e2, n2, t2, i2, o2) {
|
|
91
|
+
return N(e2, n2, t2, i2, false, o2, false);
|
|
92
|
+
}
|
|
93
|
+
function N(e2, t2, i2, r2, u2, c2, l2) {
|
|
94
|
+
const a2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
|
|
95
|
+
let s2;
|
|
96
|
+
if (l2 || !function(e3) {
|
|
97
|
+
return e3 && S.indexOf(e3) >= 0;
|
|
98
|
+
}(r2)) {
|
|
99
|
+
if (s2 = B(t2, a2, r2), u2) {
|
|
100
|
+
return H(t2, i2, s2, R(t2, i2, e2, c2));
|
|
101
|
+
}
|
|
102
|
+
return s2;
|
|
103
|
+
}
|
|
104
|
+
!function(e3, t3, i3) {
|
|
105
|
+
const r3 = o(t3, i3.ids);
|
|
106
|
+
if (!r3) return;
|
|
107
|
+
if (void 0 !== e3.canClick && false === e3.canClick) return;
|
|
108
|
+
Q(i3).then((o2) => {
|
|
109
|
+
if (true === o2.canExecute) {
|
|
110
|
+
e3.clickUuid = t3.uuid, e3.canClick = false;
|
|
111
|
+
const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r4 = B(e3, o3, "beforeValidateForm");
|
|
112
|
+
let u3;
|
|
113
|
+
if (r4 && (u3 = H(e3, t3, r4, i3)), void 0 === u3 && (u3 = true), !u3) return void (e3.canClick = true);
|
|
114
|
+
n(u3) ? u3.then((n2) => {
|
|
115
|
+
n2 && true === n2 ? F(e3, t3, i3) : e3.canClick = true;
|
|
116
|
+
}).catch((n2) => {
|
|
117
|
+
e3.canClick = true;
|
|
118
|
+
}) : F(e3, t3, i3);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}(t2, i2, U(e2, t2, i2, c2));
|
|
122
|
+
}
|
|
123
|
+
const S = ["click", "suffixClick", "prefixClick", "menuClick"];
|
|
124
|
+
function P(e2, n2) {
|
|
125
|
+
return n2.props.base.tableUuid ? n2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
|
|
126
|
+
}
|
|
127
|
+
function R(e2, n2, t2, i2) {
|
|
128
|
+
const o2 = {};
|
|
129
|
+
if (i2) for (const e3 in i2) o2[e3] = i2[e3];
|
|
130
|
+
return null != t2 && (o2._value = t2), e2 && (o2.pageContext = e2), n2 && (o2.configureObj = n2), o2;
|
|
131
|
+
}
|
|
132
|
+
function F(e2, t2, i2) {
|
|
133
|
+
const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
|
|
134
|
+
let r2 = true;
|
|
135
|
+
(i2 == null ? void 0 : i2.skipValidate) && (r2 = false);
|
|
136
|
+
const c2 = z(e2, o2, "click");
|
|
137
|
+
if (c2) {
|
|
138
|
+
const e3 = function(e4, n2) {
|
|
139
|
+
return e4 && v.includes(n2.eventName);
|
|
140
|
+
}(c2.isStandard, c2.event);
|
|
141
|
+
e3 && (r2 = false);
|
|
142
|
+
}
|
|
143
|
+
u(e2, t2, r2).then((o3) => {
|
|
144
|
+
if (!o3) return void (e2.canClick = true);
|
|
145
|
+
const r3 = D(e2, t2, i2);
|
|
146
|
+
r3 ? n(r3) ? r3.then((n2) => {
|
|
147
|
+
n2 ? A(e2, t2, c2, i2) : e2.canClick = true;
|
|
148
|
+
}).catch((n2) => {
|
|
149
|
+
console.error(n2), e2.canClick = true;
|
|
150
|
+
}) : A(e2, t2, c2, i2) : e2.canClick = true;
|
|
151
|
+
}).catch((n2) => {
|
|
152
|
+
console.error(n2), e2.canClick = true;
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
function T(e2, n2, t2, i2, o2) {
|
|
156
|
+
const r2 = U(e2, n2, t2, o2);
|
|
157
|
+
A(n2, t2, z(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2), r2);
|
|
158
|
+
}
|
|
159
|
+
function U(e2, n2, t2, i2) {
|
|
160
|
+
const o2 = n2.code, r2 = n2.version, u2 = P(n2, t2);
|
|
161
|
+
if (u2) {
|
|
162
|
+
const e3 = c(n2, u2), t3 = e3 ? e3.getSelections() : null, l2 = e3 ? e3.getSelectionIds() : null;
|
|
163
|
+
i2 || (i2 = {}), i2.tableUuid = u2, i2.listCode = f(o2, r2, u2);
|
|
164
|
+
_(n2) && (i2.selections = t3, i2.id = l2 && l2.length > 0 ? l2[0] : null, i2.ids = l2);
|
|
165
|
+
const a2 = e3 ? e3.getTableConfigure() : null;
|
|
166
|
+
i2.tableConfigure = a2;
|
|
167
|
+
}
|
|
168
|
+
return R(n2, t2, e2, i2);
|
|
169
|
+
}
|
|
170
|
+
function D(e2, n2, t2) {
|
|
171
|
+
const i2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
|
|
172
|
+
let o2;
|
|
173
|
+
return i2 && (o2 = H(e2, n2, i2, null, t2)), void 0 === o2 || o2;
|
|
174
|
+
}
|
|
175
|
+
function L(e2, n2, t2) {
|
|
176
|
+
const i2 = e2.code + "_";
|
|
177
|
+
g.$emit(i2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
|
|
178
|
+
}
|
|
179
|
+
function _(e2, n2) {
|
|
180
|
+
return !(!e2.pageType || "list" !== e2.pageType);
|
|
181
|
+
}
|
|
182
|
+
function V(e2, t2, i2) {
|
|
183
|
+
const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = B(e2, o2, "afterClick");
|
|
184
|
+
if (r2) {
|
|
185
|
+
const o3 = H(e2, t2, r2, null, i2);
|
|
186
|
+
n(o3) ? o3.finally(() => {
|
|
187
|
+
e2.canClick = true;
|
|
188
|
+
}) : e2.canClick = true;
|
|
189
|
+
} else e2.canClick = true;
|
|
190
|
+
}
|
|
191
|
+
function q(e2, n2, t2, i2, o2, u2) {
|
|
192
|
+
i2 ? (e2.result = o2, e2.canClick = true) : r(e2, n2, o2, "", u2);
|
|
193
|
+
const c2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
|
|
194
|
+
c2 && H(e2, n2, c2, t2);
|
|
195
|
+
}
|
|
196
|
+
function A(e2, t2, i2, o2) {
|
|
197
|
+
let r2 = t2, u2 = t2.props.linkPage;
|
|
198
|
+
if (u2 && u2 instanceof Array) {
|
|
199
|
+
const n2 = function(e3) {
|
|
200
|
+
let n3 = e3 ? e3.row : null;
|
|
201
|
+
n3 || (n3 = e3 && e3.selections && e3.selections.length > 0 ? e3.selections[0] : null);
|
|
202
|
+
return n3;
|
|
203
|
+
}(o2), i3 = d(e2, t2, u2, n2);
|
|
204
|
+
let c2, l2 = false;
|
|
205
|
+
i3 && (l2 = i3.show, c2 = l2 ? i3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = m(t2), r2.props.linkPage = u2);
|
|
206
|
+
}
|
|
207
|
+
u2 && u2.jumpPageUrl ? (e2.canClick = true, L(e2, r2, o2)) : function(e3, t3, i3, o3) {
|
|
208
|
+
const r3 = i3, u3 = _(e3);
|
|
209
|
+
if (r3) {
|
|
210
|
+
const i4 = r3.func, c2 = r3.isStandard, l2 = r3.event, a2 = H(e3, t3, i4, o3);
|
|
211
|
+
if (function(e4, n2) {
|
|
212
|
+
return e4 && ("exportForm" === n2.eventName || "exportPDF" === n2.eventName || "import" === n2.eventName || "assign" === n2.eventName || "copyTask" === n2.eventName || "addSigner" === n2.eventName || "returnTaskTo" === n2.eventName || "removeSigner" === n2.eventName || "saveQueryCharts" === n2.eventName);
|
|
213
|
+
}(c2, l2)) return void (e3.canClick = true);
|
|
214
|
+
n(a2) ? a2.then((n2) => {
|
|
215
|
+
n2 ? q(e3, t3, o3, c2, n2, u3) : e3.canClick = true;
|
|
216
|
+
}).catch((n2) => {
|
|
217
|
+
console.error(n2), e3.canClick = true;
|
|
218
|
+
}) : q(e3, t3, o3, c2, a2, u3);
|
|
219
|
+
} else q(e3, t3, o3, false, null, u3);
|
|
220
|
+
}(e2, t2, i2, o2);
|
|
221
|
+
}
|
|
222
|
+
function I(e2, n2) {
|
|
223
|
+
const t2 = e2.customEvents;
|
|
224
|
+
if (t2 && n2) {
|
|
225
|
+
let e3 = "";
|
|
226
|
+
return e3 = "object" == typeof n2 ? n2.componentUuid + "_" + n2.name : n2, t2[e3];
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
function B(e2, n2, t2) {
|
|
230
|
+
if (n2 && t2) {
|
|
231
|
+
const o2 = n2.filter((e3) => e3.name === t2);
|
|
232
|
+
if (o2 && o2.length > 0) {
|
|
233
|
+
const n3 = o2[0];
|
|
234
|
+
return n3.isStandard ? i[n3.eventName] : I(e2, n3);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
function $(e2, n2) {
|
|
239
|
+
if (e2 && n2) {
|
|
240
|
+
const t2 = e2.filter((e3) => e3.name === n2);
|
|
241
|
+
if (t2 && t2.length > 0) {
|
|
242
|
+
return t2[0].eventName;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
function z(e2, n2, t2) {
|
|
247
|
+
if (n2 && t2) {
|
|
248
|
+
const o2 = n2.filter((e3) => e3.name === t2);
|
|
249
|
+
if (o2 && o2.length > 0) {
|
|
250
|
+
const n3 = o2[0];
|
|
251
|
+
return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func: I(e2, n3), isStandard: false, event: n3 };
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
function H(e2, n2, t2, i2, o2) {
|
|
256
|
+
if (t2) {
|
|
257
|
+
if (i2 || (i2 = { pageContext: e2, configureObj: n2 }), o2 && i2) for (const e3 in o2) i2[e3] = o2[e3];
|
|
258
|
+
return t2.apply(t2, [i2]);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
function Q(e2) {
|
|
262
|
+
const n2 = e2.pageContext, i2 = e2.configureObj, o2 = _(n2);
|
|
263
|
+
let r2 = [];
|
|
264
|
+
if (o2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
|
|
265
|
+
else {
|
|
266
|
+
const e3 = n2.entity.data;
|
|
267
|
+
r2.push(e3);
|
|
268
|
+
}
|
|
269
|
+
const u2 = i2.props.base.condition;
|
|
270
|
+
return new Promise((e3, i3) => {
|
|
271
|
+
if (null == u2 || "" === u2 || null == r2 || 0 === r2.length) e3({ canExecute: true });
|
|
272
|
+
else {
|
|
273
|
+
const i4 = n2.entity.context, o3 = t(n2), c2 = true, l2 = n2.tableName;
|
|
274
|
+
let f2, m2, g2 = true;
|
|
275
|
+
for (let e4 = 0; e4 < r2.length; e4++) {
|
|
276
|
+
const t2 = r2[e4];
|
|
277
|
+
for (let e5 = 0; e5 < u2.length; e5++) {
|
|
278
|
+
const r3 = u2[e5], a2 = r3.toolTips, p2 = r3.conditionList;
|
|
279
|
+
if (!s(p2, t2, o3, i4, c2, l2, null, n2)) {
|
|
280
|
+
g2 = false, f2 = a2, m2 = t2;
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
g2 ? e3({ canExecute: true }) : (f2 && a({ showClose: true, type: "warning", message: f2 }), e3({ canExecute: false, message: f2, failEntity: m2 }));
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
function W(e2, n2, t2, i2) {
|
|
290
|
+
var o2;
|
|
291
|
+
n2 && (G("loadBeforeSend", w(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "beforeListLoad", o2), e2), G("beforeRequest", function(e3) {
|
|
292
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
|
|
293
|
+
}({ pageContext: t2, configureObj: i2 }), e2), G("gridDataLoaded", function(e3) {
|
|
294
|
+
return w(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
|
|
295
|
+
}({ pageContext: t2, configureObj: i2 }), e2), G("gridComplete", function(e3) {
|
|
296
|
+
return w(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
|
|
297
|
+
}({ pageContext: t2, configureObj: i2 }), e2), G("resizeHeight", function(e3) {
|
|
298
|
+
return w(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
|
|
299
|
+
}({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), G("beforeInsertRow", function(e3) {
|
|
300
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
|
|
301
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("afterInsertRow", function(e3) {
|
|
302
|
+
return w(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
|
|
303
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeDelete", function(e3) {
|
|
304
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
|
|
305
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("afterDelete", function(e3) {
|
|
306
|
+
return w(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
|
|
307
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeEdit", function(e3) {
|
|
308
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
|
|
309
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeRestore", function(e3) {
|
|
310
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
|
|
311
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeRestoreValidate", function(e3) {
|
|
312
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
|
|
313
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), function(e3, n3, t3) {
|
|
314
|
+
n3 && (t3[e3] = n3);
|
|
315
|
+
}("filterDataEvent", w(null, t2, i2, "filter-data", { pageContext: t2, configureObj: i2 }), e2));
|
|
316
|
+
}
|
|
317
|
+
function G(e2, n2, t2) {
|
|
318
|
+
n2 && (t2[e2] = n2);
|
|
319
|
+
}
|
|
320
|
+
function J(e2, n2, t2) {
|
|
321
|
+
return h(null, e2, n2, "select", t2);
|
|
322
|
+
}
|
|
323
|
+
function K(e2, n2, t2) {
|
|
324
|
+
return h(null, e2, n2, "select-all", t2);
|
|
325
|
+
}
|
|
326
|
+
function M(e2, n2, t2) {
|
|
327
|
+
return h(null, e2, n2, "selection-change", t2);
|
|
328
|
+
}
|
|
329
|
+
function X(e2, n2, t2) {
|
|
330
|
+
return h(null, e2, n2, "cell-click", t2);
|
|
331
|
+
}
|
|
332
|
+
function Y(e2, n2, t2) {
|
|
333
|
+
return h(null, e2, n2, "cell-dblclick", t2);
|
|
334
|
+
}
|
|
335
|
+
function Z(e2, n2, t2) {
|
|
336
|
+
return h(null, e2, n2, "row-click", t2);
|
|
337
|
+
}
|
|
338
|
+
function ee(e2, n2, t2) {
|
|
339
|
+
return h(null, e2, n2, "row-dblclick", t2);
|
|
340
|
+
}
|
|
341
|
+
function ne(e2, n2, t2) {
|
|
342
|
+
return h(null, e2, n2, "header-click", t2);
|
|
343
|
+
}
|
|
344
|
+
function te(e2) {
|
|
345
|
+
return w(null, e2.pageContext, e2.configureObj, "before-upload", e2);
|
|
346
|
+
}
|
|
347
|
+
function ie(n2) {
|
|
348
|
+
let t2 = true;
|
|
349
|
+
if (!e()) {
|
|
350
|
+
const e2 = n2 && n2.events ? n2.events : [];
|
|
351
|
+
if (e2) {
|
|
352
|
+
const n3 = e2.filter((e3) => "click" === e3.name && e3.isStandard && e3.eventName && "showSearch" === e3.eventName);
|
|
353
|
+
n3 && n3.length > 0 && (t2 = false);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return t2;
|
|
357
|
+
}
|
|
358
|
+
function oe(e2, n2, t2, i2, o2) {
|
|
359
|
+
return H(e2, n2, B(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
|
|
360
|
+
}
|
|
361
|
+
function re(n2, t2) {
|
|
362
|
+
let i2 = true;
|
|
363
|
+
if (e()) {
|
|
364
|
+
const e2 = z(n2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], "click");
|
|
365
|
+
if (e2) {
|
|
366
|
+
const n3 = e2.isStandard, t3 = e2.event, o2 = navigator ? navigator.userAgent : null;
|
|
367
|
+
n3 && o2 && (o2.indexOf(" uni-app ") > 0 ? (b.includes(t3.eventName) || C.includes(t3.eventName)) && (i2 = false) : C.includes(t3.eventName) && (i2 = false));
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
return i2;
|
|
371
|
+
}
|
|
372
|
+
export {
|
|
373
|
+
j as appendDefaultMethods,
|
|
374
|
+
Q as canExecuteButton,
|
|
375
|
+
X as cellClick,
|
|
376
|
+
Y as cellDblClick,
|
|
377
|
+
V as doAfterClickEvent,
|
|
378
|
+
D as doBeforeClickEvent,
|
|
379
|
+
L as doClickJumpPageEvent,
|
|
380
|
+
T as doSuffixOrPrefixClickEvent,
|
|
381
|
+
te as fileUploadBeforeUpload,
|
|
382
|
+
z as getClickEventFuncByType,
|
|
383
|
+
k as getCustomFunc,
|
|
384
|
+
B as getEventFuncByType,
|
|
385
|
+
$ as getEventNameByType,
|
|
386
|
+
w as getHandleEvent,
|
|
387
|
+
P as getTableUuid,
|
|
388
|
+
K as gridSelectAllRecords,
|
|
389
|
+
J as gridSelectRecord,
|
|
390
|
+
M as gridSelectionChange,
|
|
391
|
+
y as handleAfterInitEvent,
|
|
392
|
+
oe as handleChartEvent,
|
|
393
|
+
h as handleEvent,
|
|
394
|
+
E as handleFormEvent,
|
|
395
|
+
ne as headerClick,
|
|
396
|
+
x as initPageEvents,
|
|
397
|
+
ie as isShowComponent,
|
|
398
|
+
re as isShowMobileEvent,
|
|
399
|
+
O as removeCustomFuncFromWindow,
|
|
400
|
+
Z as rowClick,
|
|
401
|
+
ee as rowDblClick,
|
|
402
|
+
W as setTableEvents
|
|
403
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import e from "agilebuilder-ui/src/utils/request";
|
|
2
|
+
import { hiprint as t, disAutoConnect as n } from "vue-plugin-hiprint";
|
|
3
|
+
import { generateCodeByRule as o } from "../barcode-util.js";
|
|
4
|
+
function a(n2, a2) {
|
|
5
|
+
e.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/print-models/by-codes", [a2]).then((e2) => {
|
|
6
|
+
const a3 = JSON.parse(e2[0].template), r2 = [];
|
|
7
|
+
a3.panels.forEach((e3) => {
|
|
8
|
+
e3.printElements.forEach((e4) => {
|
|
9
|
+
"barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || r2.push(e4.options);
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
const i = new t.PrintTemplate({ template: a3 }), l = { callback: () => {
|
|
13
|
+
}, styleHandler: () => "" }, c = { leftOffset: -1, topOffset: -1 }, f = {};
|
|
14
|
+
a3.panels[0].printElements.forEach((e3) => {
|
|
15
|
+
if ("datetime" === e3.options.dataType && e3.options.field) {
|
|
16
|
+
const t2 = e3.options.field.substring(6);
|
|
17
|
+
f[t2] = e3.options.dateFormat;
|
|
18
|
+
}
|
|
19
|
+
}), n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4, s2, r3) {
|
|
20
|
+
const i2 = JSON.parse(JSON.stringify(e3.selections));
|
|
21
|
+
if (i2.forEach((e4) => {
|
|
22
|
+
Object.keys(t2).forEach((t3) => {
|
|
23
|
+
if (e4[t3] && "number" == typeof e4[t3] && !isNaN(e4[t3])) try {
|
|
24
|
+
e4[t3] = new Date(e4[t3]);
|
|
25
|
+
} catch (e5) {
|
|
26
|
+
console.error(`日期格式化失败: ${e5}`);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}), n3.length > 0) {
|
|
30
|
+
const e4 = [];
|
|
31
|
+
n3.forEach((t3) => {
|
|
32
|
+
e4.push(function(e5, t4) {
|
|
33
|
+
return new Promise((n4, a5) => {
|
|
34
|
+
const s3 = e5.field.split("."), r4 = [];
|
|
35
|
+
s3.length < 2 && n4([]);
|
|
36
|
+
try {
|
|
37
|
+
p(s3[1]).then((e6) => {
|
|
38
|
+
t4.forEach((t5, n5) => {
|
|
39
|
+
const a6 = { type: s3[0], name: s3[1], value: null, index: n5 };
|
|
40
|
+
a6.value = o(JSON.parse(e6.barcodeModelItems), t5), r4.push(a6);
|
|
41
|
+
}), n4(r4);
|
|
42
|
+
});
|
|
43
|
+
} catch (e6) {
|
|
44
|
+
console.error("获取条码规则失败:", e6), n4([]);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}(t3, i2));
|
|
48
|
+
}), Promise.all(e4).then((e5) => {
|
|
49
|
+
e5.forEach((e6) => {
|
|
50
|
+
e6.forEach((e7) => {
|
|
51
|
+
const t3 = e7.index, n4 = i2[t3];
|
|
52
|
+
n4[e7.type] || (n4[e7.type] = {}), n4[e7.type][e7.name] = e7.value;
|
|
53
|
+
});
|
|
54
|
+
}), a4.print(i2, s2, r3);
|
|
55
|
+
});
|
|
56
|
+
} else a4.print(i2, s2, r3);
|
|
57
|
+
}(n2, f, r2, i, c, l) : "form" === n2.pageContext.pageType && s(n2, r2, i, c, l) : s(n2, r2, i, c, l);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function s(e2, t2, n2, a2, s2) {
|
|
61
|
+
if (t2.length > 0) {
|
|
62
|
+
const r2 = [];
|
|
63
|
+
t2.forEach((t3) => {
|
|
64
|
+
r2.push(function(e3, t4) {
|
|
65
|
+
return new Promise((n3, a3) => {
|
|
66
|
+
const s3 = t4.field.split("."), r3 = { type: null, name: null, value: null };
|
|
67
|
+
s3.length < 2 && n3(r3), r3.type = s3[0], r3.name = s3[1];
|
|
68
|
+
try {
|
|
69
|
+
p(r3.name).then((t5) => {
|
|
70
|
+
const a4 = JSON.parse(t5.barcodeModelItems);
|
|
71
|
+
r3.value = o(a4, e3.entity.data), n3(r3);
|
|
72
|
+
});
|
|
73
|
+
} catch (e4) {
|
|
74
|
+
console.error("获取条码规则失败:", e4), n3(r3);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}(e2.pageContext, t3));
|
|
78
|
+
}), Promise.all(r2).then((t3) => {
|
|
79
|
+
const o2 = {};
|
|
80
|
+
t3.forEach((e3) => {
|
|
81
|
+
e3.type && e3.name && e3.value && (o2[e3.type] || (o2[e3.type] = {}), o2[e3.type][e3.name] = e3.value);
|
|
82
|
+
});
|
|
83
|
+
const p2 = { table: {} };
|
|
84
|
+
Object.assign(p2, e2.pageContext.entity, o2), p2.table = e2.pageContext.entity.data, n2.print(p2, a2, s2);
|
|
85
|
+
});
|
|
86
|
+
} else {
|
|
87
|
+
const t3 = { table: {} };
|
|
88
|
+
Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, n2.print(t3, a2, s2);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function p(t2) {
|
|
92
|
+
const n2 = encodeURIComponent(t2);
|
|
93
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + `/dc/setting-barcode-models/by-name?name=${n2}`);
|
|
94
|
+
}
|
|
95
|
+
n();
|
|
96
|
+
const r = { printLabel: a };
|
|
97
|
+
export {
|
|
98
|
+
r as default,
|
|
99
|
+
a as printLabel
|
|
100
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { PageContext } from '../interfaces/page-design-types';
|
|
2
|
+
|
|
1
3
|
export declare const standardEvents: {
|
|
2
4
|
save: (params: any) => Promise<unknown>;
|
|
3
5
|
saveList: (params: any) => Promise<unknown>;
|
|
@@ -15,7 +17,9 @@ export declare const standardEvents: {
|
|
|
15
17
|
import: (params: any) => void;
|
|
16
18
|
export: (params: any) => Promise<unknown>;
|
|
17
19
|
search: (params: any) => void;
|
|
20
|
+
showSearch: (params: any) => void;
|
|
18
21
|
workflowSave: (params: any) => Promise<unknown>;
|
|
22
|
+
workflowStart: (params: any) => Promise<unknown>;
|
|
19
23
|
submitProcess: (params: any) => Promise<unknown>;
|
|
20
24
|
submitTask: (params: any) => Promise<unknown>;
|
|
21
25
|
approve: (params: any) => Promise<unknown>;
|
|
@@ -36,9 +40,15 @@ export declare const standardEvents: {
|
|
|
36
40
|
retrieveTask: (params: any) => Promise<unknown>;
|
|
37
41
|
viewDetail: (params: any) => void;
|
|
38
42
|
lineEditCreate: (params: any) => void;
|
|
43
|
+
printLabel: (params: any) => void;
|
|
44
|
+
queryCharts: (params: any) => void;
|
|
45
|
+
resetCharts: (params: any) => void;
|
|
46
|
+
exportCharts: (params: any) => void;
|
|
47
|
+
saveQueryCharts: (params: any) => void;
|
|
39
48
|
};
|
|
40
49
|
export declare function exportFormReport(pageContext: any, configureObj: any, templateFile: any, isPdf: any): void;
|
|
41
|
-
export declare function
|
|
50
|
+
export declare function getSaveFormRequestWithRow(pageContext: PageContext, configureObj: any, url: string, isUnControlVersion: boolean, mainDefaultValueColumns: any, dynamicColumnInfo: any, row: any, otherParams: any): any;
|
|
51
|
+
export declare function getSaveFormRequest(pageContext: PageContext, configureObj: any, url: any, isUnControlVersion: any, mainDefaultValueColumns: any, dynamicColumnInfo: any): any;
|
|
42
52
|
/**
|
|
43
53
|
* 按钮执行后页面处理方式:刷新、关闭弹框等等
|
|
44
54
|
* @param pageContext
|
|
@@ -48,14 +58,30 @@ export declare function getSaveFormRequest(pageContext: any, configureObj: any,
|
|
|
48
58
|
* @param isListButton
|
|
49
59
|
*/
|
|
50
60
|
export declare function dealAfterOperate(pageContext: any, configureObj: any, data: any, successTip: any, isListButton?: boolean): void;
|
|
61
|
+
export declare function updateValuesWhenCloseDialog(parentPageContext: any, parentConfigureObj: any, sourceModel: any, sourceTableName: any, valueMappings?: any): void;
|
|
62
|
+
export declare function refreshFormOrListPage(pageContext: any, configureObj: any, isRefreshWhenClosePopup: any, mySuccessOperation: any): void;
|
|
51
63
|
export declare function doImportFinally(params: any, fileObj: any): void;
|
|
52
64
|
export declare function judgeDataNumber(buttonConfigureObj: any, ids: any): boolean;
|
|
53
65
|
export declare function dealCompleteTaskParam(commonEntity: any, isInit: any, pageContext: any, params?: any, operationResult?: any): boolean;
|
|
54
66
|
export declare function doAssign(params: any, selectNodeInfo: any): void;
|
|
67
|
+
export declare function getAdditionalParamMap(pageContext: any): any;
|
|
55
68
|
export declare function doAddSigner(params: any, selectNodeInfo: any): void;
|
|
56
|
-
export declare function doCreateCopyTask(params: any, selectNodeInfo: any): void
|
|
69
|
+
export declare function doCreateCopyTask(params: any, selectNodeInfo: any): Promise<void>;
|
|
57
70
|
export declare function getTaskInformitions(params: any): any;
|
|
58
71
|
export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
|
|
59
72
|
export declare function getRemoveSigner(params: any): any;
|
|
60
73
|
export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
|
|
61
|
-
export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any): boolean;
|
|
74
|
+
export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any, btnConfigure: any, data: any): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* 刷新页面
|
|
77
|
+
* @param pageContext
|
|
78
|
+
*/
|
|
79
|
+
export declare function refreshPage(pageContext: PageContext, id?: any): void;
|
|
80
|
+
/**
|
|
81
|
+
* 获得表单数据
|
|
82
|
+
* @param pageContext
|
|
83
|
+
*/
|
|
84
|
+
export declare function getFormData(pageContext: PageContext, id?: any, isNeedId?: boolean): Promise<unknown>;
|
|
85
|
+
export declare function saveChartConditionBase(pageContext: any, conditionName: string): any;
|
|
86
|
+
export declare function listChartConditions(pageContext: any): any;
|
|
87
|
+
export declare function deleteChartCondition(conditionId: any): any;
|