super-page-runtime 2.3.34-cdn1 → 2.3.34-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 +92 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +184 -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 +167 -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 +5 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +399 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1133 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +308 -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 +56 -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 +377 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +260 -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 +58 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +20 -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-runtime.vue2.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-breadcrumb.vue2.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-group.vue2.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-header.vue2.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-search.vue2.mjs +52 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +408 -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-item.vue2.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-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.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-runtime.vue2.mjs +252 -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-component.vue2.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-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.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-table.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.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-dialog.vue2.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-dialog.vue2.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-runtime.vue2.mjs +29 -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-runtime.vue2.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.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/YxAffix.vue2.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-runtime.vue2.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-runtime.vue2.mjs +20 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +46 -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-runtime.vue2.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +361 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +320 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.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-runtime.vue2.mjs +83 -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-runtime.vue2.mjs +132 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.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-runtime.vue2.mjs +63 -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-element.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +76 -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-runtime.vue2.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-runtime.vue2.mjs +80 -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-runtime.vue2.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-runtime.vue2.mjs +32 -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-runtime.vue2.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-runtime.vue2.mjs +82 -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-runtime.vue2.mjs +195 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +72 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +141 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.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-box.vue2.mjs +26 -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-dialog.vue2.mjs +28 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +23 -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-runtime.vue2.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +26 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page.vue2.mjs +289 -0
- package/dist/es/index.mjs +30 -0
- package/dist/es/style.css +1 -1019
- 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 +5 -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.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 +7 -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 +99 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +24 -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 +174 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-breadcrumb.vue2.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-group.vue2.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-header.vue2.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-search.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-item.vue2.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-column.vue2.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-column.vue2.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-pageination.vue2.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-runtime.vue2.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-component.vue2.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-dialog.vue2.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-notice.vue2.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-message.vue2.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-dialog.vue2.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-table.vue2.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-dialog.vue2.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-dialog.vue2.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-dialog.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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/FixedBox.vue2.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/YxAffix.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-render.vue2.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-runtime.vue2.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-element.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-render.vue2.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-render.vue2.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-bottom.vue2.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 +14 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.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-dialog.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-chart.vue2.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-dialog.vue3.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 +135 -0
- package/dist/lib/components/runtime/views/super-page.vue2.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 +77 -75
- 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 -92
- package/dist/es/components/runtime/utils/api/api-util.js +0 -4
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -190
- 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 -166
- 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 -5
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -415
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1190
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -326
- 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 -387
- package/dist/es/components/runtime/utils/page-init-util.js +0 -280
- 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/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 -419
- 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 -15
- 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 -259
- 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 -29
- 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 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -18
- 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 -20
- 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 -382
- 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 -327
- 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 -85
- 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 -64
- 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 -78
- 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 -82
- 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 -32
- 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 -82
- 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 -199
- 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 -4
- 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 -153
- 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 -6
- 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 -26
- 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 -24
- 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 -26
- 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 -296
- package/dist/es/index.js +0 -30
- /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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { setActiveMenuToChatAiStore as n, setPageInfoToChatStore as s } from "agilebuilder-ui";
|
|
2
|
+
import { functions as i } from "./api/page-expose-util.mjs";
|
|
3
|
+
function m(o) {
|
|
4
|
+
const e = i.getFormViewData(o), a = o.propTitleMap, r = {};
|
|
5
|
+
for (const t in e) Array.isArray(e[t]) || a && a[t] && (r[a[t]] = e[t]);
|
|
6
|
+
return r;
|
|
7
|
+
}
|
|
8
|
+
function p(o, e) {
|
|
9
|
+
o && (n({ menuCode: e.menuCode, menuName: e.label }), s(e, { instance: o, exposeProxy: o.exposeProxy, pageType: e.pageType }));
|
|
10
|
+
}
|
|
11
|
+
const f = { getFormFormatDataUtil: m, setPageToChatStore: p };
|
|
12
|
+
export {
|
|
13
|
+
f as default,
|
|
14
|
+
m as getFormFormatDataUtil,
|
|
15
|
+
p as setPageToChatStore
|
|
16
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { caculateShowCondition as h } from "./page-helper-util.mjs";
|
|
2
|
+
import { getComponentRefByCode as g, getComponentRef as p } from "./global-refs.mjs";
|
|
3
|
+
import { nextTick as s } from "vue";
|
|
4
|
+
function b(o, l) {
|
|
5
|
+
const n = p(o, l);
|
|
6
|
+
n && s(() => {
|
|
7
|
+
a(n);
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function v(o, l) {
|
|
11
|
+
const n = g(o, l);
|
|
12
|
+
n && s(() => {
|
|
13
|
+
a(n);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function y(o, l) {
|
|
17
|
+
if (o && o.length !== 0) for (let n = 0; n < o.length; n++) {
|
|
18
|
+
const { uuid: e, conditions: t } = o[n];
|
|
19
|
+
if (h(l, t)) {
|
|
20
|
+
E(() => {
|
|
21
|
+
const c = p(l, e);
|
|
22
|
+
c && a(c);
|
|
23
|
+
});
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function E(o, l = {}) {
|
|
29
|
+
const { checkInterval: n = 50, stableCount: e = 10, maxWaitTime: t = 3e3 } = l;
|
|
30
|
+
let c = -1, r = 0, i = 0;
|
|
31
|
+
const u = () => {
|
|
32
|
+
const d = document.documentElement.scrollHeight || document.body.scrollHeight;
|
|
33
|
+
if (d === c) {
|
|
34
|
+
if (r++, r >= e) return void s(() => {
|
|
35
|
+
o();
|
|
36
|
+
});
|
|
37
|
+
} else c = d, r = 0;
|
|
38
|
+
i += n, i >= t ? s(() => {
|
|
39
|
+
o();
|
|
40
|
+
}) : setTimeout(u, n);
|
|
41
|
+
};
|
|
42
|
+
s(() => {
|
|
43
|
+
u();
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
let m = null;
|
|
47
|
+
function a(o) {
|
|
48
|
+
const l = function(e) {
|
|
49
|
+
let t = null;
|
|
50
|
+
return e && e.$el ? t = e.$el : e instanceof HTMLElement && (t = e), t && t.nodeType !== Node.ELEMENT_NODE && (t = t.nextElementSibling || t.parentElement), t instanceof HTMLElement ? t : null;
|
|
51
|
+
}(o);
|
|
52
|
+
if (!l) return;
|
|
53
|
+
const n = function(e) {
|
|
54
|
+
let t = e.parentElement;
|
|
55
|
+
for (; t; ) {
|
|
56
|
+
const c = window.getComputedStyle(t).overflowY;
|
|
57
|
+
if ((c === "auto" || c === "scroll") && t.scrollHeight > t.clientHeight) return t;
|
|
58
|
+
t = t.parentElement;
|
|
59
|
+
}
|
|
60
|
+
return document.documentElement || document.body;
|
|
61
|
+
}(l);
|
|
62
|
+
if (n && n !== document.documentElement && n !== document.body) {
|
|
63
|
+
const e = l.getBoundingClientRect(), t = n.getBoundingClientRect(), c = e.top - t.top + n.scrollTop;
|
|
64
|
+
f(n, Math.max(0, c - 20));
|
|
65
|
+
} else {
|
|
66
|
+
const e = l.getBoundingClientRect(), t = window.pageYOffset || document.documentElement.scrollTop, c = Math.max(0, e.top + t - 20);
|
|
67
|
+
(function() {
|
|
68
|
+
if (m !== null) return m;
|
|
69
|
+
try {
|
|
70
|
+
document.createElement("div").scrollIntoView({ behavior: "smooth" }), m = !0;
|
|
71
|
+
} catch {
|
|
72
|
+
m = !1;
|
|
73
|
+
}
|
|
74
|
+
return m;
|
|
75
|
+
})() ? l.scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" }) : f(document.documentElement, c);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function f(o, l) {
|
|
79
|
+
if ("scrollBehavior" in document.documentElement.style) return void o.scrollTo({ top: l, behavior: "smooth" });
|
|
80
|
+
const n = o.scrollTop, e = l - n;
|
|
81
|
+
if (Math.abs(e) < 1) return;
|
|
82
|
+
const t = performance.now ? performance.now() : Date.now();
|
|
83
|
+
requestAnimationFrame(function c() {
|
|
84
|
+
const r = (performance.now ? performance.now() : Date.now()) - t, i = Math.min(r / 300, 1), u = i < 0.5 ? 4 * i * i * i : 1 - Math.pow(-2 * i + 2, 3) / 2;
|
|
85
|
+
o.scrollTop = n + e * u, i < 1 && requestAnimationFrame(c);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
v as scrollIntoComponentWithCode,
|
|
90
|
+
b as scrollIntoComponentWithUuid,
|
|
91
|
+
y as scrollIntoViewWithContainer
|
|
92
|
+
};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { getOptionDatasSourceMap as W, getVariableValue as T, setVariableValue as A, setValueForVariableName as D, getComponentOptionDatasFromPage as j } from "../page-helper-util.mjs";
|
|
2
|
+
import { getComponentRef as $, getComponentRefByCode as g } from "../global-refs.mjs";
|
|
3
|
+
import O from "../eventBus.mjs";
|
|
4
|
+
import { replacePrefix as R, isMobileBrowser as q, http as G } from "agilebuilder-ui";
|
|
5
|
+
import { getFormData as N, getAdditionalParamMap as k, refreshPage as z } from "../events/standard-event.mjs";
|
|
6
|
+
import { dynamicControlTableEdit as J, disabledAllFields as K, updateFormItemEditState as L } from "../events/validator-util.mjs";
|
|
7
|
+
import { deepCopy as Q, getBaseUrl as M } from "../common-util.mjs";
|
|
8
|
+
import { getFormModelFields as S, getModelFields as X } from "../page-init-util.mjs";
|
|
9
|
+
import { getCustomFunc as Y } from "../events/event-util.mjs";
|
|
10
|
+
import { isHasFieldPermissionAuth as B } from "../table-utils.mjs";
|
|
11
|
+
import { scrollIntoComponentWithCode as Z, scrollIntoComponentWithUuid as ee } from "../anchor-util.mjs";
|
|
12
|
+
const pe = { showElement: function(e, o, t) {
|
|
13
|
+
t ? E(e, "showElement", o) : o.forEach((a) => {
|
|
14
|
+
const n = g(e, a);
|
|
15
|
+
n ? n.show() : console.error(`未找到code为${a}的组件`);
|
|
16
|
+
});
|
|
17
|
+
}, hideElement: function(e, o, t) {
|
|
18
|
+
t ? E(e, "hideElement", o) : o.forEach((a) => {
|
|
19
|
+
const n = g(e, a);
|
|
20
|
+
n ? n.hide() : console.error(`未找到code为${a}的组件`);
|
|
21
|
+
});
|
|
22
|
+
}, enableElement: function(e, o, t) {
|
|
23
|
+
t ? E(e, "enableElement", o) : o.forEach((a) => {
|
|
24
|
+
const n = g(e, a);
|
|
25
|
+
if (n) {
|
|
26
|
+
const i = n.getConfigure();
|
|
27
|
+
i && i.runtime.props && (i.runtime.props.state = "enabled");
|
|
28
|
+
} else console.error(`未找到code为${a}的组件`);
|
|
29
|
+
});
|
|
30
|
+
}, disableElement: function(e, o, t) {
|
|
31
|
+
t ? E(e, "disableElement", o) : o.forEach((a) => {
|
|
32
|
+
const n = g(e, a);
|
|
33
|
+
if (n) {
|
|
34
|
+
const i = n.getConfigure();
|
|
35
|
+
i && i.runtime.props && (i.runtime.props.state = "disabled");
|
|
36
|
+
} else console.error(`未找到code为${a}的组件`);
|
|
37
|
+
});
|
|
38
|
+
}, setEntityDataValue: function(e, o) {
|
|
39
|
+
Object.keys(o).forEach((t) => {
|
|
40
|
+
D(e.entity, t.startsWith("${") ? t : "${data." + t + "}", o[t]);
|
|
41
|
+
});
|
|
42
|
+
}, setEntityPageValue: function(e, o) {
|
|
43
|
+
Object.keys(o).forEach((t) => {
|
|
44
|
+
D(e.entity, t.startsWith("${") ? t : "${page." + t + "}", o[t]);
|
|
45
|
+
});
|
|
46
|
+
}, setEntityValueByType: function(e, o, t) {
|
|
47
|
+
Object.keys(t).forEach((a) => {
|
|
48
|
+
D(e.entity, a.startsWith("${") ? a : "${" + o + "." + a + "}", t[a]);
|
|
49
|
+
});
|
|
50
|
+
}, dynamicControlFormEdit: function(e, o, t) {
|
|
51
|
+
t ? E(e, "dynamicControlFormEdit", o) : L(e, o);
|
|
52
|
+
}, disabledAllFields(e) {
|
|
53
|
+
K(e);
|
|
54
|
+
}, dynamicControlTableEdit(e, o, t) {
|
|
55
|
+
J(e, o, t);
|
|
56
|
+
}, executeServiceFlow: function(e, o, t) {
|
|
57
|
+
const a = e.code;
|
|
58
|
+
t || (t = { entity: e.entity.data, serviceVariables: {}, requestParams: k(e), taskParamMap: e.entity.task, dynamicDimensionValue: [], dynamicSortValue: "" }), t.entity || (t.entity = e.entity.data), t.requestParams || (t.requestParams = k(e)), t.taskParamMap || (t.taskParamMap = e.entity.task);
|
|
59
|
+
const n = e.backendUrl, i = M(n, e.isTest);
|
|
60
|
+
return G.post(`${i}/dsc/service-flow/execute/${a}/${o}`, t);
|
|
61
|
+
}, openPage: function(e, o) {
|
|
62
|
+
O.$emit(e.code + "_open-dialog", { pageContext: e, eventParams: o.eventParams, configureObj: { props: { linkPage: o } } });
|
|
63
|
+
}, refreshPage: function(e, o) {
|
|
64
|
+
z(e, o);
|
|
65
|
+
}, refreshSubTableHandle: function(e, o) {
|
|
66
|
+
let t;
|
|
67
|
+
const a = g(e, o);
|
|
68
|
+
if (a) {
|
|
69
|
+
const n = a.getConfigure();
|
|
70
|
+
n && n.uuid && n.name && n.name === "table" && (t = n.uuid);
|
|
71
|
+
}
|
|
72
|
+
t ? O.$emit("_refreshSubTableHandle_" + t) : console.error("tableUUid is undefined");
|
|
73
|
+
}, refreshChildData(e, o, t) {
|
|
74
|
+
let a;
|
|
75
|
+
const n = g(e, o);
|
|
76
|
+
if (n) {
|
|
77
|
+
const i = n.getConfigure();
|
|
78
|
+
i && i.uuid && i.name && i.name === "table" && (a = i.uuid);
|
|
79
|
+
}
|
|
80
|
+
a ? O.$emit("_refreshChildData_" + a, t) : console.error("tableUUid is undefined");
|
|
81
|
+
}, getServerConfigValue: (e) => window.$vueApp.config.globalProperties[e], getBackendUrl: (e) => M(e.backendUrl, !1), getPlateBackendUrl: () => window.$vueApp.config.globalProperties.baseAPI, getEntity: (e) => e.entity.data, getEntityValue: (e, o) => e.entity.data ? e.entity.data[o] : null, getPageData: (e) => e.entity.page, getPageDataValue: (e, o) => e.entity.page ? e.entity.page[o] : null, getTaskDataValue: (e, o) => e.entity.task ? e.entity.task[o] : null, getValueByType: (e, o, t) => e.entity[o] ? e.entity[o][t] : null, getAdditionalParams: (e) => k(e), getAdditionalParamValue(e, o) {
|
|
82
|
+
const t = k(e);
|
|
83
|
+
return t ? t[o] : null;
|
|
84
|
+
}, isMobile: () => q(), getComponentRefByProp: (e, o) => g(e, o), getComponentRefByCode: (e, o) => $(e, o), getFormViewData(e) {
|
|
85
|
+
var i, u, s, p, h, d, y, x, I, w;
|
|
86
|
+
const o = e.entity ? e.entity : {}, t = Q(o), a = W(e);
|
|
87
|
+
for (const f in a) {
|
|
88
|
+
const b = j(e, f), m = $(e, f);
|
|
89
|
+
if (m) {
|
|
90
|
+
const r = m.getConfigure();
|
|
91
|
+
if (r) if (!((u = (i = r.props) == null ? void 0 : i.dataOrigin) != null && u.optionValueSetType) || ((p = (s = r.props) == null ? void 0 : s.dataOrigin) == null ? void 0 : p.optionValueSetType) !== "static" && ((d = (h = r.props) == null ? void 0 : h.dataOrigin) == null ? void 0 : d.optionValueSetType) !== "optionGroup") {
|
|
92
|
+
if (((x = (y = r == null ? void 0 : r.props) == null ? void 0 : y.dataOrigin) == null ? void 0 : x.optionValueSetType) === "dynamicData" && ((r == null ? void 0 : r.name) === "select" || (r == null ? void 0 : r.name) === "checkbox" || (r == null ? void 0 : r.name) === "radio")) {
|
|
93
|
+
const l = S(e, r), c = m.getSelectItemsTitle(), C = c && c.length > 0 ? c : T(t, l);
|
|
94
|
+
A(t, l, C);
|
|
95
|
+
}
|
|
96
|
+
} else if (r.name && (r.name === "select" && ((w = (I = r.props) == null ? void 0 : I.base) != null && w.multiple) || r.name === "checkbox")) {
|
|
97
|
+
const l = S(e, r), c = T(t, l);
|
|
98
|
+
if (c) {
|
|
99
|
+
const C = V(c.split(","), b);
|
|
100
|
+
A(t, l, C);
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
const l = S(e, r), c = V(T(t, l), b);
|
|
104
|
+
A(t, l, c);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
const n = e.listCodesMap;
|
|
109
|
+
for (const f in n) {
|
|
110
|
+
let b;
|
|
111
|
+
if (f.indexOf("__") > 0 && (b = f.substring(f.lastIndexOf("__") + 2)), b) {
|
|
112
|
+
const m = $(e, b);
|
|
113
|
+
if (m) {
|
|
114
|
+
const r = m.getConfigure(), l = r.code ? r.code : f, c = X(r, l), C = T(t, c), H = m.getTableSelectOptions(f), F = m.getColumns(), U = {}, v = {};
|
|
115
|
+
F && F.length > 0 && F.forEach((P) => {
|
|
116
|
+
P.dataType !== "DATE" && P.dataType !== "TIME" || (v[P.prop] = P);
|
|
117
|
+
}), U.formatDateColumns = v, te(H, C, U, m);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return t.data;
|
|
122
|
+
}, getFormData: (e, o) => N(e, o), getCustomFunc: (e, o) => Y(e, o), replaceUrlPrefix: (e) => R(e), isHasFieldAuthPermission: (e) => {
|
|
123
|
+
var o, t, a, n;
|
|
124
|
+
return !(((t = (o = e == null ? void 0 : e.props) == null ? void 0 : o.base) == null ? void 0 : t.isHasFieldAuthPermission) !== void 0 && !((n = (a = e == null ? void 0 : e.props) == null ? void 0 : a.base) != null && n.isHasFieldAuthPermission));
|
|
125
|
+
}, isHasFieldAuth(e, o) {
|
|
126
|
+
B(e, null, o);
|
|
127
|
+
}, isHasFieldAuthWithTable(e, o, t) {
|
|
128
|
+
B(e, o, t);
|
|
129
|
+
}, scrollIntoComponentWithUuid(e, o) {
|
|
130
|
+
ee(e, o);
|
|
131
|
+
}, scrollIntoComponentWithCode(e, o) {
|
|
132
|
+
Z(e, o);
|
|
133
|
+
}, isSignerTaskTransactor(e, o) {
|
|
134
|
+
if (!o) return !0;
|
|
135
|
+
const t = e.entity.task;
|
|
136
|
+
if (t) {
|
|
137
|
+
if (t.sourceTrustor) return o === t.sourceTrustor;
|
|
138
|
+
if (t.sourceAssigner) return o === t.sourceAssigner || !(!t.transactor || o !== t.transactor);
|
|
139
|
+
if (t.transactor && o === t.transactor) return !0;
|
|
140
|
+
}
|
|
141
|
+
return !1;
|
|
142
|
+
} };
|
|
143
|
+
function te(e, o, t, a) {
|
|
144
|
+
if (e && o) {
|
|
145
|
+
const n = a.getSuperGridRef();
|
|
146
|
+
o.forEach((i) => {
|
|
147
|
+
if (t != null && t.formatDateColumns) {
|
|
148
|
+
const u = t.formatDateColumns;
|
|
149
|
+
Object.keys(u).forEach((s) => {
|
|
150
|
+
const p = u[s];
|
|
151
|
+
i[s] && (i[s] = n.rowDoFormat(p, i[s]));
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
Object.keys(e).forEach((u) => {
|
|
155
|
+
const s = i[u], p = e[u], h = p.options, d = p.column;
|
|
156
|
+
let y;
|
|
157
|
+
d && d.componentType && (d.componentType === "multiselect" || d.componentType === "checkbox") ? s && (y = V(s.split(","), h)) : y = V(s, h), i[u] = y;
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function V(e, o) {
|
|
163
|
+
let t;
|
|
164
|
+
return e != null && o && (Array.isArray(e) ? (t = "", e.forEach((a) => {
|
|
165
|
+
t = t + _(e, o) + ",";
|
|
166
|
+
}), t.indexOf(",") > 0 && (t = t.substring(0, t.lastIndexOf(",")))) : (t = e, t = _(e, o))), t;
|
|
167
|
+
}
|
|
168
|
+
function _(e, o) {
|
|
169
|
+
let t = e;
|
|
170
|
+
if (e != null && o) for (let a = 0; a < o.length; a++) {
|
|
171
|
+
const n = o[a].value, i = o[a].label ? o[a].label : o[a].name;
|
|
172
|
+
if (e + "" == n + "" && i != null) {
|
|
173
|
+
t = i;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return t;
|
|
178
|
+
}
|
|
179
|
+
function E(e, o, t) {
|
|
180
|
+
e.initInfo || (e.initInfo = {}), e.initInfo[o] = t;
|
|
181
|
+
}
|
|
182
|
+
export {
|
|
183
|
+
pe as functions
|
|
184
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineAsyncComponent as e } from "vue";
|
|
2
|
+
import { usePageContextStore as r } from "./page-store.mjs";
|
|
3
|
+
const l = [{ name: "container", label: "容器", icon: "assets/images/group-container.png", items: [{ name: "form", label: "表单", runtimeComponent: e(() => import("../views/assemblys/container/form/form-runtime.vue.mjs")) }, { name: "card", label: "卡片", runtimeComponent: e(() => import("../views/assemblys/container/card/card-runtime.vue.mjs")) }, { name: "collapse", label: "折叠面板", runtimeComponent: e(() => import("../views/assemblys/container/collapse/collapse-runtime.vue.mjs")) }, { name: "layout", label: "Flex", runtimeComponent: e(() => import("../views/assemblys/container/flex/flex-runtime.vue.mjs")) }, { name: "tabs", label: "Tabs", runtimeComponent: e(() => import("../views/assemblys/container/tabs/tabs-runtime.vue.mjs")) }, { name: "tools", label: "工具栏", runtimeComponent: e(() => import("../views/assemblys/container/tools/tools-runtime.vue.mjs")) }, { name: "iframe", label: "Iframe", runtimeComponent: e(() => import("../views/assemblys/container/iframe/iframe-runtime.vue.mjs")) }, { name: "container", label: "布局", runtimeComponent: e(() => import("../views/assemblys/container/container/container-runtime.vue.mjs")) }] }, { name: "form", label: "表单", items: [{ name: "input-text", label: "文本框", runtimeComponent: e(() => import("../views/assemblys/form/input-text/inputtext-runtime.vue.mjs")) }, { name: "select", label: "下拉框", runtimeComponent: e(() => import("../views/assemblys/form/select/select-runtime.vue.mjs")) }, { name: "radio", label: "单选框", runtimeComponent: e(() => import("../views/assemblys/form/radio/radio-runtime.vue.mjs")) }, { name: "checkbox", label: "复选框", runtimeComponent: e(() => import("../views/assemblys/form/checkbox/checkbox-runtime.vue.mjs")) }, { name: "textarea", label: "文本域", runtimeComponent: e(() => import("../views/assemblys/form/textarea/textarea-runtime.vue.mjs")) }, { name: "datePicker", label: "日期/时间", runtimeComponent: e(() => import("../views/assemblys/form/date-picker/datepicker-runtime.vue.mjs")) }, { name: "switch", label: "开关", runtimeComponent: e(() => import("../views/assemblys/form/switch/switch-runtime.vue.mjs")) }, { name: "inputNumber", label: "计数器", runtimeComponent: e(() => import("../views/assemblys/form/input-number/input-number-runtime.vue.mjs")) }, { name: "tag", label: "标签", runtimeComponent: e(() => import("../views/assemblys/form/tag/tag-runtime.vue.mjs")) }, { name: "richText", label: "富文本", runtimeComponent: e(() => import("../views/assemblys/form/rich-text/richtext-runtime.vue.mjs")) }, { name: "divider", label: "分割线", runtimeComponent: e(() => import("../views/assemblys/form/divider/divider-runtime.vue.mjs")) }, { name: "separatelabel", label: "分割标签", runtimeComponent: e(() => import("../views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs")) }, { name: "placeholder", label: "占位符", runtimeComponent: e(() => import("../views/assemblys/form/placeholder/placeholder-runtime.vue.mjs")) }, { name: "link", label: "链接", runtimeComponent: e(() => import("../views/assemblys/form/link/link-runtime.vue.mjs")) }, { name: "label", label: "Label组件", runtimeComponent: e(() => import("../views/assemblys/form/label/label-runtime.vue.mjs")) }, { name: "dept-tree", label: "组织树", runtimeComponent: e(() => import("../views/assemblys/form/dept-tree/depttree-runtime.vue.mjs")) }, { name: "file-upload", label: "文件上传", runtimeComponent: e(() => import("../views/assemblys/form/file-upload/fileupload-runtime.vue.mjs")) }] }, { name: "button", label: "按钮", items: [{ name: "button-detail", label: "按钮", runtimeComponent: e(() => import("../views/assemblys/button/button/button-runtime.vue.mjs")) }, { name: "button-group", label: "按钮组", runtimeComponent: e(() => import("../views/assemblys/button/button-group/buttongroup-runtime.vue.mjs")) }, { name: "dropdown", label: "下拉菜单", runtimeComponent: e(() => import("../views/assemblys/button/dropdown/dropdown-runtime.vue.mjs")) }, { name: "print-label", label: "打印标签", runtimeComponent: e(() => import("../views/assemblys/button/print-label/printlabel-runtime.vue.mjs")) }, { name: "export-pdf", label: "打印标签", runtimeComponent: e(() => import("../views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs")) }] }, { name: "workflow", label: "工作流", items: [{ name: "workflow-button", label: "工作流按钮", runtimeComponent: e(() => import("../views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs")) }, { name: "picture-flow", label: "图形历史", runtimeComponent: e(() => import("../views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs")) }, { name: "text-flow", label: "文本历史", runtimeComponent: e(() => import("../views/assemblys/workflow/text-history/textflow-runtime.vue.mjs")) }, { name: "workflow-node", label: "流程环节", runtimeComponent: e(() => import("../views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs")) }, { name: "extract-workflow", label: "抽单", runtimeComponent: e(() => import("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs")) }, { name: "extract-workflow-dialog", label: "抽单Dialog", runtimeComponent: e(() => import("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs")) }] }, { name: "chart", label: "统计图", items: [{ name: "chart-column-line", label: "柱/折图", runtimeComponent: e(() => import("../views/assemblys/chart/column-line/column-line-runtime.vue.mjs")) }, { name: "chart-pie", label: "饼图", runtimeComponent: e(() => import("../views/assemblys/chart/pie/pie-runtime.vue.mjs")) }, { name: "chart-gauge", label: "仪表盘", runtimeComponent: e(() => import("../views/assemblys/chart/gauge/gauge-runtime.vue.mjs")) }, { name: "chart-radar", label: "雷达图", runtimeComponent: e(() => import("../views/assemblys/chart/radar/radar-runtime.vue.mjs")) }, { name: "chart-scatter", label: "散点图", runtimeComponent: e(() => import("../views/assemblys/chart/scatter/scatter-runtime.vue.mjs")) }, { name: "statistical-table", label: "统计表格", runtimeComponent: e(() => import("../views/assemblys/chart/table/table-runtime.vue.mjs")) }] }, { name: "data", label: "数据", items: [{ name: "table", label: "表格", runtimeComponent: e(() => import("../views/assemblys/data/table/table-runtime.vue.mjs")) }, { name: "tree", label: "树控件", runtimeComponent: e(() => import("../views/assemblys/data/tree/tree-runtime.vue.mjs")) }, { name: "bar-code", label: "条码", runtimeComponent: e(() => import("../views/assemblys/data/bar-code/barcode-runtime.vue.mjs")) }] }, { name: "other", label: "其他", items: [{ name: "custom", label: "自定义", runtimeComponent: e(() => import("../views/assemblys/form/custom/custom-runtime.vue.mjs")) }] }];
|
|
4
|
+
function u(m) {
|
|
5
|
+
if (!m) return null;
|
|
6
|
+
for (let n = 0; n < l.length; n++) {
|
|
7
|
+
let o = l[n].items;
|
|
8
|
+
for (let t = 0; t < o.length; t++) {
|
|
9
|
+
let a = o[t];
|
|
10
|
+
if (a.name == m)
|
|
11
|
+
return r().countComponentsTotalNmber(), a.runtimeComponent;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
l as assemblyGroups,
|
|
18
|
+
u as getRuntimeComponentByName
|
|
19
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function p(t, l) {
|
|
2
|
+
let r = !0, a = "";
|
|
3
|
+
return t.forEach((e) => {
|
|
4
|
+
if (e.propDbName !== "-1" && e.propDbName !== -1) {
|
|
5
|
+
const n = l[e.propDbName];
|
|
6
|
+
e.supplementaryCharacters && e.length ? n ? n.length > e.length ? a += n.substring(0, e.length) : a += n.padEnd(e.length, e.supplementaryCharacters) : a += "".padEnd(e.length, e.supplementaryCharacters) : n ? a += n : r = !1;
|
|
7
|
+
} else a += e.fixedValue;
|
|
8
|
+
}), r ? a : null;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
p as generateCodeByRule
|
|
12
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { getValueFromSource as y, formatVariableValue as K, setValueForVariableName as P } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as z } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as Q, CommonName as g, caculateFormulaValue as W, executeChartFormula as Y, sortDatas as Z, limitDatas as tt, formatToolboxI18n as et } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as q } from "../events/event-util.mjs";
|
|
5
|
+
function lt(p, s, u, f) {
|
|
6
|
+
if (!f || !f.result) return;
|
|
7
|
+
Q(u), u.tooltip || (u.tooltip = {}), q(p, s, "beforeUpdateChart", u, { resultData: f });
|
|
8
|
+
const m = f && f.result ? f.result : {};
|
|
9
|
+
let c = f && f.groupValue ? f.groupValue : void 0;
|
|
10
|
+
const M = s.serviceDataField;
|
|
11
|
+
let n = null;
|
|
12
|
+
M ? n = m[M] : m && (n = Array.isArray(m) ? m : [m]), n || (n = []), s.runtime.dataConfig.runtimeData = n;
|
|
13
|
+
let D = s.props ? s.props.groups : null;
|
|
14
|
+
if (D || (D = []), !c || c.length === 0) {
|
|
15
|
+
c = [];
|
|
16
|
+
for (const e of D) c.push(e.group);
|
|
17
|
+
}
|
|
18
|
+
const T = {}, x = [], k = [];
|
|
19
|
+
for (const e of D) T[e.group] = e.target, e.target && !x.includes(e.target) && (x.push(e.target), c.includes(e.group) && k.push(e.target));
|
|
20
|
+
let b = s.props ? s.props.mulGroupShow : "";
|
|
21
|
+
b = b == "break" ? `\r
|
|
22
|
+
` : " ";
|
|
23
|
+
for (const e of n) {
|
|
24
|
+
if (!e) continue;
|
|
25
|
+
const t = [];
|
|
26
|
+
for (const i of c) {
|
|
27
|
+
const r = T[i], a = y(e, r, void 0);
|
|
28
|
+
a && t.push(a);
|
|
29
|
+
}
|
|
30
|
+
const o = t.join(b);
|
|
31
|
+
e[g.X_FIELD_NAME] = o;
|
|
32
|
+
}
|
|
33
|
+
const G = s.items ? s.items : [], v = [], $ = {}, N = [], B = {}, _ = [], A = [], h = /* @__PURE__ */ new Set(), R = W(G, n, h);
|
|
34
|
+
for (const e of h) _.push(e);
|
|
35
|
+
for (const e of G) {
|
|
36
|
+
const t = e.props ? e.props : {}, o = t.yaxisSource, i = t.yaxisField, r = t.isCumulative;
|
|
37
|
+
let a = null;
|
|
38
|
+
if (!i || o && o != "variable") if (o == "formula") {
|
|
39
|
+
let l = t.formula ? t.formula : "";
|
|
40
|
+
for (const d in R) l = l.replace(new RegExp(d.replace("$", "\\$"), "g"), R[d]);
|
|
41
|
+
a = { uuid: e.uuid, type: "formula", formula: l, isFormulaCalculateAfterSort: t.isFormulaCalculateAfterSort, data: [], dynamicDatas: [] };
|
|
42
|
+
} else a = { uuid: e.uuid, type: "fixed", field: t.yaxisFix, data: [], dynamicDatas: [] };
|
|
43
|
+
else a = { uuid: e.uuid, type: "variable", field: i, isCumulative: r, data: [], dynamicDatas: [] }, i && !_.includes(i) && _.push(i), i && !A.includes(i) && A.push(i), r && !h.has(i) && h.add(i);
|
|
44
|
+
a != null && (v.push(a), $[e.uuid] = a), t.dynamicSeriesField && !N.includes(t.dynamicSeriesField) && a && (a.dynamicField = t.dynamicSeriesField, a.dynamicSeriesTitle = t.dynamicSeriesTitle, a.dynamicShowStack = t.dynamicShowStack, N.push(t.dynamicSeriesField), B[t.dynamicSeriesField] = i);
|
|
45
|
+
}
|
|
46
|
+
const V = {};
|
|
47
|
+
if (N.length > 0) {
|
|
48
|
+
const e = [], t = {};
|
|
49
|
+
for (const o of n) if (o) for (const i of _) {
|
|
50
|
+
const r = o[g.X_FIELD_NAME];
|
|
51
|
+
let a = t[r];
|
|
52
|
+
if (!a) {
|
|
53
|
+
a = {};
|
|
54
|
+
for (const d of x) a[d] = o[d];
|
|
55
|
+
a[g.X_FIELD_NAME] = o[g.X_FIELD_NAME], t[r] = a, e.push(a);
|
|
56
|
+
}
|
|
57
|
+
let l = y(o, i, void 0);
|
|
58
|
+
if (!isNaN(l)) {
|
|
59
|
+
const d = a[i];
|
|
60
|
+
isNaN || (l += d), a[i] = l;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
for (const o of N) {
|
|
64
|
+
const i = [];
|
|
65
|
+
for (const r of n) {
|
|
66
|
+
if (!r) continue;
|
|
67
|
+
const a = t[r[g.X_FIELD_NAME]];
|
|
68
|
+
if (!a) continue;
|
|
69
|
+
let l = y(r, o, void 0);
|
|
70
|
+
l = l == null || l == null ? "" : l, i.includes(l) || (i.push(l), A.push(l), h.add(l));
|
|
71
|
+
const d = B[o];
|
|
72
|
+
if (d !== void 0) {
|
|
73
|
+
const L = y(r, d, void 0);
|
|
74
|
+
let E = a[l];
|
|
75
|
+
E === void 0 ? E = L : isNaN(L) || (E += L), a[l] = E;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
V[o] = i;
|
|
79
|
+
}
|
|
80
|
+
n = e;
|
|
81
|
+
}
|
|
82
|
+
let F = {};
|
|
83
|
+
const w = /* @__PURE__ */ new Set(), H = s.props ? s.props.orderByTarget : "";
|
|
84
|
+
for (const e of v) e.type === "formula" && e.isFormulaCalculateAfterSort && H !== e.uuid && w.add(e.uuid + "_field");
|
|
85
|
+
for (const e of n) if (e) {
|
|
86
|
+
O(e, h, F);
|
|
87
|
+
for (const t of v) if (t.type === "formula" && !t.isFormulaCalculateAfterSort) {
|
|
88
|
+
const o = Y(t.formula, F, e, p);
|
|
89
|
+
e[t.uuid + "_field"] = o;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (Z(p, s, n), w.size > 0) {
|
|
93
|
+
const e = {};
|
|
94
|
+
for (const t of n) {
|
|
95
|
+
O(t, h, e);
|
|
96
|
+
for (const o of v) if (o.type === "formula" && w.has(o.uuid + "_field")) {
|
|
97
|
+
const i = Y(o.formula, e, t, p);
|
|
98
|
+
t[o.uuid + "_field"] = i;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
n = tt(p, s, n, x, A);
|
|
103
|
+
const I = [];
|
|
104
|
+
F = {};
|
|
105
|
+
for (const e of n) if (e) {
|
|
106
|
+
for (const t of h) {
|
|
107
|
+
const o = y(e, t, void 0);
|
|
108
|
+
let i = F[t];
|
|
109
|
+
o === void 0 || isNaN(o) || (i === void 0 ? i = o : i += o), F[t] = i;
|
|
110
|
+
}
|
|
111
|
+
I.push(e[g.X_FIELD_NAME]);
|
|
112
|
+
for (const t of v) {
|
|
113
|
+
let o = t.data;
|
|
114
|
+
const i = t.dynamicDatas;
|
|
115
|
+
if (t.dynamicField) {
|
|
116
|
+
let r = V[t.dynamicField];
|
|
117
|
+
r = r || [];
|
|
118
|
+
for (let a = 0; a < r.length; a++) {
|
|
119
|
+
a >= i.length && i.push([]), o = i[a];
|
|
120
|
+
const l = r[a];
|
|
121
|
+
let d = y(e, l, void 0);
|
|
122
|
+
t.isCumulative && (d = F[l]), o.push(d);
|
|
123
|
+
}
|
|
124
|
+
} else if (t.type === "fixed") o.push(t.field);
|
|
125
|
+
else if (t.type === "variable") {
|
|
126
|
+
let r = y(e, t.field, void 0);
|
|
127
|
+
t.isCumulative && (r = F[t.field]), o.push(r);
|
|
128
|
+
} else t.type === "formula" ? o.push(e[t.uuid + "_field"]) : o.push(void 0);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
const U = s.defaultSeries, J = z(U ?? []), X = [];
|
|
132
|
+
for (const e of J) {
|
|
133
|
+
const t = $[e.uuid];
|
|
134
|
+
if (t.dynamicField) {
|
|
135
|
+
let o = V[t.dynamicField];
|
|
136
|
+
o = o || [];
|
|
137
|
+
const i = t.dynamicDatas ? t.dynamicDatas : [];
|
|
138
|
+
for (let r = 0; r < o.length; r++) {
|
|
139
|
+
const a = o[r], l = z(e);
|
|
140
|
+
if (t.dynamicSeriesTitle) {
|
|
141
|
+
const d = t.dynamicSeriesTitle.replace("${name}", a);
|
|
142
|
+
l.name = K(p, d);
|
|
143
|
+
} else l.name = a;
|
|
144
|
+
l.data = r < i.length ? i[r] : [], e.type == "bar" && t.dynamicShowStack && (l.stack = e.uuid), X.push(l);
|
|
145
|
+
}
|
|
146
|
+
} else e.data = t ? t.data : [], X.push(e);
|
|
147
|
+
}
|
|
148
|
+
u.series = X;
|
|
149
|
+
const S = s.defaultXaxis, C = s.defaultYaxis;
|
|
150
|
+
if (u.isBar) {
|
|
151
|
+
if (C) for (const e of C) e.data = I;
|
|
152
|
+
u.xAxis = S, u.yAxis = C;
|
|
153
|
+
} else S && S.length > 0 && (S[0].data = I), u.xAxis = S, u.yAxis = C;
|
|
154
|
+
et(u);
|
|
155
|
+
const j = s.props ? s.props.selGroupVariable : null;
|
|
156
|
+
!(s.props && s.props.enableDrill) && j && (s.highlightInfos = [], P(p.entity, j, null)), q(p, s, "afterUpdateChart", u, { resultData: f }), s.groupFields = k, s.cacheDatas = n, s.rawResult = f;
|
|
157
|
+
}
|
|
158
|
+
function O(p, s, u) {
|
|
159
|
+
for (const f of s) {
|
|
160
|
+
const m = y(p, f, void 0);
|
|
161
|
+
let c = u[f];
|
|
162
|
+
m === void 0 || isNaN(m) || (c === void 0 ? c = m : c += m), u[f] = c;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
lt as updateChartOption
|
|
167
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { formatVariableValue as b, getValueFromSource as F } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as V } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as U, formatToolboxI18n as j } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as g } from "../events/event-util.mjs";
|
|
5
|
+
function M(d, e, l, t) {
|
|
6
|
+
if (!t || !t.result) return;
|
|
7
|
+
g(d, e, "beforeUpdateChart", l, { resultData: t }), U(l);
|
|
8
|
+
const n = t && t.result ? t.result : {}, c = e.serviceDataField;
|
|
9
|
+
let s = null;
|
|
10
|
+
c ? s = n[c] : n && (s = [n]), s || (s = []);
|
|
11
|
+
const x = e.props ? e.props.nameSource : void 0, h = e.props ? e.props.nameField : void 0, D = e.props ? e.props.nameFixed : void 0, S = e.props ? e.props.yaxisField : void 0, y = [h], p = [], f = [];
|
|
12
|
+
for (const o of s) {
|
|
13
|
+
if (!o) continue;
|
|
14
|
+
let r = null;
|
|
15
|
+
r = x == "fixed" ? b(d, D) : F(o, h, void 0), p.push(r);
|
|
16
|
+
const a = F(o, S, void 0);
|
|
17
|
+
f.push(a);
|
|
18
|
+
}
|
|
19
|
+
const m = e.defaultSeries;
|
|
20
|
+
let i = m[0].pieColors;
|
|
21
|
+
i = i || [];
|
|
22
|
+
let u = m[0].pieColorMap;
|
|
23
|
+
u = u || {};
|
|
24
|
+
const v = [];
|
|
25
|
+
for (let o = 0; o < p.length && o < f.length; o++) {
|
|
26
|
+
const r = { value: f[o], name: p[o] };
|
|
27
|
+
if (o < i.length || u[r.name]) {
|
|
28
|
+
let a = u[r.name];
|
|
29
|
+
a || (a = i[o]), a && (r.itemStyle = { color: a });
|
|
30
|
+
}
|
|
31
|
+
v.push(r);
|
|
32
|
+
}
|
|
33
|
+
const C = V(m);
|
|
34
|
+
C[0].data = v, l.series = [C[0]], j(l), g(d, e, "afterUpdateChart", l, { resultData: t }), e.groupFields = y, e.cacheDatas = s, e.rawResult = t;
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
M as updateChartOption
|
|
38
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { getValueFromSource as b, setValueForVariableName as R } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as T } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as U, CommonName as _, caculateFormulaValue as X, executeChartFormula as $, sortDatas as k, limitDatas as O, formatToolboxI18n as P } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as L } from "../events/event-util.mjs";
|
|
5
|
+
function H(p, t, m, s) {
|
|
6
|
+
if (!s || !s.result) return;
|
|
7
|
+
L(p, t, "beforeUpdateChart", m, { resultData: s }), U(m);
|
|
8
|
+
const h = s && s.result ? s.result : {};
|
|
9
|
+
let u = s && s.groupValue ? s.groupValue : void 0;
|
|
10
|
+
const A = t.serviceDataField;
|
|
11
|
+
let e = null;
|
|
12
|
+
A ? e = h[A] : h && (e = Array.isArray(h) ? h : [h]), e || (e = []);
|
|
13
|
+
let f = t.props ? t.props.groups : null;
|
|
14
|
+
if (f || (f = []), !u || u.length === 0) {
|
|
15
|
+
u = [];
|
|
16
|
+
for (const o of f) u.push(o.group);
|
|
17
|
+
}
|
|
18
|
+
const M = {}, v = [], I = [];
|
|
19
|
+
for (const o of f) M[o.group] = o.target, o.target && !v.includes(o.target) && (v.push(o.target), u.includes(o.group) && I.push(o.target));
|
|
20
|
+
let C = t.props ? t.props.mulGroupShow : "";
|
|
21
|
+
C = C == "break" ? `\r
|
|
22
|
+
` : " ";
|
|
23
|
+
for (const o of e) {
|
|
24
|
+
if (!o) continue;
|
|
25
|
+
const r = [];
|
|
26
|
+
for (const d of u) {
|
|
27
|
+
const l = M[d], x = b(o, l, void 0);
|
|
28
|
+
x && r.push(x);
|
|
29
|
+
}
|
|
30
|
+
const a = r.join(C);
|
|
31
|
+
o[_.X_FIELD_NAME] = a;
|
|
32
|
+
}
|
|
33
|
+
const n = t.items ? t.items : [];
|
|
34
|
+
if (n.length == 0) return;
|
|
35
|
+
const i = t.props ? t.props : {};
|
|
36
|
+
let c = i.yaxisField;
|
|
37
|
+
if (n[0].props.yaxisField = c, n[0].props.yaxisSource = i.yaxisSource, n[0].props.formula = i.formula, i.yaxisSource === "formula") {
|
|
38
|
+
const o = [], r = X(n, e, o);
|
|
39
|
+
let a = i.formula ? i.formula : "";
|
|
40
|
+
for (const l in r) a = a.replace(new RegExp(l.replace("$", "\\$"), "g"), r[l]);
|
|
41
|
+
c = _.Y_TEMP_NAME;
|
|
42
|
+
const d = {};
|
|
43
|
+
for (const l of e) {
|
|
44
|
+
if (!l) continue;
|
|
45
|
+
for (const V of o) {
|
|
46
|
+
const F = b(l, V, void 0);
|
|
47
|
+
let D = d[V];
|
|
48
|
+
F === void 0 || isNaN(F) || (D === void 0 ? D = F : D += F), d[V] = D;
|
|
49
|
+
}
|
|
50
|
+
const x = $(a, d, l, p);
|
|
51
|
+
l[c] = x;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
n[0].props.yaxisField = c, n[0].props.yaxisSource = "", k(p, t, e), e = O(p, t, e, v, [c]);
|
|
55
|
+
const E = [], S = [];
|
|
56
|
+
for (const o of e) {
|
|
57
|
+
if (!o) continue;
|
|
58
|
+
E.push(o[_.X_FIELD_NAME]);
|
|
59
|
+
const r = b(o, c, void 0);
|
|
60
|
+
S.push(r);
|
|
61
|
+
}
|
|
62
|
+
const N = t.defaultSeries;
|
|
63
|
+
let y = N[0].pieColors;
|
|
64
|
+
y = y || [];
|
|
65
|
+
let g = N[0].pieColorMap;
|
|
66
|
+
g = g || {};
|
|
67
|
+
const w = [];
|
|
68
|
+
for (let o = 0; o < E.length && o < S.length; o++) {
|
|
69
|
+
const r = { value: S[o], name: E[o] };
|
|
70
|
+
if (o < y.length || g[r.name]) {
|
|
71
|
+
let a = g[r.name];
|
|
72
|
+
a || (a = y[o]), a && (r.itemStyle = { color: a });
|
|
73
|
+
}
|
|
74
|
+
w.push(r);
|
|
75
|
+
}
|
|
76
|
+
const G = T(N);
|
|
77
|
+
G[0].data = w, m.series = [G[0]], P(m);
|
|
78
|
+
const j = t.props ? t.props.selGroupVariable : null;
|
|
79
|
+
!(t.props && t.props.enableDrill) && j && (t.highlightInfos = [], R(p.entity, j, null)), L(p, t, "afterUpdateChart", m, { resultData: s }), t.groupFields = I, t.cacheDatas = e, t.rawResult = s;
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
H as updateChartOption
|
|
83
|
+
};
|