super-page-runtime 1.0.16 → 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 -67
- package/.eslintrc.cjs +0 -26
- package/.prettierrc.json +0 -8
- package/App.vue +0 -9
- package/components/index.ts +0 -17
- package/components/runtime/index.ts +0 -2
- package/components/runtime/utils/assemblys-config.js +0 -294
- package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
- package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
- package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
- package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
- package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
- package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
- package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
- package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
- package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
- package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
- package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
- package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
- package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
- package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
- package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
- package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
- package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
- package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
- package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
- package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
- package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
- package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
- package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
- package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
- package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
- package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
- package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
- package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
- package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
- package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
- package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
- package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
- package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
- package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
- package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
- package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
- package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
- package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
- package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
- package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
- package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
- package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
- package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
- package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
- package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
- package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
- package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
- package/components/runtime/views/assemblys/error-attr.vue +0 -15
- package/components/runtime/views/assemblys/error-render.vue +0 -17
- package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
- package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
- package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
- package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
- package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
- package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
- package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
- package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
- package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
- package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
- package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
- package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
- package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
- package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
- package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
- package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
- package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
- package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
- package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
- package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
- package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
- package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
- package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
- package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
- package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
- package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
- package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
- package/components/runtime/views/assemblys/form/common/title.vue +0 -20
- package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
- package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
- package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
- package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
- package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
- package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
- package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
- package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
- package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
- package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
- package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
- package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
- package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
- package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
- package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
- package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
- package/components/runtime/views/assemblys/object-render.vue +0 -176
- package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
- package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
- package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
- package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
- package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
- package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
- package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
- package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
- package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
- package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
- package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
- package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
- package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
- package/components/runtime/views/render/page-view.vue +0 -80
- package/components/runtime/views/super-page copy.vue +0 -61
- package/components/runtime/views/super-page.vue +0 -667
- package/components/super-page-dialog/index.ts +0 -2
- package/components/super-page-dialog/super-page-dialog.vue +0 -267
- package/components/wf-editor/index.ts +0 -2
- package/components/wf-editor/wf-editor.vue +0 -15
- package/cypress/e2e/example.cy.ts +0 -8
- package/cypress/e2e/tsconfig.json +0 -10
- package/cypress/fixtures/example.json +0 -5
- package/cypress/support/commands.ts +0 -39
- package/cypress/support/e2e.ts +0 -20
- package/cypress.config.ts +0 -8
- package/env.d.ts +0 -1
- package/index.html +0 -13
- 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/main.ts +0 -11
- package/package-ws.json +0 -70
- package/public/favicon.ico +0 -0
- 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/tsconfig copy.json +0 -17
- package/tsconfig.app copy.json +0 -14
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -17
- package/tsconfig.node copy.json +0 -19
- package/tsconfig.node.json +0 -19
- package/tsconfig.vitest copy.json +0 -11
- package/tsconfig.vitest.json +0 -11
- package/vite.config copy.ts +0 -109
- package/vite.config.ts +0 -86
- package/vitest.config.ts +0 -14
- /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
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const commonUtil = require("agilebuilder-ui/src/utils/common-util");
|
|
4
|
-
const util = require("agilebuilder-ui/src/utils/util");
|
|
5
|
-
function isArrayFn(value) {
|
|
6
|
-
if (typeof Array.isArray === "function") {
|
|
7
|
-
return Array.isArray(value);
|
|
8
|
-
} else {
|
|
9
|
-
return Object.prototype.toString.call(value) === "[object Array]";
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function getBaseUrl(system) {
|
|
13
|
-
let baseUrl = window["$vueApp"].config.globalProperties.baseURL;
|
|
14
|
-
if (system) {
|
|
15
|
-
baseUrl = commonUtil.getSystemBackendUrl(system.backendUrl);
|
|
16
|
-
}
|
|
17
|
-
return baseUrl;
|
|
18
|
-
}
|
|
19
|
-
function getRealRestApiPath(orgRestApiPath, system) {
|
|
20
|
-
let path = orgRestApiPath;
|
|
21
|
-
if (orgRestApiPath) {
|
|
22
|
-
if (system && !isFullPath(orgRestApiPath)) {
|
|
23
|
-
const baseUrl = getBaseUrl(system);
|
|
24
|
-
if (system.standard === false) {
|
|
25
|
-
path = baseUrl + "/" + system.code + orgRestApiPath;
|
|
26
|
-
} else {
|
|
27
|
-
path = baseUrl + orgRestApiPath;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return path;
|
|
32
|
-
}
|
|
33
|
-
function isFullPath(path) {
|
|
34
|
-
return path.indexOf("http:") === 0 || path.indexOf("https:") === 0;
|
|
35
|
-
}
|
|
36
|
-
function packageTemplateFiles(templateFiles) {
|
|
37
|
-
if (!templateFiles) {
|
|
38
|
-
return templateFiles;
|
|
39
|
-
}
|
|
40
|
-
const currentLocale = util.getLanguageWithLocale();
|
|
41
|
-
if (Array.isArray(templateFiles)) {
|
|
42
|
-
let templateFilesResult = [];
|
|
43
|
-
let fileCodes = [];
|
|
44
|
-
const fileSeperate = "~-~-";
|
|
45
|
-
templateFiles.forEach((template) => {
|
|
46
|
-
let showName = template.templateShowPath;
|
|
47
|
-
if (showName.indexOf(fileSeperate) > 0) {
|
|
48
|
-
const fileCode = showName.substring(0, showName.indexOf(fileSeperate));
|
|
49
|
-
const fileLanguage = showName.substring(
|
|
50
|
-
showName.indexOf(fileSeperate) + fileSeperate.length,
|
|
51
|
-
showName.lastIndexOf(fileSeperate)
|
|
52
|
-
);
|
|
53
|
-
const fileName = showName.substring(
|
|
54
|
-
showName.lastIndexOf(fileSeperate) + fileSeperate.length
|
|
55
|
-
);
|
|
56
|
-
if (currentLocale === fileLanguage && fileCodes.indexOf(fileCode) < 0) {
|
|
57
|
-
templateFilesResult.push({
|
|
58
|
-
templateUUID: template.templateUUID,
|
|
59
|
-
templateShowPath: fileName
|
|
60
|
-
});
|
|
61
|
-
fileCodes.push(fileCode);
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
templateFilesResult.push(template);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
return templateFilesResult;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function upperFirstCase(str) {
|
|
71
|
-
return str.toLowerCase().replace(/( |^)[a-z]/g, (L) => L.toUpperCase());
|
|
72
|
-
}
|
|
73
|
-
function getListCode(pageCode, pageVersion, tableUuid) {
|
|
74
|
-
return pageCode + ":V" + pageVersion + ":" + tableUuid;
|
|
75
|
-
}
|
|
76
|
-
exports.getBaseUrl = getBaseUrl;
|
|
77
|
-
exports.getListCode = getListCode;
|
|
78
|
-
exports.getRealRestApiPath = getRealRestApiPath;
|
|
79
|
-
exports.isArrayFn = isArrayFn;
|
|
80
|
-
exports.packageTemplateFiles = packageTemplateFiles;
|
|
81
|
-
exports.upperFirstCase = upperFirstCase;
|
|
@@ -1,525 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const commonUtil$1 = require("agilebuilder-ui/src/utils/common-util");
|
|
4
|
-
const standardEvent = require("./standard-event.js");
|
|
5
|
-
const validatorUtil = require("./validator-util.js");
|
|
6
|
-
const globalRefs = require("../global-refs.js");
|
|
7
|
-
const elementPlus = require("element-plus");
|
|
8
|
-
const util = require("agilebuilder-ui/src/utils/util");
|
|
9
|
-
const commonUtil = require("../common-util.js");
|
|
10
|
-
function initPageEvents(pageDesign, pageContext) {
|
|
11
|
-
if (pageDesign && pageDesign.customEvents) {
|
|
12
|
-
pageContext.customEvents = transferToFunction(pageDesign.customEvents);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function removeCustomFuncFromWindow(pageDesign) {
|
|
16
|
-
if (pageDesign && pageDesign.customEvents) {
|
|
17
|
-
const customEvents = pageDesign.customEvents;
|
|
18
|
-
const customFuncs = customEvents.filter((item) => item.name === "customFunc" && item.jsContent);
|
|
19
|
-
if (customFuncs && customFuncs.length > 0) {
|
|
20
|
-
customFuncs.forEach((event) => {
|
|
21
|
-
delete window["$page_" + event.eventName];
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function handleEvent($event, pageContext, configure, eventType, otherParams) {
|
|
27
|
-
return handleEventUtil($event, pageContext, configure, eventType, true, otherParams);
|
|
28
|
-
}
|
|
29
|
-
function getHandleEvent($event, pageContext, configure, eventType, otherParams) {
|
|
30
|
-
return handleEventUtil($event, pageContext, configure, eventType, false, otherParams);
|
|
31
|
-
}
|
|
32
|
-
function handleEventUtil($event, pageContext, configure, eventType, isExecute, otherParams) {
|
|
33
|
-
const pageCode = pageContext.code;
|
|
34
|
-
const pageVersion = pageContext.version;
|
|
35
|
-
const events = configure.events;
|
|
36
|
-
const componentType = configure.name;
|
|
37
|
-
let eventFun;
|
|
38
|
-
if (eventType && eventType === "click" && componentType === "button-detail") {
|
|
39
|
-
const tableUuid = configure.props.base.tableUuid ? configure.props.base.tableUuid : pageContext.tableUuids && pageContext.tableUuids.length > 0 ? pageContext.tableUuids[0] : null;
|
|
40
|
-
if (tableUuid) {
|
|
41
|
-
const gridRef = globalRefs.getComponentRef(pageContext, tableUuid);
|
|
42
|
-
const selections = gridRef.getSelections();
|
|
43
|
-
const selectionIds = gridRef.getSelectionIds();
|
|
44
|
-
if (!otherParams) {
|
|
45
|
-
otherParams = {};
|
|
46
|
-
}
|
|
47
|
-
otherParams["tableUuid"] = tableUuid;
|
|
48
|
-
otherParams["listCode"] = commonUtil.getListCode(pageCode, pageVersion, tableUuid);
|
|
49
|
-
const isListButton = isListPage(pageContext);
|
|
50
|
-
if (isListButton) {
|
|
51
|
-
otherParams["selections"] = selections;
|
|
52
|
-
otherParams["ids"] = selectionIds;
|
|
53
|
-
}
|
|
54
|
-
const tableConfigure = gridRef.getTableConfigure();
|
|
55
|
-
otherParams["tableConfigure"] = tableConfigure;
|
|
56
|
-
}
|
|
57
|
-
const eventParams = packageEventParams(pageContext, configure, $event, otherParams);
|
|
58
|
-
buttonClickEvent(pageContext, configure, eventParams);
|
|
59
|
-
} else {
|
|
60
|
-
eventFun = getEventFuncByType(pageContext, events, eventType);
|
|
61
|
-
if (isExecute) {
|
|
62
|
-
const eventParams = packageEventParams(pageContext, configure, $event, otherParams);
|
|
63
|
-
return callItemEvent(pageContext, configure, eventFun, eventParams);
|
|
64
|
-
} else {
|
|
65
|
-
return eventFun;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function packageEventParams(pageContext, configureObj, $event, otherParams) {
|
|
70
|
-
const params = {};
|
|
71
|
-
if (otherParams) {
|
|
72
|
-
for (const key in otherParams) {
|
|
73
|
-
params[key] = otherParams[key];
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
if ($event !== void 0 && $event !== null) {
|
|
77
|
-
params["_value"] = $event;
|
|
78
|
-
}
|
|
79
|
-
params["pageContext"] = pageContext;
|
|
80
|
-
params["configureObj"] = configureObj;
|
|
81
|
-
return params;
|
|
82
|
-
}
|
|
83
|
-
function buttonClickEvent(pageContext, configure, eventParams) {
|
|
84
|
-
const judgeFlag = standardEvent.judgeDataNumber(configure, eventParams["ids"]);
|
|
85
|
-
if (!judgeFlag) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
canExecuteButton(eventParams).then((result) => {
|
|
89
|
-
if (result["canExecute"] === true) {
|
|
90
|
-
const events = configure.events;
|
|
91
|
-
const beforeValidateFormFunc = getEventFuncByType(pageContext, events, "beforeValidateForm");
|
|
92
|
-
let beforeValidateFormResult;
|
|
93
|
-
if (beforeValidateFormFunc) {
|
|
94
|
-
beforeValidateFormResult = callItemEvent(
|
|
95
|
-
pageContext,
|
|
96
|
-
configure,
|
|
97
|
-
beforeValidateFormFunc,
|
|
98
|
-
eventParams
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
if (beforeValidateFormResult === void 0) {
|
|
102
|
-
beforeValidateFormResult = true;
|
|
103
|
-
}
|
|
104
|
-
if (!beforeValidateFormResult) {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
if (commonUtil$1.isPromise(beforeValidateFormResult)) {
|
|
108
|
-
beforeValidateFormResult.then((result2) => {
|
|
109
|
-
if (result2 && result2 === true) {
|
|
110
|
-
doValidateForm(pageContext, configure, eventParams);
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
} else {
|
|
114
|
-
doValidateForm(pageContext, configure, eventParams);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function doValidateForm(pageContext, configure, eventParams) {
|
|
120
|
-
const events = configure.events;
|
|
121
|
-
let isEnableRequired;
|
|
122
|
-
const clickEventFunObj = getClickEventFuncByType(pageContext, events, "click");
|
|
123
|
-
if (clickEventFunObj) {
|
|
124
|
-
const isStandardEvent = clickEventFunObj.isStandard;
|
|
125
|
-
const event = clickEventFunObj.event;
|
|
126
|
-
const isNotNeedValidate = isNotNeedValidateRequired(isStandardEvent, event);
|
|
127
|
-
if (isNotNeedValidate) {
|
|
128
|
-
isEnableRequired = false;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
validatorUtil.validateDataModelFunc(pageContext, configure, isEnableRequired).then(() => {
|
|
132
|
-
const beforeClickResult = doBeforeClickEvent(pageContext, configure, eventParams);
|
|
133
|
-
if (!beforeClickResult) {
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
if (commonUtil$1.isPromise(beforeClickResult)) {
|
|
137
|
-
beforeClickResult.then((result) => {
|
|
138
|
-
if (result) {
|
|
139
|
-
doClickEvent(pageContext, configure, clickEventFunObj, eventParams);
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
} else {
|
|
143
|
-
doClickEvent(pageContext, configure, clickEventFunObj, eventParams);
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function doBeforeClickEvent(pageContext, configure, otherParams) {
|
|
148
|
-
let result = true;
|
|
149
|
-
const events = configure.events;
|
|
150
|
-
const beforeClickFunc = getEventFuncByType(pageContext, events, "beforeClick");
|
|
151
|
-
let beforeClickResult;
|
|
152
|
-
if (beforeClickFunc) {
|
|
153
|
-
beforeClickResult = callItemEvent(pageContext, configure, beforeClickFunc, null, otherParams);
|
|
154
|
-
}
|
|
155
|
-
if (beforeClickResult === void 0) {
|
|
156
|
-
result = true;
|
|
157
|
-
}
|
|
158
|
-
return result;
|
|
159
|
-
}
|
|
160
|
-
function doClickJumpPageEvent(pageContext, configure, eventParams) {
|
|
161
|
-
const myPageCode = pageContext.code;
|
|
162
|
-
const eventPageInfo = myPageCode + "_";
|
|
163
|
-
window["$eventBus"].$emit(eventPageInfo + "open-dialog", {
|
|
164
|
-
pageContext,
|
|
165
|
-
configureObj: configure,
|
|
166
|
-
eventParams
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
function isListPage(pageContext, configure) {
|
|
170
|
-
return pageContext.pageType && pageContext.pageType === "list" ? true : false;
|
|
171
|
-
}
|
|
172
|
-
function doClickCustomEvent(pageContext, configure, clickEventFuncObj, eventParams) {
|
|
173
|
-
const eventFunObj = clickEventFuncObj;
|
|
174
|
-
if (eventFunObj) {
|
|
175
|
-
const eventFun = eventFunObj["func"];
|
|
176
|
-
const isStandardEvent = eventFunObj["isStandard"];
|
|
177
|
-
const event = eventFunObj["event"];
|
|
178
|
-
const clickResult = callItemEvent(pageContext, configure, eventFun, eventParams);
|
|
179
|
-
const isListButton = isListPage(pageContext);
|
|
180
|
-
if (isNotDoAfterClick(isStandardEvent, event)) {
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
if (commonUtil$1.isPromise(clickResult)) {
|
|
184
|
-
clickResult.then((result) => {
|
|
185
|
-
if (result) {
|
|
186
|
-
doAfterClickFunc(
|
|
187
|
-
pageContext,
|
|
188
|
-
configure,
|
|
189
|
-
eventParams,
|
|
190
|
-
isStandardEvent,
|
|
191
|
-
result,
|
|
192
|
-
isListButton
|
|
193
|
-
);
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
} else {
|
|
197
|
-
doAfterClickFunc(
|
|
198
|
-
pageContext,
|
|
199
|
-
configure,
|
|
200
|
-
eventParams,
|
|
201
|
-
isStandardEvent,
|
|
202
|
-
clickResult,
|
|
203
|
-
isListButton
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
function isNotDoAfterClick(isStandardEvent, clickEvent) {
|
|
209
|
-
return isStandardEvent && (clickEvent.eventName === "exportForm" || clickEvent.eventName === "exportPDF" || clickEvent.eventName === "import" || clickEvent.eventName === "assign" || clickEvent.eventName === "copyTask" || clickEvent.eventName === "addSigner" || clickEvent.eventName === "returnTaskTo" || clickEvent.eventName === "removeSigner");
|
|
210
|
-
}
|
|
211
|
-
function isNotNeedValidateRequired(isStandardEvent, clickEvent) {
|
|
212
|
-
return isStandardEvent && (clickEvent.eventName === "downloadTemplate" || clickEvent.eventName === "back" || clickEvent.eventName === "exportForm" || clickEvent.eventName === "exportPDF" || clickEvent.eventName === "lineEditCreate");
|
|
213
|
-
}
|
|
214
|
-
function doAfterClickEvent(pageContext, configure, otherParams) {
|
|
215
|
-
const events = configure.events;
|
|
216
|
-
const afterClickFunc = getEventFuncByType(pageContext, events, "afterClick");
|
|
217
|
-
if (afterClickFunc) {
|
|
218
|
-
callItemEvent(pageContext, configure, afterClickFunc, null, otherParams);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
function doAfterClickFunc(pageContext, configure, eventParams, isStandardEvent, result, isListButton) {
|
|
222
|
-
if (!isStandardEvent) {
|
|
223
|
-
standardEvent.dealAfterOperate(
|
|
224
|
-
pageContext,
|
|
225
|
-
configure,
|
|
226
|
-
result,
|
|
227
|
-
"superPageRuntimeMessage.successfulOperation",
|
|
228
|
-
isListButton
|
|
229
|
-
);
|
|
230
|
-
} else {
|
|
231
|
-
pageContext.result = result;
|
|
232
|
-
}
|
|
233
|
-
const events = configure.events;
|
|
234
|
-
const afterClickFunc = getEventFuncByType(pageContext, events, "afterClick");
|
|
235
|
-
if (afterClickFunc) {
|
|
236
|
-
callItemEvent(pageContext, configure, afterClickFunc, eventParams);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
function doClickEvent(pageContext, configure, clickEventFunObj, eventParams) {
|
|
240
|
-
const linkPage = configure.props.linkPage;
|
|
241
|
-
if (linkPage && linkPage.jumpPageUrl) {
|
|
242
|
-
doClickJumpPageEvent(pageContext, configure, eventParams);
|
|
243
|
-
} else {
|
|
244
|
-
doClickCustomEvent(pageContext, configure, clickEventFunObj, eventParams);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
function getEventByEventName(pageContext, eventName) {
|
|
248
|
-
const eventsObj = pageContext.customEvents;
|
|
249
|
-
if (eventsObj && eventsObj[eventName]) {
|
|
250
|
-
return eventsObj[eventName];
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
function getEventFuncByType(pageContext, events, eventType) {
|
|
254
|
-
if (events && eventType) {
|
|
255
|
-
const eventArr = events.filter((item) => item.name === eventType && item.eventName);
|
|
256
|
-
if (eventArr && eventArr.length > 0) {
|
|
257
|
-
const event = eventArr[0];
|
|
258
|
-
if (event.isStandard) {
|
|
259
|
-
return standardEvent.standardEvents[event.eventName];
|
|
260
|
-
} else {
|
|
261
|
-
return getEventByEventName(pageContext, event.eventName);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
function getClickEventFuncByType(pageContext, events, eventType) {
|
|
267
|
-
if (events && eventType) {
|
|
268
|
-
const eventArr = events.filter((item) => item.name === eventType && item.eventName);
|
|
269
|
-
if (eventArr && eventArr.length > 0) {
|
|
270
|
-
const event = eventArr[0];
|
|
271
|
-
if (event.isStandard) {
|
|
272
|
-
return { func: standardEvent.standardEvents[event.eventName], isStandard: true, event };
|
|
273
|
-
} else {
|
|
274
|
-
return {
|
|
275
|
-
func: getEventByEventName(pageContext, event.eventName),
|
|
276
|
-
isStandard: false,
|
|
277
|
-
event
|
|
278
|
-
};
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
function callItemEvent(pageContext, configureObj, eventFun, eventParams, otherParams) {
|
|
284
|
-
if (!eventFun) {
|
|
285
|
-
return;
|
|
286
|
-
}
|
|
287
|
-
if (!eventParams) {
|
|
288
|
-
eventParams = {
|
|
289
|
-
pageContext,
|
|
290
|
-
configureObj
|
|
291
|
-
// 组件配置信息,包含如:跳转页面配置、判重配置等
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
if (otherParams && eventParams) {
|
|
295
|
-
for (const key in otherParams) {
|
|
296
|
-
eventParams[key] = otherParams[key];
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
return eventFun(eventParams);
|
|
300
|
-
}
|
|
301
|
-
function transferToFunction(customEvents) {
|
|
302
|
-
const eventsObj = {};
|
|
303
|
-
customEvents.forEach((event) => {
|
|
304
|
-
if (event.jsContent) {
|
|
305
|
-
eventsObj[event.eventName] = new Function("params", event.jsContent);
|
|
306
|
-
if (event.name === "customFunc") {
|
|
307
|
-
if (event.funcParam) {
|
|
308
|
-
window["$page_" + event.eventName] = new Function(event.funcParam, event.jsContent);
|
|
309
|
-
} else {
|
|
310
|
-
window["$page_" + event.eventName] = new Function(event.jsContent);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
});
|
|
315
|
-
return eventsObj;
|
|
316
|
-
}
|
|
317
|
-
function canExecuteButton(params) {
|
|
318
|
-
const pageContext = params.pageContext;
|
|
319
|
-
const configureObj = params.configureObj;
|
|
320
|
-
const isListButton = isListPage(pageContext);
|
|
321
|
-
let entities = [];
|
|
322
|
-
if (isListButton) {
|
|
323
|
-
if (pageContext.editData) {
|
|
324
|
-
entities.push(pageContext.editData);
|
|
325
|
-
} else {
|
|
326
|
-
entities = params.selections;
|
|
327
|
-
}
|
|
328
|
-
} else {
|
|
329
|
-
const dataModel = pageContext.entity.data;
|
|
330
|
-
entities.push(dataModel);
|
|
331
|
-
}
|
|
332
|
-
const executableDataSetting = configureObj.props.base.condition;
|
|
333
|
-
return new Promise((resolve, reject) => {
|
|
334
|
-
if (executableDataSetting === void 0 || executableDataSetting === "" || entities === void 0 || entities.length === 0) {
|
|
335
|
-
resolve({
|
|
336
|
-
canExecute: true
|
|
337
|
-
});
|
|
338
|
-
} else {
|
|
339
|
-
const contextParameter = pageContext.entity.context;
|
|
340
|
-
const additionalParamMap = pageContext.entity.request;
|
|
341
|
-
const isSql = true;
|
|
342
|
-
const tableName = pageContext.tableName;
|
|
343
|
-
let isCanExecute = true;
|
|
344
|
-
let failMessage;
|
|
345
|
-
let failEntity;
|
|
346
|
-
for (let i = 0; i < entities.length; i++) {
|
|
347
|
-
const entity = entities[i];
|
|
348
|
-
for (let n = 0; n < executableDataSetting.length; n++) {
|
|
349
|
-
const conditionSetting = executableDataSetting[n];
|
|
350
|
-
const message = conditionSetting.toolTips;
|
|
351
|
-
const conditionList = conditionSetting.conditionList;
|
|
352
|
-
const canExecute = util.analysisCondition(
|
|
353
|
-
conditionList,
|
|
354
|
-
entity,
|
|
355
|
-
additionalParamMap,
|
|
356
|
-
contextParameter,
|
|
357
|
-
isSql,
|
|
358
|
-
tableName,
|
|
359
|
-
null
|
|
360
|
-
);
|
|
361
|
-
if (!canExecute) {
|
|
362
|
-
isCanExecute = false;
|
|
363
|
-
failMessage = message;
|
|
364
|
-
failEntity = entity;
|
|
365
|
-
break;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
if (!isCanExecute) {
|
|
370
|
-
if (failMessage) {
|
|
371
|
-
elementPlus.ElMessage({
|
|
372
|
-
showClose: true,
|
|
373
|
-
type: "warning",
|
|
374
|
-
message: failMessage
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
resolve({
|
|
378
|
-
canExecute: false,
|
|
379
|
-
message: failMessage,
|
|
380
|
-
failEntity
|
|
381
|
-
});
|
|
382
|
-
} else {
|
|
383
|
-
resolve({
|
|
384
|
-
canExecute: true
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
function setTableEvents(options, tableEvents, pageContext, configureObj) {
|
|
391
|
-
if (tableEvents) {
|
|
392
|
-
addTableEvent("loadBeforeSend", loadBeforeSend({ pageContext, configureObj }), options);
|
|
393
|
-
addTableEvent("beforeRequest", beforeRequest({ pageContext, configureObj }), options);
|
|
394
|
-
addTableEvent("gridDataLoaded", gridDataLoaded({ pageContext, configureObj }), options);
|
|
395
|
-
addTableEvent("gridComplete", gridComplete({ pageContext, configureObj }), options);
|
|
396
|
-
addTableEvent("resizeHeight", resizeTableHeight({ pageContext, configureObj }), options);
|
|
397
|
-
if (!options["lineEditOptions"]) {
|
|
398
|
-
options["lineEditOptions"] = {};
|
|
399
|
-
}
|
|
400
|
-
addTableEvent(
|
|
401
|
-
"beforeInsertRow",
|
|
402
|
-
gridBeforeInsertRow({ pageContext, configureObj }),
|
|
403
|
-
options["lineEditOptions"]
|
|
404
|
-
);
|
|
405
|
-
addTableEvent(
|
|
406
|
-
"afterInsertRow",
|
|
407
|
-
gridAfterInsertRow({ pageContext, configureObj }),
|
|
408
|
-
options["lineEditOptions"]
|
|
409
|
-
);
|
|
410
|
-
addTableEvent(
|
|
411
|
-
"beforeDelete",
|
|
412
|
-
gridBeforeRemoveRow({ pageContext, configureObj }),
|
|
413
|
-
options["lineEditOptions"]
|
|
414
|
-
);
|
|
415
|
-
addTableEvent(
|
|
416
|
-
"afterDelete",
|
|
417
|
-
gridAfterRemoveRow({ pageContext, configureObj }),
|
|
418
|
-
options["lineEditOptions"]
|
|
419
|
-
);
|
|
420
|
-
addTableEvent(
|
|
421
|
-
"beforeEdit",
|
|
422
|
-
gridBeforeEdit({ pageContext, configureObj }),
|
|
423
|
-
options["lineEditOptions"]
|
|
424
|
-
);
|
|
425
|
-
addTableEvent(
|
|
426
|
-
"beforeRestore",
|
|
427
|
-
beforeRestore({ pageContext, configureObj }),
|
|
428
|
-
options["lineEditOptions"]
|
|
429
|
-
);
|
|
430
|
-
addTableEvent(
|
|
431
|
-
"beforeRestoreValidate",
|
|
432
|
-
beforeRestoreValidate({ pageContext, configureObj }),
|
|
433
|
-
options["lineEditOptions"]
|
|
434
|
-
);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
function addTableEvent(gridEventType, eventFunc, options) {
|
|
438
|
-
if (eventFunc) {
|
|
439
|
-
options[gridEventType] = eventFunc;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
function loadBeforeSend(params) {
|
|
443
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "beforeListLoad", params);
|
|
444
|
-
}
|
|
445
|
-
function beforeRequest(params) {
|
|
446
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "beforeRequest", params);
|
|
447
|
-
}
|
|
448
|
-
function gridDataLoaded(params) {
|
|
449
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "onListLoad", params);
|
|
450
|
-
}
|
|
451
|
-
function gridComplete(params) {
|
|
452
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "afterListLoad", params);
|
|
453
|
-
}
|
|
454
|
-
function resizeTableHeight(params) {
|
|
455
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "resizeTableHeight", params);
|
|
456
|
-
}
|
|
457
|
-
function beforeRestoreValidate(params) {
|
|
458
|
-
return getHandleEvent(
|
|
459
|
-
null,
|
|
460
|
-
params.pageContext,
|
|
461
|
-
params.configureObj,
|
|
462
|
-
"beforeRestoreValidate",
|
|
463
|
-
params
|
|
464
|
-
);
|
|
465
|
-
}
|
|
466
|
-
function beforeRestore(params) {
|
|
467
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "beforeRestore", params);
|
|
468
|
-
}
|
|
469
|
-
function gridBeforeEdit(params) {
|
|
470
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "beforeEdit", params);
|
|
471
|
-
}
|
|
472
|
-
function gridBeforeInsertRow(params) {
|
|
473
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "beforeAddRow", params);
|
|
474
|
-
}
|
|
475
|
-
function gridAfterInsertRow(params) {
|
|
476
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "afterAddRow", params);
|
|
477
|
-
}
|
|
478
|
-
function gridBeforeRemoveRow(params) {
|
|
479
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "beforeRemoveRow", params);
|
|
480
|
-
}
|
|
481
|
-
function gridAfterRemoveRow(params) {
|
|
482
|
-
return getHandleEvent(null, params.pageContext, params.configureObj, "afterRemoveRow", params);
|
|
483
|
-
}
|
|
484
|
-
function gridSelectRecord(pageContext, configureObj, params) {
|
|
485
|
-
return handleEvent(null, pageContext, configureObj, "select", params);
|
|
486
|
-
}
|
|
487
|
-
function gridSelectAllRecords(pageContext, configureObj, params) {
|
|
488
|
-
return handleEvent(null, pageContext, configureObj, "select-all", params);
|
|
489
|
-
}
|
|
490
|
-
function gridSelectionChange(pageContext, configureObj, params) {
|
|
491
|
-
return handleEvent(null, pageContext, configureObj, "selection-change", params);
|
|
492
|
-
}
|
|
493
|
-
function cellClick(pageContext, configureObj, params) {
|
|
494
|
-
return handleEvent(null, pageContext, configureObj, "cell-click", params);
|
|
495
|
-
}
|
|
496
|
-
function cellDblClick(pageContext, configureObj, params) {
|
|
497
|
-
return handleEvent(null, pageContext, configureObj, "cell-dblclick", params);
|
|
498
|
-
}
|
|
499
|
-
function rowClick(pageContext, configureObj, params) {
|
|
500
|
-
return handleEvent(null, pageContext, configureObj, "row-click", params);
|
|
501
|
-
}
|
|
502
|
-
function rowDblClick(pageContext, configureObj, params) {
|
|
503
|
-
return handleEvent(null, pageContext, configureObj, "row-dblclick", params);
|
|
504
|
-
}
|
|
505
|
-
function headerClick(pageContext, configureObj, params) {
|
|
506
|
-
return handleEvent(null, pageContext, configureObj, "header-click", params);
|
|
507
|
-
}
|
|
508
|
-
exports.canExecuteButton = canExecuteButton;
|
|
509
|
-
exports.cellClick = cellClick;
|
|
510
|
-
exports.cellDblClick = cellDblClick;
|
|
511
|
-
exports.doAfterClickEvent = doAfterClickEvent;
|
|
512
|
-
exports.doBeforeClickEvent = doBeforeClickEvent;
|
|
513
|
-
exports.getClickEventFuncByType = getClickEventFuncByType;
|
|
514
|
-
exports.getEventFuncByType = getEventFuncByType;
|
|
515
|
-
exports.getHandleEvent = getHandleEvent;
|
|
516
|
-
exports.gridSelectAllRecords = gridSelectAllRecords;
|
|
517
|
-
exports.gridSelectRecord = gridSelectRecord;
|
|
518
|
-
exports.gridSelectionChange = gridSelectionChange;
|
|
519
|
-
exports.handleEvent = handleEvent;
|
|
520
|
-
exports.headerClick = headerClick;
|
|
521
|
-
exports.initPageEvents = initPageEvents;
|
|
522
|
-
exports.removeCustomFuncFromWindow = removeCustomFuncFromWindow;
|
|
523
|
-
exports.rowClick = rowClick;
|
|
524
|
-
exports.rowDblClick = rowDblClick;
|
|
525
|
-
exports.setTableEvents = setTableEvents;
|