super-page-runtime 2.3.50 → 2.3.51-cdnTmp1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.mjs +12 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +196 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -5
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +317 -0
- package/dist/es/components/runtime/utils/common-util.mjs +116 -0
- package/dist/es/components/runtime/utils/eventBus.mjs +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +432 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1170 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +462 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +15 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +281 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +30 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +425 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +261 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +366 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +329 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +90 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +140 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +144 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +111 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +58 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +231 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +163 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +30 -0
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1104
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +6 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +110 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +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 +31 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +181 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +55 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +137 -0
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- package/package.json +13 -11
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -84
- package/dist/es/components/runtime/utils/api/api-util.js +0 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -202
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
- package/dist/es/components/runtime/utils/common-util.js +0 -120
- package/dist/es/components/runtime/utils/eventBus.js +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -449
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1230
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -485
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -18
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -391
- package/dist/es/components/runtime/utils/page-init-util.js +0 -297
- package/dist/es/components/runtime/utils/page-store.js +0 -53
- package/dist/es/components/runtime/utils/store-util.js +0 -13
- package/dist/es/components/runtime/utils/table-utils.js +0 -89
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +0 -94
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -430
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +0 -269
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -387
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -339
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -90
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -142
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -115
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +0 -91
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -235
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -56
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -32
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -30
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -311
- package/dist/es/index.js +0 -32
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /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,56 @@
|
|
|
1
|
+
import { getValueFromSource as n } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as V } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as $, caculateFormulaValue as j, executeChartFormula as G, formatToolboxI18n as I } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as w } from "../events/event-util.mjs";
|
|
5
|
+
function z(c, r, u, s) {
|
|
6
|
+
if (!s || !s.result) return;
|
|
7
|
+
w(c, r, "beforeUpdateChart", u, { resultData: s }), $(u);
|
|
8
|
+
const p = s && s.result ? s.result : {}, x = r.serviceDataField;
|
|
9
|
+
let l = null;
|
|
10
|
+
x ? l = p[x] : p && (l = Array.isArray(p) ? p : [p]), l || (l = []);
|
|
11
|
+
const v = r.items ? r.items : [], h = [], y = {}, F = [], b = j(v, l, F);
|
|
12
|
+
for (const a of v) {
|
|
13
|
+
const i = a.props ? a.props : {}, f = i.yaxisSource, t = i.yaxisField;
|
|
14
|
+
let e = null;
|
|
15
|
+
if (!t || f && f != "variable") if (f == "formula") {
|
|
16
|
+
let o = i.formula ? i.formula : "";
|
|
17
|
+
for (const g in b) o = o.replace(new RegExp(g.replace("$", "\\$"), "g"), b[g]);
|
|
18
|
+
e = { uuid: a.uuid, type: "formula", formula: o, data: [] };
|
|
19
|
+
} else e = { uuid: a.uuid, type: "fixed", field: i.yaxisFix, data: [] };
|
|
20
|
+
else e = { uuid: a.uuid, type: "variable", field: t, data: [] };
|
|
21
|
+
e && (h.push(e), y[e.uuid] = e);
|
|
22
|
+
}
|
|
23
|
+
const d = r.props ? r.props : {}, A = d.nameField, C = d.maxSource, N = d.maxField, E = d.maxFixed, D = [], m = {};
|
|
24
|
+
for (const a of l) {
|
|
25
|
+
if (!a) continue;
|
|
26
|
+
const i = n(a, A, void 0);
|
|
27
|
+
let f = null;
|
|
28
|
+
f = C && C != "variable" ? E : n(a, N, void 0), D.push({ text: i, max: f });
|
|
29
|
+
for (const t of F) {
|
|
30
|
+
const e = n(a, t, void 0);
|
|
31
|
+
let o = m[t];
|
|
32
|
+
e === void 0 || isNaN(e) || (o === void 0 ? o = e : o += e), m[t] = o;
|
|
33
|
+
}
|
|
34
|
+
for (const t of h) {
|
|
35
|
+
const e = t.data;
|
|
36
|
+
if (t.type == "fixed") e.push(t.field);
|
|
37
|
+
else if (t.type == "variable") {
|
|
38
|
+
const o = n(a, t.field, void 0);
|
|
39
|
+
e.push(o);
|
|
40
|
+
} else if (t.type == "formula") {
|
|
41
|
+
const o = G(t.formula, m, a, c);
|
|
42
|
+
e.push(o);
|
|
43
|
+
} else e.push(void 0);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
u.radar[0].indicator = D, I(u);
|
|
47
|
+
const R = r.defaultSeries, S = V(R), U = S[0].data;
|
|
48
|
+
for (const a of U) {
|
|
49
|
+
const i = y[a.uuid];
|
|
50
|
+
a.value = i.data;
|
|
51
|
+
}
|
|
52
|
+
u.series = S, w(c, r, "afterUpdateChart", u, { resultData: s }), r.cacheDatas = l, r.rawResult = s;
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
z as updateChartOption
|
|
56
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getValueFromSource as d } from "../page-helper-util.mjs";
|
|
2
|
+
import { deepCopy as b } from "../common-util.mjs";
|
|
3
|
+
import { setDefaultGrid as D, caculateFormulaValue as g, executeChartFormula as w, formatToolboxI18n as A } from "./chart-util.mjs";
|
|
4
|
+
import { handleChartEvent as z } from "../events/event-util.mjs";
|
|
5
|
+
function V(f, t, l, r) {
|
|
6
|
+
if (!r || !r.result) return;
|
|
7
|
+
z(f, t, "beforeUpdateChart", l, { resultData: r }), D(l);
|
|
8
|
+
const u = r && r.result ? r.result : {}, x = t.serviceDataField;
|
|
9
|
+
let i = null;
|
|
10
|
+
x ? i = u[x] : u && (i = Array.isArray(u) ? u : [u]), i || (i = []);
|
|
11
|
+
const h = t.items ? t.items : [], n = [], y = {};
|
|
12
|
+
for (const e of h) {
|
|
13
|
+
const o = e.props ? e.props : {}, a = e.props ? e.style : {}, s = o.xaxisField, m = o.sizeField, c = { uuid: e.uuid, xaxisField: s, yaxisField: o.yaxisField, yaxisSource: o.yaxisSource, formula: o.formula, sizeField: m, symbolSize: a.symbolSize, data: [] };
|
|
14
|
+
n.push(c), y[c.uuid] = c;
|
|
15
|
+
}
|
|
16
|
+
const F = [], S = g(h, i, F);
|
|
17
|
+
for (const e of n) if (e.yaxisSource === "formula") {
|
|
18
|
+
let o = e.formula ? e.formula : "";
|
|
19
|
+
for (const a in S) o = o.replace(new RegExp(a.replace("$", "\\$"), "g"), S[a]);
|
|
20
|
+
e.formula = o;
|
|
21
|
+
}
|
|
22
|
+
const p = {};
|
|
23
|
+
for (const e of i) if (e) {
|
|
24
|
+
for (const o of F) {
|
|
25
|
+
const a = d(e, o, void 0);
|
|
26
|
+
let s = p[o];
|
|
27
|
+
a === void 0 || isNaN(a) || (s === void 0 ? s = a : s += a), p[o] = s;
|
|
28
|
+
}
|
|
29
|
+
for (const o of n) {
|
|
30
|
+
const a = o.data, s = [];
|
|
31
|
+
if (s.push(d(e, o.xaxisField, void 0)), o.yaxisSource === "formula") {
|
|
32
|
+
const m = w(o.formula, p, e, f);
|
|
33
|
+
s.push(m);
|
|
34
|
+
} else s.push(d(e, o.yaxisField, void 0));
|
|
35
|
+
o.sizeField ? s.push(d(e, o.xaxisField, void 0)) : s.push(o.symbolSize), a.push(s);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const C = t.defaultSeries, v = b(C);
|
|
39
|
+
for (const e of v) {
|
|
40
|
+
const o = y[e.uuid];
|
|
41
|
+
e.data = o.data;
|
|
42
|
+
}
|
|
43
|
+
l.series = v, A(l), z(f, t, "afterUpdateChart", l, { resultData: r }), t.cacheDatas = i, t.rawResult = r;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
V as updateChartOption
|
|
47
|
+
};
|
|
@@ -99,11 +99,6 @@ export declare function getAvgValue(datas: any, fieldName: string): any;
|
|
|
99
99
|
* @param pageContext 页面对象
|
|
100
100
|
*/
|
|
101
101
|
export declare function executeChartFormula(formulaStr: string, accumulateMap: any, rowData: any, pageContext: PageContext): any;
|
|
102
|
-
/**
|
|
103
|
-
* 导出图表工具方法
|
|
104
|
-
* @param chartDom
|
|
105
|
-
* @returns
|
|
106
|
-
*/
|
|
107
102
|
export declare function exportCommonChart(chartRef: any, headerInfo: any): {
|
|
108
103
|
isTable: boolean;
|
|
109
104
|
fileContent: any;
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import y from "../../../../assets/chart-themes/bar-theme.mjs";
|
|
2
|
+
import M from "../../../../assets/chart-themes/gauge-theme.mjs";
|
|
3
|
+
import V from "../../../../assets/chart-themes/pie-theme.mjs";
|
|
4
|
+
import C from "../../../../assets/chart-themes/radar-theme.mjs";
|
|
5
|
+
import _ from "../../../../assets/chart-themes/scatter-theme.mjs";
|
|
6
|
+
import { getDefaultValue as k } from "../page-init-util.mjs";
|
|
7
|
+
import { getValueFromSource as g, setValueForVariableName as b, getParamNames as N, getValueFromVariable as w, formatVariableValue as v, setVariableValue as O } from "../page-helper-util.mjs";
|
|
8
|
+
import { getI18n as m } from "agilebuilder-ui";
|
|
9
|
+
import { appendDefaultMethods as D } from "../events/event-util.mjs";
|
|
10
|
+
var $ = ((e) => (e.X_FIELD_NAME = "__x", e.Y_TEMP_NAME = "__y", e))($ || {});
|
|
11
|
+
function Z(e, t = "bar") {
|
|
12
|
+
return t === "bar" ? y[e] : t === "gauge" ? M[e] : t === "pie" ? V[e] : t === "radar" ? C[e] : t === "scatter" ? _[e] : y[e];
|
|
13
|
+
}
|
|
14
|
+
function G() {
|
|
15
|
+
return [{ value: "theme1", label: "主题1" }, { value: "theme2", label: "主题2" }, { value: "theme3", label: "主题3" }];
|
|
16
|
+
}
|
|
17
|
+
function A(e, t, i, n, s) {
|
|
18
|
+
return function(r) {
|
|
19
|
+
let a = r == null ? void 0 : r.value;
|
|
20
|
+
if (s && (a = r), a == null || a == null || Array.isArray(a) || isNaN(a) || !e || !e.indexOf) return a;
|
|
21
|
+
if (e.indexOf("precision") > -1) {
|
|
22
|
+
let c = parseInt(t);
|
|
23
|
+
(c == null || isNaN(c)) && (c = 2), a = parseFloat(parseFloat(a).toFixed(c));
|
|
24
|
+
}
|
|
25
|
+
let o = "";
|
|
26
|
+
e.indexOf("prefix") > -1 && i && (o = i);
|
|
27
|
+
let l = "";
|
|
28
|
+
return e.indexOf("append") > -1 && n && (l = n), o + a.toLocaleString() + l;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function J(e, t) {
|
|
32
|
+
if (!t) return;
|
|
33
|
+
if (t.tooltipFormatterArgs && (t.tooltip || (t.tooltip = {}), t.tooltip.valueFormatter = A.apply(t, t.tooltipFormatterArgs)), t.series) {
|
|
34
|
+
const r = e.props ? e.props.enableDrill : null;
|
|
35
|
+
for (const a of t.series) t.radar || (a.data = []), a.labelFormatterArgs && (a.label || (a.label = {}), a.label.formatter = A.apply(a, a.labelFormatterArgs)), !r && e.clickSet && e.clickSet.selected && a.emphasis && (a.emphasis.disabled = !1), a.type === "pie" && e.clickSet && e.clickSet.selected && (e.clickSet.multiple ? a.selectedMode = "multiple" : a.selectedMode = "single");
|
|
36
|
+
}
|
|
37
|
+
if (t.radar) for (const r of t.radar) r.indicator = [];
|
|
38
|
+
const i = t.series;
|
|
39
|
+
e.defaultSeries = i;
|
|
40
|
+
const n = t.xAxis;
|
|
41
|
+
n && n.length > 0 && n[0].data && (n[0].data = []), e.defaultXaxis = n;
|
|
42
|
+
const s = t.yAxis;
|
|
43
|
+
if (s) for (const r of s) r.data && (r.data = []), r._dataMin === "auto" && (r.min = function(a) {
|
|
44
|
+
if (a.min) return 10 * Math.floor(a.min / 10);
|
|
45
|
+
}), r._dataMax === "auto" && (r.max = function(a) {
|
|
46
|
+
if (a.max) return 10 * Math.ceil(a.max / 10);
|
|
47
|
+
});
|
|
48
|
+
e.defaultYaxis = s;
|
|
49
|
+
}
|
|
50
|
+
function Q(e, t, i) {
|
|
51
|
+
if (!(i && t && t.clickSet && e)) return;
|
|
52
|
+
const n = t.clickSet;
|
|
53
|
+
i.on("click", function(s) {
|
|
54
|
+
let r = t.highlightInfos ? t.highlightInfos : [], a = -1;
|
|
55
|
+
if (r) {
|
|
56
|
+
const o = [];
|
|
57
|
+
for (let l = 0; l < r.length; l++) {
|
|
58
|
+
const c = r[l], u = c.seriesIndex === s.seriesIndex && c.dataIndex === s.dataIndex;
|
|
59
|
+
if (u || !n.multiple) {
|
|
60
|
+
if (n.selected) {
|
|
61
|
+
const f = t.name === "chart-pie" ? "unselect" : "downplay";
|
|
62
|
+
i.dispatchAction({ type: f, seriesIndex: c.seriesIndex, dataIndex: c.dataIndex });
|
|
63
|
+
}
|
|
64
|
+
} else o.push(c);
|
|
65
|
+
u && (a = l);
|
|
66
|
+
}
|
|
67
|
+
r = o;
|
|
68
|
+
}
|
|
69
|
+
if (a === -1) {
|
|
70
|
+
if (n.selected) {
|
|
71
|
+
const o = t.name === "chart-pie" ? "select" : "highlight";
|
|
72
|
+
i.dispatchAction({ type: o, seriesIndex: s.seriesIndex, dataIndex: s.dataIndex });
|
|
73
|
+
}
|
|
74
|
+
r.push({ seriesIndex: s.seriesIndex, dataIndex: s.dataIndex });
|
|
75
|
+
}
|
|
76
|
+
t.highlightInfos = r, F(e, t);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
function q(e, t, i) {
|
|
80
|
+
if (!i || !t || !e) return;
|
|
81
|
+
const n = t.highlightInfos ? t.highlightInfos : [];
|
|
82
|
+
for (let s = 0; s < n.length; s++) {
|
|
83
|
+
const r = n[s], a = t.name === "chart-pie" ? "unselect" : "downplay";
|
|
84
|
+
i.dispatchAction({ type: a, seriesIndex: r.seriesIndex, dataIndex: r.dataIndex });
|
|
85
|
+
}
|
|
86
|
+
t.highlightInfos = [], F(e, t);
|
|
87
|
+
}
|
|
88
|
+
function F(e, t) {
|
|
89
|
+
if (!t.clickSet) return;
|
|
90
|
+
const i = t.clickSet, n = i.variables;
|
|
91
|
+
if (!n || n.length == 0) return;
|
|
92
|
+
const s = t.highlightInfos ? t.highlightInfos : [], r = t.cacheDatas ? t.cacheDatas : [], a = [], o = [];
|
|
93
|
+
for (const l of s) o.includes(l.dataIndex) || (o.push(l.dataIndex), l.dataIndex < r.length && a.push(r[l.dataIndex]));
|
|
94
|
+
for (const l of n) {
|
|
95
|
+
if (!l.fieldName || !l.variable) continue;
|
|
96
|
+
const c = [];
|
|
97
|
+
for (const u of a) {
|
|
98
|
+
const f = g(u, l.fieldName, void 0);
|
|
99
|
+
f != null && c.push(f);
|
|
100
|
+
}
|
|
101
|
+
i.multiple ? b(e.entity, l.variable, c) : b(e.entity, l.variable, c.length > 0 ? c[0] : void 0);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function K(e, t, i) {
|
|
105
|
+
const n = t.items ? t.items : [], s = t.props ? t.props.orderByTarget : "";
|
|
106
|
+
let r = null;
|
|
107
|
+
if (s == "x" || s == "X") r = "__x";
|
|
108
|
+
else if (s) {
|
|
109
|
+
for (const l of n) if (l.uuid == s) {
|
|
110
|
+
const c = l.props ? l.props : {}, u = c.yaxisSource, f = c.yaxisField;
|
|
111
|
+
if (f && (!u || u == "variable")) {
|
|
112
|
+
r = f;
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
if (u == "formula" && c.formula) {
|
|
116
|
+
r = l.uuid + "_field";
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
if (!r) return;
|
|
122
|
+
const a = t.props ? t.props.orderSource : "";
|
|
123
|
+
let o = t.props ? t.props.orderFix : "";
|
|
124
|
+
if (a == "variable") {
|
|
125
|
+
const l = t.props ? t.props.orderVariable : "";
|
|
126
|
+
o = v(e, l);
|
|
127
|
+
}
|
|
128
|
+
o = o == "desc" || o == "DESC" ? "desc" : "asc", i.sort((l, c) => {
|
|
129
|
+
const u = g(l, r, void 0), f = g(c, r, void 0);
|
|
130
|
+
return o === "desc" ? f - u : u - f;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
function tt(e, t, i, n, s) {
|
|
134
|
+
if (!i) return i;
|
|
135
|
+
const r = t.props ? t.props : {};
|
|
136
|
+
if (!r.limitQuantity) return i;
|
|
137
|
+
let a = null;
|
|
138
|
+
if (r.itemNumVariable ? (a = v(e, r.itemNumVariable), a = parseInt(a)) : a = r.itemNumFix ? r.itemNumFix : 10, a == null || a == null || isNaN(a) || i.length < a) return i;
|
|
139
|
+
const o = r.overItemAlias, l = [], c = {};
|
|
140
|
+
n = n || [], s = s || [];
|
|
141
|
+
for (let u = 0; u < i.length; u++) {
|
|
142
|
+
const f = i[u];
|
|
143
|
+
if (u < a) l.push(f);
|
|
144
|
+
else {
|
|
145
|
+
if (!o) break;
|
|
146
|
+
for (const p of n) {
|
|
147
|
+
if (!p) continue;
|
|
148
|
+
let d = g(f, p, void 0);
|
|
149
|
+
d = d == null || d == null ? "" : d, c[p] || (c[p] = []);
|
|
150
|
+
const h = c[p];
|
|
151
|
+
h.includes(d) || h.push(d);
|
|
152
|
+
}
|
|
153
|
+
for (const p of s) {
|
|
154
|
+
if (!p) continue;
|
|
155
|
+
const d = g(f, p, void 0);
|
|
156
|
+
if (isNaN(d)) continue;
|
|
157
|
+
const h = c[p];
|
|
158
|
+
isNaN(h) ? c[p] = d : c[p] = d + h;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return o && (c.__x = o, l.push(c)), l;
|
|
163
|
+
}
|
|
164
|
+
function et(e, t, i) {
|
|
165
|
+
const n = {};
|
|
166
|
+
for (const s of e) {
|
|
167
|
+
const r = s.props ? s.props : {};
|
|
168
|
+
if (r.yaxisSource === "formula") {
|
|
169
|
+
const a = N(r.formula);
|
|
170
|
+
for (const o of a) if (!(o in n)) {
|
|
171
|
+
if (o.startsWith("${min.")) n[o] = E(t, o.substring(6, o.length - 1));
|
|
172
|
+
else if (o.startsWith("${max.")) n[o] = T(t, o.substring(6, o.length - 1));
|
|
173
|
+
else if (o.startsWith("${sum.")) n[o] = S(t, o.substring(6, o.length - 1));
|
|
174
|
+
else if (o.startsWith("${avg.")) n[o] = L(t, o.substring(6, o.length - 1));
|
|
175
|
+
else if (o.startsWith("${add.")) {
|
|
176
|
+
const l = o.substring(6, o.length - 1);
|
|
177
|
+
i.add(l);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return n;
|
|
183
|
+
}
|
|
184
|
+
function E(e, t) {
|
|
185
|
+
let i;
|
|
186
|
+
for (const n of e) {
|
|
187
|
+
const s = parseFloat(g(n, t, null));
|
|
188
|
+
(i === void 0 || !isNaN(s) && s < i) && (i = s);
|
|
189
|
+
}
|
|
190
|
+
return i;
|
|
191
|
+
}
|
|
192
|
+
function T(e, t) {
|
|
193
|
+
let i;
|
|
194
|
+
for (const n of e) {
|
|
195
|
+
const s = parseFloat(g(n, t, null));
|
|
196
|
+
(i === void 0 || !isNaN(s) && s > i) && (i = s);
|
|
197
|
+
}
|
|
198
|
+
return i;
|
|
199
|
+
}
|
|
200
|
+
function S(e, t) {
|
|
201
|
+
let i;
|
|
202
|
+
for (const n of e) {
|
|
203
|
+
const s = parseFloat(g(n, t, null));
|
|
204
|
+
i === void 0 ? i = s : isNaN(s) || (i += s);
|
|
205
|
+
}
|
|
206
|
+
return i;
|
|
207
|
+
}
|
|
208
|
+
function L(e, t) {
|
|
209
|
+
const i = S(e, t);
|
|
210
|
+
return i === void 0 || e.length === 0 ? i : parseFloat((i / e.length).toFixed(5));
|
|
211
|
+
}
|
|
212
|
+
function at(e, t, i, n) {
|
|
213
|
+
if (!e) return;
|
|
214
|
+
if (t) for (const a in t) e = e.replace(new RegExp("\\${add." + a + "}", "g"), t[a]);
|
|
215
|
+
const s = N(e);
|
|
216
|
+
for (const a of s) {
|
|
217
|
+
let o = null;
|
|
218
|
+
o = a.startsWith("${row.") ? g(i, a.substring(6, a.length - 1), null) : w(n.entity, a), e = e.replace(new RegExp(a.replace("$", "\\$"), "g"), o);
|
|
219
|
+
}
|
|
220
|
+
e.includes("return ") || (e = "return " + e);
|
|
221
|
+
const r = new Function("params", e);
|
|
222
|
+
return D(r, n), r({ pageContext: n, row: i });
|
|
223
|
+
}
|
|
224
|
+
function R(e) {
|
|
225
|
+
const t = String(e ?? "");
|
|
226
|
+
if (t.length <= 8) return t;
|
|
227
|
+
const i = [];
|
|
228
|
+
for (let n = 0; n < t.length; n += 8) i.push(t.slice(n, n + 8));
|
|
229
|
+
return i.join(`
|
|
230
|
+
`);
|
|
231
|
+
}
|
|
232
|
+
function it(e, t) {
|
|
233
|
+
if (!e || !e.$el) return;
|
|
234
|
+
const i = e.$el.getElementsByTagName("canvas");
|
|
235
|
+
if (!i || i.length === 0) return;
|
|
236
|
+
const n = i[0];
|
|
237
|
+
let s = n.toDataURL(), r = n.width, a = n.height;
|
|
238
|
+
const o = e.chart;
|
|
239
|
+
if (o && typeof o.getDataURL == "function") {
|
|
240
|
+
const l = o.getOption();
|
|
241
|
+
if (l && l.xAxis) try {
|
|
242
|
+
const c = o.getWidth(), u = o.getHeight();
|
|
243
|
+
r = function(f, p) {
|
|
244
|
+
let d = 0;
|
|
245
|
+
const h = Array.isArray(f.series) ? f.series : [];
|
|
246
|
+
for (const I of h) Array.isArray(I.data) && (d = Math.max(d, I.data.length));
|
|
247
|
+
const x = Array.isArray(f.xAxis) ? f.xAxis[0] : f.xAxis;
|
|
248
|
+
return x && Array.isArray(x.data) && (d = Math.max(d, x.data.length)), Math.min(2400, Math.max(p, 60 * d + 200));
|
|
249
|
+
}(l, c), a = u, o.setOption(function(f) {
|
|
250
|
+
const p = { dataZoom: [] };
|
|
251
|
+
if (f.xAxis) {
|
|
252
|
+
const d = Array.isArray(f.xAxis) ? f.xAxis : [f.xAxis];
|
|
253
|
+
p.xAxis = d.map((h) => ({ ...h, axisLabel: { ...h.axisLabel || {}, interval: 0, hideOverlap: !1, formatter: R } }));
|
|
254
|
+
}
|
|
255
|
+
return p;
|
|
256
|
+
}(l), { replaceMerge: ["dataZoom", "xAxis"] }), o.resize({ width: r, height: a }), s = o.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), o.setOption(l, !0), o.resize({ width: c, height: u });
|
|
257
|
+
} catch {
|
|
258
|
+
r = n.width, a = n.height, s = n.toDataURL();
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return { isTable: !1, fileContent: s, fileSize: r + ":" + a, title: t == null ? void 0 : t.title };
|
|
262
|
+
}
|
|
263
|
+
function nt(e, t, i) {
|
|
264
|
+
const n = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");
|
|
265
|
+
let s = !0;
|
|
266
|
+
if (n) {
|
|
267
|
+
const r = JSON.parse(n);
|
|
268
|
+
if (r[i]) {
|
|
269
|
+
const a = r[i];
|
|
270
|
+
if (Object.keys(a).length > 0) {
|
|
271
|
+
s = !1;
|
|
272
|
+
for (const o in a) a[o] !== null && a[o] !== void 0 && b(t.entity, o, a[o]);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
if (s && e) {
|
|
277
|
+
for (const r of e) if (r.prop && r.value) {
|
|
278
|
+
const a = k(t, r.value, "input-text", !1), o = r.prop.substring(2, r.prop.length - 1).split(".");
|
|
279
|
+
a != null && O(t.entity, o, a);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
function rt(e) {
|
|
284
|
+
if (e != null && e.grid) {
|
|
285
|
+
const t = e.grid, i = (n) => !n || n === "0";
|
|
286
|
+
i(t.top) && i(t.right) && i(t.bottom) && i(t.left) && Object.assign(t, { right: "10%", bottom: "60", left: "10%" });
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
function ot(e) {
|
|
290
|
+
var t;
|
|
291
|
+
if ((t = e == null ? void 0 : e.toolbox) != null && t.feature) {
|
|
292
|
+
const i = e.toolbox.feature;
|
|
293
|
+
for (const n in i) i[n].show && (i[n].title = m().t("chartMessage." + n), n === "dataView" && (i[n].lang = [m().t("chartMessage.dataView"), m().t("chartMessage.close"), m().t("chartMessage.refresh")]));
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
export {
|
|
297
|
+
$ as CommonName,
|
|
298
|
+
et as caculateFormulaValue,
|
|
299
|
+
q as clearChartSelected,
|
|
300
|
+
at as executeChartFormula,
|
|
301
|
+
it as exportCommonChart,
|
|
302
|
+
ot as formatToolboxI18n,
|
|
303
|
+
L as getAvgValue,
|
|
304
|
+
Z as getCustomTheme,
|
|
305
|
+
G as getCustomThemeOptions,
|
|
306
|
+
T as getMaxValue,
|
|
307
|
+
E as getMinValue,
|
|
308
|
+
A as getNumFormatter,
|
|
309
|
+
S as getSumValue,
|
|
310
|
+
J as initChartOption,
|
|
311
|
+
tt as limitDatas,
|
|
312
|
+
Q as monitorChartClickToVariable,
|
|
313
|
+
rt as setDefaultGrid,
|
|
314
|
+
nt as setHomeChartInitConfigValue,
|
|
315
|
+
K as sortDatas,
|
|
316
|
+
F as updateClickVariablesForSelected
|
|
317
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { getSystemBackendUrl as m, getLanguageWithLocale as y } from "agilebuilder-ui";
|
|
2
|
+
import { ExpressionEvaluator as h } from "../views/assemblys/chart/table/chart-table-util.mjs";
|
|
3
|
+
import { getCustomFunc as b } from "./events/event-util.mjs";
|
|
4
|
+
function A(t) {
|
|
5
|
+
return typeof Array.isArray == "function" ? Array.isArray(t) : Object.prototype.toString.call(t) === "[object Array]";
|
|
6
|
+
}
|
|
7
|
+
function O(t, e) {
|
|
8
|
+
if (e) return t;
|
|
9
|
+
{
|
|
10
|
+
const { baseURL: n, projectModel: i } = window.$vueApp.config.globalProperties;
|
|
11
|
+
let a = n;
|
|
12
|
+
return i === "developing.model" || t && (a = m(t)), a;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function C(t, e, n, i) {
|
|
16
|
+
let a = t;
|
|
17
|
+
return t && n && !function(s) {
|
|
18
|
+
return s.indexOf("http:") === 0 || s.indexOf("https:") === 0;
|
|
19
|
+
}(t) && (a = O(n, i) + "/" + e + t), a;
|
|
20
|
+
}
|
|
21
|
+
function M(t, e, n) {
|
|
22
|
+
if (!t || t.length === 0) return t;
|
|
23
|
+
let i = t;
|
|
24
|
+
if (Array.isArray(t)) {
|
|
25
|
+
t[0].templates && (i = function(f, o, c) {
|
|
26
|
+
const d = [];
|
|
27
|
+
return f.forEach((u) => {
|
|
28
|
+
let g = !0;
|
|
29
|
+
if (u.scopeFunc) {
|
|
30
|
+
const p = b(o, u.scopeFunc);
|
|
31
|
+
p && (g = p.apply(p, [{ pageContext: o, configureObj: c, template: u }]));
|
|
32
|
+
} else u.conditions && u.conditions.length > 0 && (g = h.evaluate(o, u.conditions));
|
|
33
|
+
g !== !1 && u.templates.forEach((p) => {
|
|
34
|
+
d.push({ templateUuid: p.templateUuid, templateName: p.templateName });
|
|
35
|
+
});
|
|
36
|
+
}), d;
|
|
37
|
+
}(t, e, n));
|
|
38
|
+
const a = y(), s = [], l = [], r = "~-~-";
|
|
39
|
+
return i.forEach((f) => {
|
|
40
|
+
const o = f.templateName;
|
|
41
|
+
if (o.indexOf(r) > 0) {
|
|
42
|
+
const c = o.substring(0, o.indexOf(r)), d = o.substring(o.indexOf(r) + r.length, o.lastIndexOf(r)), u = o.substring(o.lastIndexOf(r) + r.length);
|
|
43
|
+
a === d && l.indexOf(c) < 0 && (s.push({ templateUuid: f.templateUuid, templateName: u }), l.push(c));
|
|
44
|
+
} else s.push(f);
|
|
45
|
+
}), s;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function k(t) {
|
|
49
|
+
return t.toLowerCase().replace(/( |^)[a-z]/g, (e) => e.toUpperCase());
|
|
50
|
+
}
|
|
51
|
+
function I(t, e, n) {
|
|
52
|
+
return "V" + e + "__" + t + "__" + n;
|
|
53
|
+
}
|
|
54
|
+
function w(t) {
|
|
55
|
+
if (typeof t != "object" || t == null) return t;
|
|
56
|
+
const e = Array.isArray(t) ? [] : {};
|
|
57
|
+
for (const n in t) t.hasOwnProperty(n) && (e[n] = w(t[n]));
|
|
58
|
+
return e;
|
|
59
|
+
}
|
|
60
|
+
function U(t) {
|
|
61
|
+
let e;
|
|
62
|
+
return t.entity && t.entity.data && (e = t.entity.data.WORKFLOW_ID, e || (e = t.entity.data.workflow_id), e || (e = t.entity.data.workflowId)), e;
|
|
63
|
+
}
|
|
64
|
+
function W(t) {
|
|
65
|
+
var n, i, a, s;
|
|
66
|
+
let e;
|
|
67
|
+
if (t && ((i = (n = t.props) == null ? void 0 : n.base) != null && i.prop)) {
|
|
68
|
+
let l = (s = (a = t.props) == null ? void 0 : a.base) == null ? void 0 : s.prop;
|
|
69
|
+
l.indexOf("${") >= 0 && (l = l.substring(2, l.lastIndexOf("}")));
|
|
70
|
+
const r = l.split(".");
|
|
71
|
+
r.length === 2 ? e = r[1] : r.length === 3 && (e = r[1] + "__" + r[2]);
|
|
72
|
+
} else t.code && (e = t.code);
|
|
73
|
+
return e;
|
|
74
|
+
}
|
|
75
|
+
function _(t) {
|
|
76
|
+
try {
|
|
77
|
+
if (t != null) {
|
|
78
|
+
const e = parseInt(t + "");
|
|
79
|
+
if (Number.isInteger(e)) return !0;
|
|
80
|
+
}
|
|
81
|
+
return !1;
|
|
82
|
+
} catch {
|
|
83
|
+
return !1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function v(t) {
|
|
87
|
+
return !!t.isWorkflowEntity || !(t.isWorkflowEntity !== void 0 || !t.workflowCode);
|
|
88
|
+
}
|
|
89
|
+
function E(t, e) {
|
|
90
|
+
if (t && e) {
|
|
91
|
+
let n = t.jumpPageMobileOpenMode;
|
|
92
|
+
n || (t.jumpPageOpenMode ? (n = t.jumpPageOpenMode, n === "newTab" && (n = "refresh")) : n = "refresh"), n === "refresh" && (t.dialogType = "drawer", t.jumpPageWidth = "100%", t.isRefreshWhenClosePopup = !0), t.jumpMode = n, t.jumpPageMobileOpenMode = n, t.jumpPageTitle || (t.jumpPageTitle = "QMS质量管理系统");
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function F(t, e) {
|
|
96
|
+
return t[e] === null || t[e] === void 0 || t[e] === "";
|
|
97
|
+
}
|
|
98
|
+
function N() {
|
|
99
|
+
return "required_bg";
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
N as addRequiredClassUtil,
|
|
103
|
+
w as deepCopy,
|
|
104
|
+
O as getBaseUrl,
|
|
105
|
+
I as getListCode,
|
|
106
|
+
W as getPropClassName,
|
|
107
|
+
C as getRealRestApiPath,
|
|
108
|
+
U as getWorkflowId,
|
|
109
|
+
A as isArrayFn,
|
|
110
|
+
_ as isNumber,
|
|
111
|
+
F as isVariableInvalidValue,
|
|
112
|
+
v as isWorkflowPage,
|
|
113
|
+
M as packageTemplateFiles,
|
|
114
|
+
E as refreshMobileDialogType,
|
|
115
|
+
k as upperFirstCase
|
|
116
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
function o(t, e) {
|
|
2
|
+
let a = "new";
|
|
3
|
+
return e.id ? a = e.id : e.ID && (a = e.ID), i(t, a);
|
|
4
|
+
}
|
|
5
|
+
function i(t, e) {
|
|
6
|
+
return e ? `backfill_data_${t}_${e}` : `backfill_data_${t}_new`;
|
|
7
|
+
}
|
|
8
|
+
function c(t, e) {
|
|
9
|
+
sessionStorage.setItem(o(t, e), JSON.stringify(e));
|
|
10
|
+
}
|
|
11
|
+
function u(t, e) {
|
|
12
|
+
sessionStorage.removeItem(o(t, e));
|
|
13
|
+
}
|
|
14
|
+
function f(t, e) {
|
|
15
|
+
sessionStorage.removeItem(i(t, e));
|
|
16
|
+
}
|
|
17
|
+
function I(t, e) {
|
|
18
|
+
return sessionStorage.getItem(i(t, e)) !== null;
|
|
19
|
+
}
|
|
20
|
+
function S(t, e, a) {
|
|
21
|
+
const l = sessionStorage.getItem(i(t, e));
|
|
22
|
+
if (l) {
|
|
23
|
+
const n = JSON.parse(l);
|
|
24
|
+
let s = null;
|
|
25
|
+
n.version ? s = n.version : n.VERSION && (s = n.VERSION);
|
|
26
|
+
let r = null;
|
|
27
|
+
if (a.version ? r = a.version : a.VERSION && (r = a.VERSION), s == r) return n;
|
|
28
|
+
}
|
|
29
|
+
return a;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
c as cacheBackfillData,
|
|
33
|
+
i as getBackFillDataKey,
|
|
34
|
+
S as getRealFillData,
|
|
35
|
+
I as hasBackfillData,
|
|
36
|
+
u as removeCacheFillData,
|
|
37
|
+
f as removeCacheFillDataById
|
|
38
|
+
};
|