super-page-runtime 2.3.22-tmp1 → 2.3.22-tmp3
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/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
- package/dist/lib/assets/file.png.cjs +1 -2
- package/dist/lib/assets/folder.png.cjs +1 -2
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
- package/dist/lib/components/runtime/utils/store.cjs +1 -3
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
- package/dist/lib/i18n/langs/cn.cjs +1 -2
- package/dist/lib/i18n/langs/en.cjs +1 -2
- package/dist/lib/index.cjs +1 -6
- package/dist/lib/style.css +1 -996
- package/dist/umd/index.full.min.js +3 -7429
- package/dist/umd/style.css +1 -996
- package/package.json +77 -76
- package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
- package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
|
@@ -1,141 +1,142 @@
|
|
|
1
|
-
import { getValueFromSource as
|
|
2
|
-
import { deepCopy as
|
|
3
|
-
import { setDefaultGrid as
|
|
4
|
-
import { handleChartEvent as
|
|
5
|
-
function f
|
|
6
|
-
if (!
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
let
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
for (const
|
|
1
|
+
import { getValueFromSource as p, formatVariableValue as q, setValueForVariableName as z } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as B } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as H, CommonName as h, caculateFormulaValue as J, sortDatas as K, limitDatas as P, executeChartFormula as Q, formatToolboxI18n as W } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as O } from "../events/event-util.mjs";
|
|
5
|
+
function ie(f, n, d, c) {
|
|
6
|
+
if (!c || !c.result) return;
|
|
7
|
+
H(d), d.tooltip || (d.tooltip = {}), O(f, n, "beforeUpdateChart", d, { resultData: c });
|
|
8
|
+
const g = c && c.result ? c.result : {};
|
|
9
|
+
let m = c && c.groupValue ? c.groupValue : void 0;
|
|
10
|
+
const X = n.serviceDataField;
|
|
11
|
+
let r = null;
|
|
12
|
+
X ? r = g[X] : g && (r = Array.isArray(g) ? g : [g]), r || (r = []), n.runtime.dataConfig.runtimeData = r;
|
|
13
|
+
let D = n.props ? n.props.groups : null;
|
|
14
|
+
if (D || (D = []), !m || m.length === 0) {
|
|
15
|
+
m = [];
|
|
16
|
+
for (const t of D) m.push(t.group);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
for (const
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
const L = {}, S = [], M = [];
|
|
19
|
+
for (const t of D) L[t.group] = t.target, t.target && !S.includes(t.target) && (S.push(t.target), m.includes(t.group) && M.push(t.target));
|
|
20
|
+
let _ = n.props ? n.props.mulGroupShow : "";
|
|
21
|
+
_ = _ == "break" ? `\r
|
|
22
|
+
` : " ";
|
|
23
|
+
for (const t of r) {
|
|
24
|
+
if (!t) continue;
|
|
25
|
+
const e = [];
|
|
26
|
+
for (const i of m) {
|
|
27
|
+
const o = L[i], a = p(t, o, void 0);
|
|
28
|
+
a && e.push(a);
|
|
28
29
|
}
|
|
29
|
-
const
|
|
30
|
-
|
|
30
|
+
const s = e.join(_);
|
|
31
|
+
t[h.X_FIELD_NAME] = s;
|
|
31
32
|
}
|
|
32
|
-
const
|
|
33
|
-
for (const
|
|
34
|
-
for (const
|
|
35
|
-
const
|
|
36
|
-
let
|
|
37
|
-
if (!
|
|
38
|
-
let
|
|
39
|
-
for (const
|
|
40
|
-
|
|
41
|
-
} else
|
|
42
|
-
else
|
|
43
|
-
|
|
33
|
+
const k = n.items ? n.items : [], T = [], G = {}, x = [], $ = {}, N = [], E = [], y = /* @__PURE__ */ new Set(), R = J(k, r, y);
|
|
34
|
+
for (const t of y) N.push(t);
|
|
35
|
+
for (const t of k) {
|
|
36
|
+
const e = t.props ? t.props : {}, s = e.yaxisSource, i = e.yaxisField, o = e.isCumulative;
|
|
37
|
+
let a = null;
|
|
38
|
+
if (!i || s && s != "variable") if (s == "formula") {
|
|
39
|
+
let l = e.formula ? e.formula : "";
|
|
40
|
+
for (const u in R) l = l.replace(new RegExp(u.replace("$", "\\$"), "g"), R[u]);
|
|
41
|
+
a = { uuid: t.uuid, type: "formula", formula: l, data: [], dynamicDatas: [] };
|
|
42
|
+
} else a = { uuid: t.uuid, type: "fixed", field: e.yaxisFix, data: [], dynamicDatas: [] };
|
|
43
|
+
else a = { uuid: t.uuid, type: "variable", field: i, isCumulative: o, data: [], dynamicDatas: [] }, i && !N.includes(i) && N.push(i), i && !E.includes(i) && E.push(i), o && !y.has(i) && y.add(i);
|
|
44
|
+
a != null && (T.push(a), G[t.uuid] = a), e.dynamicSeriesField && !x.includes(e.dynamicSeriesField) && a && (a.dynamicField = e.dynamicSeriesField, a.dynamicSeriesTitle = e.dynamicSeriesTitle, a.dynamicShowStack = e.dynamicShowStack, x.push(e.dynamicSeriesField), $[e.dynamicSeriesField] = i);
|
|
44
45
|
}
|
|
45
|
-
const
|
|
46
|
-
if (
|
|
47
|
-
const
|
|
48
|
-
for (const
|
|
49
|
-
const
|
|
50
|
-
let
|
|
51
|
-
if (!
|
|
52
|
-
|
|
53
|
-
for (const
|
|
54
|
-
|
|
46
|
+
const b = {};
|
|
47
|
+
if (x.length > 0) {
|
|
48
|
+
const t = [], e = {};
|
|
49
|
+
for (const s of r) if (s) for (const i of N) {
|
|
50
|
+
const o = s[h.X_FIELD_NAME];
|
|
51
|
+
let a = e[o];
|
|
52
|
+
if (!a) {
|
|
53
|
+
a = {};
|
|
54
|
+
for (const u of S) a[u] = s[u];
|
|
55
|
+
a[h.X_FIELD_NAME] = s[h.X_FIELD_NAME], e[o] = a, t.push(a);
|
|
55
56
|
}
|
|
56
|
-
let
|
|
57
|
-
if (!isNaN(
|
|
58
|
-
const
|
|
59
|
-
isNaN || (
|
|
57
|
+
let l = p(s, i, void 0);
|
|
58
|
+
if (!isNaN(l)) {
|
|
59
|
+
const u = a[i];
|
|
60
|
+
isNaN || (l += u), a[i] = l;
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
for (const
|
|
63
|
-
const
|
|
64
|
-
for (const
|
|
65
|
-
if (!
|
|
66
|
-
const
|
|
67
|
-
if (!
|
|
68
|
-
let
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
if (void 0
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
void 0
|
|
63
|
+
for (const s of x) {
|
|
64
|
+
const i = [];
|
|
65
|
+
for (const o of r) {
|
|
66
|
+
if (!o) continue;
|
|
67
|
+
const a = e[o[h.X_FIELD_NAME]];
|
|
68
|
+
if (!a) continue;
|
|
69
|
+
let l = p(o, s, void 0);
|
|
70
|
+
l = l == null || l == null ? "" : l, i.includes(l) || (i.push(l), E.push(l), y.add(l));
|
|
71
|
+
const u = $[s];
|
|
72
|
+
if (u !== void 0) {
|
|
73
|
+
const w = p(o, u, void 0);
|
|
74
|
+
let C = a[l];
|
|
75
|
+
C === void 0 ? C = w : isNaN(w) || (C += w), a[l] = C;
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
|
-
|
|
78
|
+
b[s] = i;
|
|
78
79
|
}
|
|
79
|
-
|
|
80
|
+
r = t;
|
|
80
81
|
}
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
for (const
|
|
84
|
-
for (const
|
|
85
|
-
const
|
|
86
|
-
let
|
|
87
|
-
void 0
|
|
82
|
+
K(f, n, r), r = P(f, n, r, S, E);
|
|
83
|
+
const V = [], F = {};
|
|
84
|
+
for (const t of r) if (t) {
|
|
85
|
+
for (const e of y) {
|
|
86
|
+
const s = p(t, e, void 0);
|
|
87
|
+
let i = F[e];
|
|
88
|
+
s === void 0 || isNaN(s) || (i === void 0 ? i = s : i += s), F[e] = i;
|
|
88
89
|
}
|
|
89
|
-
|
|
90
|
-
for (const
|
|
91
|
-
let
|
|
92
|
-
const
|
|
93
|
-
if (
|
|
94
|
-
let
|
|
95
|
-
|
|
96
|
-
for (let
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
let
|
|
100
|
-
|
|
90
|
+
V.push(t[h.X_FIELD_NAME]);
|
|
91
|
+
for (const e of T) {
|
|
92
|
+
let s = e.data;
|
|
93
|
+
const i = e.dynamicDatas;
|
|
94
|
+
if (e.dynamicField) {
|
|
95
|
+
let o = b[e.dynamicField];
|
|
96
|
+
o = o || [];
|
|
97
|
+
for (let a = 0; a < o.length; a++) {
|
|
98
|
+
a >= i.length && i.push([]), s = i[a];
|
|
99
|
+
const l = o[a];
|
|
100
|
+
let u = p(t, l, void 0);
|
|
101
|
+
e.isCumulative && (u = F[l]), s.push(u);
|
|
101
102
|
}
|
|
102
|
-
} else if ("fixed"
|
|
103
|
-
else if ("variable"
|
|
104
|
-
let
|
|
105
|
-
|
|
106
|
-
} else if ("formula"
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
} else
|
|
103
|
+
} else if (e.type === "fixed") s.push(e.field);
|
|
104
|
+
else if (e.type === "variable") {
|
|
105
|
+
let o = p(t, e.field, void 0);
|
|
106
|
+
e.isCumulative && (o = F[e.field]), s.push(o);
|
|
107
|
+
} else if (e.type === "formula") {
|
|
108
|
+
const o = Q(e.formula, F, t, f);
|
|
109
|
+
s.push(o);
|
|
110
|
+
} else s.push(void 0);
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
|
-
const
|
|
113
|
-
for (const
|
|
114
|
-
const
|
|
115
|
-
if (
|
|
116
|
-
let
|
|
117
|
-
|
|
118
|
-
const
|
|
119
|
-
for (let
|
|
120
|
-
const
|
|
121
|
-
if (
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
} else
|
|
125
|
-
|
|
113
|
+
const U = n.defaultSeries, Y = B(U ?? []), I = [];
|
|
114
|
+
for (const t of Y) {
|
|
115
|
+
const e = G[t.uuid];
|
|
116
|
+
if (e.dynamicField) {
|
|
117
|
+
let s = b[e.dynamicField];
|
|
118
|
+
s = s || [];
|
|
119
|
+
const i = e.dynamicDatas ? e.dynamicDatas : [];
|
|
120
|
+
for (let o = 0; o < s.length; o++) {
|
|
121
|
+
const a = s[o], l = B(t);
|
|
122
|
+
if (e.dynamicSeriesTitle) {
|
|
123
|
+
const u = e.dynamicSeriesTitle.replace("${name}", a);
|
|
124
|
+
l.name = q(f, u);
|
|
125
|
+
} else l.name = a;
|
|
126
|
+
l.data = o < i.length ? i[o] : [], t.type == "bar" && e.dynamicShowStack && (l.stack = t.uuid), I.push(l);
|
|
126
127
|
}
|
|
127
|
-
} else
|
|
128
|
+
} else t.data = e ? e.data : [], I.push(t);
|
|
128
129
|
}
|
|
129
|
-
|
|
130
|
-
const
|
|
131
|
-
if (
|
|
132
|
-
if (
|
|
133
|
-
|
|
134
|
-
} else
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
!(
|
|
130
|
+
d.series = I;
|
|
131
|
+
const v = n.defaultXaxis, A = n.defaultYaxis;
|
|
132
|
+
if (d.isBar) {
|
|
133
|
+
if (A) for (const t of A) t.data = V;
|
|
134
|
+
d.xAxis = v, d.yAxis = A;
|
|
135
|
+
} else v && v.length > 0 && (v[0].data = V), d.xAxis = v, d.yAxis = A;
|
|
136
|
+
W(d);
|
|
137
|
+
const j = n.props ? n.props.selGroupVariable : null;
|
|
138
|
+
!(n.props && n.props.enableDrill) && j && (n.highlightInfos = [], z(f.entity, j, null)), O(f, n, "afterUpdateChart", d, { resultData: c }), n.groupFields = M, n.cacheDatas = r, n.rawResult = c;
|
|
138
139
|
}
|
|
139
140
|
export {
|
|
140
|
-
|
|
141
|
+
ie as updateChartOption
|
|
141
142
|
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { formatVariableValue as
|
|
2
|
-
import { deepCopy as
|
|
3
|
-
import { setDefaultGrid as
|
|
4
|
-
import { handleChartEvent as
|
|
5
|
-
function
|
|
6
|
-
if (!
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
for (const
|
|
13
|
-
if (!
|
|
14
|
-
let
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
|
|
1
|
+
import { formatVariableValue as b, getValueFromSource as F } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as V } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as U, formatToolboxI18n as j } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as g } from "../events/event-util.mjs";
|
|
5
|
+
function M(d, e, l, t) {
|
|
6
|
+
if (!t || !t.result) return;
|
|
7
|
+
g(d, e, "beforeUpdateChart", l, { resultData: t }), U(l);
|
|
8
|
+
const n = t && t.result ? t.result : {}, c = e.serviceDataField;
|
|
9
|
+
let s = null;
|
|
10
|
+
c ? s = n[c] : n && (s = [n]), s || (s = []);
|
|
11
|
+
const x = e.props ? e.props.nameSource : void 0, h = e.props ? e.props.nameField : void 0, D = e.props ? e.props.nameFixed : void 0, S = e.props ? e.props.yaxisField : void 0, y = [h], p = [], f = [];
|
|
12
|
+
for (const o of s) {
|
|
13
|
+
if (!o) continue;
|
|
14
|
+
let r = null;
|
|
15
|
+
r = x == "fixed" ? b(d, D) : F(o, h, void 0), p.push(r);
|
|
16
|
+
const a = F(o, S, void 0);
|
|
17
|
+
f.push(a);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
for (let
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
28
|
-
let
|
|
29
|
-
|
|
19
|
+
const m = e.defaultSeries;
|
|
20
|
+
let i = m[0].pieColors;
|
|
21
|
+
i = i || [];
|
|
22
|
+
let u = m[0].pieColorMap;
|
|
23
|
+
u = u || {};
|
|
24
|
+
const v = [];
|
|
25
|
+
for (let o = 0; o < p.length && o < f.length; o++) {
|
|
26
|
+
const r = { value: f[o], name: p[o] };
|
|
27
|
+
if (o < i.length || u[r.name]) {
|
|
28
|
+
let a = u[r.name];
|
|
29
|
+
a || (a = i[o]), a && (r.itemStyle = { color: a });
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
v.push(r);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
|
|
33
|
+
const C = V(m);
|
|
34
|
+
C[0].data = v, l.series = [C[0]], j(l), g(d, e, "afterUpdateChart", l, { resultData: t }), e.groupFields = y, e.cacheDatas = s, e.rawResult = t;
|
|
35
35
|
}
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
M as updateChartOption
|
|
38
38
|
};
|
|
@@ -1,82 +1,83 @@
|
|
|
1
|
-
import { getValueFromSource as
|
|
2
|
-
import { deepCopy as
|
|
3
|
-
import { setDefaultGrid as
|
|
4
|
-
import { handleChartEvent as
|
|
5
|
-
function
|
|
6
|
-
if (!
|
|
7
|
-
|
|
8
|
-
const h =
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
let
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
for (const
|
|
1
|
+
import { getValueFromSource as b, setValueForVariableName as R } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as T } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as U, CommonName as _, caculateFormulaValue as X, executeChartFormula as $, sortDatas as k, limitDatas as O, formatToolboxI18n as P } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as L } from "../events/event-util.mjs";
|
|
5
|
+
function H(p, t, m, s) {
|
|
6
|
+
if (!s || !s.result) return;
|
|
7
|
+
L(p, t, "beforeUpdateChart", m, { resultData: s }), U(m);
|
|
8
|
+
const h = s && s.result ? s.result : {};
|
|
9
|
+
let u = s && s.groupValue ? s.groupValue : void 0;
|
|
10
|
+
const A = t.serviceDataField;
|
|
11
|
+
let e = null;
|
|
12
|
+
A ? e = h[A] : h && (e = Array.isArray(h) ? h : [h]), e || (e = []);
|
|
13
|
+
let f = t.props ? t.props.groups : null;
|
|
14
|
+
if (f || (f = []), !u || u.length === 0) {
|
|
15
|
+
u = [];
|
|
16
|
+
for (const o of f) u.push(o.group);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
for (const
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
const M = {}, v = [], I = [];
|
|
19
|
+
for (const o of f) M[o.group] = o.target, o.target && !v.includes(o.target) && (v.push(o.target), u.includes(o.group) && I.push(o.target));
|
|
20
|
+
let C = t.props ? t.props.mulGroupShow : "";
|
|
21
|
+
C = C == "break" ? `\r
|
|
22
|
+
` : " ";
|
|
23
|
+
for (const o of e) {
|
|
24
|
+
if (!o) continue;
|
|
25
|
+
const r = [];
|
|
26
|
+
for (const d of u) {
|
|
27
|
+
const l = M[d], x = b(o, l, void 0);
|
|
28
|
+
x && r.push(x);
|
|
28
29
|
}
|
|
29
|
-
const
|
|
30
|
-
|
|
30
|
+
const a = r.join(C);
|
|
31
|
+
o[_.X_FIELD_NAME] = a;
|
|
31
32
|
}
|
|
32
|
-
const
|
|
33
|
-
if (
|
|
34
|
-
const
|
|
35
|
-
let
|
|
36
|
-
if (
|
|
37
|
-
const
|
|
38
|
-
let
|
|
39
|
-
for (const
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
for (const
|
|
43
|
-
if (!
|
|
44
|
-
for (const
|
|
45
|
-
const
|
|
46
|
-
let
|
|
47
|
-
void 0
|
|
33
|
+
const n = t.items ? t.items : [];
|
|
34
|
+
if (n.length == 0) return;
|
|
35
|
+
const i = t.props ? t.props : {};
|
|
36
|
+
let c = i.yaxisField;
|
|
37
|
+
if (n[0].props.yaxisField = c, n[0].props.yaxisSource = i.yaxisSource, n[0].props.formula = i.formula, i.yaxisSource === "formula") {
|
|
38
|
+
const o = [], r = X(n, e, o);
|
|
39
|
+
let a = i.formula ? i.formula : "";
|
|
40
|
+
for (const l in r) a = a.replace(new RegExp(l.replace("$", "\\$"), "g"), r[l]);
|
|
41
|
+
c = _.Y_TEMP_NAME;
|
|
42
|
+
const d = {};
|
|
43
|
+
for (const l of e) {
|
|
44
|
+
if (!l) continue;
|
|
45
|
+
for (const V of o) {
|
|
46
|
+
const F = b(l, V, void 0);
|
|
47
|
+
let D = d[V];
|
|
48
|
+
F === void 0 || isNaN(F) || (D === void 0 ? D = F : D += F), d[V] = D;
|
|
48
49
|
}
|
|
49
|
-
const
|
|
50
|
-
|
|
50
|
+
const x = $(a, d, l, p);
|
|
51
|
+
l[c] = x;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
-
const
|
|
55
|
-
for (const
|
|
56
|
-
if (!
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
|
|
54
|
+
n[0].props.yaxisField = c, n[0].props.yaxisSource = "", k(p, t, e), e = O(p, t, e, v, [c]);
|
|
55
|
+
const E = [], S = [];
|
|
56
|
+
for (const o of e) {
|
|
57
|
+
if (!o) continue;
|
|
58
|
+
E.push(o[_.X_FIELD_NAME]);
|
|
59
|
+
const r = b(o, c, void 0);
|
|
60
|
+
S.push(r);
|
|
60
61
|
}
|
|
61
|
-
const
|
|
62
|
-
let
|
|
63
|
-
|
|
64
|
-
let
|
|
65
|
-
|
|
66
|
-
const
|
|
67
|
-
for (let
|
|
68
|
-
const
|
|
69
|
-
if (
|
|
70
|
-
let
|
|
71
|
-
|
|
62
|
+
const N = t.defaultSeries;
|
|
63
|
+
let y = N[0].pieColors;
|
|
64
|
+
y = y || [];
|
|
65
|
+
let g = N[0].pieColorMap;
|
|
66
|
+
g = g || {};
|
|
67
|
+
const w = [];
|
|
68
|
+
for (let o = 0; o < E.length && o < S.length; o++) {
|
|
69
|
+
const r = { value: S[o], name: E[o] };
|
|
70
|
+
if (o < y.length || g[r.name]) {
|
|
71
|
+
let a = g[r.name];
|
|
72
|
+
a || (a = y[o]), a && (r.itemStyle = { color: a });
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
w.push(r);
|
|
74
75
|
}
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
!(
|
|
76
|
+
const G = T(N);
|
|
77
|
+
G[0].data = w, m.series = [G[0]], P(m);
|
|
78
|
+
const j = t.props ? t.props.selGroupVariable : null;
|
|
79
|
+
!(t.props && t.props.enableDrill) && j && (t.highlightInfos = [], R(p.entity, j, null)), L(p, t, "afterUpdateChart", m, { resultData: s }), t.groupFields = I, t.cacheDatas = e, t.rawResult = s;
|
|
79
80
|
}
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
H as updateChartOption
|
|
82
83
|
};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { getValueFromSource as
|
|
2
|
-
import { deepCopy as
|
|
3
|
-
import { setDefaultGrid as
|
|
4
|
-
import { handleChartEvent as
|
|
5
|
-
function
|
|
6
|
-
if (!
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
for (const
|
|
13
|
-
const
|
|
14
|
-
let
|
|
15
|
-
if (!
|
|
16
|
-
let
|
|
17
|
-
for (const
|
|
18
|
-
|
|
19
|
-
} else
|
|
20
|
-
else
|
|
21
|
-
|
|
1
|
+
import { getValueFromSource as n } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as V } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as $, caculateFormulaValue as j, executeChartFormula as G, formatToolboxI18n as I } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as w } from "../events/event-util.mjs";
|
|
5
|
+
function z(c, r, u, s) {
|
|
6
|
+
if (!s || !s.result) return;
|
|
7
|
+
w(c, r, "beforeUpdateChart", u, { resultData: s }), $(u);
|
|
8
|
+
const p = s && s.result ? s.result : {}, x = r.serviceDataField;
|
|
9
|
+
let l = null;
|
|
10
|
+
x ? l = p[x] : p && (l = Array.isArray(p) ? p : [p]), l || (l = []);
|
|
11
|
+
const v = r.items ? r.items : [], h = [], y = {}, F = [], b = j(v, l, F);
|
|
12
|
+
for (const a of v) {
|
|
13
|
+
const i = a.props ? a.props : {}, f = i.yaxisSource, t = i.yaxisField;
|
|
14
|
+
let e = null;
|
|
15
|
+
if (!t || f && f != "variable") if (f == "formula") {
|
|
16
|
+
let o = i.formula ? i.formula : "";
|
|
17
|
+
for (const g in b) o = o.replace(new RegExp(g.replace("$", "\\$"), "g"), b[g]);
|
|
18
|
+
e = { uuid: a.uuid, type: "formula", formula: o, data: [] };
|
|
19
|
+
} else e = { uuid: a.uuid, type: "fixed", field: i.yaxisFix, data: [] };
|
|
20
|
+
else e = { uuid: a.uuid, type: "variable", field: t, data: [] };
|
|
21
|
+
e && (h.push(e), y[e.uuid] = e);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
24
|
-
for (const
|
|
25
|
-
if (!
|
|
26
|
-
const
|
|
27
|
-
let
|
|
28
|
-
|
|
29
|
-
for (const
|
|
30
|
-
const
|
|
31
|
-
let
|
|
32
|
-
void 0
|
|
23
|
+
const d = r.props ? r.props : {}, A = d.nameField, C = d.maxSource, N = d.maxField, E = d.maxFixed, D = [], m = {};
|
|
24
|
+
for (const a of l) {
|
|
25
|
+
if (!a) continue;
|
|
26
|
+
const i = n(a, A, void 0);
|
|
27
|
+
let f = null;
|
|
28
|
+
f = C && C != "variable" ? E : n(a, N, void 0), D.push({ text: i, max: f });
|
|
29
|
+
for (const t of F) {
|
|
30
|
+
const e = n(a, t, void 0);
|
|
31
|
+
let o = m[t];
|
|
32
|
+
e === void 0 || isNaN(e) || (o === void 0 ? o = e : o += e), m[t] = o;
|
|
33
33
|
}
|
|
34
|
-
for (const
|
|
35
|
-
const
|
|
36
|
-
if ("fixed"
|
|
37
|
-
else if ("variable"
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
} else if ("formula"
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
} else
|
|
34
|
+
for (const t of h) {
|
|
35
|
+
const e = t.data;
|
|
36
|
+
if (t.type == "fixed") e.push(t.field);
|
|
37
|
+
else if (t.type == "variable") {
|
|
38
|
+
const o = n(a, t.field, void 0);
|
|
39
|
+
e.push(o);
|
|
40
|
+
} else if (t.type == "formula") {
|
|
41
|
+
const o = G(t.formula, m, a, c);
|
|
42
|
+
e.push(o);
|
|
43
|
+
} else e.push(void 0);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
for (const
|
|
49
|
-
const
|
|
50
|
-
|
|
46
|
+
u.radar[0].indicator = D, I(u);
|
|
47
|
+
const R = r.defaultSeries, S = V(R), U = S[0].data;
|
|
48
|
+
for (const a of U) {
|
|
49
|
+
const i = y[a.uuid];
|
|
50
|
+
a.value = i.data;
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
u.series = S, w(c, r, "afterUpdateChart", u, { resultData: s }), r.cacheDatas = l, r.rawResult = s;
|
|
53
53
|
}
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
z as updateChartOption
|
|
56
56
|
};
|