super-page-runtime 2.3.44 → 2.3.45-cdnTmp2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.mjs +12 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +196 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
- package/dist/es/components/runtime/utils/common-util.mjs +116 -0
- package/dist/es/components/runtime/utils/eventBus.mjs +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +424 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1169 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +444 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.d.ts +7 -1
- package/dist/es/components/runtime/utils/page-init-util.mjs +281 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +425 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -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 +256 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +362 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +329 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +88 -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 +132 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +111 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +215 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +163 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +55 -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 +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-runtime2.vue.mjs +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +29 -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 -1052
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +6 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +107 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +31 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +181 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +55 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +137 -0
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- package/package.json +13 -11
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -84
- package/dist/es/components/runtime/utils/api/api-util.js +0 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -202
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
- package/dist/es/components/runtime/utils/common-util.js +0 -120
- package/dist/es/components/runtime/utils/eventBus.js +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -439
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1225
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -463
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -391
- package/dist/es/components/runtime/utils/page-init-util.js +0 -279
- 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 -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 -263
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -383
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -337
- 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 -88
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -110
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +0 -91
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -32
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -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 -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,425 @@
|
|
|
1
|
+
import { getParamNames, getValueFromVariable } from "../../../../utils/page-helper-util.mjs";
|
|
2
|
+
import { getCustomFunc } from "../../../../utils/events/event-util.mjs";
|
|
3
|
+
import { getMinValue, getMaxValue, getSumValue, getAvgValue } from "../../../../utils/charts/chart-util.mjs";
|
|
4
|
+
class ExpressionEvaluator {
|
|
5
|
+
static evaluate(e, t, o) {
|
|
6
|
+
if (t && t.length > 0) {
|
|
7
|
+
const s = t[t.length - 1];
|
|
8
|
+
s.joinSign && (s.joinSign = "");
|
|
9
|
+
}
|
|
10
|
+
const n = t.map((s) => this.createExpression(e, s, o)).join(" ");
|
|
11
|
+
return this.evaluateExpression(n);
|
|
12
|
+
}
|
|
13
|
+
static createExpression(e, t, o) {
|
|
14
|
+
const { propName: n, operator: s, propValue: r, leftBracket: a, rightBracket: l, joinSign: i, dataType: c } = t;
|
|
15
|
+
if (!n || n === "") return "";
|
|
16
|
+
const u = getValueFromVariable(e.entity, n, o);
|
|
17
|
+
let p = `${a} ${this.getComparisonExpression(u, t, getValueFromVariable(e.entity, r, o))} ${l}`;
|
|
18
|
+
return i && (i === "and" || i === "AND" ? p += "&&" : i !== "or" && i !== "OR" || (p += "||")), p.trim();
|
|
19
|
+
}
|
|
20
|
+
static getComparisonExpression(e, t, o) {
|
|
21
|
+
const { dataType: n, variableIsNull: s } = t;
|
|
22
|
+
let r = t.operator;
|
|
23
|
+
r || (r = "EQ");
|
|
24
|
+
let a = this.parseValue(e, n);
|
|
25
|
+
const l = this.parseValue(o, n);
|
|
26
|
+
if (l == null && s) {
|
|
27
|
+
if (a == null && (a = "null"), s === "null") return `${a} === null`;
|
|
28
|
+
if (s === "ignore") return "1=1";
|
|
29
|
+
if (s === "notequal") return "1!=1";
|
|
30
|
+
}
|
|
31
|
+
switch (r) {
|
|
32
|
+
case "EQ":
|
|
33
|
+
return `${a} === ${l}`;
|
|
34
|
+
case "GT":
|
|
35
|
+
return `${a} > ${l}`;
|
|
36
|
+
case "LT":
|
|
37
|
+
return `${a} < ${l}`;
|
|
38
|
+
case "GET":
|
|
39
|
+
return `${a} >= ${l}`;
|
|
40
|
+
case "LET":
|
|
41
|
+
return `${a} <= ${l}`;
|
|
42
|
+
case "NET":
|
|
43
|
+
return `${a} !== ${l}`;
|
|
44
|
+
case "CONTAIN":
|
|
45
|
+
return `${a}.includes(${l})`;
|
|
46
|
+
case "NOT_CONTAIN":
|
|
47
|
+
return `!${a}.includes(${l})`;
|
|
48
|
+
case "IS_NULL":
|
|
49
|
+
return `${a} === null`;
|
|
50
|
+
case "IS_NOT_NULL":
|
|
51
|
+
return `${a} !== null`;
|
|
52
|
+
case "IN":
|
|
53
|
+
return n === "TEXT" ? `${l.split(",")}.includes(${a})` : `[${l}].includes(${a})`;
|
|
54
|
+
default:
|
|
55
|
+
throw new Error(`比较符号不匹配: ${r}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
static changeDataType(e) {
|
|
59
|
+
let t = e;
|
|
60
|
+
if (e) {
|
|
61
|
+
if (e === "TEXT") t = "string";
|
|
62
|
+
else if (e === "DATE" || e === "TIME") t = "date";
|
|
63
|
+
else if (e === "DOUBLE" || e === "FLOAT" || e === "INTEGER" || e === "LONG") t = "number";
|
|
64
|
+
else if (e === "BOOLEAN") return "boolean";
|
|
65
|
+
}
|
|
66
|
+
return t;
|
|
67
|
+
}
|
|
68
|
+
static parseValue(e, t) {
|
|
69
|
+
if (t = this.changeDataType(t), e == null) return null;
|
|
70
|
+
switch (t) {
|
|
71
|
+
case "number":
|
|
72
|
+
return getNumberValue(e);
|
|
73
|
+
case "date":
|
|
74
|
+
return new Date(e).getTime();
|
|
75
|
+
case "string":
|
|
76
|
+
default:
|
|
77
|
+
return `"${e}"`;
|
|
78
|
+
case "boolean":
|
|
79
|
+
return e === "true" || e === !0 || e === 1;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
static evaluateExpression(expression) {
|
|
83
|
+
try {
|
|
84
|
+
return eval(expression);
|
|
85
|
+
} catch (e) {
|
|
86
|
+
return console.error("表达式错误:", expression, e), !1;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function getNumberValue(e) {
|
|
91
|
+
if (isNumber(e)) return Number(e);
|
|
92
|
+
if (e && e.indexOf(",") > 0) {
|
|
93
|
+
const t = e.split(","), o = [];
|
|
94
|
+
for (let n = 0; n < t.length; n++) o.push(Number(t[n]));
|
|
95
|
+
return o;
|
|
96
|
+
}
|
|
97
|
+
return e;
|
|
98
|
+
}
|
|
99
|
+
function isNumber(e) {
|
|
100
|
+
return typeof e == "number" && !isNaN(e);
|
|
101
|
+
}
|
|
102
|
+
function getSummaryTitleColumn(e) {
|
|
103
|
+
var o;
|
|
104
|
+
const t = {};
|
|
105
|
+
return (o = e.props.summaries) != null && o.titleColumn && e.props.summaries.titleColumn.length > 0 && e.props.summaries.titleColumn.forEach((n) => {
|
|
106
|
+
t[n.prop] = n;
|
|
107
|
+
}), t;
|
|
108
|
+
}
|
|
109
|
+
function getSummaryDataColumn(e, t) {
|
|
110
|
+
var n;
|
|
111
|
+
const o = {};
|
|
112
|
+
return (n = e.props.summaries) != null && n.dataColumn && e.props.summaries.dataColumn.length > 0 && e.props.summaries.dataColumn.forEach((s) => {
|
|
113
|
+
var a;
|
|
114
|
+
const r = (a = e.items) == null ? void 0 : a.find((l) => s.prop === l.props.base.prop);
|
|
115
|
+
r && (t === "table" && r.props.base.tableSummary || t === "group" && r.props.base.groupSummary) && (o[s.prop] = s);
|
|
116
|
+
}), o;
|
|
117
|
+
}
|
|
118
|
+
function summaryStatistics(e, t, o, n, s) {
|
|
119
|
+
let r = "";
|
|
120
|
+
const a = e.summaryMode, l = t.map((i) => Number(i[o])).filter((i) => !Number.isNaN(i));
|
|
121
|
+
if (l.length > 0) if (a === "custom") {
|
|
122
|
+
const i = getCustomFunc(n, e.customFunc);
|
|
123
|
+
if (i) try {
|
|
124
|
+
const c = i.apply(i, [{ data: t, prop: o }]);
|
|
125
|
+
r = c ? ` ${c}` : " N/A";
|
|
126
|
+
} catch (c) {
|
|
127
|
+
console.error("自定义函数脚本错误:", t, c);
|
|
128
|
+
}
|
|
129
|
+
else r = " N/A";
|
|
130
|
+
} else switch (a) {
|
|
131
|
+
case "sum":
|
|
132
|
+
r = `${l.reduce((i, c) => i + c, 0)}`;
|
|
133
|
+
break;
|
|
134
|
+
case "avg":
|
|
135
|
+
r = "" + l.reduce((i, c) => i + c, 0) / l.length;
|
|
136
|
+
break;
|
|
137
|
+
case "min":
|
|
138
|
+
r = `${Math.min(...l)}`;
|
|
139
|
+
break;
|
|
140
|
+
case "max":
|
|
141
|
+
r = `${Math.max(...l)}`;
|
|
142
|
+
break;
|
|
143
|
+
default:
|
|
144
|
+
r = "N/A";
|
|
145
|
+
}
|
|
146
|
+
else r = "N/A";
|
|
147
|
+
if (o && s) {
|
|
148
|
+
const i = s.findIndex((c) => c.props.base.prop === o);
|
|
149
|
+
if (i !== -1 && s[i].props.format && s[i].props.format.type) {
|
|
150
|
+
const c = {};
|
|
151
|
+
c[o] = r;
|
|
152
|
+
const u = formatColContent(c, s[i].props.format, s[i], n, {});
|
|
153
|
+
Number.isNaN(u) || (r = ` ${u}`);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return r;
|
|
157
|
+
}
|
|
158
|
+
function replacePlaceholders(e, t) {
|
|
159
|
+
if (e) return e.replace(/\$\{row\.(\w+)\}/g, (o, n) => Object.prototype.hasOwnProperty.call(t, n) ? t[n] : "");
|
|
160
|
+
}
|
|
161
|
+
function getHeaderCellStyleUtil(e, t, o) {
|
|
162
|
+
var r;
|
|
163
|
+
const n = {};
|
|
164
|
+
e.column.property && ((r = t.titleStyle) == null || r.forEach((a) => {
|
|
165
|
+
if (a.field && a.field.includes(e.column.property)) if (a.scopeFunc) {
|
|
166
|
+
const l = getCustomFunc(o.pageContext, a.scopeFunc);
|
|
167
|
+
if (l) try {
|
|
168
|
+
l.apply(l, [{ item: a, data: e }]) !== !1 && copyStyle(n, a);
|
|
169
|
+
} catch (i) {
|
|
170
|
+
console.error("自定义函数脚本错误:", a, e, i);
|
|
171
|
+
}
|
|
172
|
+
} else copyStyle(n, a);
|
|
173
|
+
}));
|
|
174
|
+
const s = getCellStyleUtil(e, t.cellTitleStyle, o);
|
|
175
|
+
return s && Object.assign(n, s), n;
|
|
176
|
+
}
|
|
177
|
+
function getRowStyleUtil(e, t, o) {
|
|
178
|
+
const n = {};
|
|
179
|
+
if (o.configure.style.rowStyle) for (let s = 0; s < o.configure.style.rowStyle.length; s++) {
|
|
180
|
+
const r = o.configure.style.rowStyle[s];
|
|
181
|
+
if (r.scopeFunc) {
|
|
182
|
+
const a = getCustomFunc(o.pageContext, r.scopeFunc);
|
|
183
|
+
if (a) try {
|
|
184
|
+
const l = a.apply(a, [{ data: e }]);
|
|
185
|
+
l != null && l !== !1 && copyStyle(n, r);
|
|
186
|
+
} catch (l) {
|
|
187
|
+
console.error("自定义函数脚本错误:", e, l);
|
|
188
|
+
}
|
|
189
|
+
} else if (r.matchingCondition) {
|
|
190
|
+
const a = ExpressionEvaluator.evaluate(o.pageContext, r.matchingCondition, e.row);
|
|
191
|
+
(a || a === void 0) && copyStyle(n, r);
|
|
192
|
+
} else copyStyle(n, r);
|
|
193
|
+
}
|
|
194
|
+
if (t && t.length > 0 && t.indexOf(e.rowIndex) !== -1) {
|
|
195
|
+
const s = {};
|
|
196
|
+
if (o.configure.style.collectStyle && o.configure.style.collectStyle.length > 0) for (let r = 0; r < o.configure.style.collectStyle.length; r++)
|
|
197
|
+
copyStyle(s, o.configure.style.collectStyle[r]);
|
|
198
|
+
return Object.keys(s).length === 0 && (s["background-color"] = "var(--el-table-row-hover-bg-color)"), s;
|
|
199
|
+
}
|
|
200
|
+
return n;
|
|
201
|
+
}
|
|
202
|
+
function getCellStyleUtil(e, t, o) {
|
|
203
|
+
const n = {};
|
|
204
|
+
if (t) for (let s = 0; s < t.length; s++) {
|
|
205
|
+
const r = t[s];
|
|
206
|
+
if (isSetStyle(r)) if (r.scopeFunc) {
|
|
207
|
+
const a = getCustomFunc(o.pageContext, r.scopeFunc);
|
|
208
|
+
if (a) try {
|
|
209
|
+
a.apply(a, [{ data: e }]) !== !1 && copyStyle(n, r);
|
|
210
|
+
} catch (l) {
|
|
211
|
+
console.error("自定义函数脚本错误:", e, l);
|
|
212
|
+
}
|
|
213
|
+
} else if (r.matchingCondition) {
|
|
214
|
+
const a = ExpressionEvaluator.evaluate(o.pageContext, r.matchingCondition, e.row);
|
|
215
|
+
(a || a === void 0) && copyStyle(n, r);
|
|
216
|
+
} else copyStyle(n, r);
|
|
217
|
+
}
|
|
218
|
+
return n;
|
|
219
|
+
}
|
|
220
|
+
function isSetStyle(e) {
|
|
221
|
+
let t;
|
|
222
|
+
return e.customStyle && (t = JSON.parse(e.customStyle)), !!(e.style && Object.keys(e.style).length > 0 || t && Object.keys(t).length > 0);
|
|
223
|
+
}
|
|
224
|
+
function copyStyle(e, t) {
|
|
225
|
+
Object.assign(e, t.style), t.customStyle && Object.assign(e, JSON.parse(t.customStyle));
|
|
226
|
+
}
|
|
227
|
+
function rowDataToColumn(e, t, o) {
|
|
228
|
+
const n = t.props.dataOrigin.groupField, s = t.props.dataOrigin.rowToColumn.titleColumns, r = t.props.dataOrigin.rowToColumn.dataColumns, a = [], l = {};
|
|
229
|
+
if (n && n.length > 0) e.forEach((i) => {
|
|
230
|
+
const c = n.map((u) => i[u]).join("|");
|
|
231
|
+
if (!l[c]) {
|
|
232
|
+
const u = {};
|
|
233
|
+
n.forEach((p) => u[p] = i[p]), l[c] = u, a.push(u);
|
|
234
|
+
}
|
|
235
|
+
r.forEach((u) => {
|
|
236
|
+
const p = `${s.map((m) => i[m]).join("")}${u}`;
|
|
237
|
+
l[c][p] = i[u];
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
else {
|
|
241
|
+
const i = [];
|
|
242
|
+
e.forEach((c) => {
|
|
243
|
+
s.forEach((u) => {
|
|
244
|
+
c[u] && i.push(c[u]);
|
|
245
|
+
});
|
|
246
|
+
}), r.forEach((c) => {
|
|
247
|
+
const u = {}, p = o.find((m) => {
|
|
248
|
+
var y, f;
|
|
249
|
+
return ((f = (y = m.props) == null ? void 0 : y.base) == null ? void 0 : f.prop) === c;
|
|
250
|
+
});
|
|
251
|
+
p && (u.$GroupColumn = p.props.base.name), e.forEach((m) => {
|
|
252
|
+
s.forEach((y) => {
|
|
253
|
+
const f = m[y];
|
|
254
|
+
if (!f) return;
|
|
255
|
+
const g = m[c];
|
|
256
|
+
u[f] = g;
|
|
257
|
+
});
|
|
258
|
+
}), a.push(u);
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
return a;
|
|
262
|
+
}
|
|
263
|
+
function colDataToRow(e, t) {
|
|
264
|
+
const o = t.props.dataOrigin.groupField, n = t.props.dataOrigin.columnToRow.titleColumns, s = t.props.dataOrigin.columnToRow.dataColumns, r = t.props.dataOrigin.columnToRow.transColumns, a = t.props.dataOrigin.columnToRow.dataColumnsMapping;
|
|
265
|
+
if (e.length === 0) return e;
|
|
266
|
+
const l = [], i = groupBy(e, o), c = s.reduce((p, m) => m.columns.length > p.columns.length ? m : p, s[0]), u = s.reduce((p, m) => (m.columns.forEach((y) => {
|
|
267
|
+
p[y] = m.prop;
|
|
268
|
+
}), p), {});
|
|
269
|
+
return i.forEach((p) => {
|
|
270
|
+
c.columns.forEach((m) => {
|
|
271
|
+
const y = c.prop, f = {};
|
|
272
|
+
if (o.forEach((g) => {
|
|
273
|
+
f[g] = p[g];
|
|
274
|
+
}), f[y] = p[m], s.length > 1) {
|
|
275
|
+
const g = a.find((d) => d.props.includes(m));
|
|
276
|
+
g && g.props.length > 1 && g.props.forEach((d) => {
|
|
277
|
+
d !== m && u[d] && (f[u[d]] = p[d]);
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
n.forEach((g) => {
|
|
281
|
+
const d = r.filter((h) => h.relatedTitle === g.prop);
|
|
282
|
+
let b = !1;
|
|
283
|
+
d && d.length > 0 && d.forEach((h) => {
|
|
284
|
+
if (h.columns.includes(m)) return f[g.prop] = h.label, void (b = !0);
|
|
285
|
+
}), b || (f[g.prop] = m);
|
|
286
|
+
}), l.push(f);
|
|
287
|
+
});
|
|
288
|
+
}), l;
|
|
289
|
+
}
|
|
290
|
+
function getColumnToRowTableConfig(e) {
|
|
291
|
+
const t = e.items, o = e.props.dataOrigin.groupField, n = e.props.dataOrigin.columnToRow.titleColumns, s = e.props.dataOrigin.columnToRow.dataColumns, r = [];
|
|
292
|
+
return o && o.length > 0 && o.forEach((a) => {
|
|
293
|
+
if (t) {
|
|
294
|
+
const l = t.find((i) => i.props.base.prop === a);
|
|
295
|
+
l && r.push(l);
|
|
296
|
+
}
|
|
297
|
+
}), [...n, ...s].forEach((a) => {
|
|
298
|
+
if (t) {
|
|
299
|
+
const l = t.find((i) => i.props.base.prop === a);
|
|
300
|
+
l ? r.push(l) : r.push({ uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: a.prop, name: a.title, sortable: !0, headerAlign: "center", align: "center", fixed: !1, visible: !0, dataType: "string" }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } });
|
|
301
|
+
}
|
|
302
|
+
}), r;
|
|
303
|
+
}
|
|
304
|
+
function groupBy(e, t) {
|
|
305
|
+
const o = {};
|
|
306
|
+
return e.forEach((n) => {
|
|
307
|
+
const s = t.map((r) => n[r]).join("|");
|
|
308
|
+
o[s] || (o[s] = { ...n, records: [] }, t.forEach((r, a) => {
|
|
309
|
+
o[s][r] = n[r];
|
|
310
|
+
})), o[s].records.push(n);
|
|
311
|
+
}), Object.values(o).map((n) => ({ ...n, records: void 0 }));
|
|
312
|
+
}
|
|
313
|
+
function getIndexColumn() {
|
|
314
|
+
return { props: { base: { name: "序号", prop: "$index", columnWidth: 80, sortable: !0, visible: !0, displayOrder: 1, alignTitle: "center", alignContent: "center" } }, events: [], style: { titleFont: {}, contentFont: {}, width: {}, background: {}, tableCell: [{ type: "", model: "" }], conentPadding: {}, tittlePadding: {}, border: {}, shadow: {}, tittleClass: "" } };
|
|
315
|
+
}
|
|
316
|
+
function getNewColumnConfig(e, t, o, n) {
|
|
317
|
+
return { uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: e, name: t, displayOrder: o, sortable: !0, headerAlign: "center", align: "center", fixed: !1, visible: !0, dataType: n }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } };
|
|
318
|
+
}
|
|
319
|
+
function computeFormula(itemConfs, datas, entity) {
|
|
320
|
+
Object.keys(itemConfs).forEach((key) => {
|
|
321
|
+
const paramNames = getParamNames(itemConfs[key]);
|
|
322
|
+
datas.forEach((data, index) => {
|
|
323
|
+
const totalValueMap = {};
|
|
324
|
+
for (const e of paramNames) if (e.startsWith("${min.")) totalValueMap[e] = getMinValue(datas, getFieldName(e));
|
|
325
|
+
else if (e.startsWith("${max.")) totalValueMap[e] = getMaxValue(datas, getFieldName(e));
|
|
326
|
+
else if (e.startsWith("${sum.")) totalValueMap[e] = getSumValue(datas, getFieldName(e));
|
|
327
|
+
else if (e.startsWith("${avg.")) totalValueMap[e] = getAvgValue(datas, getFieldName(e));
|
|
328
|
+
else if (e.startsWith("${add.")) {
|
|
329
|
+
const t = getFieldName(e);
|
|
330
|
+
let o = 0;
|
|
331
|
+
try {
|
|
332
|
+
o = Number(data[t]), datas.slice(0, index).forEach((n) => {
|
|
333
|
+
o += Number(n[t]);
|
|
334
|
+
});
|
|
335
|
+
} catch (n) {
|
|
336
|
+
console.error("计算错误:", n), o = 0;
|
|
337
|
+
}
|
|
338
|
+
totalValueMap[e] = o;
|
|
339
|
+
} else (e.startsWith("${page.") || e.startsWith("${data.") || e.startsWith("${row.") || e.startsWith("${request.") || e.startsWith("${context.") || e.startsWith("${system.") || e.startsWith("${fixed.")) && (totalValueMap[e] = getValueFromVariable(entity, e, data));
|
|
340
|
+
let expr = itemConfs[key];
|
|
341
|
+
Object.keys(totalValueMap).forEach((e) => {
|
|
342
|
+
expr.indexOf(e) > -1 && (expr = expr.replaceAll(e, totalValueMap[e]));
|
|
343
|
+
});
|
|
344
|
+
for (const e of paramNames) expr.indexOf(e) > -1 && (expr = expr.replaceAll(e, 0));
|
|
345
|
+
try {
|
|
346
|
+
data[key] = eval(expr);
|
|
347
|
+
} catch (e) {
|
|
348
|
+
console.error(itemConfs[key] + " 计算错误, 替换后表达式为:" + expr, e), data[key] = 0;
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
function getFieldName(e) {
|
|
354
|
+
return e.substring(6, e.length - 1);
|
|
355
|
+
}
|
|
356
|
+
function formatColContent(e, t, o, n, s) {
|
|
357
|
+
const r = e[o.props.base.prop];
|
|
358
|
+
switch (t.type) {
|
|
359
|
+
case "number":
|
|
360
|
+
return formatNumber(r, t);
|
|
361
|
+
case "currency":
|
|
362
|
+
return formatCurrency(r, t);
|
|
363
|
+
case "percent":
|
|
364
|
+
return formatPercent(r, t);
|
|
365
|
+
case "custom":
|
|
366
|
+
return formatCustomFunc(e, t, o, n, s);
|
|
367
|
+
default:
|
|
368
|
+
return r;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
function formatNumber(e, t) {
|
|
372
|
+
let o = e;
|
|
373
|
+
return o || (o = 0), t.scientific && (o = Number(e).toExponential(t.scientificNum)), t.decimalDigit && (o = Number(e).toFixed(t.decimalDigit)), t.thousandsSeparator && (o = o.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")), t.symbol && (o = `${t.symbol} ${o}`), o;
|
|
374
|
+
}
|
|
375
|
+
function formatCurrency(e, t) {
|
|
376
|
+
let o = e;
|
|
377
|
+
return o || (o = 0), t.decimalDigit && (o = Number(e).toFixed(t.decimalDigit)), t.symbol && (o = `${t.symbol} ${o}`), o;
|
|
378
|
+
}
|
|
379
|
+
function formatPercent(e, t) {
|
|
380
|
+
let o = e;
|
|
381
|
+
return o || (o = 0, e = 0), t.decimalDigit && (o = Number(e).toFixed(t.decimalDigit)), o + " %";
|
|
382
|
+
}
|
|
383
|
+
function formatCustomFunc(e, t, o, n, s) {
|
|
384
|
+
const r = getCustomFunc(n, t.customFunc);
|
|
385
|
+
if (r) {
|
|
386
|
+
try {
|
|
387
|
+
return r.apply(r, [{ pageContext: n, configureObj: s, row: e, prop: o.props.base.prop }]);
|
|
388
|
+
} catch (a) {
|
|
389
|
+
console.error("自定义函数脚本错误:", e, a);
|
|
390
|
+
}
|
|
391
|
+
return "";
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
function mergeRowByProperty(e, t, o, n, s) {
|
|
395
|
+
const r = e[n];
|
|
396
|
+
let a = 1, l = !0;
|
|
397
|
+
for (let i = o - 1; i >= 0; i--) {
|
|
398
|
+
if (s[i][n] === r) {
|
|
399
|
+
l = !1;
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
if (!l) return [0, 0];
|
|
405
|
+
for (let i = o + 1; i < s.length && s[i][n] === r; i++) a++;
|
|
406
|
+
return [a, 1];
|
|
407
|
+
}
|
|
408
|
+
export {
|
|
409
|
+
ExpressionEvaluator,
|
|
410
|
+
colDataToRow,
|
|
411
|
+
computeFormula,
|
|
412
|
+
formatColContent,
|
|
413
|
+
getCellStyleUtil,
|
|
414
|
+
getColumnToRowTableConfig,
|
|
415
|
+
getHeaderCellStyleUtil,
|
|
416
|
+
getIndexColumn,
|
|
417
|
+
getNewColumnConfig,
|
|
418
|
+
getRowStyleUtil,
|
|
419
|
+
getSummaryDataColumn,
|
|
420
|
+
getSummaryTitleColumn,
|
|
421
|
+
mergeRowByProperty,
|
|
422
|
+
replacePlaceholders,
|
|
423
|
+
rowDataToColumn,
|
|
424
|
+
summaryStatistics
|
|
425
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as t, createBlock as n } from "vue";
|
|
2
|
+
import u from "./group-column.vue.mjs";
|
|
3
|
+
const c = o({ __name: "group-column-item", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumnItem: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e) => (l, p) => (t(), n(u, { configure: e.configure, pageContext: e.pageContext, groupColumn: e.groupColumnItem, columnsConfigKeyValues: e.columnsConfigKeyValues }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"])) });
|
|
4
|
+
export {
|
|
5
|
+
c as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineComponent as g, resolveComponent as m, openBlock as o, createBlock as t, withCtx as u, createElementBlock as r, Fragment as a, renderList as p, createCommentVNode as s, createTextVNode as i, toDisplayString as f } from "vue";
|
|
2
|
+
import C from "./normal-column.vue.mjs";
|
|
3
|
+
import d from "./group-column-item.vue.mjs";
|
|
4
|
+
const b = g({ __name: "group-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumn: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e) => (y, x) => {
|
|
5
|
+
const c = m("el-table-column");
|
|
6
|
+
return o(), t(c, { "header-align": "center" }, { header: u(() => [i(f(e.groupColumn.titleText), 1)]), default: u(() => [e.groupColumn.children && e.groupColumn.children.length > 0 ? (o(!0), r(a, { key: 0 }, p(e.groupColumn.children, (n, l) => (o(), r(a, { key: l }, [n.children && n.children.length > 0 ? (o(), t(d, { key: l, configure: e.configure, pageContext: e.pageContext, groupColumnItem: n, columnsConfigKeyValues: e.columnsConfigKeyValues }, null, 8, ["configure", "pageContext", "groupColumnItem", "columnsConfigKeyValues"])) : (o(), t(C, { key: 1, pageContext: e.pageContext, configure: e.configure, column: e.columnsConfigKeyValues[n.columnUuid] }, null, 8, ["pageContext", "configure", "column"]))], 64))), 128)) : s("", !0)]), _: 1 });
|
|
7
|
+
} });
|
|
8
|
+
export {
|
|
9
|
+
b as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as T, ref as N, resolveComponent as i, openBlock as e, createBlock as m, withCtx as u, createElementBlock as a, Fragment as y, createTextVNode as f, toDisplayString as l, resolveDynamicComponent as P, createVNode as j, normalizeClass as h, createCommentVNode as x, createElementVNode as z } from "vue";
|
|
2
|
+
import "agilebuilder-ui";
|
|
3
|
+
import { formatColContent as V } from "./chart-table-util.mjs";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
import "../../../../utils/global-refs.mjs";
|
|
6
|
+
import W from "../../../../utils/eventBus.mjs";
|
|
7
|
+
import "axios";
|
|
8
|
+
import "dayjs";
|
|
9
|
+
import "async-validator";
|
|
10
|
+
import { expressJump as B } from "../../../../utils/table-utils.mjs";
|
|
11
|
+
import "../../../../utils/events/print-label.mjs";
|
|
12
|
+
import "../../../../utils/page-store.mjs";
|
|
13
|
+
import "vue-i18n";
|
|
14
|
+
const D = { key: 0 }, E = { key: 1 }, J = { key: 1 }, S = { key: 2 }, X = T({ __name: "normal-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) } }, setup(o) {
|
|
15
|
+
const p = o, d = N(!1);
|
|
16
|
+
let g = null;
|
|
17
|
+
function v(r, n, s, c) {
|
|
18
|
+
}
|
|
19
|
+
function k(r) {
|
|
20
|
+
const n = B(p.pageContext, p.configure, p.column.linkPage, r);
|
|
21
|
+
let s = !1;
|
|
22
|
+
return n && (s = n.show, g = n.toPage), s;
|
|
23
|
+
}
|
|
24
|
+
function b(r) {
|
|
25
|
+
if (g) {
|
|
26
|
+
const n = p.pageContext.code + "_", s = JSON.parse(JSON.stringify(g));
|
|
27
|
+
s.base = { successOperation: "closeWindow" };
|
|
28
|
+
const c = { id: r.id ? r.id : r.ID, selections: [r] };
|
|
29
|
+
W.$emit(n + "open-dialog", { pageContext: p.pageContext, configureObj: { props: s }, eventParams: c });
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function C(r, n) {
|
|
33
|
+
return V(r, n, p.column, p.pageContext, p.configure);
|
|
34
|
+
}
|
|
35
|
+
return p.column.linkPage && p.column.linkPage.length > 0 && (d.value = !0), (r, n) => {
|
|
36
|
+
const s = i("el-table-column"), c = i("el-progress"), O = i("el-tag"), w = i("el-link");
|
|
37
|
+
return o.column.props.base.prop === "$index" ? (e(), m(s, { key: 0, label: o.column.props.base.name, type: "index", align: "center", "header-align": "center", width: "80" }, null, 8, ["label"])) : (e(), m(s, { key: 1, prop: o.column.props.base.prop, width: o.column.props.base.width ? o.column.props.base.width : "", "min-width": o.column.props.base.minWidth ? o.column.props.base.minWidth : "", label: o.column.props.base.name, "header-align": o.column.props.base.headerAlign, align: o.column.props.base.align, fixed: !!o.column.props.base.fixed && o.column.props.base.fixed, formatter: v }, { default: u((t) => [o.column.props.format && o.column.props.format.type ? (e(), a(y, { key: 0 }, [f(l(o.column.props.format.status) + " ", 1), o.column.props.format.type === "customControl" ? (e(), m(P(o.column.props.format.customControl), { key: 0, scope: t, column: o.column, configure: o.configure, pageContext: o.pageContext }, null, 8, ["scope", "column", "configure", "pageContext"])) : o.column.props.format.type === "progress" ? (e(), m(c, { key: 1, type: o.column.props.format.progressType, percentage: t.row[o.column.props.base.prop], status: o.column.props.format.status, "text-inside": o.column.props.format.showText, "stroke-width": o.column.props.format.strokeWidth, color: o.column.props.format.colorType === "custom" ? o.column.props.format.color : "" }, null, 8, ["type", "percentage", "status", "text-inside", "stroke-width", "color"])) : o.column.props.format.type === "icon" ? (e(), a(y, { key: 2 }, [o.column.props.format.isTag ? (e(), a("span", D, [j(O, { type: o.column.props.format.tagType, effect: o.column.props.format.tagEffect, hit: o.column.props.format.hit, size: o.column.props.format.size }, { default: u(() => [f(l(t.row[o.column.props.base.prop]), 1)]), _: 2 }, 1032, ["type", "effect", "hit", "size"])])) : (e(), a("span", E, [o.column.props.format.position === "pre" ? (e(), a("i", { key: 0, class: h(o.column.props.format.icon) }, null, 2)) : x("", !0), z("span", null, l(t.row[o.column.props.base.prop]), 1), o.column.props.format.position === "suf" ? (e(), a("i", { key: 1, class: h(o.column.props.format.icon) }, null, 2)) : x("", !0)]))], 64)) : (e(), a(y, { key: 3 }, [d.value && k(t.row) ? (e(), m(w, { key: 0, type: "primary", onClick: (_) => b(t.row) }, { default: u(() => [f(l(C(t.row, o.column.props.format)), 1)]), _: 2 }, 1032, ["onClick"])) : (e(), a("span", J, l(C(t.row, o.column.props.format)), 1))], 64))], 64)) : d.value && k(t.row) ? (e(), m(w, { key: 1, type: "primary", onClick: (_) => b(t.row) }, { default: u(() => [f(l(t.row[o.column.props.base.prop]), 1)]), _: 2 }, 1032, ["onClick"])) : (e(), a("span", S, l(t.row[o.column.props.base.prop]), 1))]), _: 1 }, 8, ["prop", "width", "min-width", "label", "header-align", "align", "fixed"]));
|
|
38
|
+
};
|
|
39
|
+
} });
|
|
40
|
+
export {
|
|
41
|
+
X as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent as v, ref as u, resolveComponent as d, openBlock as m, createElementBlock as f, createVNode as z } from "vue";
|
|
2
|
+
const C = { style: { padding: "5px", "text-align": "center" } }, y = v({ __name: "table-pageination", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) }, total: { type: Number, default: 0 } }, emits: ["pageChange", "pageSizeChange"], setup(p, { emit: r }) {
|
|
3
|
+
const i = p, o = r, e = u(1), a = u(i.configure.pageination.pageSize), g = (t) => {
|
|
4
|
+
e.value = t, o("pageChange", e.value, a.value);
|
|
5
|
+
}, s = (t) => {
|
|
6
|
+
a.value = t, o("pageSizeChange", e.value, a.value);
|
|
7
|
+
};
|
|
8
|
+
return (t, n) => {
|
|
9
|
+
const c = d("el-pagination");
|
|
10
|
+
return m(), f("div", C, [z(c, { "current-page": e.value, "onUpdate:currentPage": n[0] || (n[0] = (l) => e.value = l), "page-size": a.value, "onUpdate:pageSize": n[1] || (n[1] = (l) => a.value = l), "page-sizes": [10, 30, 50, 100], size: "small", layout: "total, sizes, prev, pager, next, jumper", total: p.total, onCurrentChange: g, onSizeChange: s }, null, 8, ["current-page", "page-size", "total"])]);
|
|
11
|
+
};
|
|
12
|
+
} });
|
|
13
|
+
export {
|
|
14
|
+
y as default
|
|
15
|
+
};
|