super-page-runtime 2.3.46 → 2.3.47-cdnTmp2
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 +14 -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 +133 -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.d.ts +2 -2
- 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/i18n/langs/{cn.js → cn.mjs} +1 -1
- package/dist/es/i18n/langs/{en.js → en.mjs} +1 -1
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1052
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +6 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +107 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +31 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +181 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +55 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +137 -0
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- 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 -439
- 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 -463
- 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 -14
- 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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-breadcrumb.vue2.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-group.vue2.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-header.vue2.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-search.vue2.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-render.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-item.vue2.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-column.vue2.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-column.vue2.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-pageination.vue2.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-runtime.vue2.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-component.vue2.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-dialog.vue2.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-notice.vue2.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-message.vue2.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-dialog.vue2.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-table.vue2.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-dialog.vue2.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-dialog.vue2.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-dialog.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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/FixedBox.vue2.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/YxAffix.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.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-runtime.vue2.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-element.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.js +0 -83
- 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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.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-box.vue2.js +0 -55
- 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-dialog.vue2.js +0 -28
- 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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -29
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es/components/runtime/views/super-page.vue2.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
|
@@ -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
|
-
};
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
import t from "../../../../assets/chart-themes/bar-theme.js";
|
|
2
|
-
import e from "../../../../assets/chart-themes/gauge-theme.js";
|
|
3
|
-
import i from "../../../../assets/chart-themes/pie-theme.js";
|
|
4
|
-
import n from "../../../../assets/chart-themes/radar-theme.js";
|
|
5
|
-
import s from "../../../../assets/chart-themes/scatter-theme.js";
|
|
6
|
-
import { getDefaultValue as r } from "../page-init-util.js";
|
|
7
|
-
import { getValueFromSource as o, setValueForVariableName as a, getParamNames as l, getValueFromVariable as c, formatVariableValue as f, setVariableValue as u } from "../page-helper-util.js";
|
|
8
|
-
import { getI18n as d } from "agilebuilder-ui/src/utils/util";
|
|
9
|
-
import { appendDefaultMethods as p } from "../events/event-util.js";
|
|
10
|
-
var h = ((t2) => (t2.X_FIELD_NAME = "__x", t2.Y_TEMP_NAME = "__y", t2))(h || {});
|
|
11
|
-
function g(r2, o2 = "bar") {
|
|
12
|
-
return "bar" === o2 ? t[r2] : "gauge" === o2 ? e[r2] : "pie" === o2 ? i[r2] : "radar" === o2 ? n[r2] : "scatter" === o2 ? s[r2] : t[r2];
|
|
13
|
-
}
|
|
14
|
-
function m() {
|
|
15
|
-
return [{ value: "theme1", label: "主题1" }, { value: "theme2", label: "主题2" }, { value: "theme3", label: "主题3" }];
|
|
16
|
-
}
|
|
17
|
-
function x(t2, e2, i2, n2, s2) {
|
|
18
|
-
return function(r2) {
|
|
19
|
-
let o2 = r2 == null ? void 0 : r2.value;
|
|
20
|
-
if (s2 && (o2 = r2), null == o2 || null == o2) return o2;
|
|
21
|
-
if (Array.isArray(o2)) return o2;
|
|
22
|
-
if (isNaN(o2) || !t2 || !t2.indexOf) return o2;
|
|
23
|
-
if (t2.indexOf("precision") > -1) {
|
|
24
|
-
let t3 = parseInt(e2);
|
|
25
|
-
(null == t3 || isNaN(t3)) && (t3 = 2), o2 = parseFloat(parseFloat(o2).toFixed(t3));
|
|
26
|
-
}
|
|
27
|
-
let a2 = "";
|
|
28
|
-
t2.indexOf("prefix") > -1 && i2 && (a2 = i2);
|
|
29
|
-
let l2 = "";
|
|
30
|
-
return t2.indexOf("append") > -1 && n2 && (l2 = n2), a2 + o2.toLocaleString() + l2;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function b(t2, e2) {
|
|
34
|
-
if (!e2) return;
|
|
35
|
-
if (e2.tooltipFormatterArgs && (e2.tooltip || (e2.tooltip = {}), e2.tooltip.valueFormatter = x.apply(e2, e2.tooltipFormatterArgs)), e2.series) {
|
|
36
|
-
const i3 = t2.props ? t2.props.enableDrill : null;
|
|
37
|
-
for (const n3 of e2.series) e2.radar || (n3.data = []), n3.labelFormatterArgs && (n3.label || (n3.label = {}), n3.label.formatter = x.apply(n3, n3.labelFormatterArgs)), !i3 && t2.clickSet && t2.clickSet.selected && n3.emphasis && (n3.emphasis.disabled = false), "pie" === n3.type && t2.clickSet && t2.clickSet.selected && (t2.clickSet.multiple ? n3.selectedMode = "multiple" : n3.selectedMode = "single");
|
|
38
|
-
}
|
|
39
|
-
if (e2.radar) for (const t3 of e2.radar) t3.indicator = [];
|
|
40
|
-
const i2 = e2.series;
|
|
41
|
-
t2.defaultSeries = i2;
|
|
42
|
-
const n2 = e2.xAxis;
|
|
43
|
-
n2 && n2.length > 0 && n2[0].data && (n2[0].data = []), t2.defaultXaxis = n2;
|
|
44
|
-
const s2 = e2.yAxis;
|
|
45
|
-
if (s2) for (const t3 of s2) t3.data && (t3.data = []), "auto" === t3._dataMin && (t3.min = function(t4) {
|
|
46
|
-
if (t4.min) return 10 * Math.floor(t4.min / 10);
|
|
47
|
-
}), "auto" === t3._dataMax && (t3.max = function(t4) {
|
|
48
|
-
if (t4.max) return 10 * Math.ceil(t4.max / 10);
|
|
49
|
-
});
|
|
50
|
-
t2.defaultYaxis = s2;
|
|
51
|
-
}
|
|
52
|
-
function I(t2, e2, i2) {
|
|
53
|
-
if (!(i2 && e2 && e2.clickSet && t2)) return;
|
|
54
|
-
const n2 = e2.clickSet;
|
|
55
|
-
i2.on("click", function(s2) {
|
|
56
|
-
let r2 = e2.highlightInfos ? e2.highlightInfos : [], o2 = -1;
|
|
57
|
-
if (r2) {
|
|
58
|
-
const t3 = [];
|
|
59
|
-
for (let a2 = 0; a2 < r2.length; a2++) {
|
|
60
|
-
const l2 = r2[a2], c2 = l2.seriesIndex === s2.seriesIndex && l2.dataIndex === s2.dataIndex;
|
|
61
|
-
if (c2 || !n2.multiple) {
|
|
62
|
-
if (n2.selected) {
|
|
63
|
-
const t4 = "chart-pie" === e2.name ? "unselect" : "downplay";
|
|
64
|
-
i2.dispatchAction({ type: t4, seriesIndex: l2.seriesIndex, dataIndex: l2.dataIndex });
|
|
65
|
-
}
|
|
66
|
-
} else t3.push(l2);
|
|
67
|
-
c2 && (o2 = a2);
|
|
68
|
-
}
|
|
69
|
-
r2 = t3;
|
|
70
|
-
}
|
|
71
|
-
if (-1 === o2) {
|
|
72
|
-
if (n2.selected) {
|
|
73
|
-
const t3 = "chart-pie" === e2.name ? "select" : "highlight";
|
|
74
|
-
i2.dispatchAction({ type: t3, seriesIndex: s2.seriesIndex, dataIndex: s2.dataIndex });
|
|
75
|
-
}
|
|
76
|
-
r2.push({ seriesIndex: s2.seriesIndex, dataIndex: s2.dataIndex });
|
|
77
|
-
}
|
|
78
|
-
e2.highlightInfos = r2, N(t2, e2);
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
function v(t2, e2, i2) {
|
|
82
|
-
if (!i2 || !e2 || !t2) return;
|
|
83
|
-
const n2 = e2.highlightInfos ? e2.highlightInfos : [];
|
|
84
|
-
for (let t3 = 0; t3 < n2.length; t3++) {
|
|
85
|
-
const s2 = n2[t3], r2 = "chart-pie" === e2.name ? "unselect" : "downplay";
|
|
86
|
-
i2.dispatchAction({ type: r2, seriesIndex: s2.seriesIndex, dataIndex: s2.dataIndex });
|
|
87
|
-
}
|
|
88
|
-
e2.highlightInfos = [], N(t2, e2);
|
|
89
|
-
}
|
|
90
|
-
function N(t2, e2) {
|
|
91
|
-
if (!e2.clickSet) return;
|
|
92
|
-
const i2 = e2.clickSet, n2 = i2.variables;
|
|
93
|
-
if (!n2 || 0 == n2.length) return;
|
|
94
|
-
const s2 = e2.highlightInfos ? e2.highlightInfos : [], r2 = e2.cacheDatas ? e2.cacheDatas : [], l2 = [], c2 = [];
|
|
95
|
-
for (const t3 of s2) c2.includes(t3.dataIndex) || (c2.push(t3.dataIndex), t3.dataIndex < r2.length && l2.push(r2[t3.dataIndex]));
|
|
96
|
-
for (const e3 of n2) {
|
|
97
|
-
if (!e3.fieldName || !e3.variable) continue;
|
|
98
|
-
const n3 = [];
|
|
99
|
-
for (const t3 of l2) {
|
|
100
|
-
const i3 = o(t3, e3.fieldName, void 0);
|
|
101
|
-
null != i3 && n3.push(i3);
|
|
102
|
-
}
|
|
103
|
-
i2.multiple ? a(t2.entity, e3.variable, n3) : a(t2.entity, e3.variable, n3.length > 0 ? n3[0] : void 0);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
function y(t2, e2, i2) {
|
|
107
|
-
const n2 = e2.items ? e2.items : [], s2 = e2.props ? e2.props.orderByTarget : "";
|
|
108
|
-
let r2 = null;
|
|
109
|
-
if ("x" == s2 || "X" == s2) r2 = "__x";
|
|
110
|
-
else if (s2) {
|
|
111
|
-
for (const t3 of n2) if (t3.uuid == s2) {
|
|
112
|
-
const e3 = t3.props ? t3.props : {}, i3 = e3.yaxisSource, n3 = e3.yaxisField;
|
|
113
|
-
if (n3 && (!i3 || "variable" == i3)) {
|
|
114
|
-
r2 = n3;
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
if ("formula" == i3 && e3.formula) {
|
|
118
|
-
r2 = t3.uuid + "_field";
|
|
119
|
-
break;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
if (!r2) return;
|
|
124
|
-
const a2 = e2.props ? e2.props.orderSource : "";
|
|
125
|
-
let l2 = e2.props ? e2.props.orderFix : "";
|
|
126
|
-
if ("variable" == a2) {
|
|
127
|
-
const i3 = e2.props ? e2.props.orderVariable : "";
|
|
128
|
-
l2 = f(t2, i3);
|
|
129
|
-
}
|
|
130
|
-
l2 = "desc" == l2 || "DESC" == l2 ? "desc" : "asc", i2.sort((t3, e3) => {
|
|
131
|
-
const i3 = o(t3, r2, void 0), n3 = o(e3, r2, void 0);
|
|
132
|
-
return "desc" === l2 ? n3 - i3 : i3 - n3;
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
function S(t2, e2, i2, n2, s2) {
|
|
136
|
-
if (!i2) return i2;
|
|
137
|
-
const r2 = e2.props ? e2.props : {};
|
|
138
|
-
if (!r2.limitQuantity) return i2;
|
|
139
|
-
let a2 = null;
|
|
140
|
-
if (r2.itemNumVariable ? (a2 = f(t2, r2.itemNumVariable), a2 = parseInt(a2)) : a2 = r2.itemNumFix ? r2.itemNumFix : 10, null == a2 || null == a2 || isNaN(a2)) return i2;
|
|
141
|
-
if (i2.length < a2) return i2;
|
|
142
|
-
const l2 = r2.overItemAlias, c2 = [], u2 = {};
|
|
143
|
-
n2 = n2 || [], s2 = s2 || [];
|
|
144
|
-
for (let t3 = 0; t3 < i2.length; t3++) {
|
|
145
|
-
const e3 = i2[t3];
|
|
146
|
-
if (t3 < a2) c2.push(e3);
|
|
147
|
-
else {
|
|
148
|
-
if (!l2) break;
|
|
149
|
-
for (const t4 of n2) {
|
|
150
|
-
if (!t4) continue;
|
|
151
|
-
let i3 = o(e3, t4, void 0);
|
|
152
|
-
i3 = null == i3 || null == i3 ? "" : i3, u2[t4] || (u2[t4] = []);
|
|
153
|
-
const n3 = u2[t4];
|
|
154
|
-
n3.includes(i3) || n3.push(i3);
|
|
155
|
-
}
|
|
156
|
-
for (const t4 of s2) {
|
|
157
|
-
if (!t4) continue;
|
|
158
|
-
const i3 = o(e3, t4, void 0);
|
|
159
|
-
if (isNaN(i3)) continue;
|
|
160
|
-
const n3 = u2[t4];
|
|
161
|
-
isNaN(n3) ? u2[t4] = i3 : u2[t4] = i3 + n3;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
return l2 && (u2.__x = l2, c2.push(u2)), c2;
|
|
166
|
-
}
|
|
167
|
-
function F(t2, e2, i2) {
|
|
168
|
-
const n2 = {};
|
|
169
|
-
for (const s2 of t2) {
|
|
170
|
-
const t3 = s2.props ? s2.props : {};
|
|
171
|
-
if ("formula" === t3.yaxisSource) {
|
|
172
|
-
const s3 = l(t3.formula);
|
|
173
|
-
for (const t4 of s3) if (!(t4 in n2)) {
|
|
174
|
-
if (t4.startsWith("${min.")) n2[t4] = _(e2, t4.substring(6, t4.length - 1));
|
|
175
|
-
else if (t4.startsWith("${max.")) n2[t4] = A(e2, t4.substring(6, t4.length - 1));
|
|
176
|
-
else if (t4.startsWith("${sum.")) n2[t4] = M(e2, t4.substring(6, t4.length - 1));
|
|
177
|
-
else if (t4.startsWith("${avg.")) n2[t4] = k(e2, t4.substring(6, t4.length - 1));
|
|
178
|
-
else if (t4.startsWith("${add.")) {
|
|
179
|
-
const e3 = t4.substring(6, t4.length - 1);
|
|
180
|
-
i2.add(e3);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
return n2;
|
|
186
|
-
}
|
|
187
|
-
function _(t2, e2) {
|
|
188
|
-
let i2;
|
|
189
|
-
for (const n2 of t2) {
|
|
190
|
-
const t3 = parseFloat(o(n2, e2, null));
|
|
191
|
-
(void 0 === i2 || !isNaN(t3) && t3 < i2) && (i2 = t3);
|
|
192
|
-
}
|
|
193
|
-
return i2;
|
|
194
|
-
}
|
|
195
|
-
function A(t2, e2) {
|
|
196
|
-
let i2;
|
|
197
|
-
for (const n2 of t2) {
|
|
198
|
-
const t3 = parseFloat(o(n2, e2, null));
|
|
199
|
-
(void 0 === i2 || !isNaN(t3) && t3 > i2) && (i2 = t3);
|
|
200
|
-
}
|
|
201
|
-
return i2;
|
|
202
|
-
}
|
|
203
|
-
function M(t2, e2) {
|
|
204
|
-
let i2;
|
|
205
|
-
for (const n2 of t2) {
|
|
206
|
-
const t3 = parseFloat(o(n2, e2, null));
|
|
207
|
-
void 0 === i2 ? i2 = t3 : isNaN(t3) || (i2 += t3);
|
|
208
|
-
}
|
|
209
|
-
return i2;
|
|
210
|
-
}
|
|
211
|
-
function k(t2, e2) {
|
|
212
|
-
const i2 = M(t2, e2);
|
|
213
|
-
return void 0 === i2 || 0 === t2.length ? i2 : parseFloat((i2 / t2.length).toFixed(5));
|
|
214
|
-
}
|
|
215
|
-
function w(t2, e2, i2, n2) {
|
|
216
|
-
if (!t2) return;
|
|
217
|
-
if (e2) for (const i3 in e2) t2 = t2.replace(new RegExp("\\${add." + i3 + "}", "g"), e2[i3]);
|
|
218
|
-
const s2 = l(t2);
|
|
219
|
-
for (const e3 of s2) {
|
|
220
|
-
let s3 = null;
|
|
221
|
-
s3 = e3.startsWith("${row.") ? o(i2, e3.substring(6, e3.length - 1), null) : c(n2.entity, e3), t2 = t2.replace(new RegExp(e3.replace("$", "\\$"), "g"), s3);
|
|
222
|
-
}
|
|
223
|
-
t2.includes("return ") || (t2 = "return " + t2);
|
|
224
|
-
const r2 = new Function("params", t2);
|
|
225
|
-
return p(r2, n2), r2({ pageContext: n2, row: i2 });
|
|
226
|
-
}
|
|
227
|
-
function $(t2, e2) {
|
|
228
|
-
if (!t2 || !t2.$el) return;
|
|
229
|
-
const i2 = t2.$el.getElementsByTagName("canvas");
|
|
230
|
-
if (!i2 || 0 === i2.length) return;
|
|
231
|
-
const n2 = i2[0], s2 = n2.width + ":" + n2.height;
|
|
232
|
-
return { isTable: false, fileContent: n2.toDataURL(), fileSize: s2, title: e2 == null ? void 0 : e2.title };
|
|
233
|
-
}
|
|
234
|
-
function j(t2, e2, i2) {
|
|
235
|
-
const n2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");
|
|
236
|
-
let s2 = true;
|
|
237
|
-
if (n2) {
|
|
238
|
-
const t3 = JSON.parse(n2);
|
|
239
|
-
if (t3[i2]) {
|
|
240
|
-
const n3 = t3[i2];
|
|
241
|
-
if (Object.keys(n3).length > 0) {
|
|
242
|
-
s2 = false;
|
|
243
|
-
for (const t4 in n3) null !== n3[t4] && void 0 !== n3[t4] && a(e2.entity, t4, n3[t4]);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
if (s2 && t2) {
|
|
248
|
-
for (const i3 of t2) if (i3.prop && i3.value) {
|
|
249
|
-
const t3 = r(e2, i3.value, "input-text", false), n3 = i3.prop.substring(2, i3.prop.length - 1).split(".");
|
|
250
|
-
null != t3 && u(e2.entity, n3, t3);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
function O(t2) {
|
|
255
|
-
if (t2 == null ? void 0 : t2.grid) {
|
|
256
|
-
const e2 = t2.grid, i2 = (t3) => !t3 || "0" === t3;
|
|
257
|
-
i2(e2.top) && i2(e2.right) && i2(e2.bottom) && i2(e2.left) && Object.assign(e2, { right: "10%", bottom: "60", left: "10%" });
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
function E(t2) {
|
|
261
|
-
var _a;
|
|
262
|
-
if ((_a = t2 == null ? void 0 : t2.toolbox) == null ? void 0 : _a.feature) {
|
|
263
|
-
const e2 = t2.toolbox.feature;
|
|
264
|
-
for (const t3 in e2) e2[t3].show && (e2[t3].title = d().t("chartMessage." + t3), "dataView" === t3 && (e2[t3].lang = [d().t("chartMessage.dataView"), d().t("chartMessage.close"), d().t("chartMessage.refresh")]));
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
export {
|
|
268
|
-
h as CommonName,
|
|
269
|
-
F as caculateFormulaValue,
|
|
270
|
-
v as clearChartSelected,
|
|
271
|
-
w as executeChartFormula,
|
|
272
|
-
$ as exportCommonChart,
|
|
273
|
-
E as formatToolboxI18n,
|
|
274
|
-
k as getAvgValue,
|
|
275
|
-
g as getCustomTheme,
|
|
276
|
-
m as getCustomThemeOptions,
|
|
277
|
-
A as getMaxValue,
|
|
278
|
-
_ as getMinValue,
|
|
279
|
-
x as getNumFormatter,
|
|
280
|
-
M as getSumValue,
|
|
281
|
-
b as initChartOption,
|
|
282
|
-
S as limitDatas,
|
|
283
|
-
I as monitorChartClickToVariable,
|
|
284
|
-
O as setDefaultGrid,
|
|
285
|
-
j as setHomeChartInitConfigValue,
|
|
286
|
-
y as sortDatas,
|
|
287
|
-
N as updateClickVariablesForSelected
|
|
288
|
-
};
|