super-page-runtime 2.3.22-tmp2 → 2.3.22-tmp4
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.mjs +4 -4
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
- package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
- package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
- package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
- package/dist/es/components/runtime/utils/common-util.mjs +91 -94
- package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
- package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
- package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
- package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
- package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
- package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
- package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
- package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
- package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
- package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
- package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +38 -38
- package/dist/es/components/runtime/utils/store-util.mjs +9 -9
- package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
- package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
- package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
- package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
- package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
- package/dist/es/index.mjs +27 -27
- package/dist/es/style.css +1 -996
- package/package.json +76 -76
- package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +0 -6
- package/dist/lib/assets/chart-themes/bar-theme.cjs +0 -2
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +0 -2
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/pie-theme.cjs +0 -2
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/radar-theme.cjs +0 -2
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +0 -2
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +0 -6
- package/dist/lib/assets/file.png.cjs +0 -2
- package/dist/lib/assets/folder.png.cjs +0 -2
- package/dist/lib/components/runtime/index.d.ts +0 -5
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +0 -13
- package/dist/lib/components/runtime/utils/anchor-util.cjs +0 -62
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +0 -13
- package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +0 -169
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +0 -16
- package/dist/lib/components/runtime/utils/barcode-util.cjs +0 -10
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +0 -8
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +0 -137
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +0 -34
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +0 -78
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +0 -52
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +0 -43
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +0 -244
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -115
- package/dist/lib/components/runtime/utils/common-util.cjs +0 -91
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -33
- package/dist/lib/components/runtime/utils/eventBus.cjs +0 -3
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/lib/components/runtime/utils/events/event-util.cjs +0 -345
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -92
- package/dist/lib/components/runtime/utils/events/print-label.cjs +0 -97
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +0 -5
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +0 -1101
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -99
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +0 -296
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -25
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +0 -34
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +0 -7
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +0 -90
- package/dist/lib/components/runtime/utils/global-refs.cjs +0 -42
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -65
- package/dist/lib/components/runtime/utils/i18n-util.cjs +0 -11
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +0 -4
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -247
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +0 -354
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -174
- package/dist/lib/components/runtime/utils/page-init-util.cjs +0 -244
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -49
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +0 -26
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/lib/components/runtime/utils/page-store.cjs +0 -50
- package/dist/lib/components/runtime/utils/page-store.d.ts +0 -58
- package/dist/lib/components/runtime/utils/store-util.cjs +0 -11
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.cjs +0 -3
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/utils/table-utils.cjs +0 -68
- package/dist/lib/components/runtime/utils/table-utils.d.ts +0 -36
- package/dist/lib/components/runtime/utils/tree-utils.cjs +0 -54
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +0 -24
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +0 -17
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +0 -35
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +0 -17
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +0 -41
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +0 -11
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +0 -11
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +0 -53
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +0 -48
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +0 -24
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +0 -34
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +0 -24
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +0 -24
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +0 -402
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +0 -121
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +0 -6
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +0 -36
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +0 -13
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +0 -249
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +0 -16
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +0 -5
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +0 -32
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -28
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +0 -32
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +0 -27
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +0 -19
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +0 -59
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +0 -12
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +0 -21
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +0 -13
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +0 -30
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +0 -31
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +0 -15
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +0 -21
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +0 -17
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +0 -15
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +0 -27
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +0 -94
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +0 -79
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +0 -20
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +0 -15
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +0 -12
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +0 -88
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +0 -43
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +0 -59
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +0 -382
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +0 -322
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +0 -81
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +0 -124
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +0 -57
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +0 -35
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +0 -57
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +0 -91
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +0 -47
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +0 -20
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +0 -65
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +0 -20
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +0 -70
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +0 -31
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +0 -26
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +0 -13
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +0 -75
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +0 -188
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +0 -130
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +0 -11
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +0 -29
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +0 -38
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +0 -20
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +0 -73
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +0 -132
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +0 -14
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +0 -14
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +0 -23
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +0 -23
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +0 -34
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +0 -17
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +0 -20
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +0 -19
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +0 -14
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +0 -38
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +0 -23
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +0 -3
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +0 -23
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -40
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +0 -3
- package/dist/lib/components/runtime/views/super-page.vue.cjs +0 -5
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -135
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +0 -264
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +0 -2
- package/dist/lib/i18n/langs/en.cjs +0 -2
- package/dist/lib/index.cjs +0 -6
- package/dist/lib/index.d.ts +0 -16
- package/dist/lib/style.css +0 -996
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +0 -7429
- package/dist/umd/style.css +0 -996
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from '../interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 统计图通用字段名
|
|
5
|
-
*/
|
|
6
|
-
export declare enum CommonName {
|
|
7
|
-
X_FIELD_NAME = "__x",//横坐标字段名
|
|
8
|
-
Y_TEMP_NAME = "__y"
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 获取主题对象
|
|
12
|
-
* @param themeName 获取自定义的主题名称
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function getCustomTheme(themeName: string, chartType?: string): any;
|
|
16
|
-
/**
|
|
17
|
-
* 获取所有主题对象
|
|
18
|
-
* @returns
|
|
19
|
-
*/
|
|
20
|
-
export declare function getCustomThemeOptions(): Array<any>;
|
|
21
|
-
/**
|
|
22
|
-
* 获取数据的格式化方法
|
|
23
|
-
* @param labelNumFormat
|
|
24
|
-
* @param labelNumPrecision
|
|
25
|
-
* @param isValueFormatter 是否值格式化,value: number | string, dataIndex: number
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare function getNumFormatter(labelNumFormat: any, numPrecision: any, numPrefix: any, numAppend: any, isValueFormatter: any): (params: any) => any;
|
|
29
|
-
/**
|
|
30
|
-
* 初始化格式化方法
|
|
31
|
-
* @param pageContext
|
|
32
|
-
* @param configure
|
|
33
|
-
* @param chartOption
|
|
34
|
-
* @returns
|
|
35
|
-
*/
|
|
36
|
-
export declare function initChartOption(configure: Component, chartOption: any): void;
|
|
37
|
-
/**
|
|
38
|
-
* 统计图选中时把维度值设置到变量中
|
|
39
|
-
* @param pageContext
|
|
40
|
-
* @param configure
|
|
41
|
-
* @param chart
|
|
42
|
-
* @param variable
|
|
43
|
-
*/
|
|
44
|
-
export declare function monitorChartClickToVariable(pageContext: PageContext, configure: Component, chart: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* 清除统计图的选中
|
|
47
|
-
* @param pageContext
|
|
48
|
-
* @param configure
|
|
49
|
-
* @param chart
|
|
50
|
-
* @returns
|
|
51
|
-
*/
|
|
52
|
-
export declare function clearChartSelected(pageContext: PageContext, configure: Component, chart: any): void;
|
|
53
|
-
export declare function updateClickVariablesForSelected(pageContext: PageContext, configure: Component): void;
|
|
54
|
-
export declare function sortDatas(pageContext: PageContext, configure: Component, datas: Array<any>): void;
|
|
55
|
-
/**
|
|
56
|
-
* 限制显示数量
|
|
57
|
-
* @param datas
|
|
58
|
-
* @param groupFields
|
|
59
|
-
* @param limitNum
|
|
60
|
-
*/
|
|
61
|
-
export declare function limitDatas(pageContext: PageContext, configure: Component, datas: Array<any>, groupFields: Array<string>, numFields: Array<string>): Array<any>;
|
|
62
|
-
/**
|
|
63
|
-
* 提前计算公式中用到的汇总变量
|
|
64
|
-
* @param itemConfs
|
|
65
|
-
* @param datas
|
|
66
|
-
* @param accumulateFields 累计计算的字段
|
|
67
|
-
* @returns
|
|
68
|
-
*/
|
|
69
|
-
export declare function caculateFormulaValue(itemConfs: any, datas: any, accumulateFields: Set<string>): any;
|
|
70
|
-
/**
|
|
71
|
-
* 获取数据源中的最小值
|
|
72
|
-
* @param datas 数据源
|
|
73
|
-
* @param fieldName 字段名
|
|
74
|
-
*/
|
|
75
|
-
export declare function getMinValue(datas: any, fieldName: string): any;
|
|
76
|
-
/**
|
|
77
|
-
* 获取数据源中的最大值
|
|
78
|
-
* @param datas 数据源
|
|
79
|
-
* @param fieldName 字段名
|
|
80
|
-
*/
|
|
81
|
-
export declare function getMaxValue(datas: any, fieldName: string): any;
|
|
82
|
-
/**
|
|
83
|
-
* 获取数据源中的汇总值
|
|
84
|
-
* @param datas 数据源
|
|
85
|
-
* @param fieldName 字段名
|
|
86
|
-
*/
|
|
87
|
-
export declare function getSumValue(datas: any, fieldName: string): any;
|
|
88
|
-
/**
|
|
89
|
-
* 获取平均值
|
|
90
|
-
* @param datas 数据源
|
|
91
|
-
* @param fieldName 字段名
|
|
92
|
-
*/
|
|
93
|
-
export declare function getAvgValue(datas: any, fieldName: string): any;
|
|
94
|
-
/**
|
|
95
|
-
* 执行统计图的计算公式
|
|
96
|
-
* @param formulaStr 计算公式
|
|
97
|
-
* @param accumulateMap 累计存储
|
|
98
|
-
* @param rowData 行记录
|
|
99
|
-
* @param pageContext 页面对象
|
|
100
|
-
*/
|
|
101
|
-
export declare function executeChartFormula(formulaStr: string, accumulateMap: any, rowData: any, pageContext: PageContext): any;
|
|
102
|
-
/**
|
|
103
|
-
* 导出图表工具方法
|
|
104
|
-
* @param chartDom
|
|
105
|
-
* @returns
|
|
106
|
-
*/
|
|
107
|
-
export declare function exportCommonChart(chartRef: any, headerInfo: any): {
|
|
108
|
-
isTable: boolean;
|
|
109
|
-
fileContent: any;
|
|
110
|
-
fileSize: string;
|
|
111
|
-
title: any;
|
|
112
|
-
};
|
|
113
|
-
export declare function setHomeChartInitConfigValue(initConfig: any, tempContext: any, homeChartSettingUserId: any): void;
|
|
114
|
-
export declare function setDefaultGrid(chartOption: any): void;
|
|
115
|
-
export declare function formatToolboxI18n(chartOption: any): void;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("agilebuilder-ui"), t = require("../views/assemblys/chart/table/chart-table-util.cjs"), r = require("./events/event-util.cjs");
|
|
4
|
-
function n(t2, r2) {
|
|
5
|
-
if (r2) return t2;
|
|
6
|
-
{
|
|
7
|
-
const { baseURL: r3, projectModel: n2 } = window.$vueApp.config.globalProperties;
|
|
8
|
-
let o = r3;
|
|
9
|
-
return "developing.model" === n2 || t2 && (o = e.getSystemBackendUrl(t2)), o;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.addRequiredClassUtil = function() {
|
|
13
|
-
return "required_bg";
|
|
14
|
-
}, exports.deepCopy = function e2(t2) {
|
|
15
|
-
if ("object" != typeof t2 || null == t2) return t2;
|
|
16
|
-
const r2 = Array.isArray(t2) ? [] : {};
|
|
17
|
-
for (const n2 in t2) t2.hasOwnProperty(n2) && (r2[n2] = e2(t2[n2]));
|
|
18
|
-
return r2;
|
|
19
|
-
}, exports.getBaseUrl = n, exports.getListCode = function(e3, t2, r2) {
|
|
20
|
-
return "V" + t2 + "__" + e3 + "__" + r2;
|
|
21
|
-
}, exports.getPropClassName = function(e3) {
|
|
22
|
-
var _a, _b, _c, _d;
|
|
23
|
-
let t2;
|
|
24
|
-
if (e3 && ((_b = (_a = e3.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop)) {
|
|
25
|
-
let r2 = (_d = (_c = e3.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop;
|
|
26
|
-
r2.indexOf("${") >= 0 && (r2 = r2.substring(2, r2.lastIndexOf("}")));
|
|
27
|
-
const n2 = r2.split(".");
|
|
28
|
-
2 === n2.length ? t2 = n2[1] : 3 === n2.length && (t2 = n2[1] + "__" + n2[2]);
|
|
29
|
-
} else e3.code && (t2 = e3.code);
|
|
30
|
-
return t2;
|
|
31
|
-
}, exports.getRealRestApiPath = function(e3, t2, r2, o) {
|
|
32
|
-
let i = e3;
|
|
33
|
-
if (e3 && r2 && !function(e4) {
|
|
34
|
-
return 0 === e4.indexOf("http:") || 0 === e4.indexOf("https:");
|
|
35
|
-
}(e3)) {
|
|
36
|
-
i = n(r2, o) + "/" + t2 + e3;
|
|
37
|
-
}
|
|
38
|
-
return i;
|
|
39
|
-
}, exports.getWorkflowId = function(e3) {
|
|
40
|
-
let t2;
|
|
41
|
-
return e3.entity && e3.entity.data && (t2 = e3.entity.data.WORKFLOW_ID, t2 || (t2 = e3.entity.data.workflow_id), t2 || (t2 = e3.entity.data.workflowId)), t2;
|
|
42
|
-
}, exports.isArrayFn = function(e3) {
|
|
43
|
-
return "function" == typeof Array.isArray ? Array.isArray(e3) : "[object Array]" === Object.prototype.toString.call(e3);
|
|
44
|
-
}, exports.isNumber = function(e3) {
|
|
45
|
-
try {
|
|
46
|
-
if (null != e3) {
|
|
47
|
-
const t2 = parseInt(e3 + "");
|
|
48
|
-
if (Number.isInteger(t2)) return true;
|
|
49
|
-
}
|
|
50
|
-
return false;
|
|
51
|
-
} catch (e4) {
|
|
52
|
-
return false;
|
|
53
|
-
}
|
|
54
|
-
}, exports.isVariableInvalidValue = function(e3, t2) {
|
|
55
|
-
return null === e3[t2] || void 0 === e3[t2] || "" === e3[t2];
|
|
56
|
-
}, exports.isWorkflowPage = function(e3) {
|
|
57
|
-
return !!e3.isWorkflowEntity || !(void 0 !== e3.isWorkflowEntity || !e3.workflowCode);
|
|
58
|
-
}, exports.packageTemplateFiles = function(n2, o, i) {
|
|
59
|
-
if (!n2 || 0 === n2.length) return n2;
|
|
60
|
-
let s = n2;
|
|
61
|
-
if (Array.isArray(n2)) {
|
|
62
|
-
n2[0].templates && (s = function(e3, n3, o2) {
|
|
63
|
-
const i2 = [];
|
|
64
|
-
return e3.forEach((e4) => {
|
|
65
|
-
let s2 = true;
|
|
66
|
-
if (e4.scopeFunc) {
|
|
67
|
-
const t2 = r.getCustomFunc(n3, e4.scopeFunc);
|
|
68
|
-
t2 && (s2 = t2.apply(t2, [{ pageContext: n3, configureObj: o2, template: e4 }]));
|
|
69
|
-
} else e4.conditions && e4.conditions.length > 0 && (s2 = t.ExpressionEvaluator.evaluate(n3, e4.conditions));
|
|
70
|
-
false !== s2 && e4.templates.forEach((e5) => {
|
|
71
|
-
i2.push({ templateUuid: e5.templateUuid, templateName: e5.templateName });
|
|
72
|
-
});
|
|
73
|
-
}), i2;
|
|
74
|
-
}(n2, o, i));
|
|
75
|
-
const a = e.getLanguageWithLocale(), l = [], p = [], u = "~-~-";
|
|
76
|
-
return s.forEach((e3) => {
|
|
77
|
-
const t2 = e3.templateName;
|
|
78
|
-
if (t2.indexOf(u) > 0) {
|
|
79
|
-
const r2 = t2.substring(0, t2.indexOf(u)), n3 = t2.substring(t2.indexOf(u) + u.length, t2.lastIndexOf(u)), o2 = t2.substring(t2.lastIndexOf(u) + u.length);
|
|
80
|
-
a === n3 && p.indexOf(r2) < 0 && (l.push({ templateUuid: e3.templateUuid, templateName: o2 }), p.push(r2));
|
|
81
|
-
} else l.push(e3);
|
|
82
|
-
}), l;
|
|
83
|
-
}
|
|
84
|
-
}, exports.refreshMobileDialogType = function(e3, t2) {
|
|
85
|
-
if (e3 && t2) {
|
|
86
|
-
let t3 = e3.jumpPageMobileOpenMode;
|
|
87
|
-
t3 || (e3.jumpPageOpenMode ? (t3 = e3.jumpPageOpenMode, "newTab" === t3 && (t3 = "refresh")) : t3 = "refresh"), "refresh" === t3 && (e3.dialogType = "drawer", e3.jumpPageWidth = "100%", e3.isRefreshWhenClosePopup = true), e3.jumpMode = t3, e3.jumpPageMobileOpenMode = t3, e3.jumpPageTitle || (e3.jumpPageTitle = "QMS质量管理系统");
|
|
88
|
-
}
|
|
89
|
-
}, exports.upperFirstCase = function(e3) {
|
|
90
|
-
return e3.toLowerCase().replace(/( |^)[a-z]/g, (e4) => e4.toUpperCase());
|
|
91
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component, PageContext } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
export declare function isArrayFn(value: any): boolean;
|
|
4
|
-
export declare function getBaseUrl(backendUrl: string | null | undefined, isTest?: boolean): any;
|
|
5
|
-
export declare function getRealRestApiPath(orgRestApiPath: any, systemCode: any, backendUrl: any, isTest?: boolean): any;
|
|
6
|
-
/**
|
|
7
|
-
* 封装模板文件列表
|
|
8
|
-
* @param templateFiles
|
|
9
|
-
* @returns
|
|
10
|
-
*/
|
|
11
|
-
export declare function packageTemplateFiles(templateFiles: any, pageContext: PageContext, configure: Component): any;
|
|
12
|
-
export declare function upperFirstCase(str: any): any;
|
|
13
|
-
export declare function getListCode(pageCode: any, pageVersion: any, tableUuid: any): string;
|
|
14
|
-
/**
|
|
15
|
-
* 深度复制
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
export declare function deepCopy(srcObj: any): any;
|
|
19
|
-
export declare function getWorkflowId(pageContext: any): any;
|
|
20
|
-
/**
|
|
21
|
-
* 获得当前属性名,封装到class中,操作dom时可能会使用
|
|
22
|
-
* @param configure
|
|
23
|
-
* @returns
|
|
24
|
-
*/
|
|
25
|
-
export declare function getPropClassName(configure: Component): any;
|
|
26
|
-
export declare function isNumber(numStr: any): boolean;
|
|
27
|
-
export declare function isWorkflowPage(pageContext: PageContext): boolean;
|
|
28
|
-
export declare function refreshMobileDialogType(jumpPageSetting: any, isMobile: boolean): void;
|
|
29
|
-
export declare function isVariableInvalidValue(values: any, variable: string): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* 给主表字段添加必填高亮样式
|
|
32
|
-
*/
|
|
33
|
-
export declare function addRequiredClassUtil(): string;
|
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("agilebuilder-ui"), t = require("./standard-event.cjs"), n = require("./validator-util.cjs"), o = require("../global-refs.cjs"), i = require("element-plus"), r = require("../common-util.cjs"), u = require("../eventBus.cjs"), c = require("../page-helper-util.cjs"), l = require("../table-utils.cjs"), s = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], a = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], f = ["import"];
|
|
4
|
-
function p(e2, t2) {
|
|
5
|
-
if (e2.customEvents) return e2.customEvents[t2];
|
|
6
|
-
}
|
|
7
|
-
function d(e2, t2) {
|
|
8
|
-
e2.get = function(e3) {
|
|
9
|
-
return e3 ? o.getComponentRefByCode(t2, e3) : void 0;
|
|
10
|
-
}, e2.getByUuid = function(e3) {
|
|
11
|
-
return e3 ? o.getComponentRef(t2, e3) : void 0;
|
|
12
|
-
}, e2.getPageContext = function() {
|
|
13
|
-
return t2;
|
|
14
|
-
}, e2.getContextValue = function(e3) {
|
|
15
|
-
let n2 = t2 && t2.entity ? t2.entity.context : null;
|
|
16
|
-
return n2 = n2 || {}, c.getValueFromSource(n2, e3, "context");
|
|
17
|
-
}, e2.getContext = function() {
|
|
18
|
-
return t2 && t2.entity ? t2.entity.context : {};
|
|
19
|
-
}, e2.getSystem = function() {
|
|
20
|
-
return t2 && t2.entity ? t2.entity.system : {};
|
|
21
|
-
}, e2.getTask = function() {
|
|
22
|
-
return t2 && t2.entity ? t2.entity.task : {};
|
|
23
|
-
}, e2.getRequest = function() {
|
|
24
|
-
return t2 && t2.entity ? t2.entity.request : {};
|
|
25
|
-
}, e2.getPage = function() {
|
|
26
|
-
return t2 && t2.entity ? t2.entity.page : {};
|
|
27
|
-
}, e2.getCustomFunc = function(e3) {
|
|
28
|
-
return p(t2, e3);
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
function g(e2, t2, n2, o2, i2) {
|
|
32
|
-
return C(e2, t2, n2, o2, true, i2, false);
|
|
33
|
-
}
|
|
34
|
-
function m(e2, t2, n2, o2, i2) {
|
|
35
|
-
var _a, _b;
|
|
36
|
-
if (o2 && "change" === o2) {
|
|
37
|
-
const e3 = t2.subTableWatchProps;
|
|
38
|
-
if (e3) for (const t3 in e3) {
|
|
39
|
-
const o3 = e3[t3], i3 = (_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
|
|
40
|
-
o3 && o3.indexOf(i3) >= 0 && u.$emit("_refreshSubTable_" + t3, { propName: i3 });
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return C(e2, t2, n2, o2, true, i2, true);
|
|
44
|
-
}
|
|
45
|
-
function v(e2, t2, n2, o2, i2) {
|
|
46
|
-
return C(e2, t2, n2, o2, false, i2, false);
|
|
47
|
-
}
|
|
48
|
-
function C(n2, o2, i2, r2, u2, c2, l2) {
|
|
49
|
-
const s2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
|
|
50
|
-
let a2;
|
|
51
|
-
if (l2 || !function(e2) {
|
|
52
|
-
return e2 && x.indexOf(e2) >= 0;
|
|
53
|
-
}(r2)) {
|
|
54
|
-
if (a2 = P(o2, s2, r2), u2) {
|
|
55
|
-
return T(o2, i2, a2, k(o2, i2, n2, c2));
|
|
56
|
-
}
|
|
57
|
-
return a2;
|
|
58
|
-
}
|
|
59
|
-
!function(n3, o3, i3) {
|
|
60
|
-
const r3 = t.judgeDataNumber(o3, i3.ids);
|
|
61
|
-
if (!r3) return;
|
|
62
|
-
if (void 0 !== n3.canClick && false === n3.canClick) return;
|
|
63
|
-
R(i3).then((t2) => {
|
|
64
|
-
if (true === t2.canExecute) {
|
|
65
|
-
n3.clickUuid = o3.uuid, n3.canClick = false;
|
|
66
|
-
const t3 = o3.runtime && o3.runtime.events ? o3.runtime.events : [], r4 = P(n3, t3, "beforeValidateForm");
|
|
67
|
-
let u3;
|
|
68
|
-
if (r4 && (u3 = T(n3, o3, r4, i3)), void 0 === u3 && (u3 = true), !u3) return void (n3.canClick = true);
|
|
69
|
-
e.isPromise(u3) ? u3.then((e2) => {
|
|
70
|
-
e2 && true === e2 ? h(n3, o3, i3) : n3.canClick = true;
|
|
71
|
-
}).catch((e2) => {
|
|
72
|
-
n3.canClick = true;
|
|
73
|
-
}) : h(n3, o3, i3);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}(o2, i2, E(n2, o2, i2, c2));
|
|
77
|
-
}
|
|
78
|
-
const x = ["click", "suffixClick", "prefixClick", "menuClick"];
|
|
79
|
-
function b(e2, t2) {
|
|
80
|
-
return t2.props.base.tableUuid ? t2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
|
|
81
|
-
}
|
|
82
|
-
function k(e2, t2, n2, o2) {
|
|
83
|
-
const i2 = {};
|
|
84
|
-
if (o2) for (const e3 in o2) i2[e3] = o2[e3];
|
|
85
|
-
return null != n2 && (i2._value = n2), e2 && (i2.pageContext = e2), t2 && (i2.configureObj = t2), i2;
|
|
86
|
-
}
|
|
87
|
-
function h(t2, o2, i2) {
|
|
88
|
-
const r2 = o2.runtime && o2.runtime.events ? o2.runtime.events : [];
|
|
89
|
-
let u2 = true;
|
|
90
|
-
(i2 == null ? void 0 : i2.skipValidate) && (u2 = false);
|
|
91
|
-
const c2 = F(t2, r2, "click");
|
|
92
|
-
if (c2) {
|
|
93
|
-
const e2 = function(e3, t3) {
|
|
94
|
-
return e3 && s.includes(t3.eventName);
|
|
95
|
-
}(c2.isStandard, c2.event);
|
|
96
|
-
e2 && (u2 = false);
|
|
97
|
-
}
|
|
98
|
-
n.validateDataModelFunc(t2, o2, u2).then((n2) => {
|
|
99
|
-
if (!n2) return void (t2.canClick = true);
|
|
100
|
-
const r3 = j(t2, o2, i2);
|
|
101
|
-
r3 ? e.isPromise(r3) ? r3.then((e2) => {
|
|
102
|
-
e2 ? S(t2, o2, c2, i2) : t2.canClick = true;
|
|
103
|
-
}).catch((e2) => {
|
|
104
|
-
console.error(e2), t2.canClick = true;
|
|
105
|
-
}) : S(t2, o2, c2, i2) : t2.canClick = true;
|
|
106
|
-
}).catch((e2) => {
|
|
107
|
-
console.error(e2), t2.canClick = true;
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
function E(e2, t2, n2, i2) {
|
|
111
|
-
const u2 = t2.code, c2 = t2.version, l2 = b(t2, n2);
|
|
112
|
-
if (l2) {
|
|
113
|
-
const e3 = o.getComponentRef(t2, l2), n3 = e3 ? e3.getSelections() : null, s2 = e3 ? e3.getSelectionIds() : null;
|
|
114
|
-
i2 || (i2 = {}), i2.tableUuid = l2, i2.listCode = r.getListCode(u2, c2, l2);
|
|
115
|
-
y(t2) && (i2.selections = n3, i2.id = s2 && s2.length > 0 ? s2[0] : null, i2.ids = s2);
|
|
116
|
-
const a2 = e3 ? e3.getTableConfigure() : null;
|
|
117
|
-
i2.tableConfigure = a2;
|
|
118
|
-
}
|
|
119
|
-
return k(t2, n2, e2, i2);
|
|
120
|
-
}
|
|
121
|
-
function j(e2, t2, n2) {
|
|
122
|
-
const o2 = P(e2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], "beforeClick");
|
|
123
|
-
let i2;
|
|
124
|
-
return o2 && (i2 = T(e2, t2, o2, null, n2)), void 0 === i2 || i2;
|
|
125
|
-
}
|
|
126
|
-
function O(e2, t2, n2) {
|
|
127
|
-
const o2 = e2.code + "_";
|
|
128
|
-
u.$emit(o2 + "open-dialog", { pageContext: e2, configureObj: t2, eventParams: n2 });
|
|
129
|
-
}
|
|
130
|
-
function y(e2, t2) {
|
|
131
|
-
return !(!e2.pageType || "list" !== e2.pageType);
|
|
132
|
-
}
|
|
133
|
-
function w(e2, n2, o2, i2, r2, u2) {
|
|
134
|
-
i2 ? (e2.result = r2, e2.canClick = true) : t.dealAfterOperate(e2, n2, r2, "", u2);
|
|
135
|
-
const c2 = P(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
|
|
136
|
-
c2 && T(e2, n2, c2, o2);
|
|
137
|
-
}
|
|
138
|
-
function S(t2, n2, o2, i2) {
|
|
139
|
-
let u2 = n2, c2 = n2.props.linkPage;
|
|
140
|
-
if (c2 && c2 instanceof Array) {
|
|
141
|
-
const e2 = function(e3) {
|
|
142
|
-
let t3 = e3 ? e3.row : null;
|
|
143
|
-
t3 || (t3 = e3 && e3.selections && e3.selections.length > 0 ? e3.selections[0] : null);
|
|
144
|
-
return t3;
|
|
145
|
-
}(i2), o3 = l.expressJump(t2, n2, c2, e2);
|
|
146
|
-
let s2, a2 = false;
|
|
147
|
-
o3 && (a2 = o3.show, s2 = a2 ? o3.toPage : null), c2 = s2 ? s2.linkPage : null, c2 && (u2 = r.deepCopy(n2), u2.props.linkPage = c2);
|
|
148
|
-
}
|
|
149
|
-
c2 && c2.jumpPageUrl ? (t2.canClick = true, O(t2, u2, i2)) : function(t3, n3, o3, i3) {
|
|
150
|
-
const r2 = o3, u3 = y(t3);
|
|
151
|
-
if (r2) {
|
|
152
|
-
const o4 = r2.func, c3 = r2.isStandard, l2 = r2.event, s2 = T(t3, n3, o4, i3);
|
|
153
|
-
if (function(e2, t4) {
|
|
154
|
-
return e2 && ("exportForm" === t4.eventName || "exportPDF" === t4.eventName || "import" === t4.eventName || "assign" === t4.eventName || "copyTask" === t4.eventName || "addSigner" === t4.eventName || "returnTaskTo" === t4.eventName || "removeSigner" === t4.eventName || "saveQueryCharts" === t4.eventName || "addTransactor" === t4.eventName || "removeTransactor" === t4.eventName);
|
|
155
|
-
}(c3, l2)) return void (t3.canClick = true);
|
|
156
|
-
e.isPromise(s2) ? s2.then((e2) => {
|
|
157
|
-
e2 ? w(t3, n3, i3, c3, e2, u3) : t3.canClick = true;
|
|
158
|
-
}).catch((e2) => {
|
|
159
|
-
console.error(e2), t3.canClick = true;
|
|
160
|
-
}) : w(t3, n3, i3, c3, s2, u3);
|
|
161
|
-
} else w(t3, n3, i3, false, null, u3);
|
|
162
|
-
}(t2, n2, o2, i2);
|
|
163
|
-
}
|
|
164
|
-
function N(e2, t2) {
|
|
165
|
-
const n2 = e2.customEvents;
|
|
166
|
-
if (n2 && t2) {
|
|
167
|
-
let e3 = "";
|
|
168
|
-
return e3 = "object" == typeof t2 ? t2.componentUuid + "_" + t2.name : t2, n2[e3];
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
function P(e2, n2, o2) {
|
|
172
|
-
if (n2 && o2) {
|
|
173
|
-
const i2 = n2.filter((e3) => e3.name === o2);
|
|
174
|
-
if (i2 && i2.length > 0) {
|
|
175
|
-
const n3 = i2[0];
|
|
176
|
-
return n3.isStandard ? t.standardEvents[n3.eventName] : N(e2, n3);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
function F(e2, n2, o2) {
|
|
181
|
-
if (n2 && o2) {
|
|
182
|
-
const i2 = n2.filter((e3) => e3.name === o2);
|
|
183
|
-
if (i2 && i2.length > 0) {
|
|
184
|
-
const n3 = i2[0];
|
|
185
|
-
return n3.isStandard ? { func: t.standardEvents[n3.eventName], isStandard: true, event: n3 } : { func: N(e2, n3), isStandard: false, event: n3 };
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
function T(e2, t2, n2, o2, i2) {
|
|
190
|
-
if (n2) {
|
|
191
|
-
if (o2 || (o2 = { pageContext: e2, configureObj: t2 }), i2 && o2) for (const e3 in i2) o2[e3] = i2[e3];
|
|
192
|
-
return n2.apply(n2, [o2]);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
function R(n2) {
|
|
196
|
-
const o2 = n2.pageContext, r2 = n2.configureObj, u2 = y(o2);
|
|
197
|
-
let c2 = [];
|
|
198
|
-
if (u2) o2.editData ? c2.push(o2.editData) : c2 = n2.selections;
|
|
199
|
-
else {
|
|
200
|
-
const e2 = o2.entity.data;
|
|
201
|
-
c2.push(e2);
|
|
202
|
-
}
|
|
203
|
-
const l2 = r2.props.base.condition;
|
|
204
|
-
return new Promise((n3, r3) => {
|
|
205
|
-
if (null == l2 || "" === l2 || null == c2 || 0 === c2.length) n3({ canExecute: true });
|
|
206
|
-
else {
|
|
207
|
-
const r4 = o2.entity.context, u3 = t.getAdditionalParamMap(o2), s2 = true, a2 = o2.tableName;
|
|
208
|
-
let f2, p2, d2 = true;
|
|
209
|
-
for (let t2 = 0; t2 < c2.length; t2++) {
|
|
210
|
-
const n4 = c2[t2];
|
|
211
|
-
for (let t3 = 0; t3 < l2.length; t3++) {
|
|
212
|
-
const i2 = l2[t3], c3 = i2.toolTips, g2 = i2.conditionList;
|
|
213
|
-
if (!e.analysisCondition(g2, n4, u3, r4, s2, a2, null, o2)) {
|
|
214
|
-
d2 = false, f2 = c3, p2 = n4;
|
|
215
|
-
break;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
d2 ? n3({ canExecute: true }) : (f2 && i.ElMessage({ showClose: true, type: "warning", message: f2 }), n3({ canExecute: false, message: f2, failEntity: p2 }));
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
function D(e2, t2, n2) {
|
|
224
|
-
t2 && (n2[e2] = t2);
|
|
225
|
-
}
|
|
226
|
-
exports.appendDefaultMethods = d, exports.canExecuteButton = R, exports.cellClick = function(e2, t2, n2) {
|
|
227
|
-
return g(null, e2, t2, "cell-click", n2);
|
|
228
|
-
}, exports.cellDblClick = function(e2, t2, n2) {
|
|
229
|
-
return g(null, e2, t2, "cell-dblclick", n2);
|
|
230
|
-
}, exports.doAfterClickEvent = function(t2, n2, o2) {
|
|
231
|
-
const i2 = n2.runtime && n2.runtime.events ? n2.runtime.events : [], r2 = P(t2, i2, "afterClick");
|
|
232
|
-
if (r2) {
|
|
233
|
-
const i3 = T(t2, n2, r2, null, o2);
|
|
234
|
-
e.isPromise(i3) ? i3.finally(() => {
|
|
235
|
-
t2.canClick = true;
|
|
236
|
-
}) : t2.canClick = true;
|
|
237
|
-
} else t2.canClick = true;
|
|
238
|
-
}, exports.doBeforeClickEvent = j, exports.doClickJumpPageEvent = O, exports.doSuffixOrPrefixClickEvent = function(e2, t2, n2, o2, i2) {
|
|
239
|
-
const r2 = E(e2, t2, n2, i2);
|
|
240
|
-
S(t2, n2, F(t2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], o2), r2);
|
|
241
|
-
}, exports.fileUploadBeforeUpload = function(e2) {
|
|
242
|
-
return v(null, e2.pageContext, e2.configureObj, "before-upload", e2);
|
|
243
|
-
}, exports.getClickEventFuncByType = F, exports.getCustomFunc = p, exports.getEventFuncByType = P, exports.getEventNameByType = function(e2, t2) {
|
|
244
|
-
if (e2 && t2) {
|
|
245
|
-
const n2 = e2.filter((e3) => e3.name === t2);
|
|
246
|
-
if (n2 && n2.length > 0) {
|
|
247
|
-
return n2[0].eventName;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}, exports.getHandleEvent = v, exports.getTableUuid = b, exports.gridSelectAllRecords = function(e2, t2, n2) {
|
|
251
|
-
return g(null, e2, t2, "select-all", n2);
|
|
252
|
-
}, exports.gridSelectRecord = function(e2, t2, n2) {
|
|
253
|
-
return g(null, e2, t2, "select", n2);
|
|
254
|
-
}, exports.gridSelectionChange = function(e2, t2, n2) {
|
|
255
|
-
return g(null, e2, t2, "selection-change", n2);
|
|
256
|
-
}, exports.handleAfterInitEvent = function(e2, t2, n2, o2) {
|
|
257
|
-
return m(e2, t2, n2, "afterInit", o2);
|
|
258
|
-
}, exports.handleChartEvent = function(e2, t2, n2, o2, i2) {
|
|
259
|
-
return T(e2, t2, P(e2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], n2), { configure: t2, pageContext: e2, chartOption: o2, ...i2 });
|
|
260
|
-
}, exports.handleEvent = g, exports.handleFormEvent = m, exports.headerClick = function(e2, t2, n2) {
|
|
261
|
-
return g(null, e2, t2, "header-click", n2);
|
|
262
|
-
}, exports.initPageEvents = function(e2, t2) {
|
|
263
|
-
if (e2 && e2.customEvents) {
|
|
264
|
-
const n2 = function(e3) {
|
|
265
|
-
const t3 = {};
|
|
266
|
-
return e3.forEach((e4) => {
|
|
267
|
-
if (!e4.isStandard && e4.jsContent) if ("customFunc" === e4.name) {
|
|
268
|
-
let n3 = null;
|
|
269
|
-
if (e4.funcParam) {
|
|
270
|
-
const t4 = e4.funcParam.split(",");
|
|
271
|
-
n3 = new Function(t4, e4.jsContent);
|
|
272
|
-
} else n3 = new Function(e4.jsContent);
|
|
273
|
-
t3[e4.eventName] = n3;
|
|
274
|
-
} else {
|
|
275
|
-
let n3 = e4.componentUuid + "_";
|
|
276
|
-
n3 += e4.name, t3[n3] = new Function("params", e4.jsContent);
|
|
277
|
-
}
|
|
278
|
-
}), t3;
|
|
279
|
-
}(e2.customEvents);
|
|
280
|
-
!function(e3, t3) {
|
|
281
|
-
if (!t3) return;
|
|
282
|
-
for (const n3 in t3) {
|
|
283
|
-
d(t3[n3], e3);
|
|
284
|
-
}
|
|
285
|
-
}(t2, n2), t2.customEvents = n2;
|
|
286
|
-
}
|
|
287
|
-
}, exports.isShowComponent = function(t2) {
|
|
288
|
-
let n2 = true;
|
|
289
|
-
if (!e.isMobileBrowser()) {
|
|
290
|
-
const e2 = t2 && t2.events ? t2.events : [];
|
|
291
|
-
if (e2) {
|
|
292
|
-
const t3 = e2.filter((e3) => "click" === e3.name && e3.isStandard && e3.eventName && "showSearch" === e3.eventName);
|
|
293
|
-
t3 && t3.length > 0 && (n2 = false);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return n2;
|
|
297
|
-
}, exports.isShowMobileEvent = function(t2, n2) {
|
|
298
|
-
let o2 = true;
|
|
299
|
-
if (e.isMobileBrowser()) {
|
|
300
|
-
const e2 = F(t2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], "click");
|
|
301
|
-
if (e2) {
|
|
302
|
-
const t3 = e2.isStandard, n3 = e2.event, i2 = navigator ? navigator.userAgent : null;
|
|
303
|
-
t3 && i2 && (i2.indexOf(" uni-app ") > 0 ? (a.includes(n3.eventName) || f.includes(n3.eventName)) && (o2 = false) : f.includes(n3.eventName) && (o2 = false));
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
return o2;
|
|
307
|
-
}, exports.removeCustomFuncFromWindow = function(e2) {
|
|
308
|
-
if (e2 && e2.customEvents) {
|
|
309
|
-
const t2 = e2.customEvents.filter((e3) => "customFunc" === e3.name && e3.jsContent);
|
|
310
|
-
t2 && t2.length > 0 && t2.forEach((e3) => {
|
|
311
|
-
delete window["$page_" + e3.eventName];
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
}, exports.rowClick = function(e2, t2, n2) {
|
|
315
|
-
return g(null, e2, t2, "row-click", n2);
|
|
316
|
-
}, exports.rowDblClick = function(e2, t2, n2) {
|
|
317
|
-
return g(null, e2, t2, "row-dblclick", n2);
|
|
318
|
-
}, exports.setTableEvents = function(e2, t2, n2, o2) {
|
|
319
|
-
var i2;
|
|
320
|
-
t2 && (D("loadBeforeSend", v(null, (i2 = { pageContext: n2, configureObj: o2 }).pageContext, i2.configureObj, "beforeListLoad", i2), e2), D("beforeRequest", function(e3) {
|
|
321
|
-
return v(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
|
|
322
|
-
}({ pageContext: n2, configureObj: o2 }), e2), D("gridDataLoaded", function(e3) {
|
|
323
|
-
return v(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
|
|
324
|
-
}({ pageContext: n2, configureObj: o2 }), e2), D("gridComplete", function(e3) {
|
|
325
|
-
return v(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
|
|
326
|
-
}({ pageContext: n2, configureObj: o2 }), e2), D("resizeHeight", function(e3) {
|
|
327
|
-
return v(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
|
|
328
|
-
}({ pageContext: n2, configureObj: o2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), D("beforeInsertRow", function(e3) {
|
|
329
|
-
return v(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
|
|
330
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("afterInsertRow", function(e3) {
|
|
331
|
-
return v(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
|
|
332
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeDelete", function(e3) {
|
|
333
|
-
return v(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
|
|
334
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("afterDelete", function(e3) {
|
|
335
|
-
return v(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
|
|
336
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeEdit", function(e3) {
|
|
337
|
-
return v(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
|
|
338
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeRestore", function(e3) {
|
|
339
|
-
return v(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
|
|
340
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeRestoreValidate", function(e3) {
|
|
341
|
-
return v(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
|
|
342
|
-
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), function(e3, t3, n3) {
|
|
343
|
-
t3 && (n3[e3] = t3);
|
|
344
|
-
}("filterDataEvent", v(null, n2, o2, "filter-data", { pageContext: n2, configureObj: o2 }), e2));
|
|
345
|
-
};
|