super-page-runtime 2.3.22-tmp2 → 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,47 +1,47 @@
|
|
|
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
|
-
|
|
1
|
+
import { getValueFromSource as d } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as b } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as D, caculateFormulaValue as g, executeChartFormula as w, formatToolboxI18n as A } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as z } from "../events/event-util.mjs";
|
|
5
|
+
function V(f, t, l, r) {
|
|
6
|
+
if (!r || !r.result) return;
|
|
7
|
+
z(f, t, "beforeUpdateChart", l, { resultData: r }), D(l);
|
|
8
|
+
const u = r && r.result ? r.result : {}, x = t.serviceDataField;
|
|
9
|
+
let i = null;
|
|
10
|
+
x ? i = u[x] : u && (i = Array.isArray(u) ? u : [u]), i || (i = []);
|
|
11
|
+
const h = t.items ? t.items : [], n = [], y = {};
|
|
12
|
+
for (const e of h) {
|
|
13
|
+
const o = e.props ? e.props : {}, a = e.props ? e.style : {}, s = o.xaxisField, m = o.sizeField, c = { uuid: e.uuid, xaxisField: s, yaxisField: o.yaxisField, yaxisSource: o.yaxisSource, formula: o.formula, sizeField: m, symbolSize: a.symbolSize, data: [] };
|
|
14
|
+
n.push(c), y[c.uuid] = c;
|
|
15
15
|
}
|
|
16
|
-
const
|
|
17
|
-
for (const
|
|
18
|
-
let
|
|
19
|
-
for (const
|
|
20
|
-
|
|
16
|
+
const F = [], S = g(h, i, F);
|
|
17
|
+
for (const e of n) if (e.yaxisSource === "formula") {
|
|
18
|
+
let o = e.formula ? e.formula : "";
|
|
19
|
+
for (const a in S) o = o.replace(new RegExp(a.replace("$", "\\$"), "g"), S[a]);
|
|
20
|
+
e.formula = o;
|
|
21
21
|
}
|
|
22
|
-
const
|
|
23
|
-
for (const
|
|
24
|
-
for (const
|
|
25
|
-
const
|
|
26
|
-
let
|
|
27
|
-
void 0
|
|
22
|
+
const p = {};
|
|
23
|
+
for (const e of i) if (e) {
|
|
24
|
+
for (const o of F) {
|
|
25
|
+
const a = d(e, o, void 0);
|
|
26
|
+
let s = p[o];
|
|
27
|
+
a === void 0 || isNaN(a) || (s === void 0 ? s = a : s += a), p[o] = s;
|
|
28
28
|
}
|
|
29
|
-
for (const
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
} else
|
|
35
|
-
|
|
29
|
+
for (const o of n) {
|
|
30
|
+
const a = o.data, s = [];
|
|
31
|
+
if (s.push(d(e, o.xaxisField, void 0)), o.yaxisSource === "formula") {
|
|
32
|
+
const m = w(o.formula, p, e, f);
|
|
33
|
+
s.push(m);
|
|
34
|
+
} else s.push(d(e, o.yaxisField, void 0));
|
|
35
|
+
o.sizeField ? s.push(d(e, o.xaxisField, void 0)) : s.push(o.symbolSize), a.push(s);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
const
|
|
39
|
-
for (const
|
|
40
|
-
const
|
|
41
|
-
|
|
38
|
+
const C = t.defaultSeries, v = b(C);
|
|
39
|
+
for (const e of v) {
|
|
40
|
+
const o = y[e.uuid];
|
|
41
|
+
e.data = o.data;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
l.series = v, A(l), z(f, t, "afterUpdateChart", l, { resultData: r }), t.cacheDatas = i, t.rawResult = r;
|
|
44
44
|
}
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
V as updateChartOption
|
|
47
47
|
};
|
|
@@ -1,284 +1,281 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { getDefaultValue as
|
|
7
|
-
import {
|
|
8
|
-
import { getI18n as
|
|
9
|
-
import { appendDefaultMethods as
|
|
10
|
-
var
|
|
11
|
-
function
|
|
12
|
-
return "bar"
|
|
1
|
+
import b from "../../../../assets/chart-themes/bar-theme.mjs";
|
|
2
|
+
import S from "../../../../assets/chart-themes/gauge-theme.mjs";
|
|
3
|
+
import V from "../../../../assets/chart-themes/pie-theme.mjs";
|
|
4
|
+
import M from "../../../../assets/chart-themes/radar-theme.mjs";
|
|
5
|
+
import C from "../../../../assets/chart-themes/scatter-theme.mjs";
|
|
6
|
+
import { getDefaultValue as _ } from "../page-init-util.mjs";
|
|
7
|
+
import { setValueForVariableName as x, setVariableValue as A, getValueFromSource as h, getParamNames as N, formatVariableValue as v, getValueFromVariable as k } from "../page-helper-util.mjs";
|
|
8
|
+
import { getI18n as g } from "agilebuilder-ui";
|
|
9
|
+
import { appendDefaultMethods as w } from "../events/event-util.mjs";
|
|
10
|
+
var O = ((e) => (e.X_FIELD_NAME = "__x", e.Y_TEMP_NAME = "__y", e))(O || {});
|
|
11
|
+
function P(e, t = "bar") {
|
|
12
|
+
return t === "bar" ? b[e] : t === "gauge" ? S[e] : t === "pie" ? V[e] : t === "radar" ? M[e] : t === "scatter" ? C[e] : b[e];
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function z() {
|
|
15
15
|
return [{ value: "theme1", label: "主题1" }, { value: "theme2", label: "主题2" }, { value: "theme3", label: "主题3" }];
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
return function(
|
|
19
|
-
let
|
|
20
|
-
if (
|
|
21
|
-
if (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
let t3 = parseInt(e2);
|
|
25
|
-
(null == t3 || isNaN(t3)) && (t3 = 2), o2 = parseFloat(parseFloat(o2).toFixed(t3));
|
|
17
|
+
function I(e, t, a, n, r) {
|
|
18
|
+
return function(o) {
|
|
19
|
+
let i = o == null ? void 0 : o.value;
|
|
20
|
+
if (r && (i = o), i == null || i == null || Array.isArray(i) || isNaN(i) || !e || !e.indexOf) return i;
|
|
21
|
+
if (e.indexOf("precision") > -1) {
|
|
22
|
+
let c = parseInt(t);
|
|
23
|
+
(c == null || isNaN(c)) && (c = 2), i = parseFloat(parseFloat(i).toFixed(c));
|
|
26
24
|
}
|
|
27
|
-
let
|
|
28
|
-
|
|
29
|
-
let
|
|
30
|
-
return
|
|
25
|
+
let s = "";
|
|
26
|
+
e.indexOf("prefix") > -1 && a && (s = a);
|
|
27
|
+
let l = "";
|
|
28
|
+
return e.indexOf("append") > -1 && n && (l = n), s + i.toLocaleString() + l;
|
|
31
29
|
};
|
|
32
30
|
}
|
|
33
|
-
function
|
|
34
|
-
if (!
|
|
35
|
-
if (
|
|
36
|
-
const
|
|
37
|
-
for (const
|
|
31
|
+
function G(e, t) {
|
|
32
|
+
if (!t) return;
|
|
33
|
+
if (t.tooltipFormatterArgs && (t.tooltip || (t.tooltip = {}), t.tooltip.valueFormatter = I.apply(t, t.tooltipFormatterArgs)), t.series) {
|
|
34
|
+
const o = e.props ? e.props.enableDrill : null;
|
|
35
|
+
for (const i of t.series) t.radar || (i.data = []), i.labelFormatterArgs && (i.label || (i.label = {}), i.label.formatter = I.apply(i, i.labelFormatterArgs)), !o && e.clickSet && e.clickSet.selected && i.emphasis && (i.emphasis.disabled = !1), i.type === "pie" && e.clickSet && e.clickSet.selected && (e.clickSet.multiple ? i.selectedMode = "multiple" : i.selectedMode = "single");
|
|
38
36
|
}
|
|
39
|
-
if (
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
if (
|
|
46
|
-
if (
|
|
47
|
-
}), "auto"
|
|
48
|
-
if (
|
|
37
|
+
if (t.radar) for (const o of t.radar) o.indicator = [];
|
|
38
|
+
const a = t.series;
|
|
39
|
+
e.defaultSeries = a;
|
|
40
|
+
const n = t.xAxis;
|
|
41
|
+
n && n.length > 0 && n[0].data && (n[0].data = []), e.defaultXaxis = n;
|
|
42
|
+
const r = t.yAxis;
|
|
43
|
+
if (r) for (const o of r) o.data && (o.data = []), o._dataMin === "auto" && (o.min = function(i) {
|
|
44
|
+
if (i.min) return 10 * Math.floor(i.min / 10);
|
|
45
|
+
}), o._dataMax === "auto" && (o.max = function(i) {
|
|
46
|
+
if (i.max) return 10 * Math.ceil(i.max / 10);
|
|
49
47
|
});
|
|
50
|
-
|
|
48
|
+
e.defaultYaxis = r;
|
|
51
49
|
}
|
|
52
|
-
function
|
|
53
|
-
if (!(
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
let
|
|
57
|
-
if (
|
|
58
|
-
const
|
|
59
|
-
for (let
|
|
60
|
-
const
|
|
61
|
-
if (
|
|
62
|
-
if (
|
|
63
|
-
const
|
|
64
|
-
|
|
50
|
+
function J(e, t, a) {
|
|
51
|
+
if (!(a && t && t.clickSet && e)) return;
|
|
52
|
+
const n = t.clickSet;
|
|
53
|
+
a.on("click", function(r) {
|
|
54
|
+
let o = t.highlightInfos ? t.highlightInfos : [], i = -1;
|
|
55
|
+
if (o) {
|
|
56
|
+
const s = [];
|
|
57
|
+
for (let l = 0; l < o.length; l++) {
|
|
58
|
+
const c = o[l], f = c.seriesIndex === r.seriesIndex && c.dataIndex === r.dataIndex;
|
|
59
|
+
if (f || !n.multiple) {
|
|
60
|
+
if (n.selected) {
|
|
61
|
+
const u = t.name === "chart-pie" ? "unselect" : "downplay";
|
|
62
|
+
a.dispatchAction({ type: u, seriesIndex: c.seriesIndex, dataIndex: c.dataIndex });
|
|
65
63
|
}
|
|
66
|
-
} else
|
|
67
|
-
|
|
64
|
+
} else s.push(c);
|
|
65
|
+
f && (i = l);
|
|
68
66
|
}
|
|
69
|
-
|
|
67
|
+
o = s;
|
|
70
68
|
}
|
|
71
|
-
if (
|
|
72
|
-
if (
|
|
73
|
-
const
|
|
74
|
-
|
|
69
|
+
if (i === -1) {
|
|
70
|
+
if (n.selected) {
|
|
71
|
+
const s = t.name === "chart-pie" ? "select" : "highlight";
|
|
72
|
+
a.dispatchAction({ type: s, seriesIndex: r.seriesIndex, dataIndex: r.dataIndex });
|
|
75
73
|
}
|
|
76
|
-
|
|
74
|
+
o.push({ seriesIndex: r.seriesIndex, dataIndex: r.dataIndex });
|
|
77
75
|
}
|
|
78
|
-
|
|
76
|
+
t.highlightInfos = o, F(e, t);
|
|
79
77
|
});
|
|
80
78
|
}
|
|
81
|
-
function
|
|
82
|
-
if (!
|
|
83
|
-
const
|
|
84
|
-
for (let
|
|
85
|
-
const
|
|
86
|
-
|
|
79
|
+
function Q(e, t, a) {
|
|
80
|
+
if (!a || !t || !e) return;
|
|
81
|
+
const n = t.highlightInfos ? t.highlightInfos : [];
|
|
82
|
+
for (let r = 0; r < n.length; r++) {
|
|
83
|
+
const o = n[r], i = t.name === "chart-pie" ? "unselect" : "downplay";
|
|
84
|
+
a.dispatchAction({ type: i, seriesIndex: o.seriesIndex, dataIndex: o.dataIndex });
|
|
87
85
|
}
|
|
88
|
-
|
|
86
|
+
t.highlightInfos = [], F(e, t);
|
|
89
87
|
}
|
|
90
|
-
function
|
|
91
|
-
if (!
|
|
92
|
-
const
|
|
93
|
-
if (!
|
|
94
|
-
const
|
|
95
|
-
for (const
|
|
96
|
-
for (const
|
|
97
|
-
if (!
|
|
98
|
-
const
|
|
99
|
-
for (const
|
|
100
|
-
const
|
|
101
|
-
|
|
88
|
+
function F(e, t) {
|
|
89
|
+
if (!t.clickSet) return;
|
|
90
|
+
const a = t.clickSet, n = a.variables;
|
|
91
|
+
if (!n || n.length == 0) return;
|
|
92
|
+
const r = t.highlightInfos ? t.highlightInfos : [], o = t.cacheDatas ? t.cacheDatas : [], i = [], s = [];
|
|
93
|
+
for (const l of r) s.includes(l.dataIndex) || (s.push(l.dataIndex), l.dataIndex < o.length && i.push(o[l.dataIndex]));
|
|
94
|
+
for (const l of n) {
|
|
95
|
+
if (!l.fieldName || !l.variable) continue;
|
|
96
|
+
const c = [];
|
|
97
|
+
for (const f of i) {
|
|
98
|
+
const u = h(f, l.fieldName, void 0);
|
|
99
|
+
u != null && c.push(u);
|
|
102
100
|
}
|
|
103
|
-
|
|
101
|
+
a.multiple ? x(e.entity, l.variable, c) : x(e.entity, l.variable, c.length > 0 ? c[0] : void 0);
|
|
104
102
|
}
|
|
105
103
|
}
|
|
106
|
-
function
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
if ("x"
|
|
110
|
-
else if (
|
|
111
|
-
for (const
|
|
112
|
-
const
|
|
113
|
-
if (
|
|
114
|
-
|
|
104
|
+
function U(e, t, a) {
|
|
105
|
+
const n = t.items ? t.items : [], r = t.props ? t.props.orderByTarget : "";
|
|
106
|
+
let o = null;
|
|
107
|
+
if (r == "x" || r == "X") o = "__x";
|
|
108
|
+
else if (r) {
|
|
109
|
+
for (const l of n) if (l.uuid == r) {
|
|
110
|
+
const c = l.props ? l.props : {}, f = c.yaxisSource, u = c.yaxisField;
|
|
111
|
+
if (u && (!f || f == "variable")) {
|
|
112
|
+
o = u;
|
|
115
113
|
break;
|
|
116
114
|
}
|
|
117
115
|
}
|
|
118
116
|
}
|
|
119
|
-
if (!
|
|
120
|
-
const
|
|
121
|
-
let
|
|
122
|
-
if ("variable"
|
|
123
|
-
const
|
|
124
|
-
|
|
117
|
+
if (!o) return;
|
|
118
|
+
const i = t.props ? t.props.orderSource : "";
|
|
119
|
+
let s = t.props ? t.props.orderFix : "";
|
|
120
|
+
if (i == "variable") {
|
|
121
|
+
const l = t.props ? t.props.orderVariable : "";
|
|
122
|
+
s = v(e, l);
|
|
125
123
|
}
|
|
126
|
-
|
|
127
|
-
const
|
|
128
|
-
return "desc"
|
|
124
|
+
s = s == "desc" || s == "DESC" ? "desc" : "asc", a.sort((l, c) => {
|
|
125
|
+
const f = h(l, o, void 0), u = h(c, o, void 0);
|
|
126
|
+
return s === "desc" ? u - f : f - u;
|
|
129
127
|
});
|
|
130
128
|
}
|
|
131
|
-
function
|
|
132
|
-
if (!
|
|
133
|
-
const
|
|
134
|
-
if (!
|
|
135
|
-
let
|
|
136
|
-
if (
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
if (t3 < a2) f2.push(e3);
|
|
129
|
+
function q(e, t, a, n, r) {
|
|
130
|
+
if (!a) return a;
|
|
131
|
+
const o = t.props ? t.props : {};
|
|
132
|
+
if (!o.limitQuantity) return a;
|
|
133
|
+
let i = null;
|
|
134
|
+
if (o.itemNumVariable ? (i = v(e, o.itemNumVariable), i = parseInt(i)) : i = o.itemNumFix ? o.itemNumFix : 10, i == null || i == null || isNaN(i) || a.length < i) return a;
|
|
135
|
+
const s = o.overItemAlias, l = [], c = {};
|
|
136
|
+
n = n || [], r = r || [];
|
|
137
|
+
for (let f = 0; f < a.length; f++) {
|
|
138
|
+
const u = a[f];
|
|
139
|
+
if (f < i) l.push(u);
|
|
143
140
|
else {
|
|
144
|
-
if (!
|
|
145
|
-
for (const
|
|
146
|
-
if (!
|
|
147
|
-
let
|
|
148
|
-
|
|
149
|
-
const
|
|
150
|
-
|
|
141
|
+
if (!s) break;
|
|
142
|
+
for (const d of n) {
|
|
143
|
+
if (!d) continue;
|
|
144
|
+
let p = h(u, d, void 0);
|
|
145
|
+
p = p == null || p == null ? "" : p, c[d] || (c[d] = []);
|
|
146
|
+
const m = c[d];
|
|
147
|
+
m.includes(p) || m.push(p);
|
|
151
148
|
}
|
|
152
|
-
for (const
|
|
153
|
-
if (!
|
|
154
|
-
const
|
|
155
|
-
if (isNaN(
|
|
156
|
-
const
|
|
157
|
-
isNaN(
|
|
149
|
+
for (const d of r) {
|
|
150
|
+
if (!d) continue;
|
|
151
|
+
const p = h(u, d, void 0);
|
|
152
|
+
if (isNaN(p)) continue;
|
|
153
|
+
const m = c[d];
|
|
154
|
+
isNaN(m) ? c[d] = p : c[d] = p + m;
|
|
158
155
|
}
|
|
159
156
|
}
|
|
160
157
|
}
|
|
161
|
-
return
|
|
158
|
+
return s && (c.__x = s, l.push(c)), l;
|
|
162
159
|
}
|
|
163
|
-
function
|
|
164
|
-
const
|
|
165
|
-
for (const
|
|
166
|
-
const
|
|
167
|
-
if ("formula"
|
|
168
|
-
const
|
|
169
|
-
for (const
|
|
170
|
-
if (
|
|
171
|
-
else if (
|
|
172
|
-
else if (
|
|
173
|
-
else if (
|
|
174
|
-
else if (
|
|
175
|
-
const
|
|
176
|
-
|
|
160
|
+
function K(e, t, a) {
|
|
161
|
+
const n = {};
|
|
162
|
+
for (const r of e) {
|
|
163
|
+
const o = r.props ? r.props : {};
|
|
164
|
+
if (o.yaxisSource === "formula") {
|
|
165
|
+
const i = N(o.formula);
|
|
166
|
+
for (const s of i) if (!(s in n)) {
|
|
167
|
+
if (s.startsWith("${min.")) n[s] = D(t, s.substring(6, s.length - 1));
|
|
168
|
+
else if (s.startsWith("${max.")) n[s] = $(t, s.substring(6, s.length - 1));
|
|
169
|
+
else if (s.startsWith("${sum.")) n[s] = y(t, s.substring(6, s.length - 1));
|
|
170
|
+
else if (s.startsWith("${avg.")) n[s] = E(t, s.substring(6, s.length - 1));
|
|
171
|
+
else if (s.startsWith("${add.")) {
|
|
172
|
+
const l = s.substring(6, s.length - 1);
|
|
173
|
+
a.add(l);
|
|
177
174
|
}
|
|
178
175
|
}
|
|
179
176
|
}
|
|
180
177
|
}
|
|
181
|
-
return
|
|
178
|
+
return n;
|
|
182
179
|
}
|
|
183
|
-
function
|
|
184
|
-
let
|
|
185
|
-
for (const
|
|
186
|
-
const
|
|
187
|
-
(void 0
|
|
180
|
+
function D(e, t) {
|
|
181
|
+
let a;
|
|
182
|
+
for (const n of e) {
|
|
183
|
+
const r = parseFloat(h(n, t, null));
|
|
184
|
+
(a === void 0 || !isNaN(r) && r < a) && (a = r);
|
|
188
185
|
}
|
|
189
|
-
return
|
|
186
|
+
return a;
|
|
190
187
|
}
|
|
191
|
-
function
|
|
192
|
-
let
|
|
193
|
-
for (const
|
|
194
|
-
const
|
|
195
|
-
(void 0
|
|
188
|
+
function $(e, t) {
|
|
189
|
+
let a;
|
|
190
|
+
for (const n of e) {
|
|
191
|
+
const r = parseFloat(h(n, t, null));
|
|
192
|
+
(a === void 0 || !isNaN(r) && r > a) && (a = r);
|
|
196
193
|
}
|
|
197
|
-
return
|
|
194
|
+
return a;
|
|
198
195
|
}
|
|
199
|
-
function
|
|
200
|
-
let
|
|
201
|
-
for (const
|
|
202
|
-
const
|
|
203
|
-
void 0
|
|
196
|
+
function y(e, t) {
|
|
197
|
+
let a;
|
|
198
|
+
for (const n of e) {
|
|
199
|
+
const r = parseFloat(h(n, t, null));
|
|
200
|
+
a === void 0 ? a = r : isNaN(r) || (a += r);
|
|
204
201
|
}
|
|
205
|
-
return
|
|
202
|
+
return a;
|
|
206
203
|
}
|
|
207
|
-
function
|
|
208
|
-
const
|
|
209
|
-
return
|
|
204
|
+
function E(e, t) {
|
|
205
|
+
const a = y(e, t);
|
|
206
|
+
return a === void 0 || e.length === 0 ? a : parseFloat((a / e.length).toFixed(5));
|
|
210
207
|
}
|
|
211
|
-
function
|
|
212
|
-
if (!
|
|
213
|
-
if (
|
|
214
|
-
const
|
|
215
|
-
for (const
|
|
216
|
-
let
|
|
217
|
-
|
|
208
|
+
function Z(e, t, a, n) {
|
|
209
|
+
if (!e) return;
|
|
210
|
+
if (t) for (const i in t) e = e.replace(new RegExp("\\${add." + i + "}", "g"), t[i]);
|
|
211
|
+
const r = N(e);
|
|
212
|
+
for (const i of r) {
|
|
213
|
+
let s = null;
|
|
214
|
+
s = i.startsWith("${row.") ? h(a, i.substring(6, i.length - 1), null) : k(n.entity, i), e = e.replace(new RegExp(i.replace("$", "\\$"), "g"), s);
|
|
218
215
|
}
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
return
|
|
216
|
+
e.includes("return ") || (e = "return " + e);
|
|
217
|
+
const o = new Function("params", e);
|
|
218
|
+
return w(o, n), o({ pageContext: n, row: a });
|
|
222
219
|
}
|
|
223
|
-
function
|
|
224
|
-
if (!
|
|
225
|
-
const
|
|
226
|
-
if (!
|
|
227
|
-
const
|
|
228
|
-
return { isTable:
|
|
220
|
+
function tt(e, t) {
|
|
221
|
+
if (!e || !e.$el) return;
|
|
222
|
+
const a = e.$el.getElementsByTagName("canvas");
|
|
223
|
+
if (!a || a.length === 0) return;
|
|
224
|
+
const n = a[0], r = n.width + ":" + n.height;
|
|
225
|
+
return { isTable: !1, fileContent: n.toDataURL(), fileSize: r, title: t == null ? void 0 : t.title };
|
|
229
226
|
}
|
|
230
|
-
function
|
|
231
|
-
const
|
|
232
|
-
let
|
|
233
|
-
if (
|
|
234
|
-
const
|
|
235
|
-
if (
|
|
236
|
-
const
|
|
237
|
-
if (Object.keys(
|
|
238
|
-
|
|
239
|
-
for (const
|
|
227
|
+
function et(e, t, a) {
|
|
228
|
+
const n = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");
|
|
229
|
+
let r = !0;
|
|
230
|
+
if (n) {
|
|
231
|
+
const o = JSON.parse(n);
|
|
232
|
+
if (o[a]) {
|
|
233
|
+
const i = o[a];
|
|
234
|
+
if (Object.keys(i).length > 0) {
|
|
235
|
+
r = !1;
|
|
236
|
+
for (const s in i) i[s] !== null && i[s] !== void 0 && x(t.entity, s, i[s]);
|
|
240
237
|
}
|
|
241
238
|
}
|
|
242
239
|
}
|
|
243
|
-
if (
|
|
244
|
-
for (const
|
|
245
|
-
const
|
|
246
|
-
|
|
240
|
+
if (r && e) {
|
|
241
|
+
for (const o of e) if (o.prop && o.value) {
|
|
242
|
+
const i = _(t, o.value, "input-text", !1), s = o.prop.substring(2, o.prop.length - 1).split(".");
|
|
243
|
+
i != null && A(t.entity, s, i);
|
|
247
244
|
}
|
|
248
245
|
}
|
|
249
246
|
}
|
|
250
|
-
function
|
|
251
|
-
if (
|
|
252
|
-
const
|
|
253
|
-
|
|
247
|
+
function it(e) {
|
|
248
|
+
if (e != null && e.grid) {
|
|
249
|
+
const t = e.grid, a = (n) => !n || n === "0";
|
|
250
|
+
a(t.top) && a(t.right) && a(t.bottom) && a(t.left) && Object.assign(t, { right: "10%", bottom: "60", left: "10%" });
|
|
254
251
|
}
|
|
255
252
|
}
|
|
256
|
-
function
|
|
257
|
-
var
|
|
258
|
-
if ((
|
|
259
|
-
const
|
|
260
|
-
for (const
|
|
253
|
+
function at(e) {
|
|
254
|
+
var t;
|
|
255
|
+
if ((t = e == null ? void 0 : e.toolbox) != null && t.feature) {
|
|
256
|
+
const a = e.toolbox.feature;
|
|
257
|
+
for (const n in a) a[n].show && (a[n].title = g().t("chartMessage." + n), n === "dataView" && (a[n].lang = [g().t("chartMessage.dataView"), g().t("chartMessage.close"), g().t("chartMessage.refresh")]));
|
|
261
258
|
}
|
|
262
259
|
}
|
|
263
260
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
261
|
+
O as CommonName,
|
|
262
|
+
K as caculateFormulaValue,
|
|
263
|
+
Q as clearChartSelected,
|
|
264
|
+
Z as executeChartFormula,
|
|
265
|
+
tt as exportCommonChart,
|
|
266
|
+
at as formatToolboxI18n,
|
|
267
|
+
E as getAvgValue,
|
|
268
|
+
P as getCustomTheme,
|
|
269
|
+
z as getCustomThemeOptions,
|
|
270
|
+
$ as getMaxValue,
|
|
271
|
+
D as getMinValue,
|
|
272
|
+
I as getNumFormatter,
|
|
273
|
+
y as getSumValue,
|
|
274
|
+
G as initChartOption,
|
|
275
|
+
q as limitDatas,
|
|
276
|
+
J as monitorChartClickToVariable,
|
|
277
|
+
it as setDefaultGrid,
|
|
278
|
+
et as setHomeChartInitConfigValue,
|
|
279
|
+
U as sortDatas,
|
|
280
|
+
F as updateClickVariablesForSelected
|
|
284
281
|
};
|