super-page-runtime 2.3.48-tmp1 → 2.3.49-cdnTmp1
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 +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.mjs +12 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +196 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
- package/dist/es/components/runtime/utils/common-util.mjs +116 -0
- package/dist/es/components/runtime/utils/eventBus.mjs +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +429 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1170 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +462 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +15 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +281 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +425 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +261 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +362 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +329 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +90 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +140 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +111 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +215 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +163 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +30 -0
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1052
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -1
- package/dist/lib/style.css +1 -1
- package/package.json +13 -11
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -84
- package/dist/es/components/runtime/utils/api/api-util.js +0 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -202
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
- package/dist/es/components/runtime/utils/common-util.js +0 -120
- package/dist/es/components/runtime/utils/eventBus.js +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -447
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1226
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -485
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -18
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -391
- package/dist/es/components/runtime/utils/page-init-util.js +0 -297
- package/dist/es/components/runtime/utils/page-store.js +0 -53
- package/dist/es/components/runtime/utils/store-util.js +0 -13
- package/dist/es/components/runtime/utils/table-utils.js +0 -89
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.js +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.js +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.js +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +0 -94
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -430
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.js +0 -268
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -383
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -339
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.js +0 -90
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +0 -135
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.js +0 -66
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.js +0 -115
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +0 -91
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.js +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +0 -81
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.js +0 -43
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.js +0 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +0 -218
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +0 -56
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +0 -29
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart2.vue.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -30
- package/dist/es/components/runtime/views/super-page-dialog3.vue.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es/components/runtime/views/super-page2.vue.js +0 -311
- package/dist/es/index.js +0 -32
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
- /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as e } from "vue";
|
|
2
|
-
import { usePageContextStore as t } from "./page-store.js";
|
|
3
|
-
const m = [{ name: "container", label: "容器", icon: "assets/images/group-container.png", items: [{ name: "form", label: "表单", runtimeComponent: e(() => import("../views/assemblys/container/form/form-runtime.vue.js")) }, { name: "card", label: "卡片", runtimeComponent: e(() => import("../views/assemblys/container/card/card-runtime.vue.js")) }, { name: "collapse", label: "折叠面板", runtimeComponent: e(() => import("../views/assemblys/container/collapse/collapse-runtime.vue.js")) }, { name: "layout", label: "Flex", runtimeComponent: e(() => import("../views/assemblys/container/flex/flex-runtime.vue.js")) }, { name: "tabs", label: "Tabs", runtimeComponent: e(() => import("../views/assemblys/container/tabs/tabs-runtime.vue.js")) }, { name: "tools", label: "工具栏", runtimeComponent: e(() => import("../views/assemblys/container/tools/tools-runtime.vue.js")) }, { name: "iframe", label: "Iframe", runtimeComponent: e(() => import("../views/assemblys/container/iframe/iframe-runtime.vue.js")) }, { name: "container", label: "布局", runtimeComponent: e(() => import("../views/assemblys/container/container/container-runtime.vue.js")) }] }, { name: "form", label: "表单", items: [{ name: "input-text", label: "文本框", runtimeComponent: e(() => import("../views/assemblys/form/input-text/inputtext-runtime.vue.js")) }, { name: "select", label: "下拉框", runtimeComponent: e(() => import("../views/assemblys/form/select/select-runtime.vue.js")) }, { name: "radio", label: "单选框", runtimeComponent: e(() => import("../views/assemblys/form/radio/radio-runtime.vue.js")) }, { name: "checkbox", label: "复选框", runtimeComponent: e(() => import("../views/assemblys/form/checkbox/checkbox-runtime.vue.js")) }, { name: "textarea", label: "文本域", runtimeComponent: e(() => import("../views/assemblys/form/textarea/textarea-runtime.vue.js")) }, { name: "datePicker", label: "日期/时间", runtimeComponent: e(() => import("../views/assemblys/form/date-picker/datepicker-runtime.vue.js")) }, { name: "switch", label: "开关", runtimeComponent: e(() => import("../views/assemblys/form/switch/switch-runtime.vue.js")) }, { name: "inputNumber", label: "计数器", runtimeComponent: e(() => import("../views/assemblys/form/input-number/input-number-runtime.vue.js")) }, { name: "tag", label: "标签", runtimeComponent: e(() => import("../views/assemblys/form/tag/tag-runtime.vue.js")) }, { name: "richText", label: "富文本", runtimeComponent: e(() => import("../views/assemblys/form/rich-text/richtext-runtime.vue.js")) }, { name: "divider", label: "分割线", runtimeComponent: e(() => import("../views/assemblys/form/divider/divider-runtime.vue.js")) }, { name: "separatelabel", label: "分割标签", runtimeComponent: e(() => import("../views/assemblys/form/separatelabel/separatelabel-runtime.vue.js")) }, { name: "placeholder", label: "占位符", runtimeComponent: e(() => import("../views/assemblys/form/placeholder/placeholder-runtime.vue.js")) }, { name: "link", label: "链接", runtimeComponent: e(() => import("../views/assemblys/form/link/link-runtime.vue.js")) }, { name: "label", label: "Label组件", runtimeComponent: e(() => import("../views/assemblys/form/label/label-runtime.vue.js")) }, { name: "dept-tree", label: "组织树", runtimeComponent: e(() => import("../views/assemblys/form/dept-tree/depttree-runtime.vue.js")) }, { name: "file-upload", label: "文件上传", runtimeComponent: e(() => import("../views/assemblys/form/file-upload/fileupload-runtime.vue.js")) }, { name: "image-upload", label: "图片上传", runtimeComponent: e(() => import("../views/assemblys/form/image-upload/imageupload-runtime.vue.js")) }] }, { name: "button", label: "按钮", items: [{ name: "button-detail", label: "按钮", runtimeComponent: e(() => import("../views/assemblys/button/button/button-runtime.vue.js")) }, { name: "button-group", label: "按钮组", runtimeComponent: e(() => import("../views/assemblys/button/button-group/buttongroup-runtime.vue.js")) }, { name: "dropdown", label: "下拉菜单", runtimeComponent: e(() => import("../views/assemblys/button/dropdown/dropdown-runtime.vue.js")) }, { name: "print-label", label: "打印标签", runtimeComponent: e(() => import("../views/assemblys/button/print-label/printlabel-runtime.vue.js")) }, { name: "export-pdf", label: "打印标签", runtimeComponent: e(() => import("../views/assemblys/button/export-pdf/exportpdf-runtime.vue.js")) }] }, { name: "workflow", label: "工作流", items: [{ name: "workflow-button", label: "工作流按钮", runtimeComponent: e(() => import("../views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js")) }, { name: "picture-flow", label: "图形历史", runtimeComponent: e(() => import("../views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js")) }, { name: "text-flow", label: "文本历史", runtimeComponent: e(() => import("../views/assemblys/workflow/text-history/textflow-runtime.vue.js")) }, { name: "workflow-node", label: "流程环节", runtimeComponent: e(() => import("../views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js")) }, { name: "extract-workflow", label: "抽单", runtimeComponent: e(() => import("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js")) }, { name: "extract-workflow-dialog", label: "抽单Dialog", runtimeComponent: e(() => import("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js")) }] }, { name: "chart", label: "统计图", items: [{ name: "chart-column-line", label: "柱/折图", runtimeComponent: e(() => import("../views/assemblys/chart/column-line/column-line-runtime.vue.js")) }, { name: "chart-pie", label: "饼图", runtimeComponent: e(() => import("../views/assemblys/chart/pie/pie-runtime.vue.js")) }, { name: "chart-gauge", label: "仪表盘", runtimeComponent: e(() => import("../views/assemblys/chart/gauge/gauge-runtime.vue.js")) }, { name: "chart-radar", label: "雷达图", runtimeComponent: e(() => import("../views/assemblys/chart/radar/radar-runtime.vue.js")) }, { name: "chart-scatter", label: "散点图", runtimeComponent: e(() => import("../views/assemblys/chart/scatter/scatter-runtime.vue.js")) }, { name: "statistical-table", label: "统计表格", runtimeComponent: e(() => import("../views/assemblys/chart/table/table-runtime.vue.js")) }] }, { name: "data", label: "数据", items: [{ name: "table", label: "表格", runtimeComponent: e(() => import("../views/assemblys/data/table/table-runtime.vue.js")) }, { name: "tree", label: "树控件", runtimeComponent: e(() => import("../views/assemblys/data/tree/tree-runtime.vue.js")) }, { name: "bar-code", label: "条码", runtimeComponent: e(() => import("../views/assemblys/data/bar-code/barcode-runtime.vue.js")) }] }, { name: "other", label: "其他", items: [{ name: "custom", label: "自定义", runtimeComponent: e(() => import("../views/assemblys/form/custom/custom-runtime.vue.js")) }] }];
|
|
4
|
-
function n(e2) {
|
|
5
|
-
if (!e2) return null;
|
|
6
|
-
for (let n2 = 0; n2 < m.length; n2++) {
|
|
7
|
-
let o = m[n2].items;
|
|
8
|
-
for (let m2 = 0; m2 < o.length; m2++) {
|
|
9
|
-
let n3 = o[m2];
|
|
10
|
-
if (n3.name == e2) {
|
|
11
|
-
return t().countComponentsTotalNmber(), n3.runtimeComponent;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
m as assemblyGroups,
|
|
19
|
-
n as getRuntimeComponentByName
|
|
20
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
function e(e2, t) {
|
|
2
|
-
let n = true, r = "";
|
|
3
|
-
return e2.forEach((e3) => {
|
|
4
|
-
if ("-1" !== e3.propDbName && -1 !== e3.propDbName) {
|
|
5
|
-
const a = t[e3.propDbName];
|
|
6
|
-
e3.supplementaryCharacters && e3.length ? a ? a.length > e3.length ? r += a.substring(0, e3.length) : r += a.padEnd(e3.length, e3.supplementaryCharacters) : r += "".padEnd(e3.length, e3.supplementaryCharacters) : a ? r += a : n = false;
|
|
7
|
-
} else r += e3.fixedValue;
|
|
8
|
-
}), n ? r : null;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
e as generateCodeByRule
|
|
12
|
-
};
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { getValueFromSource as e, formatVariableValue as t, setValueForVariableName as i } from "../page-helper-util.js";
|
|
2
|
-
import { deepCopy as o } from "../common-util.js";
|
|
3
|
-
import { setDefaultGrid as s, CommonName as a, caculateFormulaValue as l, executeChartFormula as r, sortDatas as n, limitDatas as u, formatToolboxI18n as d } from "./chart-util.js";
|
|
4
|
-
import { handleChartEvent as f } from "../events/event-util.js";
|
|
5
|
-
function c(c2, m, h, y) {
|
|
6
|
-
if (!y || !y.result) return;
|
|
7
|
-
s(h), h.tooltip || (h.tooltip = {}), f(c2, m, "beforeUpdateChart", h, { resultData: y });
|
|
8
|
-
const S = y && y.result ? y.result : {};
|
|
9
|
-
let g = y && y.groupValue ? y.groupValue : void 0;
|
|
10
|
-
const v = m.serviceDataField;
|
|
11
|
-
let F = null;
|
|
12
|
-
v ? F = S[v] : S && (F = Array.isArray(S) ? S : [S]), F || (F = []), m.runtime.dataConfig.runtimeData = F;
|
|
13
|
-
let D = m.props ? m.props.groups : null;
|
|
14
|
-
if (D || (D = []), !g || 0 === g.length) {
|
|
15
|
-
g = [];
|
|
16
|
-
for (const e2 of D) g.push(e2.group);
|
|
17
|
-
}
|
|
18
|
-
const _ = {}, x = [], A = [];
|
|
19
|
-
for (const e2 of D) _[e2.group] = e2.target, e2.target && !x.includes(e2.target) && (x.push(e2.target), g.includes(e2.group) && A.push(e2.target));
|
|
20
|
-
let N = m.props ? m.props.mulGroupShow : "";
|
|
21
|
-
N = "break" == N ? "\r\n" : " ";
|
|
22
|
-
for (const t2 of F) {
|
|
23
|
-
if (!t2) continue;
|
|
24
|
-
const i2 = [];
|
|
25
|
-
for (const o3 of g) {
|
|
26
|
-
const s2 = _[o3], a2 = e(t2, s2, void 0);
|
|
27
|
-
a2 && i2.push(a2);
|
|
28
|
-
}
|
|
29
|
-
const o2 = i2.join(N);
|
|
30
|
-
t2[a.X_FIELD_NAME] = o2;
|
|
31
|
-
}
|
|
32
|
-
const E = m.items ? m.items : [], C = [], b = {}, w = [], I = {}, X = [], L = [], M = /* @__PURE__ */ new Set(), j = l(E, F, M);
|
|
33
|
-
for (const e2 of M) X.push(e2);
|
|
34
|
-
for (const e2 of E) {
|
|
35
|
-
const t2 = e2.props ? e2.props : {}, i2 = t2.yaxisSource, o2 = t2.yaxisField, s2 = t2.isCumulative;
|
|
36
|
-
let a2 = null;
|
|
37
|
-
if (!o2 || i2 && "variable" != i2) if ("formula" == i2) {
|
|
38
|
-
let i3 = t2.formula ? t2.formula : "";
|
|
39
|
-
for (const e3 in j) i3 = i3.replace(new RegExp(e3.replace("$", "\\$"), "g"), j[e3]);
|
|
40
|
-
a2 = { uuid: e2.uuid, type: "formula", formula: i3, isFormulaCalculateAfterSort: t2.isFormulaCalculateAfterSort, data: [], dynamicDatas: [] };
|
|
41
|
-
} else a2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [], dynamicDatas: [] };
|
|
42
|
-
else a2 = { uuid: e2.uuid, type: "variable", field: o2, isCumulative: s2, data: [], dynamicDatas: [] }, o2 && !X.includes(o2) && X.push(o2), o2 && !L.includes(o2) && L.push(o2), s2 && !M.has(o2) && M.add(o2);
|
|
43
|
-
null != a2 && (C.push(a2), b[e2.uuid] = a2), t2.dynamicSeriesField && !w.includes(t2.dynamicSeriesField) && a2 && (a2.dynamicField = t2.dynamicSeriesField, a2.dynamicSeriesTitle = t2.dynamicSeriesTitle, a2.dynamicShowStack = t2.dynamicShowStack, w.push(t2.dynamicSeriesField), I[t2.dynamicSeriesField] = o2), t2.dynamicSeriesDataField && t2.dynamicSeriesDataField.forEach((e3) => {
|
|
44
|
-
X.includes(e3) || X.push(e3);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
const k = {};
|
|
48
|
-
if (w.length > 0) {
|
|
49
|
-
const t2 = [], i2 = {};
|
|
50
|
-
for (const o2 of F) if (o2) for (const s2 of X) {
|
|
51
|
-
const l2 = o2[a.X_FIELD_NAME];
|
|
52
|
-
let r2 = i2[l2];
|
|
53
|
-
if (!r2) {
|
|
54
|
-
r2 = {};
|
|
55
|
-
for (const e2 of x) r2[e2] = o2[e2];
|
|
56
|
-
r2[a.X_FIELD_NAME] = o2[a.X_FIELD_NAME], i2[l2] = r2, t2.push(r2);
|
|
57
|
-
}
|
|
58
|
-
let n2 = e(o2, s2, void 0);
|
|
59
|
-
if (!isNaN(n2)) {
|
|
60
|
-
const e2 = r2[s2];
|
|
61
|
-
isNaN(e2) || (n2 += e2), r2[s2] = n2;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
for (const t3 of w) {
|
|
65
|
-
const o2 = [];
|
|
66
|
-
for (const s2 of F) {
|
|
67
|
-
if (!s2) continue;
|
|
68
|
-
const l2 = i2[s2[a.X_FIELD_NAME]];
|
|
69
|
-
if (!l2) continue;
|
|
70
|
-
let r2 = e(s2, t3, void 0);
|
|
71
|
-
r2 = null == r2 || null == r2 ? "" : r2, o2.includes(r2) || (o2.push(r2), L.push(r2), M.add(r2));
|
|
72
|
-
const n2 = I[t3];
|
|
73
|
-
if (void 0 !== n2) {
|
|
74
|
-
const t4 = e(s2, n2, void 0);
|
|
75
|
-
let i3 = l2[r2];
|
|
76
|
-
void 0 === i3 ? i3 = t4 : isNaN(t4) || (i3 += t4), l2[r2] = i3;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
k[t3] = o2;
|
|
80
|
-
}
|
|
81
|
-
F = t2;
|
|
82
|
-
}
|
|
83
|
-
let T = {};
|
|
84
|
-
const V = /* @__PURE__ */ new Set(), $ = m.props ? m.props.orderByTarget : "";
|
|
85
|
-
for (const e2 of C) "formula" === e2.type && e2.isFormulaCalculateAfterSort && $ !== e2.uuid && V.add(e2.uuid + "_field");
|
|
86
|
-
for (const e2 of F) if (e2) {
|
|
87
|
-
p(e2, M, T);
|
|
88
|
-
for (const t2 of C) if ("formula" === t2.type && !t2.isFormulaCalculateAfterSort) {
|
|
89
|
-
const i2 = r(t2.formula, T, e2, c2);
|
|
90
|
-
e2[t2.uuid + "_field"] = i2;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
if (n(c2, m, F), V.size > 0) {
|
|
94
|
-
const e2 = {};
|
|
95
|
-
for (const t2 of F) {
|
|
96
|
-
p(t2, M, e2);
|
|
97
|
-
for (const i2 of C) if ("formula" === i2.type && V.has(i2.uuid + "_field")) {
|
|
98
|
-
const o2 = r(i2.formula, e2, t2, c2);
|
|
99
|
-
t2[i2.uuid + "_field"] = o2;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
F = u(c2, m, F, x, L);
|
|
104
|
-
const B = [];
|
|
105
|
-
T = {};
|
|
106
|
-
for (const t2 of F) if (t2) {
|
|
107
|
-
for (const i2 of M) {
|
|
108
|
-
const o2 = e(t2, i2, void 0);
|
|
109
|
-
let s2 = T[i2];
|
|
110
|
-
void 0 === o2 || isNaN(o2) || (void 0 === s2 ? s2 = o2 : s2 += o2), T[i2] = s2;
|
|
111
|
-
}
|
|
112
|
-
B.push(t2[a.X_FIELD_NAME]);
|
|
113
|
-
for (const i2 of C) {
|
|
114
|
-
let o2 = i2.data;
|
|
115
|
-
const s2 = i2.dynamicDatas;
|
|
116
|
-
if (i2.dynamicField) {
|
|
117
|
-
let a2 = k[i2.dynamicField];
|
|
118
|
-
a2 = a2 || [];
|
|
119
|
-
for (let l2 = 0; l2 < a2.length; l2++) {
|
|
120
|
-
l2 >= s2.length && s2.push([]), o2 = s2[l2];
|
|
121
|
-
const r2 = a2[l2];
|
|
122
|
-
let n2 = e(t2, r2, void 0);
|
|
123
|
-
i2.isCumulative && (n2 = T[r2]), o2.push(n2);
|
|
124
|
-
}
|
|
125
|
-
} else if ("fixed" === i2.type) o2.push(i2.field);
|
|
126
|
-
else if ("variable" === i2.type) {
|
|
127
|
-
let s3 = e(t2, i2.field, void 0);
|
|
128
|
-
i2.isCumulative && (s3 = T[i2.field]), o2.push(s3);
|
|
129
|
-
} else "formula" === i2.type ? o2.push(t2[i2.uuid + "_field"]) : o2.push(void 0);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
const G = m.defaultSeries, R = o(null == G ? [] : G), U = [];
|
|
133
|
-
for (const e2 of R) {
|
|
134
|
-
const i2 = b[e2.uuid];
|
|
135
|
-
if (i2.dynamicField) {
|
|
136
|
-
let s2 = k[i2.dynamicField];
|
|
137
|
-
s2 = s2 || [];
|
|
138
|
-
const a2 = i2.dynamicDatas ? i2.dynamicDatas : [];
|
|
139
|
-
for (let l2 = 0; l2 < s2.length; l2++) {
|
|
140
|
-
const r2 = s2[l2], n2 = o(e2);
|
|
141
|
-
if (i2.dynamicSeriesTitle) {
|
|
142
|
-
const e3 = i2.dynamicSeriesTitle.replace("${name}", r2);
|
|
143
|
-
n2.name = t(c2, e3);
|
|
144
|
-
} else n2.name = r2;
|
|
145
|
-
n2.data = l2 < a2.length ? a2[l2] : [], "bar" == e2.type && i2.dynamicShowStack && (n2.stack = e2.uuid), U.push(n2);
|
|
146
|
-
}
|
|
147
|
-
} else e2.data = i2 ? i2.data : [], U.push(e2);
|
|
148
|
-
}
|
|
149
|
-
h.series = U, m.props && m.props.hideEmptySeries && (h.series = h.series.filter((e2) => (e2.data || []).some((e3) => null != e3)));
|
|
150
|
-
const z = m.defaultXaxis, Y = m.defaultYaxis;
|
|
151
|
-
if (h.isBar) {
|
|
152
|
-
if (Y) for (const e2 of Y) e2.data = B;
|
|
153
|
-
h.xAxis = z, h.yAxis = Y;
|
|
154
|
-
} else z && z.length > 0 && (z[0].data = B), h.xAxis = z, h.yAxis = Y;
|
|
155
|
-
d(h);
|
|
156
|
-
const q = m.props ? m.props.selGroupVariable : null;
|
|
157
|
-
!(m.props ? m.props.enableDrill : null) && q && (m.highlightInfos = [], i(c2.entity, q, null)), f(c2, m, "afterUpdateChart", h, { resultData: y }), m.groupFields = A, m.cacheDatas = F, m.rawResult = y;
|
|
158
|
-
}
|
|
159
|
-
function p(t2, i2, o2) {
|
|
160
|
-
for (const s2 of i2) {
|
|
161
|
-
const i3 = e(t2, s2, void 0);
|
|
162
|
-
let a2 = o2[s2];
|
|
163
|
-
void 0 === i3 || isNaN(i3) || (void 0 === a2 ? a2 = i3 : a2 += i3), o2[s2] = a2;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
export {
|
|
167
|
-
c as updateChartOption
|
|
168
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { formatVariableValue as e, getValueFromSource as t } from "../page-helper-util.js";
|
|
2
|
-
import { deepCopy as o } from "../common-util.js";
|
|
3
|
-
import { setDefaultGrid as r, formatToolboxI18n as s } from "./chart-util.js";
|
|
4
|
-
import { handleChartEvent as l } from "../events/event-util.js";
|
|
5
|
-
function i(i2, p, a, n) {
|
|
6
|
-
if (!n || !n.result) return;
|
|
7
|
-
l(i2, p, "beforeUpdateChart", a, { resultData: n }), r(a);
|
|
8
|
-
const u = n && n.result ? n.result : {}, c = p.serviceDataField;
|
|
9
|
-
let m = null;
|
|
10
|
-
c ? m = u[c] : u && (m = [u]), m || (m = []);
|
|
11
|
-
const d = p.props ? p.props.nameSource : void 0, f = p.props ? p.props.nameField : void 0, h = p.props ? p.props.nameFixed : void 0, v = p.props ? p.props.yaxisField : void 0, g = [f], F = [], j = [];
|
|
12
|
-
for (const o2 of m) {
|
|
13
|
-
if (!o2) continue;
|
|
14
|
-
let r2 = null;
|
|
15
|
-
r2 = "fixed" == d ? e(i2, h) : t(o2, f, void 0), F.push(r2);
|
|
16
|
-
const s2 = t(o2, v, void 0);
|
|
17
|
-
j.push(s2);
|
|
18
|
-
}
|
|
19
|
-
const x = p.defaultSeries;
|
|
20
|
-
let C = x[0].pieColors;
|
|
21
|
-
C = C || [];
|
|
22
|
-
let D = x[0].pieColorMap;
|
|
23
|
-
D = D || {};
|
|
24
|
-
const S = [];
|
|
25
|
-
for (let e2 = 0; e2 < F.length && e2 < j.length; e2++) {
|
|
26
|
-
const t2 = { value: j[e2], name: F[e2] };
|
|
27
|
-
if (e2 < C.length || D[t2.name]) {
|
|
28
|
-
let o2 = D[t2.name];
|
|
29
|
-
o2 || (o2 = C[e2]), o2 && (t2.itemStyle = { color: o2 });
|
|
30
|
-
}
|
|
31
|
-
S.push(t2);
|
|
32
|
-
}
|
|
33
|
-
const y = o(x);
|
|
34
|
-
y[0].data = S, a.series = [y[0]], s(a), l(i2, p, "afterUpdateChart", a, { resultData: n }), p.groupFields = g, p.cacheDatas = m, p.rawResult = n;
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
i as updateChartOption
|
|
38
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { getValueFromSource as o, setValueForVariableName as t } from "../page-helper-util.js";
|
|
2
|
-
import { deepCopy as e } from "../common-util.js";
|
|
3
|
-
import { setDefaultGrid as r, CommonName as s, caculateFormulaValue as l, executeChartFormula as n, sortDatas as p, limitDatas as i, formatToolboxI18n as a } from "./chart-util.js";
|
|
4
|
-
import { handleChartEvent as u } from "../events/event-util.js";
|
|
5
|
-
function c(c2, f, g, m) {
|
|
6
|
-
if (!m || !m.result) return;
|
|
7
|
-
u(c2, f, "beforeUpdateChart", g, { resultData: m }), r(g);
|
|
8
|
-
const h = m && m.result ? m.result : {};
|
|
9
|
-
let d = m && m.groupValue ? m.groupValue : void 0;
|
|
10
|
-
const y = f.serviceDataField;
|
|
11
|
-
let v = null;
|
|
12
|
-
y ? v = h[y] : h && (v = Array.isArray(h) ? h : [h]), v || (v = []);
|
|
13
|
-
let x = f.props ? f.props.groups : null;
|
|
14
|
-
if (x || (x = []), !d || 0 === d.length) {
|
|
15
|
-
d = [];
|
|
16
|
-
for (const o2 of x) d.push(o2.group);
|
|
17
|
-
}
|
|
18
|
-
const D = {}, E = [], F = [];
|
|
19
|
-
for (const o2 of x) D[o2.group] = o2.target, o2.target && !E.includes(o2.target) && (E.push(o2.target), d.includes(o2.group) && F.push(o2.target));
|
|
20
|
-
let S = f.props ? f.props.mulGroupShow : "";
|
|
21
|
-
S = "break" == S ? "\r\n" : " ";
|
|
22
|
-
for (const t2 of v) {
|
|
23
|
-
if (!t2) continue;
|
|
24
|
-
const e2 = [];
|
|
25
|
-
for (const r3 of d) {
|
|
26
|
-
const s2 = D[r3], l2 = o(t2, s2, void 0);
|
|
27
|
-
l2 && e2.push(l2);
|
|
28
|
-
}
|
|
29
|
-
const r2 = e2.join(S);
|
|
30
|
-
t2[s.X_FIELD_NAME] = r2;
|
|
31
|
-
}
|
|
32
|
-
const _ = f.items ? f.items : [];
|
|
33
|
-
if (0 == _.length) return;
|
|
34
|
-
const j = f.props ? f.props : {};
|
|
35
|
-
let A = j.yaxisField;
|
|
36
|
-
if (_[0].props.yaxisField = A, _[0].props.yaxisSource = j.yaxisSource, _[0].props.formula = j.formula, "formula" === j.yaxisSource) {
|
|
37
|
-
const t2 = [], e2 = l(_, v, t2);
|
|
38
|
-
let r2 = j.formula ? j.formula : "";
|
|
39
|
-
for (const o2 in e2) r2 = r2.replace(new RegExp(o2.replace("$", "\\$"), "g"), e2[o2]);
|
|
40
|
-
A = s.Y_TEMP_NAME;
|
|
41
|
-
const p2 = {};
|
|
42
|
-
for (const e3 of v) {
|
|
43
|
-
if (!e3) continue;
|
|
44
|
-
for (const r3 of t2) {
|
|
45
|
-
const t3 = o(e3, r3, void 0);
|
|
46
|
-
let s3 = p2[r3];
|
|
47
|
-
void 0 === t3 || isNaN(t3) || (void 0 === s3 ? s3 = t3 : s3 += t3), p2[r3] = s3;
|
|
48
|
-
}
|
|
49
|
-
const s2 = n(r2, p2, e3, c2);
|
|
50
|
-
e3[A] = s2;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
_[0].props.yaxisField = A, _[0].props.yaxisSource = "", p(c2, f, v), v = i(c2, f, v, E, [A]);
|
|
54
|
-
const M = [], N = [];
|
|
55
|
-
for (const t2 of v) {
|
|
56
|
-
if (!t2) continue;
|
|
57
|
-
M.push(t2[s.X_FIELD_NAME]);
|
|
58
|
-
const e2 = o(t2, A, void 0);
|
|
59
|
-
N.push(e2);
|
|
60
|
-
}
|
|
61
|
-
const b = f.defaultSeries;
|
|
62
|
-
let C = b[0].pieColors;
|
|
63
|
-
C = C || [];
|
|
64
|
-
let w = b[0].pieColorMap;
|
|
65
|
-
w = w || {};
|
|
66
|
-
const I = [];
|
|
67
|
-
for (let o2 = 0; o2 < M.length && o2 < N.length; o2++) {
|
|
68
|
-
const t2 = { value: N[o2], name: M[o2] };
|
|
69
|
-
if (o2 < C.length || w[t2.name]) {
|
|
70
|
-
let e2 = w[t2.name];
|
|
71
|
-
e2 || (e2 = C[o2]), e2 && (t2.itemStyle = { color: e2 });
|
|
72
|
-
}
|
|
73
|
-
I.push(t2);
|
|
74
|
-
}
|
|
75
|
-
const V = e(b);
|
|
76
|
-
V[0].data = I, g.series = [V[0]], a(g);
|
|
77
|
-
const G = f.props ? f.props.selGroupVariable : null;
|
|
78
|
-
!(f.props ? f.props.enableDrill : null) && G && (f.highlightInfos = [], t(c2.entity, G, null)), u(c2, f, "afterUpdateChart", g, { resultData: m }), f.groupFields = F, f.cacheDatas = v, f.rawResult = m;
|
|
79
|
-
}
|
|
80
|
-
export {
|
|
81
|
-
c as updateChartOption
|
|
82
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { getValueFromSource as e } from "../page-helper-util.js";
|
|
2
|
-
import { deepCopy as t } from "../common-util.js";
|
|
3
|
-
import { setDefaultGrid as o, caculateFormulaValue as a, executeChartFormula as i, formatToolboxI18n as r } from "./chart-util.js";
|
|
4
|
-
import { handleChartEvent as s } from "../events/event-util.js";
|
|
5
|
-
function l(l2, u, f, d) {
|
|
6
|
-
if (!d || !d.result) return;
|
|
7
|
-
s(l2, u, "beforeUpdateChart", f, { resultData: d }), o(f);
|
|
8
|
-
const n = d && d.result ? d.result : {}, p = u.serviceDataField;
|
|
9
|
-
let c = null;
|
|
10
|
-
p ? c = n[p] : n && (c = Array.isArray(n) ? n : [n]), c || (c = []);
|
|
11
|
-
const m = u.items ? u.items : [], v = [], x = {}, h = [], y = a(m, c, h);
|
|
12
|
-
for (const e2 of m) {
|
|
13
|
-
const t2 = e2.props ? e2.props : {}, o2 = t2.yaxisSource, a2 = t2.yaxisField;
|
|
14
|
-
let i2 = null;
|
|
15
|
-
if (!a2 || o2 && "variable" != o2) if ("formula" == o2) {
|
|
16
|
-
let o3 = t2.formula ? t2.formula : "";
|
|
17
|
-
for (const e3 in y) o3 = o3.replace(new RegExp(e3.replace("$", "\\$"), "g"), y[e3]);
|
|
18
|
-
i2 = { uuid: e2.uuid, type: "formula", formula: o3, data: [] };
|
|
19
|
-
} else i2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [] };
|
|
20
|
-
else i2 = { uuid: e2.uuid, type: "variable", field: a2, data: [] };
|
|
21
|
-
i2 && (v.push(i2), x[i2.uuid] = i2);
|
|
22
|
-
}
|
|
23
|
-
const F = u.props ? u.props : {}, b = F.nameField, j = F.maxSource, D = F.maxField, g = F.maxFixed, S = [], w = {};
|
|
24
|
-
for (const t2 of c) {
|
|
25
|
-
if (!t2) continue;
|
|
26
|
-
const o2 = e(t2, b, void 0);
|
|
27
|
-
let a2 = null;
|
|
28
|
-
a2 = j && "variable" != j ? g : e(t2, D, void 0), S.push({ text: o2, max: a2 });
|
|
29
|
-
for (const o3 of h) {
|
|
30
|
-
const a3 = e(t2, o3, void 0);
|
|
31
|
-
let i2 = w[o3];
|
|
32
|
-
void 0 === a3 || isNaN(a3) || (void 0 === i2 ? i2 = a3 : i2 += a3), w[o3] = i2;
|
|
33
|
-
}
|
|
34
|
-
for (const o3 of v) {
|
|
35
|
-
const a3 = o3.data;
|
|
36
|
-
if ("fixed" == o3.type) a3.push(o3.field);
|
|
37
|
-
else if ("variable" == o3.type) {
|
|
38
|
-
const i2 = e(t2, o3.field, void 0);
|
|
39
|
-
a3.push(i2);
|
|
40
|
-
} else if ("formula" == o3.type) {
|
|
41
|
-
const e2 = i(o3.formula, w, t2, l2);
|
|
42
|
-
a3.push(e2);
|
|
43
|
-
} else a3.push(void 0);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
f.radar[0].indicator = S, r(f);
|
|
47
|
-
const A = u.defaultSeries, C = t(A), N = C[0].data;
|
|
48
|
-
for (const e2 of N) {
|
|
49
|
-
const t2 = x[e2.uuid];
|
|
50
|
-
e2.value = t2.data;
|
|
51
|
-
}
|
|
52
|
-
f.series = C, s(l2, u, "afterUpdateChart", f, { resultData: d }), u.cacheDatas = c, u.rawResult = d;
|
|
53
|
-
}
|
|
54
|
-
export {
|
|
55
|
-
l as updateChartOption
|
|
56
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { getValueFromSource as o } from "../page-helper-util.js";
|
|
2
|
-
import { deepCopy as s } from "../common-util.js";
|
|
3
|
-
import { setDefaultGrid as e, caculateFormulaValue as i, executeChartFormula as t, formatToolboxI18n as r } from "./chart-util.js";
|
|
4
|
-
import { handleChartEvent as a } from "../events/event-util.js";
|
|
5
|
-
function l(l2, u, f, c) {
|
|
6
|
-
if (!c || !c.result) return;
|
|
7
|
-
a(l2, u, "beforeUpdateChart", f, { resultData: c }), e(f);
|
|
8
|
-
const d = c && c.result ? c.result : {}, n = u.serviceDataField;
|
|
9
|
-
let p = null;
|
|
10
|
-
n ? p = d[n] : d && (p = Array.isArray(d) ? d : [d]), p || (p = []);
|
|
11
|
-
const m = u.items ? u.items : [], x = [], y = {};
|
|
12
|
-
for (const o2 of m) {
|
|
13
|
-
const s2 = o2.props ? o2.props : {}, e2 = o2.props ? o2.style : {}, i2 = s2.xaxisField, t2 = s2.sizeField, r2 = { uuid: o2.uuid, xaxisField: i2, yaxisField: s2.yaxisField, yaxisSource: s2.yaxisSource, formula: s2.formula, sizeField: t2, symbolSize: e2.symbolSize, data: [] };
|
|
14
|
-
x.push(r2), y[r2.uuid] = r2;
|
|
15
|
-
}
|
|
16
|
-
const h = [], F = i(m, p, h);
|
|
17
|
-
for (const o2 of x) if ("formula" === o2.yaxisSource) {
|
|
18
|
-
let s2 = o2.formula ? o2.formula : "";
|
|
19
|
-
for (const o3 in F) s2 = s2.replace(new RegExp(o3.replace("$", "\\$"), "g"), F[o3]);
|
|
20
|
-
o2.formula = s2;
|
|
21
|
-
}
|
|
22
|
-
const v = {};
|
|
23
|
-
for (const s2 of p) if (s2) {
|
|
24
|
-
for (const e2 of h) {
|
|
25
|
-
const i2 = o(s2, e2, void 0);
|
|
26
|
-
let t2 = v[e2];
|
|
27
|
-
void 0 === i2 || isNaN(i2) || (void 0 === t2 ? t2 = i2 : t2 += i2), v[e2] = t2;
|
|
28
|
-
}
|
|
29
|
-
for (const e2 of x) {
|
|
30
|
-
const i2 = e2.data, r2 = [];
|
|
31
|
-
if (r2.push(o(s2, e2.xaxisField, void 0)), "formula" === e2.yaxisSource) {
|
|
32
|
-
const o2 = t(e2.formula, v, s2, l2);
|
|
33
|
-
r2.push(o2);
|
|
34
|
-
} else r2.push(o(s2, e2.yaxisField, void 0));
|
|
35
|
-
e2.sizeField ? r2.push(o(s2, e2.xaxisField, void 0)) : r2.push(e2.symbolSize), i2.push(r2);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
const S = u.defaultSeries, z = s(S);
|
|
39
|
-
for (const o2 of z) {
|
|
40
|
-
const s2 = y[o2.uuid];
|
|
41
|
-
o2.data = s2.data;
|
|
42
|
-
}
|
|
43
|
-
f.series = z, r(f), a(l2, u, "afterUpdateChart", f, { resultData: c }), u.cacheDatas = p, u.rawResult = c;
|
|
44
|
-
}
|
|
45
|
-
export {
|
|
46
|
-
l as updateChartOption
|
|
47
|
-
};
|